NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problem to deploy Weblogic 10 with Netbeans 6.1

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
damodarm
Posted via mailing list.





PostPosted: Mon Sep 01, 2008 1:29 pm    Post subject: Problem to deploy Weblogic 10 with Netbeans 6.1 Reply with quote

Hi,

I am facing problem to deploy a very simple web application into Weblogic
Server 10 through netbeans 6.1.

I have changed the java home to start netbeans in jdk 1.5 as c:\>netbeans
--javahome "...\jdk1.5" as Weblogic work in 1.5....

I am still getting the following deployment error.
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
at
weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
at
weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
at
weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:450)
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.WLDeploymentFactory.getVendorDeploymentManager(WLDeploymentFactory.java:162)
at
org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:137)
at
org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager.getTargets(WLDeploymentManager.java:578)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:517)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:490)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance._retrieveTarget(ServerInstance.java:1631)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isSuspended(ServerInstance.java:831)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1198)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1062)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:939)
at
org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:428)
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:143)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.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:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:143)
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
... 35 more
Caused by: javax.naming.CommunicationException [Root exception is
java.rmi.UnmarshalException: failed to unmarshal class
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.io.StreamCorruptedException: invalid type code: 31]
at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
at
weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
at
weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:673)
at
weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:373)
at weblogic.jndi.Environment.getContext(Environment.java:307)
at weblogic.jndi.Environment.getContext(Environment.java:277)
at
weblogic.jndi.Environment.createInitialContext(Environment.java:200)
at weblogic.jndi.Environment.getInitialContext(Environment.java:184)
at weblogic.jndi.Environment.getInitialContext(Environment.java:162)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:330)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:302)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
... 37 more
Caused by: java.rmi.UnmarshalException: failed to unmarshal class
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.io.StreamCorruptedException: invalid type code: 31
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:229)
at
weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
at
weblogic.common.internal.RMIBootServiceImpl_1001_WLStub.authenticate(Unknown
Source)
at weblogic.security.acl.internal.Security$1.run(Security.java:185)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at
weblogic.security.acl.internal.Security.authenticate(Security.java:181)
at
weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:734)
at
weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:667)
... 47 more
Caused by: java.io.StreamCorruptedException: invalid type code: 31
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
at
weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
at
weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:227)
... 55 more
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
at
weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
at
weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
at
weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:450)
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.WLDeploymentFactory.getVendorDeploymentManager(WLDeploymentFactory.java:162)
at
org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:137)
at
org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager.getTargets(WLDeploymentManager.java:578)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:517)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:490)
at
org.netbeans.modules.j2ee.deployment.impl.ServerString.getTargets(ServerString.java:108)
at
org.netbeans.modules.j2ee.deployment.impl.ServerString.toTargets(ServerString.java:141)
at
org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:430)
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:143)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.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:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:143)
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
... 32 more
Caused by: javax.naming.CommunicationException [Root exception is
java.rmi.UnmarshalException: failed to unmarshal class
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.io.StreamCorruptedException: invalid type code: 31]
at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
at
weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
at
weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:673)
at
weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:373)
at weblogic.jndi.Environment.getContext(Environment.java:307)
at weblogic.jndi.Environment.getContext(Environment.java:277)
at
weblogic.jndi.Environment.createInitialContext(Environment.java:200)
at weblogic.jndi.Environment.getInitialContext(Environment.java:184)
at weblogic.jndi.Environment.getInitialContext(Environment.java:162)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:330)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:302)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
... 34 more
Caused by: java.rmi.UnmarshalException: failed to unmarshal class
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.io.StreamCorruptedException: invalid type code: 31
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:229)
at
weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
at
weblogic.common.internal.RMIBootServiceImpl_1001_WLStub.authenticate(Unknown
Source)
at weblogic.security.acl.internal.Security$1.run(Security.java:185)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at
weblogic.security.acl.internal.Security.authenticate(Security.java:181)
at
weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:734)
at
weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:667)
... 44 more
Caused by: java.io.StreamCorruptedException: invalid type code: 31
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
at
weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
at
weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:227)
... 52 more
Deployment error:
The module has not been deployed.
See the server log for details.
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.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:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: The module has not been deployed.
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:160)
... 16 more
BUILD FAILED (total time: 2 seconds)





Please Help Me....

Thanks and regards,
Damodar...

--
View this message in context: http://www.nabble.com/Problem-to-deploy-Weblogic-10-with-Netbeans-6.1-tp19254744p19254744.html
Sent from the Netbeans - J2EE mailing list archive at Nabble.com.
Back to top
damodarm
Posted via mailing list.





PostPosted: Tue Sep 02, 2008 6:21 am    Post subject: Problem to deploy Weblogic 10 with Netbeans 6.1 Reply with quote

Finally I got the solution.
reinstall the netbeans 6.1 with JDK 1.5 that's it...

It is working fine :-)


damodarm wrote:
Quote:


Hi,

I am facing problem to deploy a very simple web application into
Weblogic Server 10 through netbeans 6.1.

I have changed the java home to start netbeans in jdk 1.5 as c:\>netbeans
--javahome "...\jdk1.5" as Weblogic work in 1.5....

I am still getting the following deployment error.
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
at
weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
at
weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
at
weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:450)
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.WLDeploymentFactory.getVendorDeploymentManager(WLDeploymentFactory.java:162)
at
org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:137)
at
org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager.getTargets(WLDeploymentManager.java:578)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:517)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:490)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance._retrieveTarget(ServerInstance.java:1631)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.isSuspended(ServerInstance.java:831)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1198)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1062)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:939)
at
org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:428)
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:143)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.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:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:143)
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
... 35 more
Caused by: javax.naming.CommunicationException [Root exception is
java.rmi.UnmarshalException: failed to unmarshal class
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.io.StreamCorruptedException: invalid type code: 31]
at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
at
weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
at
weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:673)
at
weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:373)
at weblogic.jndi.Environment.getContext(Environment.java:307)
at weblogic.jndi.Environment.getContext(Environment.java:277)
at
weblogic.jndi.Environment.createInitialContext(Environment.java:200)
at
weblogic.jndi.Environment.getInitialContext(Environment.java:184)
at
weblogic.jndi.Environment.getInitialContext(Environment.java:162)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:330)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:302)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
... 37 more
Caused by: java.rmi.UnmarshalException: failed to unmarshal class
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.io.StreamCorruptedException: invalid type code: 31
at
weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:229)
at
weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
at
weblogic.common.internal.RMIBootServiceImpl_1001_WLStub.authenticate(Unknown
Source)
at
weblogic.security.acl.internal.Security$1.run(Security.java:185)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at
weblogic.security.acl.internal.Security.authenticate(Security.java:181)
at
weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:734)
at
weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:667)
... 47 more
Caused by: java.io.StreamCorruptedException: invalid type code: 31
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
at
weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
at
weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
at
weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:227)
... 55 more
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
at
weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
at
weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
at
weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:450)
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.WLDeploymentFactory.getVendorDeploymentManager(WLDeploymentFactory.java:162)
at
org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager.getDeploymentManager(WLDeploymentManager.java:137)
at
org.netbeans.modules.j2ee.weblogic9.WLDeploymentManager.getTargets(WLDeploymentManager.java:578)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:517)
at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:490)
at
org.netbeans.modules.j2ee.deployment.impl.ServerString.getTargets(ServerString.java:108)
at
org.netbeans.modules.j2ee.deployment.impl.ServerString.toTargets(ServerString.java:141)
at
org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:430)
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:143)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.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:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:143)
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
at
weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
... 32 more
Caused by: javax.naming.CommunicationException [Root exception is
java.rmi.UnmarshalException: failed to unmarshal class
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.io.StreamCorruptedException: invalid type code: 31]
at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:74)
at
weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:32)
at
weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
at
weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:673)
at
weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:373)
at weblogic.jndi.Environment.getContext(Environment.java:307)
at weblogic.jndi.Environment.getContext(Environment.java:277)
at
weblogic.jndi.Environment.createInitialContext(Environment.java:200)
at
weblogic.jndi.Environment.getInitialContext(Environment.java:184)
at
weblogic.jndi.Environment.getInitialContext(Environment.java:162)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:330)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:302)
at
weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
... 34 more
Caused by: java.rmi.UnmarshalException: failed to unmarshal class
weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
java.io.StreamCorruptedException: invalid type code: 31
at
weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:229)
at
weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
at
weblogic.common.internal.RMIBootServiceImpl_1001_WLStub.authenticate(Unknown
Source)
at
weblogic.security.acl.internal.Security$1.run(Security.java:185)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at
weblogic.security.acl.internal.Security.authenticate(Security.java:181)
at
weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:734)
at
weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:667)
... 44 more
Caused by: java.io.StreamCorruptedException: invalid type code: 31
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
at
weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
at
weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
at
weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:227)
... 52 more
Deployment error:
The module has not been deployed.
See the server log for details.
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor48.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:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: The module has not been deployed.
at
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:160)
... 16 more
BUILD FAILED (total time: 2 seconds)





Please Help Me....

Thanks and regards,
Damodar...



--
View this message in context: http://www.nabble.com/Problem-to-deploy-Weblogic-10-with-Netbeans-6.1-tp19254744p19264751.html
Sent from the Netbeans - J2EE mailing list archive at Nabble.com.
Back to top
calinux



Joined: 13 Oct 2008
Posts: 1

PostPosted: Mon Oct 13, 2008 2:27 pm    Post subject: the good answer is here Reply with quote

http://forums.sun.com/thread.jspa?threadID=5195504&tstart=-1

or at least this fixed my problem.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo