on 02-28-2008 4:53 PM
According to the following help document, for load balancing of the EJB client calls, we can specify the message server which can perform the load balancing and redirect the request to the running server.
Help Document:
Use of the Message Server for Load Balancing Between Java Instances:[http://help.sap.com/saphelp_erp2005/helpdata/en/b2/732b41a52bef23e10000000a155106/frameset.htm|http://help.sap.com/saphelp_erp2005/helpdata/en/b2/732b41a52bef23e10000000a155106/frameset.htm]
We have tried to use this on our server but the InitialContext always throws NamingException for the message server. It works fine when we try to connect to the actual server instance. We are using WAS 7.0 sp11.
Code:
p.put(Context.PROVIDER_URL, "sapms://<msgserver_host>:<msgserver_HTTP_port>"); FAILS with Naming Exception
p.put(Context.PROVIDER_URL, "<host>:<P4_port>"); WORKS
Can anybody elaborate on this issue? Is this a bug?
Faraz
Hi Faraz,
can you elaborate more how you are connecting to message server. http or https?
It is not able to find the JNDI registry while connecting through message server URL.
Can you elaborate the process and also a bit more detailed code.
Regards,
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.