[jboss-osgi-issues] [JBoss JIRA] Created: (JBOSGI-325) JTA example cannot run without implicit boot delegation

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu May 6 10:07:06 EDT 2010


JTA example cannot run without implicit boot delegation
-------------------------------------------------------

                 Key: JBOSGI-325
                 URL: https://jira.jboss.org/jira/browse/JBOSGI-325
             Project: JBoss OSGi
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Thomas Diesler
             Fix For:  JBossOSGi 1.0.x


jboss-osgi-felix.properties cannot contain

# Felix config properties 
felix.bootdelegation.implicit=false

-------------------------------------------------------------------------------
Test set: org.jboss.test.osgi.example.jta.TransactionTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.837 sec <<< FAILURE!
testUserTransaction(org.jboss.test.osgi.example.jta.TransactionTestCase)  Time elapsed: 1.803 sec  <<< ERROR!
org.osgi.framework.BundleException: Activator start error in bundle jboss-osgi-jta [8].
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1803)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1678)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
	at org.jboss.osgi.testing.internal.EmbeddedBundle.startInternal(EmbeddedBundle.java:140)
	at org.jboss.osgi.testing.internal.OSGiBundleImpl.start(OSGiBundleImpl.java:61)
	at org.jboss.osgi.spi.capability.Capability.start(Capability.java:221)
	at org.jboss.osgi.testing.internal.OSGiRuntimeImpl.addCapability(OSGiRuntimeImpl.java:102)
	at org.jboss.osgi.testing.internal.EmbeddedRuntime.addCapability(EmbeddedRuntime.java:169)
	at org.jboss.test.osgi.example.jta.TransactionTestCase.setUp(TransactionTestCase.java:73)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        ...
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider org.jboss.osgi.xml.DocumentBuilderFactoryImpl not found
	at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:129)
	at com.arjuna.common.internal.util.propertyservice.plugins.io.XMLFilePlugin.<clinit>(XMLFilePlugin.java:352)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at com.arjuna.common.internal.util.propertyservice.PropertyManagerImpl.load(PropertyManagerImpl.java:357)
	at com.arjuna.ats.jta.common.jtaPropertyManager.<clinit>(jtaPropertyManager.java:67)
	at com.arjuna.ats.jta.utils.JNDIManager.getTransactionManagerImplementationClassname(JNDIManager.java:72)
	at com.arjuna.ats.jta.TransactionManager.transactionManager(TransactionManager.java:93)
	at com.arjuna.ats.jta.TransactionManager.transactionManager(TransactionManager.java:76)
	at org.jboss.osgi.jta.internal.TransactionServiceActivator.start(TransactionServiceActivator.java:61)
	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661)
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1756)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list