Back to bug 1043663

Who When What Removed Added
Daniel Tschan, Puzzle ITC 2013-12-16 20:54:03 UTC CC jcordes, serviceworks
Anne-Louise Tangring 2013-12-17 14:26:29 UTC CC atangrin
Tomohisa Igarashi 2013-12-18 04:28:51 UTC CC kconner
Component Configuration SwitchYard
Assignee jcoleman kbabo
Status NEW ASSIGNED
CC toigaras
Assignee kbabo toigaras
Tomohisa Igarashi 2013-12-18 06:00:35 UTC Link ID JBoss Issue Tracker SWITCHYARD-1912
David Le Sage 2014-01-23 23:40:36 UTC Doc Text Attempting to run an Idempotent JPA consumer will result in ClassNotFoundExceptions being raised for Spring and Hibernate components. In order to address these issues it will be necessary to make two changes
Doc Text , first to a camel module within the server and second to your application.

Edit the camel jpa module.xml file (${JBOSS_HOME}/modules/system/layers/soa/org/apache/camel/jpa/main/module.xml) and include the following module dependencies

Doc Text <module name="org.hibernate"/>
<module name="org.javassist"/>

Then modify your application so that it contains a jboss-deployment-structure.xml file (${APP}/src/main/resources/META-INF/jboss-deployment-structure.xml) specifying a dependency
Doc Text on the spring framework

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework"/>
</dependencies>
Doc Text </deployment>
</jboss-deployment-structure>
CC dlesage
Doc Text Attempting to run an Idempotent JPA consumer will result in ClassNotFoundExceptions being raised for Spring and Hibernate components. In order to address these issues it will be necessary to make two changes, first to a camel module within the server and second to your application.

Edit the camel jpa module.xml file (${JBOSS_HOME}/modules/system/layers/soa/org/apache/camel/jpa/main/module.xml) and include the following module dependencies

<module name="org.hibernate"/>
<module name="org.javassist"/>

Then modify your application so that it contains a jboss-deployment-structure.xml file (${APP}/src/main/resources/META-INF/jboss-deployment-structure.xml) specifying a dependency on the spring framework

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
If you attempt to run an Idempotent JPA consumer, ClassNotFoundExceptions will be raised Spring and Hibernate components. To work around this problem, you must make two changes, the first being to a Camel module within the server and the second to your application:

Edit the JBOSS_HOME/modules/system/layers/soa/org/apache/camel/jpa/main/module.xml file to include the following module dependencies:

<programlisting>
<![CDATA[
<module name="org.hibernate"/>
<module name="org.javassist"/>
]]>
</programlisting>

Secondly, modify your application so that it contains a APP/src/main/resources/META-INF/jboss-deployment-structure.xml file, (specifying a dependency on the Spring framework).

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
David Le Sage 2014-01-24 00:10:28 UTC Doc Text If you attempt to run an Idempotent JPA consumer, ClassNotFoundExceptions will be raised Spring and Hibernate components. To work around this problem, you must make two changes, the first being to a Camel module within the server and the second to your application:

Edit the JBOSS_HOME/modules/system/layers/soa/org/apache/camel/jpa/main/module.xml file to include the following module dependencies:

<programlisting>
<![CDATA[
<module name="org.hibernate"/>
<module name="org.javassist"/>
]]>
</programlisting>

Secondly, modify your application so that it contains a APP/src/main/resources/META-INF/jboss-deployment-structure.xml file, (specifying a dependency on the Spring framework).

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
If you attempt to run an Idempotent JPA consumer, ClassNotFoundExceptions will be raised Spring and Hibernate components. To work around this problem, you must make two changes, the first being to a Camel module within the server and the second to your application:

Edit the JBOSS_HOME/modules/system/layers/soa/org/apache/camel/jpa/main/module.xml file to include the following module dependencies:

<programlisting>
<![CDATA[
<module name="org.hibernate"/>
<module name="org.javassist"/>
]]>
</programlisting>

Secondly, modify your application so that it contains a APP/src/main/resources/META-INF/jboss-deployment-structure.xml file, (specifying a dependency on the Spring framework).
<programlisting>
<![CDATA[
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
]]>
</programlisting>
David Le Sage 2014-01-24 00:10:57 UTC Doc Text If you attempt to run an Idempotent JPA consumer, ClassNotFoundExceptions will be raised Spring and Hibernate components. To work around this problem, you must make two changes, the first being to a Camel module within the server and the second to your application:

Edit the JBOSS_HOME/modules/system/layers/soa/org/apache/camel/jpa/main/module.xml file to include the following module dependencies:

<programlisting>
<![CDATA[
<module name="org.hibernate"/>
<module name="org.javassist"/>
]]>
</programlisting>

Secondly, modify your application so that it contains a APP/src/main/resources/META-INF/jboss-deployment-structure.xml file, (specifying a dependency on the Spring framework).
<programlisting>
<![CDATA[
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
]]>
</programlisting>
If you attempt to run an Idempotent JPA consumer, ClassNotFoundExceptions will be raised for the Spring and Hibernate components. To work around this problem, you must make two changes, the first being to a Camel module within the server and the second to your application:

Edit the JBOSS_HOME/modules/system/layers/soa/org/apache/camel/jpa/main/module.xml file to include the following module dependencies:

<programlisting>
<![CDATA[
<module name="org.hibernate"/>
<module name="org.javassist"/>
]]>
</programlisting>

Secondly, modify your application so that it contains a APP/src/main/resources/META-INF/jboss-deployment-structure.xml file, (specifying a dependency on the Spring framework).
<programlisting>
<![CDATA[
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
]]>
</programlisting>
Keith Babo 2014-06-23 00:18:12 UTC Status ASSIGNED MODIFIED
Target Release --- 6.1.0
CC kbabo
Target Milestone --- DR1
John Skeoch 2015-08-02 23:51:20 UTC QA Contact jsedlace oskutka
Ondrej Skutka 2015-08-03 07:56:17 UTC QA Contact oskutka vchalupa
John Skeoch 2015-11-02 01:02:49 UTC QA Contact vchalupa oskutka
Ondrej Skutka 2015-11-02 08:01:39 UTC QA Contact oskutka mmelko
PnT Account Manager 2018-03-29 21:54:03 UTC CC dlesage
Red Hat Bugzilla 2021-10-15 11:51:46 UTC CC kconner
Red Hat Bugzilla 2021-11-08 10:23:07 UTC CC kbabo

Back to bug 1043663