This kind of looks like a file permissions issue with Tomcat.

I've run into it on a development box where I must have accidentally touched
some files as the wrong user, and then tomcat could no longer run any .jsp
files for my dspace webapps.


To solve it, (on the development box),  I chown'ed all the files in /dspace
to the user that runs tomcat, and chmod'ed files to 775, check out the
dspace installation guide for your os to make sure you have/had everything
installed correctly.

I had a look at this guide <http://readthefuckingmanual.net/error/1526/>, I
think its close enough.



On Feb 20, 2010 9:50 AM, "akhrz" <[email protected]> wrote:


help, I'm getting the following error, any ideas where the problem lies?
I'm not quite sure what has happened, I haven't changed any configs, only
perhaps someone inadvertently deleted or modified a few files....

many thanks!

HTTP Status 500 -
------------------------------

*type* Exception report

*message*

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

org.apache.jasper.JasperException: Unable to load class for JSP
        
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:620)
        
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)


        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)

        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*root cause*

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
        java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        java.security.AccessController.doPrivileged(Native Method)
        java.net.URLClassLoader.findClass(URLClassLoader.java:188)


        org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
        org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
        
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:618)


        
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)

        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*note* *The full stack trace of the root cause is available in the Apache
Tomcat/6.0.20 logs.*



*AND ALSO:*


HTTP Status 500 -
------------------------------

*type* Exception report

*message*

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

java.io.FileNotFoundException:
/var/lib/tomcat6/work/Catalina/localhost/jspui/org/apache/jsp/index_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.setupContextWriter(Compiler.java:276)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:215)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)


        org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)


        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*note* *The full stack trace of the root cause is available in the Apache
Tomcat/6.0.20 logs.*


------------------------------------------------------------------------------
Download IntelĀ® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to