Hi,
I'm currently trying to deploy our application to glassfish (successfully running in OracleAS, JBOSS and SAP Netweaver). But after deployment the application scheduler (which tries to persist something) fails with the following exception:
java.lang.NullPointerException
at com.sun.appserv.util.cache.BaseCache.hash(BaseCache.java:192)
at com.sun.appserv.util.cache.BaseCache.get(BaseCache.java:313)
at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.getExistingResourceList(J2EETransactionManagerImpl.java:753)
at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.delistComponentResources(J2EETransactionManagerImpl.java:597)
at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.delistComponentResources(J2EETransactionManagerImpl.java:419)
at com.sun.enterprise.distributedtx.UserTransactionImpl.commit(UserTransactionImpl.java:179)
at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:781)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:496)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:126)
I googled a bit and in the spring forum someone says this has something to do with the glassfish transaction handling for non-EJB-stuff.
Is there anything I can do to get this fix or to get around this somehow?
A second issue seems to be spring is unable to load its configuration files, which are located in WEB-INF of one included war file (works fine on other app-server).
Kind Regards,
Ingo
[Message sent by forum member 'irockel' (irockel)]
http://forums.java.net/jive/thread.jspa?messageID=213919