facebook

updated JSP not recompiled

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #241583 Reply

    ftoral
    Member

    Hi,

    when we modifiy a JSP from MyEclipse, then on save, we excpect this JSP to be deployed, but when accessed from the browser the modification is not visible.

    The first time, our JSPs are under a specific directory into WEB-INF, accessed by a forward through an Action (we are using Struts). No modification is reported on web browser. The only possible thing is to redeploy the webapp (with toolbar button “Deploy MyEclispe J2EE Project to server …”).
    Then we try to place the JSPs under the context root of the webapp an the same thing happens.
    Why our JSPs aren’t recompiled after modifications ?

    We are using Tomcat 5.5.12
    Next are the details of the configuration summary of MyEclipse.

    Thanx for help.
    Fabien.

    ————-
    *** Date: Wed Nov 16 10:35:58 CET 2005

    *** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.5.0_04

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    D:\applicatifs\eclipse\eclipse-sdk-3.1.1\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    7e4_3c
    -vm
    C:\WINNT\system32\javaw.exe

    #241614

    Riyad Kalla
    Member

    Fabien,
    I thought you posted this under another name, either way another user with exactly the same question posted his morning and my first suggestion is to download Tomcat 5.5.9 and install it, (just unzip the ZIP version of it somewhere and configure your Tomcat connector fo rit) and deploy your app to it then see if the changed JSPs get recompiled.

    Keep in mind this is a Tomcat setting issue, MyEclipse is correctly deploying the change, it’s up to the app server to take notice and recompile it.

    #241694

    ftoral
    Member

    @support-rkalla wrote:

    Fabien,
    I thought you posted this under another name

    Ok sorry, another member of our team has posted in your forums, we need more synchro here !

    @support-rkalla wrote:

    Keep in mind this is a Tomcat setting issue, MyEclipse is correctly deploying the change, it’s up to the app server to take notice and recompile it.

    Agreed, we have investigated in Tomcat, modifing initial parameters of the JSP servlet, and found that there is something wrong after the 5.5.9 version.

    By the way, we found an issue with the TC 5.5.12 : we have renamed the META-INF/context.xml in our webapp with the name of the context of the webapp (i.e META-INF/[nameofthewebapp].xml) and all modified JSPs are compiled again, this issue is wrongly documented into the TC manual.

    I haven’t filled a bug at tomcat bugzilla yet, but we are dissussing with a related bug (Bug 33453)

    Thanx for your support.

    Fabien.

    #241698

    Riyad Kalla
    Member

    Thank you team member for following up with that, we are in the middle of porting our FAQ to a new format and I included his tip (with credit) in the new FAQ, very much appreciated.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: updated JSP not recompiled

You must be logged in to post in the forum log in