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:14 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 |
|
 |
Melongo Annabel Posted via mailing list.
|
Posted: Tue Dec 01, 2009 5:32 am Post subject: Re: Error when running enterprise application client on Netbeans 6.7.1 |
|
|
It's not just that your ALWAYS get the error. For your specific case, your application can't just connect to the remote server. I would recommend you try to debug it to find out what's wrong. Here's how to use the debugger in NB: http://netbeans.org/kb/55/using-netbeans/debug.html
From: obinnahenree <address-removed>
To: address-removed
Sent: Mon, November 30, 2009 7:14:25 AM
Subject: [nbj2ee] 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]
------------------------
obyno |
|
| Back to top |
|
 |
jyeary
Joined: 21 Oct 2008 Posts: 606 Location: Simpsonville, SC
|
Posted: Wed Dec 02, 2009 4:36 pm Post subject: Re: Error when running enterprise application client on Netbeans 6.7.1 |
|
|
Is your application set to use the correct hostnames? In one case I see localhost and the error is connecting to mohican.mshome.net. Check the server configuration for the correct hostnames.
On Mon, Nov 30, 2009 at 8:14 AM, obinnahenree <address-removed ([email]address-removed[/email])> wrote:
| Quote: | 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 |
|
| Back to top |
|
 |
obinnahenree
Joined: 17 Mar 2009 Posts: 6 Location: Nigeria
|
Posted: Sun Dec 13, 2009 11:00 am Post subject: how ca i set the application to use correct hostnames |
|
|
hi jyeary, thanks for your reply. how can i set correct hostnames for my application. is it not supposed to pick localhost by default.i cant say where mohican.mshome.net came from.
thanks. |
|
| Back to top |
|
 |
Kenneth Ganfield Posted via mailing list.
|
Posted: Sun Dec 13, 2009 9:30 pm Post subject: Re: Error when running enterprise application client on Netbeans 6.7.1 |
|
|
Hi,
You can try looking at the target server specified in
glassfish/domains/domain1/config/sun-acc.xml.
obinnahenree wrote:
| Quote: | hi jyeary, thanks for your reply. how can i set correct hostnames for my application. is it not supposed to pick localhost by default.i cant say where mohican.mshome.net came from.
thanks.
------------------------
obyno
|
|
|
| Back to top |
|
 |
mackkaif
Joined: 12 Nov 2009 Posts: 6
|
Posted: Tue Dec 15, 2009 12:46 pm Post subject: re: |
|
|
thanks for sharing  |
|
| 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
|
|
|