#2669 webstart & j2se version & JdbcRowSetResourceBundle

R2.6.3
closed-fixed
CompiereQA
7
2007-11-08
2007-10-23
No

We are having some problems with webstart while testing out Compiere 2.6.3 (the same happens with our 2.6.4 28/09 test build).

After selecting the role and clicking on "ok" in the login dialog, the following error occures:

NoClassDefFoundError: com/sun/rowset/JdbcRowSetResourceBundle

I noticed that the "j2se version" in the jnlp file is now set to "1.5". The jnlp file from our production system (2.6.1)
is defined as "1.5+"

With the new setting ("1.5") webstart will download the "J2SE Runtime Environemnt 5.0". Note that this is the "original" 1.5.0,
not one of the updates.
This version seems to lack the "JdbcRowSetResourceBundle" class(!?)
(I have checked it by looking inside rt.jar, it is not there with 1.5.0, but it is with 1.5.0_12 (for example))

The best solution that I could figure out is setting the "j2se version" to "1.5.0_*".
In this case, all 1.5.0_xx versions of the JRE will run the application straight away, and 1.6.0 versions will download the 1.5.0_11 version of the JRE in order to run it. (update 12 and 13 are not made available yet throught the autodownload site for some reason)

Discussion

  • Felipe Reyes
    Felipe Reyes
    2007-10-23

    Logged In: YES
    user_id=1793135
    Originator: NO

    Reviewing...

     
  • Logged In: YES
    user_id=590380
    Originator: YES

    It looks like 1798543 is about the same issue

     
  • Felipe Reyes
    Felipe Reyes
    2007-10-29

    Logged In: YES
    user_id=1793135
    Originator: NO

    Thanks a lot for the suggestion. I made the fix in the core/trunk and it should be available in the next major release.

    Revision: 4036
    Author: freyes
    SourceForge SR 1818561 & 1798543
    Changed j2se version from "1.5" to "1.5.0_*" to avoid NoClassDefFoundError: com/sun/rowset/JdbcRowSetResourceBundle when starting Compiere using webstart
    ----
    Modified : /trunk/serverRoot/src/web/jnlp/compiere.jnlp

     
  • Felipe Reyes
    Felipe Reyes
    2007-10-29

    • labels: 355409 -->
    • status: open --> open-fixed
     
  • Felipe Reyes
    Felipe Reyes
    2007-10-29

    Logged In: YES
    user_id=1793135
    Originator: NO

    Tested with Devi on dev3

     
  • Felipe Reyes
    Felipe Reyes
    2007-10-29

    • labels: --> Installation
    • milestone: --> R2.6.3
    • status: open-fixed --> closed-fixed
     
  • Felipe Reyes
    Felipe Reyes
    2007-11-08

    • assigned_to: lfreyes --> compiereqa