Default style (Cherry Eve). Switch styles (Capricorn). Atom Feed Calendar
http://blogs.sun.com/rmandava/date/20060201 Wednesday February 01, 2006

JWSDP Installation & Cygwin on windows

Yesterday, in JWSDP users mailing list, Adym Lyncoln reported that he was getting installation failure where progress bar got stuck at 90%, when intergating JWSDP 2.0 with Sun Java System Application Server 8.x using either JDK 1.5 or JDK 1.4.2 on MS Windows.
He also points out the the log.txt under <JWSDP_HOME> contains the following error

 
C:\projects\jwsdp-2.0\jwsdp-shared\bin\jwsdponsjsas.xml:338:
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
        at org.apache.tools.ant.Task.perform(Task.java:373)
  ...
com.sun.jwsdp.installer.InstallOnAppServerAction.install(InstallOnAppServerAction.java:263)
        at
...ETC...

As part of getting more information Ana was making sure that Adym was using PE version of the Sun Java System AppServer, as that is the version supported by JWSDP. Also as part of Ana's email, there is hint that we can get more information of installation failures by looking at <JWSDP_HOME>\log.details file.

In that mail thread Tom Amiro gave instructions how somebody can integrate JWSDP into AppServer after doing the "No Container" installation and also points to the document <JWSDP_HOME>\docs\IntegrationNotes.html for more information

Finally the problem was found to be with the interaction of Cygwin and regualr windows command tool. Replacing

\ to / in the <JWSDP_HOME>\jwsdp-shared\bin\setenv.bat 
file and manually intergating with "jwsdponsjsas.bat" as Tom suggested above did the trick.

So if you face similar problem on windows when you have either Cygwin or MKS installed, you can try the above workaround as follows

  • Choose "No Container" installation of JWSDP
  • Change \ to / in the <JWSDP_HOME>\jwsdp-shared\bin\setenv.bat 
  • Follow steps in <JWSDP_HOME>\docs\IntegrationNotes.html, to do manual integration of JWSDP into Appserver using <JWSDP_HOME>\jwsdp-shared\bin\jwsdponsjsas.bat script after updating the properties in <JWSDP_HOME>\jwsdp-shared\bin\sjsas.props to match your installation

Note: Please replace <JWSDP_HOME> with your JWSDP Installation directory