NOTE: This only needs to be done for organizations that are developing custom WOW/JAVA code in Eclipse. If you are not doing this, skip to the topic on setting the environment mode for Java.
Setting the environment as a servlet context parameter (Eclipse IDE)
If you are developing with WOW on a local machine, and you are running Tomcat from within the Eclipse IDE, you can use the above technique to set the WOW environment as a servlet context parameter from context.xml:
Go to the “Project Explorer” view in the J2EE Perspective
The context.xml file is found within the “Servers” project
Set the wow.env.mode parameter as described above
Save the changes to context.xml
Location of context.xml in Eclipse IDE
Eclipse may not immediately pick up changes you make to context.xml, so it may also be necessary to make a change to the server configuration before Eclipse will honor the new environment mode. To force Eclipse to refresh the server configuration:
Go to the “Servers” view in the J2EE perspective
Double click on your server
Edit any field in the server configuration. For example, add a space to the end of the “Host name” field and then delete the space character you just added
Save the server configuration
Once Eclipse sees that a change has been made to the server configuration, it will honor the change made to context.xml.