on 01-25-2007 2:07 PM
I need to configure custom jvm properties, that my Java application can read with code similar to the following:
String myproperty= System.getProperty("myproperty");
I see in forums () that I can put this properties with Config Tool as -D options of JVM. But the problem is that I need to put a lot of properties and I want to know if is it possible to create a mycustom.properties file to put all together? If yes, where do I put this file? how do I configure WAS to use this file?
Thanks,
Jose Molina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Not so sure about the mycustom.properties file
Note 710146 - How to change J2EE Engine JVM Settings might help though
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose,
No, the only way to add a custom system property for use by SAP WAS is the one you've already found.
BTW, if you have to put a lot of properties that should be read only by a single application, probably it makes sense to reconsider your approach - those should not be set as global system properties for the whole WAS, but rather as individual application properties.
HTH!
-Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.