Skip to main content

Problem deploying ears on CentOS

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
rr5
Offline
Joined: 2013-06-10

I have a JEE6 application (including resource adapters) that works perfectly when run within the Netbeans 7.2 IDE on Windows 7 x86_64 (with Oracle JDK 7).

However when I run the same ears on CentOS 6.4 (with Open JDK 1.7.0), I get the following errors:

Error in annotation processing: java.lang.NoClassDefError: javax/resource/cci/MessageListener

Class [ javax/resource/cci/Record] not found. Error while loading [ class...

I have tried including the Java EE 6 API Library in the ear /lib and this makes no difference.

Any suggestions?

Many thanks,
Ralph.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rr5
Offline
Joined: 2013-06-10

Just to add that I was using Glassfish 3.1.2.2 in both cases.

Thanks,
Ralph.