6 Replies Latest reply: Dec 20, 2013 7:30 AM by Amey Palve RSS

Not able to connect to Java App server

Currently Being Moderated

Hi,

I am trying to connect to a server which is already being used.Other users are able to deploy but I am getting error as  "cannot establish connection with any of the available instances".Please find below the log details.

 

 

 

 

*com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.*

*Reason: Exception while trying to get InitialContext.*

**     at com.sap.ide.eclipse.deployer.dc.DCClientImpl.<init>(DCClientImpl.java:70)**

**     at com.sap.ide.eclipse.deployer.dc.DCClientFactoryImpl.createClient(DCClientFactoryImpl.java:142)**

**     at com.sap.ide.eclipse.deployer.DeployerPlugin.getClient(DeployerPlugin.java:195)**

**     at com.sap.ide.eclipse.sdm.threading.DeployThreadManager.deploy(DeployThreadManager.java:359)**

**     at com.sap.ide.eclipse.sdm.SDMManager.deployArchives(SDMManager.java:149)**

**     at com.sap.ide.webdynpro.archivebuilder.ActionDeployArchive$DeployJob.run(ActionDeployArchive.java:214)**

**     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)**

*Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1144] NamingException.Cannot get initial context.*

*Reason: Exception while trying to get InitialContext.*

**     at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:189)**

**     at com.sap.engine.services.dc.api.session.impl.SessionImpl.<init>(SessionImpl.java:115)**

**     at com.sap.engine.services.dc.api.session.impl.SessionFactoryImpl.newSession(SessionFactoryImpl.java:30)**

**     at com.sap.engine.services.dc.api.impl.ClientFactoryImpl.createClient(ClientFactoryImpl.java:74)**

**     at com.sap.ide.eclipse.deployer.dc.DCClientImpl.<init>(DCClientImpl.java:67)**

**     ... 6 more**

*Caused by: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:*

*inld50039772a.dhcp.blrl.sap.corp:50206 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.52.140.135 and port: 50206]*

**     at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:488)**

**     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)**

**     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)**

**     at javax.naming.InitialContext.init(InitialContext.java:223)**

**     at javax.naming.InitialContext.<init>(InitialContext.java:197)**

**     at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:166)**

**     ... 10 more**

*Caused by: com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:*

*inld50039772a.dhcp.blrl.sap.corp:50206 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: 10.52.140.135 and port: 50206*

**     at com.sap.engine.interfaces.cross.Destination.getNextAvailableBroker(Destination.java:59)**

**     at com.sap.engine.interfaces.cross.Destination.getRemoteBroker(Destination.java:35)**

**     at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:352)**

**     ... 15 more [ERROR: Mar 11, 2008 3:00:01 PM /userOut/daView_category (eclipse.UserOutLocation) [Thread[Worker-46,5,main]] ]**

 

 

Regards,

Rahul

Actions