And if you restart tomcat, do you see the new pages then? Another way you could deploy it would be by creating a context.xml file in the <tomcat_conf>/Catalina/locahost/ folder to point to you application.
Brian On Thu, Mar 6, 2008 at 3:38 PM, Soren Aalto <[EMAIL PROTECTED]> wrote: > In fact, it appears that I can only see new scripts/ > changes/pages I put in the webapp directories > by undeploying and redeploying the entire app. > > I remember having exactly this same issue the > last time I tried to use Tomcat 5.5.x and we were > in a hurry so we rolled back to Tomcat 5.0.x. I'd > really like to figure out what I'm doing wrong... > > > On Thu, Mar 6, 2008 at 2:50 PM, Soren Aalto <[EMAIL PROTECTED]> wrote: > > > > I have a situation that has me scratching my head... > > > > I have an app that I developed on my laptop under > > Tomcat 5.0.24. I am now testing deployment of this > > on our production-machine-to-be which is running > > Tomcat 5.5.26. > > > > I deployed the app the bonehead way -- I did a tar -cvzf > > of the working directory on my laptop, untarred it on > > the development machine and then used Tomcat Manager > > to add the app via a file:/// URL for the working directory. > > > > The app deployed fine and ran as it does on my laptop. > > > > But...if I try and add a new groovlet, or a JSP page or > > even some static HTML, I just can't see it...I just get > > something like this: > > > > > > HTTP Status 404 - /QUORUM3/test/junk.html ________________________________ > > > > > type Status report > > > > message /QUORUM3/test/junk.html > > > > description The requested resource (/QUORUM3/test/junk.html) is not > available.________________________________ > > > Apache Tomcat/5.5.26I took a working groovlet, copied it to a file with a > new name in the > > same directory, same file permissions, etc...and the old groovlet > > runs and the new one doesn't. > > > > I tried creating a new JSP page in the same directory and that > > doesn't work > > > > I created a junk.html file in the same directory, and that doesn't > > work. > > > > I don't see anything in the log files except that in localhost.log I > > see 404 errors for the groovy scripts...but not for the JSP or > > the html file: > > > > INFO: GroovyServlet Error: script: '/test/topSessions2.groovy': Script > not found, sending 404. > > Mar 6, 2008 1:20:26 PM org.apache.catalina.core.ApplicationContext log > > INFO: GroovyServlet Error: script: '/test/topSessions2.groovy': Script > not found, sending 404. > > Mar 6, 2008 1:21:46 PM org.apache.catalina.core.ApplicationContext log > > INFO: GroovyServlet Error: script: '/test/test2.groovy': Script not > found, sending 404. > > > > > > -- > > Soren Aalto > > Director: ICT > > University of Zululand > > > > > -- > Soren Aalto > Director: ICT > University of Zululand > > > -- Brian Silberbauer Consultant +27 (0)83 566 2705 skype: brian.silberbauer http://www.linkedin.com/in/briansilberbauer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CTJUG Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/CTJUG-Forum For the ctjug home page see http://www.ctjug.org.za -~----------~----~----~----~------~----~------~--~---
