on 05-19-2009 2:38 PM
Hi Experts,
Here in our client place except for prod. environment they don't have any clustering. We developed a solution with singleton approach like private constructor and factory method for instantiating the instance.So when it went into production we came to know that there are 4 clusters running and my singleton class has 4 object representations on 4 JVMs which can be accessed with
http://server1:50000/irj/servlet/prt/portal/prtroot/Component.Test
http://server2:50000/irj/servlet/prt/portal/prtroot/Component.Test
http://server3:50000/irj/servlet/prt/portal/prtroot/Component.Test
http://server4:50000/irj/servlet/prt/portal/prtroot/Component.Test
while accessing with the common external URL we are not sure which component on which server is requested.
Can anyone please let me know how to address this issue?
Will JNDI be helpful in this regard, if yes please help with coding to access the JNDI?
Even though we have 4 JVMs will the JNDI be only one?
Can I put the object in the JNDI and can access the same in the all the 4 clusters?
Regards,
Kiran.
Hi,
I am not sure what is the purpose of your application, however if you need a cluster shared repository PCD is the answear for your problem.
You can use PCD API or PCM API according to your application specification.
In cluster enviorment on each server node there is one instance of your application.
You can find more information regarding how to use PCM/PCD at: [http://help.sap.com/saphelp_nw70/helpdata/EN/45/a8029ecf140039e10000000a11466f/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/45/a8029ecf140039e10000000a11466f/frameset.htm]
PCD API: [http://help.sap.com/javadocs/NW04S/current/pc/index.html|http://help.sap.com/javadocs/NW04S/current/pc/index.html]
PCM API: [http://help.sap.com/javadocs/NW04S/current/ep/index.html|http://help.sap.com/javadocs/NW04S/current/ep/index.html]
Regards,
Roei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
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.