Cannot run eXist

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

Cannot run eXist

Hank Ratzesberger
I've been unable to run the built in exist db.

When I uncomment the XML Server listener in
web.xml, I get the null pointer exception below.

I wondered if there is a conflict with using port
8080, since that is the default for eXist ?

Note: this is not the full OPS install, I am
simply working from it's web.xml .

I am running Java 1.5.0_01-b08 and tomcat from
Sun's JWSDP.  I tried removing the -Dendorsed-dirs
option.  Also, this is OPS 3.01.

Appreciate any cheat-sheet notes on tracking this
down.

--Hank Ratzesberger
NEES@UCSB



INFO: Installing web application at context path  from URL file:/opt/tomcat50-jwsdp/webapps/ROOT
java.lang.NullPointerException
        at org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceManagerWrapper.java:91)
        at org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManagerWrapper.java:63)
        at org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
        at org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
        at org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
        at org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
        at org.orbeon.oxf.processor.ProcessorImpl.createInput(ProcessorImpl.java:136)
        at org.orbeon.oxf.util.PipelineUtils.connect(PipelineUtils.java:35)
        at org.orbeon.oxf.xmlserver.ContextListener.contextInitialized(ContextListener.java:50)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
....



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Cannot run eXist

Erik Bruchez
Administrator
Hank,

I can't see how this XML Server listener would be of consequence. In
fact it shouldn't even be there in web.xml at the moment, so I am
removing it.

I am running now an application that uses eXist and doesn't have this
entry and it works fine.

There must be some other explanation to this error. Note that we have
now upgraded to the latest eXist snapshot in the nightly builds.

-Erik

Hank Ratzesberger wrote:

> I've been unable to run the built in exist db.
>
> When I uncomment the XML Server listener in web.xml, I get the null
> pointer exception below.
>
> I wondered if there is a conflict with using port
> 8080, since that is the default for eXist ?
>
> Note: this is not the full OPS install, I am simply working from it's
> web.xml .
>
> I am running Java 1.5.0_01-b08 and tomcat from Sun's JWSDP.  I tried
> removing the -Dendorsed-dirs
> option.  Also, this is OPS 3.01.
>
> Appreciate any cheat-sheet notes on tracking this down.
>
> --Hank Ratzesberger
> NEES@UCSB
>
>
>
> INFO: Installing web application at context path  from URL
> file:/opt/tomcat50-jwsdp/webapps/ROOT
> java.lang.NullPointerException
>        at
> org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceManagerWrapper.java:91)
>
>        at
> org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManagerWrapper.java:63)
>
>        at
> org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
>        at
> org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>        at
> org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>        at
> org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>        at
> org.orbeon.oxf.processor.ProcessorImpl.createInput(ProcessorImpl.java:136)
>        at org.orbeon.oxf.util.PipelineUtils.connect(PipelineUtils.java:35)
>        at
> org.orbeon.oxf.xmlserver.ContextListener.contextInitialized(ContextListener.java:50)
>
>        at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
>
> ....
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Cannot run eXist

Hank Ratzesberger
Hi Erik,

I pulled the latest, comiled and installed, and
indeed I can see by the messages that eXist is
running.  I have edited web.xml and commented out
the servlets that I don't want (struts, etc.),
and I while I don't have any initialization errors,
I get the below exception when I go to view any
page.  So, I'm having some issue with Saxon working.

No worries,
Hank

2006-04-27 14:27:51 StandardWrapperValve[ops-main-servlet]: Servlet.service() for servlet ops-main-servlet threw exception
java.lang.NoSuchMethodError:
org.orbeon.saxon.Configuration.getDocumentNumberAllocator()Lorg/orbeon/saxon/om/DocumentNumberAllocator;
        at org.orbeon.saxon.dom4j.DocumentWrapper.setConfiguration(DocumentWrapper.java:116)
        at org.orbeon.saxon.dom4j.DocumentWrapper.<init>(DocumentWrapper.java:47)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:187)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:121)
        at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:987)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1170)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$100(TeeProcessor.java:36)
        at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:57)
        at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:987)
        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1170)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:404)
        at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:428)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsDOM4J(ProcessorImpl.java:426)
        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:186)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:515)
        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
        at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:416)
        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:86)
        at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:95)
        at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:144)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:74)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)




----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, April 26, 2006 3:43 PM
Subject: Re: [ops-users] Cannot run eXist


> Hank,
>
> I can't see how this XML Server listener would be of consequence. In
> fact it shouldn't even be there in web.xml at the moment, so I am
> removing it.
>
> I am running now an application that uses eXist and doesn't have this
> entry and it works fine.
>
> There must be some other explanation to this error. Note that we have
> now upgraded to the latest eXist snapshot in the nightly builds.
>
> -Erik
>
> Hank Ratzesberger wrote:
>> I've been unable to run the built in exist db.
>>
>> When I uncomment the XML Server listener in web.xml, I get the null
>> pointer exception below.
>>
>> I wondered if there is a conflict with using port
>> 8080, since that is the default for eXist ?
>>
>> Note: this is not the full OPS install, I am simply working from it's
>> web.xml .
>>
>> I am running Java 1.5.0_01-b08 and tomcat from Sun's JWSDP.  I tried
>> removing the -Dendorsed-dirs
>> option.  Also, this is OPS 3.01.
>>
>> Appreciate any cheat-sheet notes on tracking this down.
>>
>> --Hank Ratzesberger
>> NEES@UCSB
>>
>>
>>
>> INFO: Installing web application at context path  from URL
>> file:/opt/tomcat50-jwsdp/webapps/ROOT
>> java.lang.NullPointerException
>>        at
>> org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceManagerWrapper.java:91)
>>
>>        at
>> org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManagerWrapper.java:63)
>>
>>        at
>> org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
>>        at
>> org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>>        at
>> org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>>        at
>> org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>>        at
>> org.orbeon.oxf.processor.ProcessorImpl.createInput(ProcessorImpl.java:136)
>>        at org.orbeon.oxf.util.PipelineUtils.connect(PipelineUtils.java:35)
>>        at
>> org.orbeon.oxf.xmlserver.ContextListener.contextInitialized(ContextListener.java:50)
>>
>>        at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
>>
>> ....
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
> --
> Orbeon - XForms Everywhere:
> http://www.orbeon.com/blog/
>
>

--------------------------------------------------------------------------------


>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Cannot run eXist

Hank Ratzesberger
Erik,

I had both saxon 8.1.1 and 8.7 in the build.
Removing 8.1.1 fixed problems.
Since 8.7 is dated today, perhaps 8.1.1 has
not been deleted yet ?

Just my guess, thanks,
Hank

----- Original Message -----
From: "Hank Ratzesberger" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, April 27, 2006 2:56 PM
Subject: Re: [ops-users] Cannot run eXist


> Hi Erik,
>
> I pulled the latest, comiled and installed, and
> indeed I can see by the messages that eXist is
> running.  I have edited web.xml and commented out
> the servlets that I don't want (struts, etc.),
> and I while I don't have any initialization errors,
> I get the below exception when I go to view any
> page.  So, I'm having some issue with Saxon working.
>
> No worries,
> Hank
>
> 2006-04-27 14:27:51 StandardWrapperValve[ops-main-servlet]: Servlet.service() for servlet ops-main-servlet threw exception
> java.lang.NoSuchMethodError:
> org.orbeon.saxon.Configuration.getDocumentNumberAllocator()Lorg/orbeon/saxon/om/DocumentNumberAllocator;
>        at org.orbeon.saxon.dom4j.DocumentWrapper.setConfiguration(DocumentWrapper.java:116)
>        at org.orbeon.saxon.dom4j.DocumentWrapper.<init>(DocumentWrapper.java:47)
>        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:187)
>        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:121)
>        at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:987)
>        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1170)
>        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
>        at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$100(TeeProcessor.java:36)
>        at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:57)
>        at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:987)
>        at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1170)
>        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349)
>        at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:404)
>        at org.orbeon.oxf.processor.ProcessorImpl$4.read(ProcessorImpl.java:428)
>        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470)
>        at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsDOM4J(ProcessorImpl.java:426)
>        at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:186)
>        at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:652)
>        at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:515)
>        at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:649)
>        at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:416)
>        at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:86)
>        at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:95)
>        at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:144)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>        at org.orbeon.oxf.servlet.OPSServlet.service(OPSServlet.java:74)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>
>
>
> ----- Original Message -----
> From: "Erik Bruchez" <[hidden email]>
> To: <[hidden email]>
> Sent: Wednesday, April 26, 2006 3:43 PM
> Subject: Re: [ops-users] Cannot run eXist
>
>
>> Hank,
>>
>> I can't see how this XML Server listener would be of consequence. In
>> fact it shouldn't even be there in web.xml at the moment, so I am
>> removing it.
>>
>> I am running now an application that uses eXist and doesn't have this
>> entry and it works fine.
>>
>> There must be some other explanation to this error. Note that we have
>> now upgraded to the latest eXist snapshot in the nightly builds.
>>
>> -Erik
>>
>> Hank Ratzesberger wrote:
>>> I've been unable to run the built in exist db.
>>>
>>> When I uncomment the XML Server listener in web.xml, I get the null
>>> pointer exception below.
>>>
>>> I wondered if there is a conflict with using port
>>> 8080, since that is the default for eXist ?
>>>
>>> Note: this is not the full OPS install, I am simply working from it's
>>> web.xml .
>>>
>>> I am running Java 1.5.0_01-b08 and tomcat from Sun's JWSDP.  I tried
>>> removing the -Dendorsed-dirs
>>> option.  Also, this is OPS 3.01.
>>>
>>> Appreciate any cheat-sheet notes on tracking this down.
>>>
>>> --Hank Ratzesberger
>>> NEES@UCSB
>>>
>>>
>>>
>>> INFO: Installing web application at context path  from URL
>>> file:/opt/tomcat50-jwsdp/webapps/ROOT
>>> java.lang.NullPointerException
>>>        at
>>> org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceManagerWrapper.java:91)
>>>
>>>        at
>>> org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManagerWrapper.java:63)
>>>
>>>        at
>>> org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
>>>        at
>>> org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>>>        at
>>> org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>>>        at
>>> org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>>>        at
>>> org.orbeon.oxf.processor.ProcessorImpl.createInput(ProcessorImpl.java:136)
>>>        at org.orbeon.oxf.util.PipelineUtils.connect(PipelineUtils.java:35)
>>>        at
>>> org.orbeon.oxf.xmlserver.ContextListener.contextInitialized(ContextListener.java:50)
>>>
>>>        at
>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
>>>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Cannot run eXist

Erik Bruchez
Administrator
I just checked one of the nightlies, and I only see Saxon 8.7 in there
(and the old 6.5.2, which won't conflict because it is in a separate
package). Maybe you had that file in there from a previous download?

-Erik

Hank Ratzesberger wrote:
> Erik,
>
> I had both saxon 8.1.1 and 8.7 in the build.
> Removing 8.1.1 fixed problems.
> Since 8.7 is dated today, perhaps 8.1.1 has not been deleted yet ?
>
> Just my guess, thanks,
> Hank

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws