Orbeon installed in Tomcat5 - HTTP Status 500 error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Orbeon installed in Tomcat5 - HTTP Status 500 error

Adrian Butnaru
Hi,
I need help.
I try to install Orbeon on a VPS server in Tomcat 5. I uploaded  
orbeon.war in webapps and restarted Tomcat. I can access the tomcat
welcome page at: http://www.mysite.com but if I type
http://www.mysite.com/orbeon I receive

HTTP Status 500 error and

*type* Exception report

*message*

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

*exception*

javax.servlet.ServletException
        org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:133)
        javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-api-5.5.23.jar.so)
        org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.so)
        org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.so)
        org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
        org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.23.jar.so)
        org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.so)
        org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.jar.so)
        org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23.jar.so)
        java.lang.Thread.run(libgcj.so.7rh)

*root cause*

java.lang.NullPointerException
        org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(libgcj.so.7rh)
        org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(libgcj.so.7rh)
        org.relaxng.datatype.helpers.DatatypeLibraryLoader.finit$(libgcj.so.7rh)
        org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(libgcj.so.7rh)
        com.sun.msv.reader.trex.ng.DefaultDatatypeLibraryFactory.<init>(DefaultDatatypeLibraryFactory.java:28)
        com.sun.msv.reader.trex.ng.RELAXNGReader.<init>(RELAXNGReader.java:257)
        com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:91)
        com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:81)
        com.sun.msv.reader.util.GrammarLoader$2.startElement(GrammarLoader.java:493)
        orbeon.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:497)
        orbeon.apache.xerces.xinclude.XIncludeHandler.startElement(XIncludeHandler.java:954)
        orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)
        orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:736)
        orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1755)
        orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
        orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
        orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
        orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
        orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201)
        com.sun.msv.reader.util.GrammarLoader._loadSchema(GrammarLoader.java:514)
        com.sun.msv.reader.util.GrammarLoader.parse(GrammarLoader.java:325)
        com.sun.msv.reader.util.GrammarLoader.loadSchema(GrammarLoader.java:189)
        com.sun.msv.verifier.jarv.TheFactoryImpl.parse(TheFactoryImpl.java:42)
        com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:98)
        org.orbeon.oxf.processor.validation.MSVValidationProcessor$6.read(MSVValidationProcessor.java:149)
        org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:453)
        org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)
        org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:120)
        org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:995)
        org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1178)
        org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:350)
        org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:368)
        org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:387)
        org.orbeon.oxf.processor.XMLProcessorRegistry.start(XMLProcessorRegistry.java:42)
        org.orbeon.oxf.pipeline.InitUtils.initializeProcessorDefinitions(InitUtils.java:288)
        org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:110)
        org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:70)
        org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72)
        javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-api-5.5.23.jar.so)
        org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.so)
        org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.so)
        org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
        org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.23.jar.so)
        org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.so)
        org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.jar.so)
        org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23.jar.so)
        java.lang.Thread.run(libgcj.so.7rh)




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon installed in Tomcat5 - HTTP Status 500 error

Alessandro Vernet
Administrator
Adrian,

On Sat, Aug 30, 2008 at 7:01 AM, Adrian Butnaru <[hidden email]> wrote:
> I need help.
> I try to install Orbeon on a VPS server in Tomcat 5. I uploaded  orbeon.war
> in webapps and restarted Tomcat. I can access the tomcat welcome page at:
> http://www.mysite.com but if I type
> http://www.mysite.com/orbeon I receive

Do you have any error before this one when you start Tomcat? I think I
have seen this error when running Orbeon Forms on a machine where GIJ
(GNU Interpreter for Java) was setup as the default VM, which is the
case on some Linux distributions. The solution in this case consists in
installing Sun's JDK and making sure that Sun's VM is being used.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon installed in Tomcat5 - HTTP Status 500 error

Adrian Butnaru
Thanks Alessandro,
I installed Java from Sun (+ Tomcat 6 behind Squid, I tested also with 5
and is OK) and now it works really nice.

 
Alessandro Vernet schreef:

> Adrian,
>
> On Sat, Aug 30, 2008 at 7:01 AM, Adrian Butnaru <[hidden email]>
> wrote:
>> I need help.
>> I try to install Orbeon on a VPS server in Tomcat 5. I uploaded  
>> orbeon.war
>> in webapps and restarted Tomcat. I can access the tomcat welcome page
>> at:
>> http://www.mysite.com but if I type
>> http://www.mysite.com/orbeon I receive
>
> Do you have any error before this one when you start Tomcat? I think I
> have seen this error when running Orbeon Forms on a machine where GIJ
> (GNU Interpreter for Java) was setup as the default VM, which is the
> case on some Linux distributions. The solution in this case consists
> in installing Sun's JDK and making sure that Sun's VM is being used.
>
> Alex


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Orbeon installed in Tomcat5 - HTTP Status 500 error

Alessandro Vernet
Administrator
Adrian,

On Tue, Sep 2, 2008 at 11:31 PM, Adrian Butnaru <[hidden email]> wrote:
> I installed Java from Sun (+ Tomcat 6 behind Squid, I tested also with 5 and
> is OK) and now it works really nice.

Excellent! I am glad to read this.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws