Hi again,

I've built the branch succesfully (test skippping for a faster build)
and deploy it correctly in SMX 4.2 via features:

ka...@root>features:addUrl
mvn:org.apache.ode/ode-jbi-karaf/1.3.4rc1/xml/features
ka...@root>features:install ode

When I deploy de pmapi SA in the [SMX_HOME]/deploy the SA start
correctly and I can see the ProcessManagement and InstanceManagement
WSDL, but when I call the listAllProcesses operations (via SOAPUi), I
got a ClassNotFound error (full stack trace in [1]:

java.lang.ClassNotFoundException: javax.xml.stream.util.StreamReaderDelegate

This package is exported by the Apache ServiceMix Specs :: STAX API
1.0 but the SA is not a bundle so this doesn't solve the problem.

Any idea?

[1]     ... 25 more
11:57:52,641 | WARN  | 5...@qtp-31909534-0 | jetty
    | service.jetty.internal.JCLLogger  115 |
/ode/processes/ProcessManagement/
java.lang.RuntimeException: java.lang.NoClassDefFoundError:
javax/xml/stream/util/StreamReaderDelegate
        at 
org.apache.ode.jbi.BaseMessageExchangeProcessor.onJbiMessageExchange(BaseMessageExchangeProcessor.java:92)
        at 
org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:50)
        at org.apache.ode.jbi.Receiver$1.run(Receiver.java:179)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError:
javax/xml/stream/util/StreamReaderDelegate
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1872)
        at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758)
        at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
        at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
        at 
org.apache.axiom.om.impl.builder.StAXBuilder.initParser(StAXBuilder.java:151)
        at 
org.apache.axiom.om.impl.builder.StAXBuilder.<init>(StAXBuilder.java:128)
        at 
org.apache.axiom.om.impl.builder.StAXBuilder.<init>(StAXBuilder.java:160)
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.<init>(StAXOMBuilder.java:130)
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.<init>(StAXOMBuilder.java:146)
        at org.apache.ode.il.DynamicService.convertToOM(DynamicService.java:159)
        at org.apache.ode.il.DynamicService.invoke(DynamicService.java:78)
        at 
org.apache.ode.jbi.DynamicMessageExchangeProcessor.invoke(DynamicMessageExchangeProcessor.java:61)
        at 
org.apache.ode.jbi.BaseMessageExchangeProcessor.onJbiMessageExchange(BaseMessageExchangeProcessor.java:83)
        ... 8 more
Caused by: java.lang.ClassNotFoundException:
javax.xml.stream.util.StreamReaderDelegate
        at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
        at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
        at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
        ... 25 more

El día 18 de mayo de 2010 10:44, Agustín Gañán <[email protected]> escribió:
> Ok, I'll checkout the branch, built it (maven2 and Java 6) and post my results
>
> 2010/5/18 Rafal Rusin <[email protected]>:
>> You can try 1.3.4rc1 OSGi from here
>> http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.3.4.X/
>> and give your results. We're planning a release soon, so feedback is
>> appreciated.
>>
>> 2010/5/18 Agustín Gañán <[email protected]>
>>
>>> Thanks!!
>>>
>>> I' try it now!
>>>
>>> 2010/5/18 Rafal Rusin <[email protected]>:
>>> > Hello,
>>> >
>>> > you can try pmapi SA from here:
>>> http://markmail.org/message/ghigpzcpt2j3qnoo
>>> > It's not SMX4 way, but you can put it in deploy and it should work.
>>> >
>>> > 2010/5/18 Agustín Gañán <[email protected]>
>>> >
>>> >> Hi all,
>>> >>
>>> >> I've deployed de ode-jbi-karaf bundle in SMX 4.2 succesfully but now I
>>> >> would like to do some admin operatios (view deployed process, process
>>> >> info, ..)
>>> >>
>>> >> In this environment, what is the best way to get acces to de ODE
>>> Management
>>> >> API?
>>> >>
>>> >> Maybe configure cxf-bc endpoints to this interfaces?
>>> >>
>>> >> I can see de endpoints deployed and I think that will be easy to
>>> >> publis WS to acces this endpoints but I'm not sure if this is the
>>> >> "best way".
>>> >>
>>> >> Thank you all,
>>> >>
>>> >> Agus
>>> >>
>>> >
>>> >
>>> > --
>>> > Regards,
>>> > Rafał Rusin
>>> > http://rrusin.blogspot.com
>>> >
>>>
>>
>>
>>
>> --
>> Regards,
>> Rafał Rusin
>> http://rrusin.blogspot.com
>>
>

Reply via email to