Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tomcat not reflecting changes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
scriptX
n00b
n00b


Joined: 05 Jul 2005
Posts: 69

PostPosted: Tue Aug 16, 2005 11:43 pm    Post subject: Tomcat not reflecting changes Reply with quote

I just emerged Tomcat 5(.0.27) and started it. Well, I cp'd a test index.jsp into webapps/ROOT, however, when I refresh the page, it doesn't show my test page. I tried emptying the cache on my browser.. didn't work. I rm'd those tomcat images, something like jakarta.gif tomcat.gif and some other one and the page DID reflect that (there were blank spots where they were originally)..... but it's not showing my test index.jsp.

Code:

localhost tomcat5 # cd $CATALINA_HOME/webapps/ROOT;pwd
/opt/tomcat5/webapps/ROOT
localhost ROOT #


Code:

localhost ROOT # ls -al
total 32
drwxr-xr-x  4 tomcat tomcat 4096 Aug 16 17:03 .
drwxr-xr-x  5 tomcat tomcat 4096 Aug 15 22:27 ..
-rw-r--r--  1 tomcat tomcat 8999 Aug 15 22:27 RELEASE-NOTES.txt
drwxr-xr-x  4 tomcat tomcat 4096 Aug 15 22:27 WEB-INF
drwxr-xr-x  3 tomcat tomcat 4096 Aug 16 16:39 highschoolreg
-rwxr-xr-x  1 tomcat tomcat 1740 Aug 16 16:55 index.jsp
localhost ROOT #




....I just now tried my other script thinger in highschoolreg and am getting this error:

Code:
exception

org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:520)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.io.FileNotFoundException: /opt/tomcat5/work/Catalina/localhost/_/org/apache/jsp/highschoolreg/login_jsp.java (No such file or directory)
java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.<init>(FileOutputStream.java:179)
java.io.FileOutputStream.<init>(FileOutputStream.java:70)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:188)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



Okay, so basically, none of my .jsp's are working :) hoorah!
Back to top
View user's profile Send private message
scriptX
n00b
n00b


Joined: 05 Jul 2005
Posts: 69

PostPosted: Thu Aug 25, 2005 9:37 pm    Post subject: Reply with quote

...okay. you can delete this topic now since no one is replying :|
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum