[jdom-interest] (no subject)

angeloimm angeloimm at libero.it
Sat Dec 18 03:21:11 PST 2004


Hi all... i' using JBoss 3.2.5, wfmOpen 1.2.1, JDom 1.0, dom4j.full and cocoon 2.1.5; when i try to read an XPDL file (i.e an XML fiel that follows a dtd) i have this error:
12:01:34,623 ERROR [LogInterceptor] Unexpected Error:
java.lang.NoSuchMethodError: org.jaxen.BaseXPath.<init>(Ljava/lang/String;Lorg/j
axen/Navigator;)V
        at org.jaxen.jdom.JDOMXPath.<init>(JDOMXPath.java:103)
        at de.danet.an.workflow.domain.ProcDefValidator.buildJDOMXPath(ProcDefVa
lidator.java:363)
        at de.danet.an.workflow.domain.ProcDefValidator.init(ProcDefValidator.ja
va:319)
        at de.danet.an.workflow.domain.ProcDefValidator.validate(ProcDefValidato
r.java:312)
        at de.danet.an.workflow.domain.DefaultProcessDefinition.parseProcessDefi
nitions(DefaultProcessDefinition.java:1171)
        at de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryEJB.importP
rocessDefinitions(ProcessDefinitionDirectoryEJB.java:759)
        at de.danet.an.workflow.ejbs.admin.ProcessDefinitionDirectoryEJB.importP
rocessDefinitions(ProcessDefinitionDirectoryEJB.java:742)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:683)
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:185)
        at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:72)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:84)
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:315)
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
48)
        at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:120)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:122)
        at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessi
onContainer.java:331)
        at org.jboss.ejb.Container.invoke(Container.java:723)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:60)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:185)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
        at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
        at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
a:90)
        at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
java:46)
        at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5
3)
        at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi
onInterceptor.java:100)
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
        at $Proxy117.importProcessDefinitions(Unknown Source)
        at it.eng.nikko.workflow.util.UploadXPDL.doUpload(UploadXPDL.java:68)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:23
0)
        at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpre
t(ContinuationInterpreter.java:1134)
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpre
t(ContinuationInterpreter.java:190)
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpre
t(ContinuationInterpreter.java:138)
        at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(Int
erpretedFunctionImpl.java:121)
        at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
        at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.j
ava:1591)
        at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterp
reter.handleContinuation(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.i
nvoke(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod
e.invoke(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok
e(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo
ke(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unkn
own Source)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unkn
own Source)
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(U
nknown Source)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod
e.invoke(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok
e(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo
ke(Unknown Source)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unkn
own Source)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unkn
own Source)
        at org.apache.cocoon.Cocoon.process(Unknown Source)
        at org.apache.cocoon.servlet.CocoonServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:157)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:72)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
        at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecur
ityMgrRealm.java:275)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
        at java.lang.Thread.run(Thread.java:534)
12:01:46,370 ERROR [UploadXPDL] java.rmi.ServerError: Unexpected Error; nested e
xception is:
        java.lang.NoSuchMethodError: org.jaxen.BaseXPath.<init>(Ljava/lang/Strin
g;Lorg/jaxen/Navigator;)V
12:01:46,480 INFO  [STDOUT] "file:/C:/jboss-3.2.5/server/mySever/tmp/deploy/tmp1
8261NikkoCM.war/WorkFlowUpload/flow/upload.js", line 215: uncaught JavaScript ex
ception:
at upload (file:/C:/jboss-3.2.5/server/mySever/tmp/deploy/tmp18261NikkoCM.war/Wo
rkFlowUpload/flow/upload.js, Line 215):
java.lang.IllegalArgumentException: Problem reading file: Unexpected Error; nest
ed exception is:
        java.lang.NoSuchMethodError: org.jaxen.BaseXPath.<init>(Ljava/lang/Strin
g;Lorg/jaxen/Navigator;)V

The strange thing is that i i use the demo provided by wfmOpen and i use tha class uploadXPDL all works, when i use this class in my project i have this error.... have you any ideas?
Thanks




____________________________________________________________
Regala e regalati Libero ADSL: 3 mesi gratis, navighi veloce e scarichi a 1.2 Mega. 
Abbonati subito senza costi di attivazione su http://www.libero.it






More information about the jdom-interest mailing list