This content has been marked as final.
Show 5 replies
-
1. Re: java.lang.NoClassDefFoundError: org/infinispan/manager/CacheContainer JBoss7
nickarls Aug 31, 2012 3:38 AM (in response to chanducompute)How is the MDB packed/deployed?
-
2. Re: java.lang.NoClassDefFoundError: org/infinispan/manager/CacheContainer JBoss7
ranga033 Aug 31, 2012 4:10 AM (in response to chanducompute)From the documenation :-
There's only one catch - due to the JBoss AS's use of modular classloading, Infinispan classes are not available to deployments by default. You need to explicitly tell the AS to import the Infinispan API into your application. This is most easily done by adding the following line to your application's META-INF/MANIFEST.MF:
Dependencies: org.infinispan export
https://docs.jboss.org/author/display/ISPN/Getting+Started+Guide+-+JBoss+AS+7
-
3. Re: java.lang.NoClassDefFoundError: org/infinispan/manager/CacheContainer JBoss7
chanducompute Aug 31, 2012 5:26 AM (in response to nickarls)It is an enterprise application packed in a jar file of an ear file
-
4. Re: java.lang.NoClassDefFoundError: org/infinispan/manager/CacheContainer JBoss7
nickarls Aug 31, 2012 5:32 AM (in response to chanducompute)1 of 1 people found this helpfulThe above MANIFEST.MF trick should work (or the xml approach in https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7)
-
5. Re: java.lang.NoClassDefFoundError: org/infinispan/manager/CacheContainer JBoss7
chanducompute Aug 31, 2012 6:37 AM (in response to nickarls)Thank you both of you for ur support. Its working