[xmlblaster] Subscription Invocation Exception

2007-12-14 Thread Jonathan Clark
After running successfully for several months, we received the following 
exception when one of the clients connected to xmlBlaster.  The
subscriptions have not changed in over a year.  This occured on 1.6.1 and as 
far as I know this is the first time that we have seen this
particular issue.  Any thoughts on what could have happened?

INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM  INFO   
238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10 
org.xmlBlaster.protocol.socket.HandleClient handleMessage: Client connected, 
coming from host=/192.168.100.100 port=13374
INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM  INFO   
238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10 
org.xmlBlaster.util.dispatch.DispatchConnection handleTransition: Connection 
'socket_ssl' transition UNDEF -> ALIVE: Success, 
DispatchConnection-callback:/node/MYNODE/client/my.account/-47  connected.
INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM  INFO   
238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10 
org.xmlBlaster.authentication.Authenticate connect: Successful login for client 
/node/MYNODE/client/my.account/-47, session expires after [ 1 h 0 millis ], 1 
of 10 sessions are in use.
INFO   | jvm 2| 2007/12/12 17:12:38 | 
java.lang.reflect.InvocationTargetException
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.util.XmlNotPortable.getNodeSetFromXPath(XmlNotPortable.java:138)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.engine.xml2java.XmlKeyDom.parseKeyOid(XmlKeyDom.java:125)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.engine.RequestBroker.queryMatchingKeys(RequestBroker.java:951)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.engine.RequestBroker.subscribe(RequestBroker.java:648)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.engine.XmlBlasterImpl.subscribe(XmlBlasterImpl.java:93)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.util.protocol.RequestReplyExecutor.receiveReply(RequestReplyExecutor.java:483)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.protocol.socket.HandleClient.handleMessage(HandleClient.java:228)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.protocol.socket.HandleClient$1.run(HandleClient.java:381)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at java.lang.Thread.run(Unknown 
Source)
INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by: 
javax.xml.xpath.XPathExpressionException
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  ... 14 more
INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by: 
javax.xml.transform.TransformerException: Unknown error in XPath.
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.XPath.execute(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.XPath.execute(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  ... 15 more
INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by: 
java.lang.NullPointerException
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown 
Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown 
Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.NodeSequence.setRoot(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.interna

Re: [xmlblaster] Subscription Invocation Exception

2007-12-14 Thread Marcel Ruff

Jonathan Clark wrote:

After running successfully for several months, we received the following 
exception when one of the clients connected to xmlBlaster.  The
subscriptions have not changed in over a year.  This occured on 1.6.1 and as 
far as I know this is the first time that we have seen this
particular issue.  Any thoughts on what could have happened?
  

Same subscribe suddenly does not work anymore ...
Michele: Any idea?

Marcel
 
INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM  INFO   238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10 org.xmlBlaster.protocol.socket.HandleClient handleMessage: Client connected, coming from host=/192.168.100.100 port=13374

INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM  INFO   
238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10 
org.xmlBlaster.util.dispatch.DispatchConnection handleTransition: Connection 
'socket_ssl' transition UNDEF -> ALIVE: Success, 
DispatchConnection-callback:/node/MYNODE/client/my.account/-47  connected.
INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM  INFO   
238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10 
org.xmlBlaster.authentication.Authenticate connect: Successful login for client 
/node/MYNODE/client/my.account/-47, session expires after [ 1 h 0 millis ], 1 
of 10 sessions are in use.
INFO   | jvm 2| 2007/12/12 17:12:38 | 
java.lang.reflect.InvocationTargetException
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.util.XmlNotPortable.getNodeSetFromXPath(XmlNotPortable.java:138)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.engine.xml2java.XmlKeyDom.parseKeyOid(XmlKeyDom.java:125)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.engine.RequestBroker.queryMatchingKeys(RequestBroker.java:951)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.engine.RequestBroker.subscribe(RequestBroker.java:648)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.engine.XmlBlasterImpl.subscribe(XmlBlasterImpl.java:93)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.util.protocol.RequestReplyExecutor.receiveReply(RequestReplyExecutor.java:483)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.protocol.socket.HandleClient.handleMessage(HandleClient.java:228)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
org.xmlBlaster.protocol.socket.HandleClient$1.run(HandleClient.java:381)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at java.lang.Thread.run(Unknown 
Source)
INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by: 
javax.xml.xpath.XPathExpressionException
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  ... 14 more
INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by: 
javax.xml.transform.TransformerException: Unknown error in XPath.
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.XPath.execute(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.XPath.execute(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  ... 15 more
INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by: 
java.lang.NullPointerException
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown 
Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown 
Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source)
INFO   | jvm 2| 2007/12/12 17:12:38 |  at 
com.sun.org.apache.xpath.internal.axes.NodeSequence

Re: [xmlblaster] Subscription Invocation Exception

2007-12-14 Thread Michele
Hi,
it looks to me to be a problem/mismatch in the choice of XML Parser. I
have experienced similar Problems when having several/alternative
parsers in the "endorsed" Directory of the JDK.

So my belief is there is an XML Parser in the CLASSPATH or
SYSTEMCLASSPATH which overwrites the one coming along with the JDK.

(JDK1.4: crimson)
(JDK1.5: xerces)

Regards
Michele


Marcel Ruff wrote:
> Jonathan Clark wrote:
>> After running successfully for several months, we received the
>> following exception when one of the clients connected to xmlBlaster.  The
>> subscriptions have not changed in over a year.  This occured on 1.6.1
>> and as far as I know this is the first time that we have seen this
>> particular issue.  Any thoughts on what could have happened?
>>   
> Same subscribe suddenly does not work anymore ...
> Michele: Any idea?
> 
> Marcel
>>  
>> INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM 
>> INFO   238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10
>> org.xmlBlaster.protocol.socket.HandleClient handleMessage: Client
>> connected, coming from host=/192.168.100.100 port=13374
>> INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM 
>> INFO   238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10
>> org.xmlBlaster.util.dispatch.DispatchConnection handleTransition:
>> Connection 'socket_ssl' transition UNDEF -> ALIVE: Success,
>> DispatchConnection-callback:/node/MYNODE/client/my.account/-47 
>> connected.
>> INFO   | jvm 2| 2007/12/12 17:12:38 | Dec 12, 2007 5:12:38 PM 
>> INFO   238-XmlBlaster.socket_ssl.SSL.tcpListener-my.account RL10
>> org.xmlBlaster.authentication.Authenticate connect: Successful login
>> for client /node/MYNODE/client/my.account/-47, session expires after [
>> 1 h 0 millis ], 1 of 10 sessions are in use.
>> INFO   | jvm 2| 2007/12/12 17:12:38 |
>> java.lang.reflect.InvocationTargetException
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> java.lang.reflect.Method.invoke(Unknown Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> org.xmlBlaster.util.XmlNotPortable.getNodeSetFromXPath(XmlNotPortable.java:138)
>>
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> org.xmlBlaster.engine.xml2java.XmlKeyDom.parseKeyOid(XmlKeyDom.java:125)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> org.xmlBlaster.engine.RequestBroker.queryMatchingKeys(RequestBroker.java:951)
>>
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> org.xmlBlaster.engine.RequestBroker.subscribe(RequestBroker.java:648)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> org.xmlBlaster.engine.XmlBlasterImpl.subscribe(XmlBlasterImpl.java:93)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> org.xmlBlaster.util.protocol.RequestReplyExecutor.receiveReply(RequestReplyExecutor.java:483)
>>
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> org.xmlBlaster.protocol.socket.HandleClient.handleMessage(HandleClient.java:228)
>>
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> org.xmlBlaster.protocol.socket.HandleClient$1.run(HandleClient.java:381)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>>
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>>
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> java.lang.Thread.run(Unknown Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by:
>> javax.xml.xpath.XPathExpressionException
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(Unknown Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  ... 14 more
>> INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by:
>> javax.xml.transform.TransformerException: Unknown error in XPath.
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> com.sun.org.apache.xpath.internal.XPath.execute(Unknown Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> com.sun.org.apache.xpath.internal.XPath.execute(Unknown Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> com.sun.org.apache.xpath.internal.jaxp.XPathImpl.eval(Unknown Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  ... 15 more
>> INFO   | jvm 2| 2007/12/12 17:12:38 | Caused by:
>> java.lang.NullPointerException
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown
>> Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown
>> Source)
>> INFO   | jvm 2| 2007/12/12 17:12:38 |  at
>> com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Un