tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kbar <whereisk...@gmail.com>
Subject Problems with Tomcat when trying to get Jackrabbit installed
Date Thu, 20 Aug 2009 15:43:03 GMT

I am trying to get Jackrabbit running on Ubuntu.

I have followed these instruction

http://wiki.apache.org/jackrabbit/JackRabbitOnTomcat6  ,  but I used
jackrabbit 1.6.0 instead of 1.5.0.

So I did the following...

1) 
Install a fresh Ubuntu server with Tomcat package.

2 ) 
cd /usr/share/tomcat6/lib
wget
http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/jcr/jcr/1.0/jcr-1.0.jar

3)
wget http://www.apache.org/dist/jackrabbit/1.6.0/jackrabbit-webapp-1.6.0.war
cp jackrabbit-webapp-1.6.0.war /var/lib/tomcat6/webapps/jackrabbit.war

4) 
http://localhost:8080/jackrabbit

But when I try to access it I get any one of the messages (see below) in my
webpage. I am at a complete loss as to what might be happening. If anyone
has any information on this I would be really greatful. 

I have tried both the desktop version of ubuntu and the server version.

I was told to post here by someone on the Jackrabbit forum as they think
this is actually a tomcat issue. Hope you all can help.

Thanks,
Kent.


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: org.apache.jasper.JasperException: XML
parsing error on file /WEB-INF/web.xml
       
org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:207)
        org.apache.jasper.compiler.JspConfig.init(JspConfig.java:220)
       
org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:273)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
       
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)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:616)
       
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
       
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

root cause

org.apache.jasper.JasperException: XML parsing error on file
/WEB-INF/web.xml
       
org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:108)
       
org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:91)
        org.apache.jasper.compiler.JspConfig.init(JspConfig.java:220)
       
org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:273)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
       
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)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:616)
       
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
       
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

root cause

org.xml.sax.SAXException: Internal Error: File
/javax/servlet/resources/web-app_2_3.dtd not found
       
org.apache.jasper.xmlparser.MyEntityResolver.resolveEntity(ParserUtils.java:203)
        org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown
Source)
        org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown
Source)
       
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
       
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
       
org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:96)
       
org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:91)
        org.apache.jasper.compiler.JspConfig.init(JspConfig.java:220)
       
org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:273)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
       
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)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:616)
       
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
       
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)



===================================================
Or this one
===================================================

org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable
to load class for JSP
       
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)
       
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)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:616)
       
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
       
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

root cause

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)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:616)
       
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
       
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

root cause

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
        java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        java.security.AccessController.doPrivileged(Native Method)
        java.net.URLClassLoader.findClass(URLClassLoader.java:205)
       
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)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:616)
       
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
       
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)


===================================================
Or this one
===================================================


org.apache.jasper.JasperException: java.security.AccessControlException:
access denied (java.lang.RuntimePermission
accessClassInPackage.org.apache.jasper.compiler)
       
org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:207)
        org.apache.jasper.compiler.JspConfig.init(JspConfig.java:220)
       
org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:273)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
       
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)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:616)
       
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
       
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

root cause

java.security.AccessControlException: access denied
(java.lang.RuntimePermission
accessClassInPackage.org.apache.jasper.compiler)
       
java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
       
java.security.AccessController.checkPermission(AccessController.java:553)
        java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
       
java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1529)
        sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:291)
        java.lang.ClassLoader.loadClass(ClassLoader.java:316)
        java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
       
org.apache.jasper.xmlparser.MyEntityResolver.resolveEntity(ParserUtils.java:203)
        org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown
Source)
        org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown
Source)
       
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
       
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
       
org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:96)
       
org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:91)
        org.apache.jasper.compiler.JspConfig.init(JspConfig.java:220)
       
org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:273)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
       
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)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:616)
       
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
       
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) 
-- 
View this message in context: http://www.nabble.com/Problems-with-Tomcat-when-trying-to-get-Jackrabbit-installed-tp25064576p25064576.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message