on 02-02-2007 11:54 AM
Hi,
I want to get the system state / system type (even if si PROD or TEST or DEVELOP system) of the J2EE-Engine at runtime, because to use different properties.
How can I find this information and how can I get this info in Java?
Thanks for help.
Sven Rickelt
we use: SAP Web AS 6.40 SP 13 (Netweaver 2004)
Hi Sven,
you can find info on your system on:
<a href="http://<server>:<port>/sap/monitoring/SystemInfo">http://abc-rhcl01.abacosoft.it:50000/sap/monitoring/SystemInfo</a>
Regards,
Gianluca Barile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gianluca,
thanks, but I want to know <b>in my application at runtime</b> on wihch server (for example PROD or TEST or DEVELOP) it runs, because I would use different properties for PROD, TEST and DEVELOP System.
When I use NWDI, I must store all properties (Test and Prod a.s.o) in my WAR/EAR and then transport it from Develop to Consolidation to Test and then to Prod.
My application must know, which properties right to use.
Best regards,
Sven Rickelt
Hi Gianluca,
one method I found is "to ask" System.getProperty("j2ee.dbhost") or System.getProperty("SAPSYSTEMNAME"), but I don't know if it is the right way.
So I must store the servernames in my properties (f.e.
dev=mypcname
test=testservername
a.s.o.)
but I think there must be a method to configure the server, that I can ask it and the answer is "PROD" or "TEST" and I not must know the servernames...
Best Regards
Sven Rickelt
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
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.