Chris Reemts has found that relocating a WebSynergy-on-GlassFish installation is possible by following a few simple steps:

Moving a WebSynergy+GlassFish installation from one directory to another on OpenSolaris


The following are the actions I took to move an install of the MileStone 4 build of WebSynergy on OpenSolaris.
  • The installed location was: IL == /export/home/demo/Desktop/
  • The new location is: NL == /export/home/demo/
To move (NOTE: It is a good idea to save a copy of any files before editing):
  • Move the entire web* folder from IL to NL – I used the file browser to do this
  • Modify NL/web*/glass*/bin/asadmin
    • 1.Open in a text editor
    • 2.Line 7 contains a path --- correct this path to the new location
    • 3.Save
  • Modify NL/web*/glass*/config/asenv.conf
    • 1.Almost every line has a path that you need to change to the new locations path
    • 2.Save
  • Modify NL/web*/glass*/domains/domain1/config/sun-acc.xml
    • 1.You may have a domain name different from domain1
    • 2.Line 26 value is a path --- correct this path to the new location
    • 3.Save
  • Modify NL/web*/glass*/domains/domain1/jbi/config/jbi-registry.xml
    • 1.You may have a domain name different from domain1
    • 2.Lines 19, 20, 25, 26, and 30 need the path corrected to the new location

This allows, for example, one to relocate a full install from one server to another (if using GlassFish V2, the destination machine must be the same OS/architecture). Nice work Chris!