Moving from Websphere V4.0.7 to v5.x: JSP Compile Errors - Websphere

This is a discussion on Moving from Websphere V4.0.7 to v5.x: JSP Compile Errors - Websphere ; hi, We are planning migration from websphere v4.0.7 to v5.x Before migration our Server, we replaced our WDSCi tools with v5.1 and published our apps to Server v4.0.7. all worked fine. Then I decided to install the V5 on my ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Moving from Websphere V4.0.7 to v5.x: JSP Compile Errors

  1. Moving from Websphere V4.0.7 to v5.x: JSP Compile Errors

    hi,

    We are planning migration from websphere v4.0.7 to v5.x

    Before migration our Server, we replaced our WDSCi tools with v5.1 and
    published our apps to Server v4.0.7.
    all worked fine.

    Then I decided to install the V5 on my PC to test all applications before
    migration our production environment on iSeries.
    When I deploy the V4 EAR in V5 Server I got errors while server compiled a
    JSP.

    Then I tried same EAR in my development environment (WDSCi) which give
    following result:
    ==> Application runs normal in V4.0.7 TestEnvironment
    ==> Application ends in error when running in V5 TestEnvironment. Same
    jsp-compile errors as in server_environment.

    Errors are like this:
    [2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R
    D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/beans/BilladMirrorBean.java):17:
    class BilladMirrorBean is public, should be declared in a file named
    BilladMirrorBean.java

    [2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R (source unavailable)

    [2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R
    D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/Key.java):8:
    class Key is public, should be declared in a file named Key.java

    [2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R (source unavailable)

    [2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R
    D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/BilladMirrorKey.java):7:
    class BilladMirrorKey is public, should be declared in a file named
    BilladMirrorKey.java

    [2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R (source unavailable)


    So, why does it run in V4.0.7 and is it failing in V5 ???
    Any help welcome!





  2. Re: Moving from Websphere V4.0.7 to v5.x: JSP Compile Errors

    Pattrick,

    - have you checked for updates for WDSCi using the update Manager?
    - have you converted your workspace and regenerated the ear with the new
    WDSCi product?

    Henk

    "Patrick Goovaerts" schreef in bericht
    news:dkatme$b3d2$1@news.boulder.ibm.com...
    > hi,
    >
    > We are planning migration from websphere v4.0.7 to v5.x
    >
    > Before migration our Server, we replaced our WDSCi tools with v5.1 and
    > published our apps to Server v4.0.7.
    > all worked fine.
    >
    > Then I decided to install the V5 on my PC to test all applications before
    > migration our production environment on iSeries.
    > When I deploy the V4 EAR in V5 Server I got errors while server compiled a
    > JSP.
    >
    > Then I tried same EAR in my development environment (WDSCi) which give
    > following result:
    > ==> Application runs normal in V4.0.7 TestEnvironment
    > ==> Application ends in error when running in V5 TestEnvironment. Same
    > jsp-compile errors as in server_environment.
    >
    > Errors are like this:
    > [2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R
    > D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/beans/BilladMirrorBean.java):17:
    > class BilladMirrorBean is public, should be declared in a file named
    > BilladMirrorBean.java
    >
    > [2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R (source unavailable)
    >
    > [2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R
    > D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/Key.java):8:
    > class Key is public, should be declared in a file named Key.java
    >
    > [2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R (source unavailable)
    >
    > [2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R
    > D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/BilladMirrorKey.java):7:
    > class BilladMirrorKey is public, should be declared in a file named
    > BilladMirrorKey.java
    >
    > [2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R (source unavailable)
    >
    >
    > So, why does it run in V4.0.7 and is it failing in V5 ???
    > Any help welcome!
    >
    >
    >
    >




  3. Re: Moving from Websphere V4.0.7 to v5.x: JSP Compile Errors

    hoi Henk,

    1) I haven't checked for updates yet
    IMHO it hasn't something to do with the WDSCi version because I get same
    errors when running application from the installed WebServer.

    2) After installing WDSCi 5.1 I opened each project seperatly. I remember
    that at time I got messages that the projects were converted to v5 However,
    and I think that is what you mean, they are not converted to real v5.1
    projects yet. Because we have Webserver 4.0.7 running, the apps must stay
    at v4.0.7 version level. According the manuals, all apps for WAS4 should be
    running when deployed into WAS5. EARs should be running without probs...
    IBM says...


    "Henk" schreef in bericht
    news:dkb17t$2jjc$1@news.boulder.ibm.com...
    > Pattrick,
    >
    > - have you checked for updates for WDSCi using the update Manager?
    > - have you converted your workspace and regenerated the ear with the new
    > WDSCi product?
    >
    > Henk
    >
    > "Patrick Goovaerts" schreef in bericht
    > news:dkatme$b3d2$1@news.boulder.ibm.com...
    >> hi,
    >>
    >> We are planning migration from websphere v4.0.7 to v5.x
    >>
    >> Before migration our Server, we replaced our WDSCi tools with v5.1 and
    >> published our apps to Server v4.0.7.
    >> all worked fine.
    >>
    >> Then I decided to install the V5 on my PC to test all applications before
    >> migration our production environment on iSeries.
    >> When I deploy the V4 EAR in V5 Server I got errors while server compiled
    >> a
    >> JSP.
    >>
    >> Then I tried same EAR in my development environment (WDSCi) which give
    >> following result:
    >> ==> Application runs normal in V4.0.7 TestEnvironment
    >> ==> Application ends in error when running in V5 TestEnvironment. Same
    >> jsp-compile errors as in server_environment.
    >>
    >> Errors are like this:
    >> [2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R
    >> D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/beans/BilladMirrorBean.java):17:
    >> class BilladMirrorBean is public, should be declared in a file named
    >> BilladMirrorBean.java
    >>
    >> [2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R (source
    >> unavailable)
    >>
    >> [2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R
    >> D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/Key.java):8:
    >> class Key is public, should be declared in a file named Key.java
    >>
    >> [2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R (source
    >> unavailable)
    >>
    >> [2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R
    >> D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/BilladMirrorKey.java):7:
    >> class BilladMirrorKey is public, should be declared in a file named
    >> BilladMirrorKey.java
    >>
    >> [2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R (source
    >> unavailable)
    >>
    >>
    >> So, why does it run in V4.0.7 and is it failing in V5 ???
    >> Any help welcome!
    >>
    >>
    >>
    >>

    >
    >




  4. Re: Moving from Websphere V4.0.7 to v5.x: JSP Compile Errors

    Patrick Goovaerts wrote:

    >hi,
    >
    >We are planning migration from websphere v4.0.7 to v5.x
    >
    >Before migration our Server, we replaced our WDSCi tools with v5.1 and
    >published our apps to Server v4.0.7.
    >all worked fine.
    >
    >Then I decided to install the V5 on my PC to test all applications before
    >migration our production environment on iSeries.
    >When I deploy the V4 EAR in V5 Server I got errors while server compiled a
    >JSP.
    >
    >Then I tried same EAR in my development environment (WDSCi) which give
    >following result:
    >==> Application runs normal in V4.0.7 TestEnvironment
    >==> Application ends in error when running in V5 TestEnvironment. Same
    >jsp-compile errors as in server_environment.
    >
    >Errors are like this:
    >[2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R
    >D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/beans/BilladMirrorBean.java):17:
    >class BilladMirrorBean is public, should be declared in a file named
    >BilladMirrorBean.java
    >
    >[2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R (source unavailable)
    >
    >[2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R
    >D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/Key.java):8:
    >class Key is public, should be declared in a file named Key.java
    >
    >[2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R (source unavailable)
    >
    >[2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R
    >D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/BilladMirrorKey.java):7:
    >class BilladMirrorKey is public, should be declared in a file named
    >BilladMirrorKey.java
    >
    >[2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R (source unavailable)
    >
    >
    >So, why does it run in V4.0.7 and is it failing in V5 ???
    >Any help welcome!
    >
    >
    >
    >
    >
    >

    Something has changed in the packaging of clipper.jar, and the package
    names in the contained .class files don't match its directory structure.

    Ken

  5. Re: Moving from Websphere V4.0.7 to v5.x: JSP Compile Errors

    1) I upgraded WDSCi using Update Manager
    2) I regenerated our 'clipper.jar' (containing all kind of
    self-written-java-utilities)
    3) I regenerated the webapp/enterprise application (to use the updated
    clipper-jar)

    ==> Application works correctly in v4.0.7 TE
    ==> Application does not work in v5.0 TE (same errors are generated)


    "Ken Hygh" wrote in message
    news:dkbeov$71p0$1@news.boulder.ibm.com...
    > Patrick Goovaerts wrote:
    >
    > >hi,
    > >
    > >We are planning migration from websphere v4.0.7 to v5.x
    > >
    > >Before migration our Server, we replaced our WDSCi tools with v5.1 and
    > >published our apps to Server v4.0.7.
    > >all worked fine.
    > >
    > >Then I decided to install the V5 on my PC to test all applications before
    > >migration our production environment on iSeries.
    > >When I deploy the V4 EAR in V5 Server I got errors while server compiled

    a
    > >JSP.
    > >
    > >Then I tried same EAR in my development environment (WDSCi) which give
    > >following result:
    > >==> Application runs normal in V4.0.7 TestEnvironment
    > >==> Application ends in error when running in V5 TestEnvironment. Same
    > >jsp-compile errors as in server_environment.
    > >
    > >Errors are like this:
    > >[2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R

    >
    >D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/beans/BilladM

    irrorBean.java):17:
    > >class BilladMirrorBean is public, should be declared in a file named
    > >BilladMirrorBean.java
    > >
    > >[2/11/05 18:00:00:647 GMT+01:00] 347f347f SystemErr R (source

    unavailable)
    > >
    > >[2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R

    >
    >D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/Key.jav

    a):8:
    > >class Key is public, should be declared in a file named Key.java
    > >
    > >[2/11/05 18:00:00:827 GMT+01:00] 347f347f SystemErr R (source

    unavailable)
    > >
    > >[2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R

    >
    >D:\WDSC5_1WS\WebDevelopment\Conti7EAR\clipper.jar( com/clipper/model/BilladM

    irrorKey.java):7:
    > >class BilladMirrorKey is public, should be declared in a file named
    > >BilladMirrorKey.java
    > >
    > >[2/11/05 18:00:00:857 GMT+01:00] 347f347f SystemErr R (source

    unavailable)
    > >
    > >
    > >So, why does it run in V4.0.7 and is it failing in V5 ???
    > >Any help welcome!
    > >
    > >
    > >
    > >
    > >
    > >

    > Something has changed in the packaging of clipper.jar, and the package
    > names in the contained .class files don't match its directory structure.
    >
    > Ken




+ Reply to Thread