JBoss-ts 4.9.0.GA failing in standalone?
sannegrinovero Jan 22, 2010 8:10 AMHello,
I'm using JBossStandaloneJTAManagerLookup as transaction manager in a standalone application using Infinispan,
you can get it on JBoss's SVN where it was contributed as one of the Infinispan demos in Infinispan/trunk/demos/lucene-directory
(sorry there was no test covering this, so this slipped in; to verify you'll have to start it and try adding a new line of text)
This trivial application was working correctly when using version 4.6.0.GA but the Infinispan is now recommending the switch to 4.9.0.GA, which results in this exception:
FATAL com.arjuna.ats.jts.logging.loggerI18N - [com.arjuna.ats.internal.jts.ORBManager] The ORB has not been initialized yet
Exception in thread "main" com.arjuna.ats.arjuna.exceptions.FatalError
at com.arjuna.ats.internal.jts.ORBManager.getPOA(ORBManager.java:94)
at com.arjuna.ats.internal.jts.OTSImpleManager.<clinit>(OTSImpleManager.java:332)
at com.arjuna.ats.internal.jta.transaction.jts.TransactionImple.getTransaction(TransactionImple.java:1239)
at com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple.getTransaction(TransactionManagerImple.java:74)
at org.infinispan.context.InvocationContextContainerImpl.getRunningTx(InvocationContextContainerImpl.java:147)
at org.infinispan.context.InvocationContextContainerImpl.createInvocationContext(InvocationContextContainerImpl.java:57)
at org.infinispan.CacheDelegate.getInvocationContext(CacheDelegate.java:287)
at org.infinispan.CacheDelegate.get(CacheDelegate.java:199)
at org.infinispan.lucene.InfinispanDirectory.getFileList(InfinispanDirectory.java:220)
at org.infinispan.lucene.InfinispanDirectory.list(InfinispanDirectory.java:96)
at org.infinispan.lucene.InfinispanDirectory.listAll(InfinispanDirectory.java:263)
at org.apache.lucene.index.SegmentInfos.getCurrentSegmentGeneration(SegmentInfos.java:149)
at org.apache.lucene.index.IndexReader.indexExists(IndexReader.java:915)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1519)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1234)
at org.infinispan.lucenedemo.DemoActions.addNewDocument(DemoActions.java:99)
at org.infinispan.lucenedemo.DemoDriver.insertNewText(DemoDriver.java:70)
at org.infinispan.lucenedemo.DemoDriver.run(DemoDriver.java:129)
at org.infinispan.lucenedemo.DemoDriver.main(DemoDriver.java:46)
Do I have a wrong configuration?
This is all there is as configuration, very simple: