On Thu, Mar 6, 2008 at 3:32 PM, Brian Silberbauer < [EMAIL PROTECTED]> wrote:
> > Does the tomcat manager copy the application to another directory > (webapps/) when you deploy it? > > Sounds more like the original dir where you untarred the app isn't > being referenced.. > You are so right...but is this behaviour configurable? I have done a lot of my previous presentation side development just doing inplace editing of JSP/GSP/ Groovlet pages. > > Brian > > > 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 > > > > > > > > > -- > Brian Silberbauer > Consultant > > +27 (0)83 566 2705 > skype: brian.silberbauer > http://www.linkedin.com/in/briansilberbauer > > > > -- Soren Aalto Director: ICT University of Zululand --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
