now this is getting silly

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

now this is getting silly

Alex Sharaz

Chaps,

I’ve just decided to replicate the ops setup I’ve got at work on a system I’ve got at home.

So, I take the same files that I use at work and copy them onto my server here.

(the same web.xml ,ops.war and the same examples-list. )

 

However, here I get

 

500 Servlet Exception

org.dom4j.InvalidXPathException: Invalid XPath expression: '/properties/property
| /attributes/attribute'. Caused by: org/dom4j/DocumentException
        at org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
        at org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
        at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
        at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
        at org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
        at org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
        at org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXFPropertiesSerializer.java:144)
        at org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
        at org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
        at org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
        at org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
        at org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)
        at org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:66)
        at org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72)
        at javax.servlet.GenericServlet.init(GenericServlet.java:69)
        at org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
        at javax.servlet.GenericServlet.init(GenericServlet.java:69)
        at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:650)
        at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:588)
        at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
        at com.caucho.server.webapp.Application.start(Application.java:1634)
        at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
        at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
        at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:176)
        at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:742)
        at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
        at com.caucho.util.Alarm.run(Alarm.java:309)
        at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:539)
        at com.caucho.util.ThreadPool.run(ThreadPool.java:465)
        at java.lang.Thread.run()V(Unknown Source)
 
 
I’ve no idea why at the moment. Don’t think I’ve got extra versions of any jar files lying around 
 
Can anyone shed some light?
Alex
 
ArghH
Got a cat here that likes to lie with his head on the keyboard
 
 

 


*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************

--
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: now this is getting silly

Erik Bruchez
Administrator
Alex,

Without knowing better, I would say this is due to a funny version of
dom4j or jaxen or saxpath (I wish we just used Saxon's implementation
all over the place).

This expression is used by OPS when loading properties, and it has been
working for a long time ;-)

-Erik

Alex Sharaz wrote:

> Chaps,
>
> I’ve just decided to replicate the ops setup I’ve got at work on a
> system I’ve got at home.
>
> So, I take the same files that I use at work and copy them onto my
> server here.
>
> (the same web.xml ,ops.war and the same examples-list. )
>
>  
>
> However, here I get
>
>  
>
>
>   *500 Servlet Exception*
>
> org.dom4j.InvalidXPathException: Invalid XPath expression: '/properties/property
>
> | /attributes/attribute'. Caused by: org/dom4j/DocumentException
>
>         at org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
>
>         at org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
>
>         at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
>
>         at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
>
>         at org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
>
>         at org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
>
>         at org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXFPropertiesSerializer.java:144)
>
>         at org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
>
>         at org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>
>         at org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>
>         at org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
>
>         at org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)
>
>         at org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:66)
>
>         at org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72)
>
>         at javax.servlet.GenericServlet.init(GenericServlet.java:69)
>
>         at org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
>
>         at javax.servlet.GenericServlet.init(GenericServlet.java:69)
>
>         at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:650)
>
>         at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:588)
>
>         at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
>
>         at com.caucho.server.webapp.Application.start(Application.java:1634)
>
>         at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
>
>         at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
>
>         at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:176)
>
>         at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:742)
>
>         at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
>
>         at com.caucho.util.Alarm.run(Alarm.java:309)
>
>         at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:539)
>
>         at com.caucho.util.ThreadPool.run(ThreadPool.java:465)
>
>         at java.lang.Thread.run()V(Unknown Source)
>
>  
>
>  
>
> I’ve no idea why at the moment. Don’t think I’ve got extra versions of any jar files lying around
>
>  
>
> Can anyone shed some light?
>
> Alex
>
>  
>
> ArghH
>
> Got a cat here that likes to lie with his head on the keyboard
>
>  
>
>  
>
>  
>
>
> ------------------------------------------------------------------------
>
> *****************************************************************************************
> To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
> *****************************************************************************************
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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: now this is getting silly

Hank Ratzesberger
In reply to this post by Alex Sharaz
 
I have seen messages like this and fixed the problem
by including only one Saxon library (8.x) and deleting
the other.  But I don't know that is a symptom of something
else.
 
Cheers,
Hank
 
Hank Ratzesberger
Institute for Crustal Studies
University of California, Santa Barbara
----- Original Message -----
Sent: Monday, July 17, 2006 1:44 PM
Subject: [ops-users] now this is getting silly

Chaps,

I’ve just decided to replicate the ops setup I’ve got at work on a system I’ve got at home.

So, I take the same files that I use at work and copy them onto my server here.

(the same web.xml ,ops.war and the same examples-list. )

 

However, here I get

 

500 Servlet Exception

org.dom4j.InvalidXPathException: Invalid XPath expression: '/properties/property
| /attributes/attribute'. Caused by: org/dom4j/DocumentException
        at org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
        at org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
        at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
        at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
        at org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
        at org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
        at org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXFPropertiesSerializer.java:144)
        at org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
        at org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
        at org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
        at org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
        at org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)
        at org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:66)
        at org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72)
        at javax.servlet.GenericServlet.init(GenericServlet.java:69)
        at org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
        at javax.servlet.GenericServlet.init(GenericServlet.java:69)
        at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:650)
        at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:588)
        at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
        at com.caucho.server.webapp.Application.start(Application.java:1634)
        at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
        at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
        at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:176)
        at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:742)
        at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
        at com.caucho.util.Alarm.run(Alarm.java:309)
        at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:539)
        at com.caucho.util.ThreadPool.run(ThreadPool.java:465)
        at java.lang.Thread.run()V(Unknown Source)
 
 
I’ve no idea why at the moment. Don’t think I’ve got extra versions of any jar files lying around 
 
Can anyone shed some light?
Alex
 
ArghH
Got a cat here that likes to lie with his head on the keyboard
 
 

 


*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************



--
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: now this is getting silly

Alex Sharaz
In reply to this post by Erik Bruchez
Well the fact that it works on 1 system and not on what *should* be a
near as dammit the same system is a bit annoying. I', thinking that
there's something that's getting into the classpath somewhere  that;s
causing the problem

Just removed the saxon 6.x jar and that's made no diff
Alex
-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 17 July 2006 22:57
To: [hidden email]
Subject: Re: [ops-users] now this is getting silly

Alex,

Without knowing better, I would say this is due to a funny version of
dom4j or jaxen or saxpath (I wish we just used Saxon's implementation
all over the place).

This expression is used by OPS when loading properties, and it has been
working for a long time ;-)

-Erik

Alex Sharaz wrote:

> Chaps,
>
> I've just decided to replicate the ops setup I've got at work on a
> system I've got at home.
>
> So, I take the same files that I use at work and copy them onto my
> server here.
>
> (the same web.xml ,ops.war and the same examples-list. )
>
>  
>
> However, here I get
>
>  
>
>
>   *500 Servlet Exception*
>
> org.dom4j.InvalidXPathException: Invalid XPath expression:
'/properties/property
>
> | /attributes/attribute'. Caused by: org/dom4j/DocumentException
>
>         at org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
>
>         at org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
>
>         at
org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
>
>         at
org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
>
>         at
org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
>
>         at
org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
>
>         at
org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXF
PropertiesSerializer.java:144)
>
>         at
org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
>
>         at
org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>
>         at
org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>
>         at
org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
>
>         at
org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)
>
>         at
org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:66)
>
>         at
org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:7
2)
>
>         at javax.servlet.GenericServlet.init(GenericServlet.java:69)
>
>         at org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
>
>         at javax.servlet.GenericServlet.init(GenericServlet.java:69)
>
>         at
com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletCo
nfigImpl.java:650)
>
>         at
com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig
Impl.java:588)
>
>         at
com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
>
>         at
com.caucho.server.webapp.Application.start(Application.java:1634)
>
>         at
com.caucho.server.deploy.DeployController.startImpl(DeployController.jav
a:621)
>
>         at
com.caucho.server.deploy.DeployController.restartImpl(DeployController.j
ava:584)
>
>         at
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRe
deployAutoStrategy.java:176)
>
>         at
com.caucho.server.deploy.DeployController.handleAlarm(DeployController.j
ava:742)

>
>         at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
>
>         at com.caucho.util.Alarm.run(Alarm.java:309)
>
>         at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:539)
>
>         at com.caucho.util.ThreadPool.run(ThreadPool.java:465)
>
>         at java.lang.Thread.run()V(Unknown Source)
>
>  
>
>  
>
> I've no idea why at the moment. Don't think I've got extra versions of
any jar files lying around

>
>  
>
> Can anyone shed some light?
>
> Alex
>
>  
>
> ArghH
>
> Got a cat here that likes to lie with his head on the keyboard
>
>  
>
>  
>
>  
>
>
>
------------------------------------------------------------------------
>
>
************************************************************************
*****************
> To view the terms under which this email is distributed, please go to
http://www.hull.ac.uk/legal/email_disclaimer.html
>
************************************************************************
*****************
>
>
>
------------------------------------------------------------------------
>
>
> --
> 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/

*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************

--
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: now this is getting silly

Erik Bruchez
Administrator
In reply to this post by Hank Ratzesberger
Hank,

Given the stack trace, I don't think it has to do with Saxon. But you
just never know ;-)

-Erik

Hank Ratzesberger wrote:

>  
> I have seen messages like this and fixed the problem
> by including only one Saxon library (8.x) and deleting
> the other.  But I don't know that is a symptom of something
> else.
>  
> Cheers,
> Hank
>  
> Hank Ratzesberger
> Institute for Crustal Studies
> University of California, Santa Barbara
> ----- Original Message -----
>
>     *From:* Alex Sharaz <mailto:[hidden email]>
>     *To:* [hidden email] <mailto:[hidden email]>
>     *Sent:* Monday, July 17, 2006 1:44 PM
>     *Subject:* [ops-users] now this is getting silly
>
>     Chaps,
>
>     I’ve just decided to replicate the ops setup I’ve got at work on a
>     system I’ve got at home.
>
>     So, I take the same files that I use at work and copy them onto my
>     server here.
>
>     (the same web.xml ,ops.war and the same examples-list. )
>
>      
>
>     However, here I get
>
>      
>
>
>       *500 Servlet Exception*
>
>     org.dom4j.InvalidXPathException: Invalid XPath expression: '/properties/property
>
>     | /attributes/attribute'. Caused by: org/dom4j/DocumentException
>
>             at org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
>
>             at org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
>
>             at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
>
>             at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
>
>             at org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
>
>             at org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
>
>             at org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXFPropertiesSerializer.java:144)
>
>             at org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
>
>             at org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>
>             at org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>
>             at org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
>
>             at org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)
>
>             at org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:66)
>
>             at org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72)
>
>             at javax.servlet.GenericServlet.init(GenericServlet.java:69)
>
>             at org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
>
>             at javax.servlet.GenericServlet.init(GenericServlet.java:69)
>
>             at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:650)
>
>             at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:588)
>
>             at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
>
>             at com.caucho.server.webapp.Application.start(Application.java:1634)
>
>             at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
>
>             at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
>
>             at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRedeployAutoStrategy.java:176)
>
>             at com.caucho.server.deploy.DeployController.handleAlarm(DeployController.java:742)
>
>             at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
>
>             at com.caucho.util.Alarm.run(Alarm.java:309)
>
>             at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:539)
>
>             at com.caucho.util.ThreadPool.run(ThreadPool.java:465)
>
>             at java.lang.Thread.run()V(Unknown Source)
>
>      
>
>      
>
>     I’ve no idea why at the moment. Don’t think I’ve got extra versions of any jar files lying around
>
>      
>
>     Can anyone shed some light?
>
>     Alex
>
>      
>
>     ArghH
>
>     Got a cat here that likes to lie with his head on the keyboard
>
>      
>
>      
>
>      
>
>     ------------------------------------------------------------------------
>
>     *****************************************************************************************
>     To view the terms under which this email is distributed, please go
>     to http://www.hull.ac.uk/legal/email_disclaimer.html
>     *****************************************************************************************
>
>
>     ------------------------------------------------------------------------
>
>
>     --
>     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

--
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: now this is getting silly

Alex Sharaz
Well, it's different.

Removed the saxone 6.x - no difference
Replaced the dom4J jar with one from the dom4j site - no difference

Had a nose round and discovered that I'd got a copy of jaxen 1.1b9 in
the main resin library - something I like to keep free of everything
other than the supplied jars. Deleted that and restarted resin - now I
get

java.lang.NoClassDefFoundError: org/jaxen/JaxenException
        at
org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
        at
org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
        at
org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
        at
org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
        at
org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXF
PropertiesSerializer.java:144)
        at
org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
        at
org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
        at
org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
        at
org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
        at
org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)

had a look in the ops/WEB-INF/lib for a jaxen1.1b9 jar - yup it's there.
Used jar -tf to check that /org/jaxen/JaxcenException is in there - yup
it is.

Replaced 1.1b9 with 1.1b8 - same error

Removed the jaxen entry altogether - different error saying that
something else in /org/jaxen couldn't be found - fair enough the jar
isn't there.

Put the jaxen jar back into the /usr/local/resin-pro-3.0.19/lib
directory - original error came back.

Added the dom4J jar into the /usr/local/resin-pro-3.0.19/lib directory
yay!! It worked

At this point in time don't ask me why, I took the resin config file
from work and used that as the basis for the config on my hopme server.
The web.xml is the same on both servers


Humph!! Its midnight time to get some sleep

I'll have a look later on today
Alex

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: 17 July 2006 23:34
To: [hidden email]
Subject: Re: [ops-users] now this is getting silly

Hank,

Given the stack trace, I don't think it has to do with Saxon. But you
just never know ;-)

-Erik

Hank Ratzesberger wrote:

>  
> I have seen messages like this and fixed the problem
> by including only one Saxon library (8.x) and deleting
> the other.  But I don't know that is a symptom of something
> else.
>  
> Cheers,
> Hank
>  
> Hank Ratzesberger
> Institute for Crustal Studies
> University of California, Santa Barbara
> ----- Original Message -----
>
>     *From:* Alex Sharaz <mailto:[hidden email]>
>     *To:* [hidden email] <mailto:[hidden email]>
>     *Sent:* Monday, July 17, 2006 1:44 PM
>     *Subject:* [ops-users] now this is getting silly
>
>     Chaps,
>
>     I've just decided to replicate the ops setup I've got at work on a
>     system I've got at home.
>
>     So, I take the same files that I use at work and copy them onto my
>     server here.
>
>     (the same web.xml ,ops.war and the same examples-list. )
>
>      
>
>     However, here I get
>
>      
>
>
>       *500 Servlet Exception*
>
>     org.dom4j.InvalidXPathException: Invalid XPath expression:
'/properties/property
>
>     | /attributes/attribute'. Caused by: org/dom4j/DocumentException
>
>             at
org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
>
>             at
org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
>
>             at
org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
>
>             at
org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
>
>             at
org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
>
>             at
org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
>
>             at
org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXF
PropertiesSerializer.java:144)
>
>             at
org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
>
>             at
org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>
>             at
org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>
>             at
org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
>
>             at
org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)
>
>             at
org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:66)
>
>             at
org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:7
2)
>
>             at
javax.servlet.GenericServlet.init(GenericServlet.java:69)
>
>             at
org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
>
>             at
javax.servlet.GenericServlet.init(GenericServlet.java:69)
>
>             at
com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletCo
nfigImpl.java:650)
>
>             at
com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig
Impl.java:588)
>
>             at
com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
>
>             at
com.caucho.server.webapp.Application.start(Application.java:1634)
>
>             at
com.caucho.server.deploy.DeployController.startImpl(DeployController.jav
a:621)
>
>             at
com.caucho.server.deploy.DeployController.restartImpl(DeployController.j
ava:584)
>
>             at
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRe
deployAutoStrategy.java:176)
>
>             at
com.caucho.server.deploy.DeployController.handleAlarm(DeployController.j
ava:742)
>
>             at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
>
>             at com.caucho.util.Alarm.run(Alarm.java:309)
>
>             at
com.caucho.util.ThreadPool.runTasks(ThreadPool.java:539)

>
>             at com.caucho.util.ThreadPool.run(ThreadPool.java:465)
>
>             at java.lang.Thread.run()V(Unknown Source)
>
>      
>
>      
>
>     I've no idea why at the moment. Don't think I've got extra
versions of any jar files lying around

>
>      
>
>     Can anyone shed some light?
>
>     Alex
>
>      
>
>     ArghH
>
>     Got a cat here that likes to lie with his head on the keyboard
>
>      
>
>      
>
>      
>
>
------------------------------------------------------------------------
>
>
************************************************************************
*****************
>     To view the terms under which this email is distributed, please go
>     to http://www.hull.ac.uk/legal/email_disclaimer.html
>
************************************************************************
*****************
>
>
>
------------------------------------------------------------------------
>
>
>     --
>     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


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

*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************

--
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: now this is getting silly

Erik Bruchez
Administrator
Alex,

Good to hear you figured it out, and thanks for sharing your JAR hell
experience ;-)

-Erik

Alex Sharaz wrote:

> Well, it's different.
>
> Removed the saxone 6.x - no difference
> Replaced the dom4J jar with one from the dom4j site - no difference
>
> Had a nose round and discovered that I'd got a copy of jaxen 1.1b9 in
> the main resin library - something I like to keep free of everything
> other than the supplied jars. Deleted that and restarted resin - now I
> get
>
> java.lang.NoClassDefFoundError: org/jaxen/JaxenException
> at
> org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
> at
> org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
> at
> org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
> at
> org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
> at
> org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXF
> PropertiesSerializer.java:144)
> at
> org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
> at
> org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
> at
> org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
> at
> org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
> at
> org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)
>
> had a look in the ops/WEB-INF/lib for a jaxen1.1b9 jar - yup it's there.
> Used jar -tf to check that /org/jaxen/JaxcenException is in there - yup
> it is.
>
> Replaced 1.1b9 with 1.1b8 - same error
>
> Removed the jaxen entry altogether - different error saying that
> something else in /org/jaxen couldn't be found - fair enough the jar
> isn't there.
>
> Put the jaxen jar back into the /usr/local/resin-pro-3.0.19/lib
> directory - original error came back.
>
> Added the dom4J jar into the /usr/local/resin-pro-3.0.19/lib directory
> yay!! It worked
>
> At this point in time don't ask me why, I took the resin config file
> from work and used that as the basis for the config on my hopme server.
> The web.xml is the same on both servers
>
>
> Humph!! Its midnight time to get some sleep
>
> I'll have a look later on today
> Alex
>
> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez
> Sent: 17 July 2006 23:34
> To: [hidden email]
> Subject: Re: [ops-users] now this is getting silly
>
> Hank,
>
> Given the stack trace, I don't think it has to do with Saxon. But you
> just never know ;-)
>
> -Erik
>
> Hank Ratzesberger wrote:
>>  
>> I have seen messages like this and fixed the problem
>> by including only one Saxon library (8.x) and deleting
>> the other.  But I don't know that is a symptom of something
>> else.
>>  
>> Cheers,
>> Hank
>>  
>> Hank Ratzesberger
>> Institute for Crustal Studies
>> University of California, Santa Barbara
>> ----- Original Message -----
>>
>>     *From:* Alex Sharaz <mailto:[hidden email]>
>>     *To:* [hidden email] <mailto:[hidden email]>
>>     *Sent:* Monday, July 17, 2006 1:44 PM
>>     *Subject:* [ops-users] now this is getting silly
>>
>>     Chaps,
>>
>>     I've just decided to replicate the ops setup I've got at work on a
>>     system I've got at home.
>>
>>     So, I take the same files that I use at work and copy them onto my
>>     server here.
>>
>>     (the same web.xml ,ops.war and the same examples-list. )
>>
>>      
>>
>>     However, here I get
>>
>>      
>>
>>
>>       *500 Servlet Exception*
>>
>>     org.dom4j.InvalidXPathException: Invalid XPath expression:
> '/properties/property
>>     | /attributes/attribute'. Caused by: org/dom4j/DocumentException
>>
>>             at
> org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:362)
>>             at
> org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
>>             at
> org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
>>             at
> org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
>>             at
> org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:69)
>>             at
> org.orbeon.oxf.xml.XPathUtils.selectIterator(XPathUtils.java:42)
>>             at
> org.orbeon.oxf.processor.OXFPropertiesSerializer.createPropertyStore(OXF
> PropertiesSerializer.java:144)
>>             at
> org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:85)
>>             at
> org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>>             at
> org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>>             at
> org.orbeon.oxf.resources.OXFProperties.init(OXFProperties.java:56)
>>             at
> org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:93)
>>             at
> org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:66)
>>             at
> org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:7
> 2)
>>             at
> javax.servlet.GenericServlet.init(GenericServlet.java:69)
>>             at
> org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
>>             at
> javax.servlet.GenericServlet.init(GenericServlet.java:69)
>>             at
> com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletCo
> nfigImpl.java:650)
>>             at
> com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfig
> Impl.java:588)
>>             at
> com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
>>             at
> com.caucho.server.webapp.Application.start(Application.java:1634)
>>             at
> com.caucho.server.deploy.DeployController.startImpl(DeployController.jav
> a:621)
>>             at
> com.caucho.server.deploy.DeployController.restartImpl(DeployController.j
> ava:584)
>>             at
> com.caucho.server.deploy.StartAutoRedeployAutoStrategy.alarm(StartAutoRe
> deployAutoStrategy.java:176)
>>             at
> com.caucho.server.deploy.DeployController.handleAlarm(DeployController.j
> ava:742)
>>             at com.caucho.util.Alarm.handleAlarm(Alarm.java:339)
>>
>>             at com.caucho.util.Alarm.run(Alarm.java:309)
>>
>>             at
> com.caucho.util.ThreadPool.runTasks(ThreadPool.java:539)
>>             at com.caucho.util.ThreadPool.run(ThreadPool.java:465)
>>
>>             at java.lang.Thread.run()V(Unknown Source)
>>
>>      
>>
>>      
>>
>>     I've no idea why at the moment. Don't think I've got extra
> versions of any jar files lying around
>>      
>>
>>     Can anyone shed some light?
>>
>>     Alex
>>
>>      
>>
>>     ArghH
>>
>>     Got a cat here that likes to lie with his head on the keyboard
>>
>>      
>>
>>      
>>
>>      
>>
>>
> ------------------------------------------------------------------------
>>
> ************************************************************************
> *****************
>>     To view the terms under which this email is distributed, please go
>>     to http://www.hull.ac.uk/legal/email_disclaimer.html
>>
> ************************************************************************
> *****************
>>
>>
> ------------------------------------------------------------------------
>>
>>     --
>>     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
>
>
>
>
> ------------------------------------------------------------------------
>
> *****************************************************************************************
> To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
> *****************************************************************************************
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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