I haven't used WASD/RAD and the Websphere stuff in a while so you'll have to bear with me...
I have an old project in WSAD 5.1.2 with a server configuration that's in a .wsi-file. If I double click it I get the server configuration editor and on the environment tab there is a System Properties section with some name-value pairs.
Now I have opened the same project in RAD 7.5.1. Where can i input the same name-value pairs for a server in RAD 7.5.1? There's no "environment-tab" if I double-click the server.
In RAD/RSA 6, IBM switched to using a real server rather than a test environment. This means in RAD 7.5 you need to start the server, right click it to launch the admin console and set the properties there. Pretty much the only thing you can do in the RSA editor is change the port to point to the right server.
The old app I'm porting needs some properties in the system properties of the JVM set so that they can be retrieved with System.getProperty(...) and I found a dirty way of making it work. So, until I find out how to do it the proper way, if there is a proper way, I came up with this hack:
After doing some "find" and "grep" in the profile directory of the appserver i found a file called:
In at the bottom of server.xml there is a <jvmEntries xmi:id="JavaVirtualMachine_.... tag.
Inside it you can add system properties tags on the format:
<systemProperties xmi:id="someId" name="name of your property" value="the value" required="false"/>
Anyone who knows how to to this the proper way and has read all the way down here must be crying by now...
But, it seams to work...
author & internet detective