Topic
  • 4 replies
  • Latest Post - ‏2012-09-03T15:49:54Z by SystemAdmin
jacorona
jacorona
15 Posts

Pinned topic Page not found when redeploying a WLP application (CICS 5.1 Open Beta).

‏2012-08-16T13:32:24Z |
Hi all,

I have found that, sometimes, when you redeploy a web applicacion (Dynamic Web Project) to a WLP, "normal" .jsp pages are not found (and you get a HTTP 404 server error) although they continue to be in the project and they are correctly ftp-ed to zFS (they are inside the .war file). However, JSP pages referenced in <wellcome-file-list> in server.xml haven't behaved this way, so far: they have been allways found.

The problem is that this "disappearance" does not allways happen and I haven't noticed any pattern for this behaviour.

If you just reinstall the JVMSERVER and then the CICS bundle containing the web application, the page is then found.

Regards,
Alfonso
Updated on 2012-09-03T15:49:54Z at 2012-09-03T15:49:54Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    124 Posts

    Re: Page not found when redeploying a WLP application (CICS 5.1 Open Beta).

    ‏2012-08-17T08:26:26Z  
    Hi Alfonso,

    I've not seen this issue. I'll check if it's reproducible in my system.

    Dave
    Dave Roberts
    CICS/TS Delivery
  • FengYan
    FengYan
    1 Post

    Re: Page not found when redeploying a WLP application (CICS 5.1 Open Beta).

    ‏2012-08-28T08:56:12Z  
    Hi Alfonso,

    I am trying to recreate your problem on my system, I assume you are using CICS bundle to install web application, and the 'redeploy' means re-export the war bundle to HFS. Please correct me if this is not the situation.

    I did not see the same problem as you when I use my own web application or the Example TSQ web application, so I want to know what kind of application you are using? When you re-upload it, do you make any change on the war file or bundle config file? And do you have any other details to trigger the problem?

    Regards, Brenda
  • jacorona
    jacorona
    15 Posts

    Re: Page not found when redeploying a WLP application (CICS 5.1 Open Beta).

    ‏2012-09-03T12:03:49Z  
    • FengYan
    • ‏2012-08-28T08:56:12Z
    Hi Alfonso,

    I am trying to recreate your problem on my system, I assume you are using CICS bundle to install web application, and the 'redeploy' means re-export the war bundle to HFS. Please correct me if this is not the situation.

    I did not see the same problem as you when I use my own web application or the Example TSQ web application, so I want to know what kind of application you are using? When you re-upload it, do you make any change on the war file or bundle config file? And do you have any other details to trigger the problem?

    Regards, Brenda
    Hi Brenda,

    Sorry for not answering before; I've on holidays a few days.

    I've just reproduced the situation with the following simple steps:

    • Create a web project:
    - Add an index.jsp page with a Hello World text. Nothing else.
    - In the web.xml indicate something like:
    <web-app id="WebApp_ID" version="3.0" ...>
    <display-name>a.b.c</display-name>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>

    • Create a CICS bundle project and include in it the previous web project.

    • Export the CICS bundle project to the USS file system.

    • Create a corresponding CICS Bundle definition and install it, so that it is deployed to an existing WLP JVMSERVER.

    • If you navigate to http://node:port/a.b.c/ or to http://node:port/a.b.c/index.jsp the page is found and the Hello World message is shown.

    • Then, in the web project, change the web.xml file so that the index.jsp is no more in the wellcome-file-list (for instance, you change the <welcome-file> entry to index1.jsp) and reexport the CICS bundle to the USS file system, without changing anything else.

    • Disable and discard the CICS bundle and then reinstall it so that the new .war is deployed to the WLP JVMSERVER.

    • If now you navigate to http://node:port/a.b.c/index.jsp you get a 404: index.jsp is not found.

    This shows the error. Then you do the following:

    • Phase out and discard the WLP JVMSERVER.

    • Install the WLP JVMSERVER again.

    • Discard the CICS bundle, which, after reinstalling the JVMSERVER is in a disabled state.

    • Install the CICS bundle again. Note that it is the same .war file that had been reexported.

    If now you try to navigate to http://node:port/a.b.c/index.jsp the page is found and the Hello World message is shown.

    HIH

    Regards,
    Alfonso
  • SystemAdmin
    SystemAdmin
    124 Posts

    Re: Page not found when redeploying a WLP application (CICS 5.1 Open Beta).

    ‏2012-09-03T15:49:54Z  
    • jacorona
    • ‏2012-09-03T12:03:49Z
    Hi Brenda,

    Sorry for not answering before; I've on holidays a few days.

    I've just reproduced the situation with the following simple steps:

    • Create a web project:
    - Add an index.jsp page with a Hello World text. Nothing else.
    - In the web.xml indicate something like:
    <web-app id="WebApp_ID" version="3.0" ...>
    <display-name>a.b.c</display-name>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>

    • Create a CICS bundle project and include in it the previous web project.

    • Export the CICS bundle project to the USS file system.

    • Create a corresponding CICS Bundle definition and install it, so that it is deployed to an existing WLP JVMSERVER.

    • If you navigate to http://node:port/a.b.c/ or to http://node:port/a.b.c/index.jsp the page is found and the Hello World message is shown.

    • Then, in the web project, change the web.xml file so that the index.jsp is no more in the wellcome-file-list (for instance, you change the <welcome-file> entry to index1.jsp) and reexport the CICS bundle to the USS file system, without changing anything else.

    • Disable and discard the CICS bundle and then reinstall it so that the new .war is deployed to the WLP JVMSERVER.

    • If now you navigate to http://node:port/a.b.c/index.jsp you get a 404: index.jsp is not found.

    This shows the error. Then you do the following:

    • Phase out and discard the WLP JVMSERVER.

    • Install the WLP JVMSERVER again.

    • Discard the CICS bundle, which, after reinstalling the JVMSERVER is in a disabled state.

    • Install the CICS bundle again. Note that it is the same .war file that had been reexported.

    If now you try to navigate to http://node:port/a.b.c/index.jsp the page is found and the Hello World message is shown.

    HIH

    Regards,
    Alfonso
    Hi Alfonzo,

    Brenda is away for a couple of weeks and I've been unable to reproduce your issue on our current build. However, we did have a defect in this area that was fixed after the beta was cut.

    Thanks,
    Dave Roberts
    CICS/TS Delivery