on 11-07-2007 4:41 PM
Unfortunately, I am getting, the following error message, while trying to get an InitialContext for calling an ejb:
com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot create new RemoteLoginContext instance.]
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:532)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at src.EJBRemoteClient.main(EJBRemoteClient.java:24)
Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Cannot create new RemoteLoginContext instance.
at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:98)
at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:78)
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:396)
... 5 more
Caused by: com.sap.engine.services.rmi_p4.P4RuntimeException: Unexpected exception.Nested exception is:
java.io.EOFException: End of stream is reached unexpectedly during input from Socket[addr=/10.62.145.243,port=50104,localport=1225]
at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:591)
at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:561)
at com.sap.engine.services.security.remote.RemoteSecurity_Stub.getRemoteLoginContext(RemoteSecurity_Stub.java:674)
at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:93)
... 7 more
Does anybody know how to solve this problem?
Thank you for your help.
Kind regards, Patrick.
Hi Patrick,
If you have set for a server node the debug setting Restricted Load Balancing, then the specific server node will not be part of the j2ee engine load balancing, hence you will see an error similar to what you have pasted when trying to reach it via p4 protocol (trying to get initial context remotely).
I don't think there's a special document for that, but you can check the property description on help.sap.com.
Greetings, Myriana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrick,
This could be due to many reasons:
1.Server died while you tried to connect
2.Dispatcher died while you tried to connect
3. You have only one server node and it is set in debug mode. If this is the case then you will not be able to connect via p4.
Check also the error in the server log files, maybe there is something that gives a hint.
I hope this helps.
Myriana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrick
The following link explains exactly the same error you have..
http://help.sap.com/saphelp_nw04/helpdata/en/f4/302c4142aef623e10000000a155106/frameset.htm
Thanks
Subbu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.