scriptX n00b
Joined: 05 Jul 2005 Posts: 69
|
Posted: Tue Aug 16, 2005 11:43 pm Post subject: Tomcat not reflecting changes |
|
|
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! |
|