Forums Register Login

J2EE server connection problem

+Pie Number of slices to send: Send
Hi, I was studying the first chapter of Head First EJB and just when I click on "Finish" on page 52 I get the following error "could not connect to local host".
I look at the command line terminal where I launched "deploytool" and I have the following errors:

Error: Could not connect to localhost - org.omg.CORBA.COMM_FAILURE: vmcid: SUN
minor code: 201 completed: No
(For more detail, see file 'C:\DOCUME~1\RAHULI~1\LOCALS~1\Temp\.j2eeDeploytoo
lExceptionLog.out')


Error: Could not connect to localhost - org.omg.CORBA.COMM_FAILURE: vmcid: SUN
minor code: 201 completed: No
(For more detail, see file 'C:\DOCUME~1\RAHULI~1\LOCALS~1\Temp\.j2eeDeploytoo
lExceptionLog.out')

The following are my environment variable settings:

CLASSPATH: .;C:\Program Files\QuickTime\QTSystem\QTJava.zip;C:\j2sdkee1.3\lib\j2ee.jar

J2EE_HOME: C:\j2sdkee1.3

JAVA_HOME: C:\j2sdk1.4.2_13

PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\j2sdk1.4.2_13\bin;C:\j2sdkee1.3\bin

The following is the content of the j2eedeploytoolexceptionlog file:


--------------------------------------------------------------------------------
---------------- Exception -----------------------------------------------------
ERROR: [com.sun.enterprise.tools.deployment.main.ServerManager.getJarInstaller:582]
Could not connect to localhost
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
--------------------------------------------------------------------------------
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:183)
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:68)
at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:70)
at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:637)
at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:579)
at com.sun.corba.ee.internal.corba.ClientDelegate.request(ClientDelegate.java:871)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:397)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.sun.enterprise.tools.deployment.main.ServerManager.getJarInstaller(ServerManager.java:573)
at com.sun.enterprise.tools.deployment.main.ServerManager.getServerForName(ServerManager.java:556)
at com.sun.enterprise.tools.deployment.main.DeployTool.deploy(DeployTool.java:137)
at com.sun.enterprise.tools.deployment.ui.DT.deployApplication(DT.java:76)
at com.sun.enterprise.tools.deployment.ui.DeploymentManager$1.run(DeploymentManager.java:623)
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
---------------- Exception -----------------------------------------------------
ERROR: [com.sun.enterprise.tools.deployment.main.ServerManager.getJarInstaller:582]
Could not connect to localhost
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
--------------------------------------------------------------------------------
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:183)
at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:68)
at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:70)
at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:637)
at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:579)
at com.sun.corba.ee.internal.corba.ClientDelegate.request(ClientDelegate.java:871)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:397)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.sun.enterprise.tools.deployment.main.ServerManager.getJarInstaller(ServerManager.java:573)
at com.sun.enterprise.tools.deployment.main.ServerManager.removeServer(ServerManager.java:245)
at com.sun.enterprise.tools.deployment.ui.DeploymentManager$1.run(DeploymentManager.java:631)
--------------------------------------------------------------------------------

As I am just beginning to learn about EJB I do not know very much. Please assist me. Thank you.
+Pie Number of slices to send: Send
Hello! Sorted out the problem myself! Apparently I needed to type "cloudscape -start" at the command prompt before launching j2ee....
well cheerio..
Hey! Wanna see my flashlight? It looks like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1247 times.
Similar Threads
EJB application not accessible from different machine using IIOP-ORB
need urgent help with ejb sun server
javax.naming.CommunicationException: Cannot connect to ORB
org.omg.CORBA.COMM_FAILURE problem when launching J2EE server
WEBLOGIC AND TUXEDO -- please help
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:20:37.