This discussion is archived
4 Replies Latest reply: Apr 25, 2013 11:00 PM by AjayGM RSS

Netbeans 7.3 weblogic deployment failure

AjayGM Newbie
Currently Being Moderated
Hi All,
I am currently trying to deploy my web project to weblogic. I am using netbeans - weblogic integration to deploy.
However the deployment fails with the following message.
I have provided correct password of weblogic in netbeans to login
Any help would be appreciated.


Caused by: javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.0 500 handshakefailed]]
     at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
     at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
     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: weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.0 500 handshakefailed]
     at weblogic.socket.Login.checkLoginSuccess(Login.java:131)
     at weblogic.rjvm.t3.MuxableSocketT3.connect(MuxableSocketT3.java:410)
     at weblogic.rjvm.t3.ConnectionFactoryT3.createConnection(ConnectionFactoryT3.java:34)
     at weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1784)
     at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424)
     at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443)
     at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
     at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
     at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
     at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
     at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
     at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
     at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
     at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
     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)
  • 1. Re: Netbeans 7.3 weblogic deployment failure
    1003563 Newbie
    Currently Being Moderated
    Can you share a message log (http://wiki.netbeans.org/FaqLogMessagesFile)? Which version of WL do you use? How it has been installed? What are the exact steps to reproduce this?
  • 2. Re: Netbeans 7.3 weblogic deployment failure
    AjayGM Newbie
    Currently Being Moderated
    I tried this on weblogic 10.3.4 an 10.3.6 on linux and windows. Both failed.
    The steps to reproduce this is to create a web project and run index.jsp

    messages.log
    ----------------------
    INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Users\amuralim\AppData\Roaming\NetBeans\7.3\jsstubs\reststubs.zip took: 343 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
    INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 3 source roots took: 1,284 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
    INFO [org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager]
    java.rmi.UnmarshalException: Throwable waiting for response (java.lang.AssertionError) Assertion violated
         at weblogic.iiop.EndPointImpl.sendReceive(EndPointImpl.java:1177)
         at weblogic.iiop.EndPointImpl.sendReceive(EndPointImpl.java:1186)
         at weblogic.iiop.IORManager.locateNameService(IORManager.java:204)
    Caused: org.omg.CORBA.MARSHAL: Throwable waiting for response (java.lang.AssertionError) Assertion violated vmcid: 0x0 minor code: 0 completed: No
         at weblogic.iiop.Utils.mapRemoteToCORBAException(Utils.java:830)
         at weblogic.iiop.Utils.mapToCORBAException(Utils.java:874)
         at weblogic.iiop.IORManager.locateNameService(IORManager.java:213)
         at weblogic.iiop.IORManager.createInitialReference(IORManager.java:123)
         at weblogic.corba.orb.ORB.string_to_object(ORB.java:341)
         at weblogic.corba.orb.ORB.resolve_initial_references(ORB.java:235)
         at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:631)
    Caused: javax.naming.NamingException: Couldn't connect to the specified host : Throwable waiting for response (java.lang.AssertionError) Assertion violated [Root exception is org.omg.CORBA.MARSHAL: Throwable waiting for response (java.lang.AssertionError) Assertion violated  vmcid: 0x0  minor code: 0  completed: No]
         at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
         at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:656)
         at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:594)
         at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:85)
         at weblogic.factories.iiop.iiopEnvironmentFactory.getInitialContext(iiopEnvironmentFactory.java:33)
         at weblogic.factories.iiop.iiopEnvironmentFactory.getInitialContext(iiopEnvironmentFactory.java:71)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:178)
    Caused: java.io.IOException: Couldn't connect to the specified host : Throwable waiting for response (java.lang.AssertionError) Assertion violated
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
         at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
         at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         at org.netbeans.modules.j2ee.weblogic9.WLConnectionSupport$1.call(WLConnectionSupport.java:143)
         at org.netbeans.modules.j2ee.weblogic9.WLConnectionSupport.executeAction(WLConnectionSupport.java:82)
         at org.netbeans.modules.j2ee.weblogic9.WLConnectionSupport.executeAction(WLConnectionSupport.java:123)
    [catch] at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getTargets(WLDeploymentManager.java:524)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:558)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:516)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.initCoTarget(ServerInstance.java:1690)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1473)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1405)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1209)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:1087)
         at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:549)
         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.GeneratedMethodAccessor78.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)
    INFO [org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager]
    weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.0 500 handshakefailed]
         at weblogic.socket.Login.checkLoginSuccess(Login.java:131)
         at weblogic.rjvm.t3.MuxableSocketT3.connect(MuxableSocketT3.java:410)
         at weblogic.rjvm.t3.ConnectionFactoryT3.createConnection(ConnectionFactoryT3.java:34)
         at weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1784)
         at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         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)
    Caused: javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.0 500 handshakefailed]]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
         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)
    Caused: 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)
    Caused: 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)
    Caused: java.lang.reflect.InvocationTargetException
         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)
    Caused: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Cannot create weblogic DeploymentManager instance.
         at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:328)
         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)
    Caused: java.util.concurrent.ExecutionException
         at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager$1.call(WLDeploymentManager.java:285)
         at org.netbeans.modules.j2ee.weblogic9.WLConnectionSupport.executeAction(WLConnectionSupport.java:82)
         at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.executeAction(WLDeploymentManager.java:270)
    [catch] at org.netbeans.modules.j2ee.weblogic9.deploy.WLDeploymentManager.getTargets(WLDeploymentManager.java:550)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:558)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:516)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.initCoTarget(ServerInstance.java:1690)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1473)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1405)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1209)
         at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:1087)
         at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:549)
         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.GeneratedMethodAccessor78.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)
  • 3. Re: Netbeans 7.3 weblogic deployment failure
    Vijaya Moderator -Oracle Expert
    Currently Being Moderated
    Hi ,

    Did you see the connection status as Success when configuring WLS from NetBeans IDE?

    Thanks,
    Vijaya
  • 4. Re: Netbeans 7.3 weblogic deployment failure
    AjayGM Newbie
    Currently Being Moderated
    I figured the issue. It was related to proxy setting.
    After changing the proxy setting, the issue is resolved.

    Edited by: Ajay G M on Apr 25, 2013 11:00 PM

Legend

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