Bogdan Stefanescu wrote:
> Julien Anguenot wrote:
>> Jean-Marc Orliaguet wrote:
>>  
>>> I have two issues/questions:
>>>
>>> - a library which isn't found or that has a wrong version (jbpm...):
>>>
>>> 10:05:09,512 ERROR [MainDeployer] Could not start deployment:
>>> file:/opt/jboss-4.0.4.GA/server/default/tmp/deploy/tmp10480nuxeo.jar-contents/nxworkflow-demo-bundle.xml
>>>
>>>
>>> java.lang.NoSuchMethodError:
>>> org.jbpm.db.GraphSession.getProcessDefinition(J)Lorg/jbpm/graph/def/ProcessDefinition;
>>>
>>>
>>>        at
>>> org.nuxeo.ecm.platform.ec.workflow.jbpm.JbpmWorkflowEngine.getProcessDefinition(JbpmWorkflowEngine.java:1090)
>>>
>>>
>>>        at
>>> org.nuxeo.ecm.platform.ec.workflow.jbpm.JbpmWorkflowEngine.getWorkflowDefinitionById(JbpmWorkflowEngine.java:168)
>>>
>>>
>>>        at
>>> org.nuxeo.ecm.platform.ec.workflow.jbpm.JbpmWorkflowEngine.isDefinitionDeployed(JbpmWorkflowEngine.java:185)
>>>
>>>
>>>        at
>>> org.nuxeo.ecm.platform.ec.workflow.jbpm.JbpmWorkflowEngine.deployDefinition(JbpmWorkflowEngine.java:98)
>>>
>>>
>>>        at
>>> org.nuxeo.ecm.platform.ec.workflow.service.WorkflowServiceImpl.deployDefinition(WorkflowServiceImpl.java:267)
>>>
>>>
>>>        at
>>> org.nuxeo.ecm.platform.ec.workflow.service.WorkflowServiceImpl.registerExtension(WorkflowServiceImpl.java:150)
>>>
>>>     
>>
>>   The class loaders behavior should have changed. Nuxeo uses jbom 3.1.1
>> and NXWorkflowJBPM usese jbom 3.1.3 and here NXWWorkflowwJBOM is using
>> probably using 3.1.1 from Nuxeo instead of the 3.1.3 from NXWorkflowJBPM
>>
>> Going to check what I can do about this.
>>
>> Bogdan do you have an explanation about this behavior changes ?
>>
>>     J.
>>
>>   
> I've not changed class loading mechanism so it should behave  like the
> old one.

I didn't imply the contrary but what can explain this and what's the
correct way to fix this up because here it doesn't work anymore ?

We will have the same problem when a sub component is not using the same
version of a required library in Nuxeo.nxp.

Going to see if we can use the jbpm 3.1.3 in Nuxeo but even if it works
we will still have the issue in the future I guess.

> The only difference is that all nuxeo modules (JARs) are included in the
> Nuxeo EAR and there are no more top level deployments. (except nxthemes
> modules)

yep that's what I understood.

        J.
-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to