cancel
Showing results for 
Search instead for 
Did you mean: 

Scripted WAS Config change http port add JVM classpath

Former Member
0 Kudos

On Windows in WAS 6.4 SP9

I can manually change the HTTP port for the dispatcher and add JVM settings (system properties and classpath) on the J2EE engine in the ConfigTool but I need to create an automated script do what I am manually doing in the ConfigTool.

Can someone please provide an example of how to do each or any of these? Is there documentation on how to script things manually done in the ConfigTool?

Thanks,

Barry

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

changing the HTTP port is possible by integrating the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/84/0e3f15fc6af94f82c2e6449bcef3d1/frameset.htm">SETSP</a> shell command into your script (just as suggested in your other post).

However, I'm unsure about the JVM settings. They are usually read from a property file (instance.properties) by the jcontrol process that starts the instance. The option I see is to integrate the jcontrol in your script and pass your custom properties file using its <b>-file</b> option. However, this is just a suggestion - I have never tried this and am therefore not sure if it works at all.

No documentation is available about scripting, as AFAIK, this is not an officially supported startup procedure.

Hope all that helps a bit!