NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
obinnahenree
Joined: 17 Mar 2009 Posts: 6 Location: Nigeria
|
Posted: Mon Nov 30, 2009 1:13 pm Post subject: Error when running enterprise application client on Netbeans 6.7.1 |
|
|
hi, i always get this exception, each time i try to run an enterprise application client from netbeans.i use Netbeans 6.7.1
[init:
init:
deps-jar:
compile:
library-inclusion-in-archive:
dist:
deps-jar:
build-common:
compile:
library-inclusion-in-archive:
dist:
pre-run-deploy:
Distributing C:\javaeetutorial5\examples\ejb\order\order-app-client\dist\order-app-client.jar to [localhost:4848_server]
Start registering the project's server resources
Finished registering server resources
deployment started : 0%
deployment finished : 100%
Deploying application in domain completed successfully
Trying to create reference for application in target server completed successfully
Trying to start application in target server completed successfully
Deployment of application order-app-client completed successfully
Enable of order-app-client in target server completed successfully
Enable of application in all targets completed successfully
All operations completed successfully
post-run-deploy:
run-deploy:
Copying 1 file to C:\javaeetutorial5\examples\ejb\order\order-app-client\dist
run-tool:
Nov 30, 2009 5:24:45 PM com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: mohican.mshome.net; port: 3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2690)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2711)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:261)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:274)
at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:130)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:192)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:181)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:325)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:134)
at com.sun.enterprise.naming.SerialContext.getCachedProvider(SerialContext.java:259)
at com.sun.enterprise.naming.SerialContext.getRemoteProvider(SerialContext.java:204)
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:159)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:409)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.sun.enterprise.util.Utility.lookupObject(Utility.java:145)
at com.sun.enterprise.ServerConfiguration.<init>(ServerConfiguration.java:96)]
please , what can i do.[/code] |
|
| Back to top |
|
 |
janikle
Joined: 30 Dec 2009 Posts: 2
|
Posted: Wed Dec 30, 2009 2:38 pm Post subject: |
|
|
| I get the same error. I have ported the EE/EJB code into the standalone Java desktop application, where it works fine. But I can not make it run form the NetBeans Module. |
|
| Back to top |
|
 |
janikle
Joined: 30 Dec 2009 Posts: 2
|
Posted: Wed Dec 30, 2009 3:26 pm Post subject: |
|
|
| I have found the solution on that page: The problem does not happen if EJB classes are bundled within the same Library Wrapper Module as the Glassfish jars. |
|
| Back to top |
|
 |
|
|
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
|
|