on 03-11-2008 10:10 AM
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
Hi to everone who might be interrested,
we had the same issue and found out that we just before removed role "Everyone" from build-in group "Everyone". This prevented direct deployment from NWDS with the above error and caused following NWDI error:
com.sap.cms.util.exception.CMSUnexpectedException: The user '***' could not be connected to the specified host '***'and port '***'.
at com.sap.cms.util.logging.CmsLogger.cmsalert(CmsLogger.java:471)
at com.sap.cms.util.logging.CmsLogger.errorWithStackTrace(CmsLogger.java:371)
at com.sap.cms.tcs.beans.TCSDeployBean.getDeployTool(TCSDeployBean.java:1171)
at com.sap.cms.tcs.beans.TCSDeployBean.deployCaller(TCSDeployBean.java:1565)
at sun.reflect.GeneratedMethodAccessor798.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...
Cheers,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Delete instance of existing instance Java AS in Windows->Preferences
And add it again.. Have you got ur server restarted in this period?
--
Regards,
Amey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I also faced a similar issue but the issue was solved by changing the watch dog parameter.
http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Kernel%29Bootstrap-Exit556
Vamshi T.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go to window -> Preferences->Java AS and check the message server port and host.
Is this same as others???
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
have you tried with the IP of your server?
Following are the details what i can understand from the stack.
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**
i guess inld50039772a is your system.
Are you deploying on a remote system or on a local one???
Regards
Ayyapparaj
User | Count |
---|---|
72 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.