Martin,

On the theory that the problem was the JDK, I clean/built the war using my development computer (Java 1.6.0_11) and deployed it to the test server (Java 1.6.0_13). I test compiled all the JSP's on the development computer just to be certain there wasn't some failure there. When the war is deployed to the test server, there are essentially no files in the Tomcat work directory (as expected). The system runs perfectly on the development computer but shows the same problems on the test server (creates a few .java files, compiles them properly and then stops compiling the JSP's.)

This is the startup of Tomcat from the catalina log:

Aug 31, 2009 5:25:57 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/loc
al/jdk1.6.0_13/jre/lib/i386/server:/usr/local/jdk1.6.0_13/jre/lib/i386:/usr/local/jdk1.6.0_13/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Aug 31, 2009 5:25:57 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Aug 31, 2009 5:25:57 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 667 ms
Aug 31, 2009 5:25:57 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 31, 2009 5:25:57 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Aug 31, 2009 5:25:58 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 31, 2009 5:25:59 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8008
Aug 31, 2009 5:25:59 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/33  config=null
Aug 31, 2009 5:25:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1465 ms
Aug 31, 2009 5:36:46 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/test]
Aug 31, 2009 5:37:53 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive test.war
~

This looks very normal to me.

There are no errors in the catalina.out or the localhost log.

I have set modificationTestInterval to 0.

Odd that some JSP's get compiled and some won't. Note that it is always the same JSP's that will not compile.

Have installed Tomcat several times and never had problems.

Any help is appreciated.

TIA,

Carl



----- Original Message ----- From: "Martin Gainty" <mgai...@hotmail.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, August 31, 2009 4:13 PM
Subject: RE: Not compiling JSP's



i try to sync the dev jdk with the deploy jdk so when jsps are compiled
you're compiling your generated JspServlets (with the same jdk
so class signatures will be the same)

hth
Martin Gainty
______________________________________________
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




From: c...@etrak-plus.com
To: users@tomcat.apache.org
Subject: Re: Not compiling JSP's
Date: Mon, 31 Aug 2009 16:32:54 -0500

Martin,

Thanks for your quick reply. I am presently downloading the latest JDK (to
the box that is building the war) to see if that makes a difference.

There are no error messages in any of the logs, including the
localhost*.log.

Thanks,

Carl

----- Original Message ----- From: "Martin Gainty" <mgai...@hotmail.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, August 31, 2009 3:30 PM
Subject: RE: Not compiling JSP's



1)
possible incompatibility in JDK versions
what happens if you upgrade your NB JDK from 1.5.0_07 to 1.6.0_13?

2)
  <!--
                           -->
  <!--                       Causes a JSP (and its dependent files) to
ot  -->
  <!--                       be checked for modification during
    -->
  <!--                       specified time interval (in seconds) from
he  -->
  <!--                       last time the JSP was checked
    -->
  <!--                       modification. A value of 0 will cause the
SP  -->
  <!--                       to be checked on every
        -->
  <!--                       Used in development mode only.
    -->
i would leave that 0 for until your jsps compile cleanly

do you see any errors/exceptions in $TOMCAT_HOME/log/localhost*.log
or Tomcat console ?
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
de ceci est interdite. Ce message sert à l'information seulement et n'aura
pas n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.




> From: c...@etrak-plus.com
> To: users@tomcat.apache.org
> Subject: Not compiling JSP's
> Date: Mon, 31 Aug 2009 16:16:44 -0500
>
> My environment (fresh install) (this is a backup server that can be used
> for testing and to allow us to upgrade the current production server
> running Tomcat 5.5):
>
> Slackware 12
> Java 1.6.0_13 (Actually installed in May)
> Tomcat 6.0.18
>
> My development system:
>
> Windows XP
> Java 1.6.0_07
> Tomcat 6.0.16
> NetBeans 6.5
>
> The problem:
>
> Tomcat will compile the first few JSP's.  Then, it stops compiling them.
> Nothing in the logs says there is a problem compiling the JSP.  They are
> the same JSP's run in the development environment.  If I copy the .java
> and .class files from the work directory on the development computer, > that
> JSP will run just fine.  The Jasper flags in web.xml (in the tomcat/conf
> directory) are all default except I added modificationTestInterval = 0
> (didn't seem to have any effect.)
>
> The war was built using NetBeans 5.5 and Java 1.5.0_07 (I have been > doing
> this so I didn't have to deal with the compatibility issues on the
> production server.)
>
> I am baffled and ready to accept help from any and all sources.
>
> TIA,
>
> Carl
>

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to