We had a problem starting up Wonderland after the release of Preview 3.

Symptom: It took over an hour to startup the Wonderland jar file, even if it there was an existing instance (directory tree).

Cause: The new embeeded version of Glassfish (V3) has a search order that looks for information (which info should be documented here) first from the internet, and then locally. If the proxies aren't set for Glassfish, then it has to timeout with each war file that has to be deployed.

Solution: Define the http proxies in my.run.properties (see example below), and be sure to include the name of the webserver as well (in the non proxy hosts list). The properties that can be used are documented here. Also, be sure to use a nightly build after the end of January!!

Here's an example of my.run.properties, and the WL startup command.

my.run.properties:#

http.proxyHost=proxy.hostname.com
http.proxyPort=80
http.nonProxyHosts=*.yourdomain.com|webservername|localhost

command line#

java -jar Wonderland.jar my.run.properties

Note: we run it in the background so our command looks more like

nohup java -jar Wonderland.jar my.run.properties &

where nohup means nohangup, and the '&' tells the OS to run in the background. This works for both Red Hat and Solaris.


Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-94) was last changed on 25-Mar-2010 15:05 by Maggie Leber