This discussion is archived
5 Replies Latest reply: Sep 27, 2012 12:34 AM by 964757 RSS

can't run simple application

961551 Newbie
Currently Being Moderated
i am using netbeans 7.2 , weblogic 11g R1
i developed a simple web app using JSF2, prime faces 3.4
when i deployed the app on tomcat it works well.

but when running it on Weblogic
i found this error

--------------
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
     at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:133)
     at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
     at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:446)
     at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:464)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:319)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.access$200(WLDeploymentManager.java:109)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager$1.call(WLDeploymentManager.java:278)
     at org.netbeans.modules.j2ee.weblogic9.WLConnectionSupport.executeAction(WLConnectionSupport.java:82)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.executeAction(WLDeploymentManager.java:270)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getTargets(WLDeploymentManager.java:550)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:554)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:512)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.initCoTarget(ServerInstance.java:1681)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1464)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1400)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1205)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:1083)
     at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:548)
     at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:186)
     at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:111)
     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     at org.apache.tools.ant.Task.perform(Task.java:348)
     at org.apache.tools.ant.Target.execute(Target.java:392)
     at org.apache.tools.ant.Target.performTasks(Target.java:413)
     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:283)
     at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:541)
     at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
     at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
     at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:160)
     at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:130)
     ... 38 more
Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
     java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 403 Forbidden'; No available router to destination]
     at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
     at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)
     at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
     at weblogic.jndi.Environment.getContext(Environment.java:315)
     at weblogic.jndi.Environment.getContext(Environment.java:285)
     at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
     at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
     at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
     at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
     at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
     at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
     ... 40 more
Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
     java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 403 Forbidden'; No available router to destination
     at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
     at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
     at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)
     at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
     at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
     ... 48 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
     java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 403 Forbidden'; No available router to destination
     at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
     at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
     at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260)
     at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
     at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
     at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
     ... 54 more
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
     at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:133)
     at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
     at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:446)
     at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:464)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:319)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.access$200(WLDeploymentManager.java:109)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager$1.call(WLDeploymentManager.java:278)
     at org.netbeans.modules.j2ee.weblogic9.WLConnectionSupport.executeAction(WLConnectionSupport.java:82)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.executeAction(WLDeploymentManager.java:270)
     at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getTargets(WLDeploymentManager.java:550)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:554)
     at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:512)
     at org.netbeans.modules.j2ee.deployment.impl.ServerString.getTargets(ServerString.java:117)
     at org.netbeans.modules.j2ee.deployment.impl.ServerString.toTargets(ServerString.java:155)
     at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:552)
     at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:186)
     at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:111)
     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     at org.apache.tools.ant.Task.perform(Task.java:348)
     at org.apache.tools.ant.Target.execute(Target.java:392)
     at org.apache.tools.ant.Target.performTasks(Target.java:413)
     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:283)
     at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:541)
     at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
     at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
     at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:160)
     at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:130)
     ... 35 more
Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
     java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 403 Forbidden'; No available router to destination]
     at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
     at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)
     at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
     at weblogic.jndi.Environment.getContext(Environment.java:315)
     at weblogic.jndi.Environment.getContext(Environment.java:285)
     at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
     at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
     at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
     at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
     at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
     at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
     ... 37 more
Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
     java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 403 Forbidden'; No available router to destination
     at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
     at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
     at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)
     at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
     at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
     ... 45 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
     java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 403 Forbidden'; No available router to destination
     at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
     at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
     at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260)
     at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
     at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
     at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
     ... 51 more
D:\nbWS\primeTest\nbproject\build-impl.xml:1027: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 13 seconds)

-------------

what should do i ?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points