Atomikos Forum |
|
Hi,
I download AtomikosTransactionsEssentials-3.6.3 and try to use JTA in Equinox 3.5 and Spring Dynamic Module 1.2. So I copy atomikos-util.jar, transactions.jar, transactions-api.jar, transactions-jta.jar and transactions-jdbc.jar to my OSGi Target directory and reload the OSGi Target. When I startup equinox, it display the following error message: java.lang.NoClassDefFoundError: javax/transaction/RollbackException Does anyone know how to resolve this problem? Here is my spring bean config xml file: <bean id="atomikosTransactionManager" class="com.atomikos.icatch.jta.UserTransactionManager" init-method="init" destroy-method="close"> <property name="forceShutdown"> <value>true</value> </property> </bean> <bean id="atomikosUserTransaction" class="com.atomikos.icatch.jta.UserTransactionImp"> <property name="transactionTimeout" value="300000" /> </bean> <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"> <property name="transactionManager"> <ref bean="atomikosTransactionManager" /> </property> <property name="userTransaction"> <ref bean="atomikosUserTransaction" /> </property> </bean> And here is MANIFEST.MF file: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: com.okooo.osgi.mysql.transcation.jta Bundle-SymbolicName: com.okooo.osgi.mysql.transcation.jta Bundle-Version: 1.0.0 Bundle-Vendor: OKOOO Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Require-Bundle: org.springframework.beans, org.springframework.osgi.log4j.osgi;bundle-version="1.2.15", org.springframework.core;bundle-version="2.5.6", org.springframework.aop;bundle-version="2.5.6", com.springsource.org.aopalliance;bundle-version="1.0.0", com.springsource.net.sf.cglib;bundle-version="2.1.3", org.springframework.transaction;bundle-version="2.5.6", com.atomikos.transactions;bundle-version="3.6.3", com.atomikos.transactions-api;bundle-version="3.6.3", com.atomikos.transactions-jdbc;bundle-version="3.6.3", com.atomikos.transactions-jta;bundle-version="3.6.3", com.atomikos.util;bundle-version="3.6.3" Bundle-ClassPath: . |