2 Replies Latest reply on Oct 3, 2011 11:02 AM by bosschaert

    Why bundle deployment is looking for Jboss TS ?

    spandit2

      Hello Folks,

       

      I have a bundle which hass been created using multiple jar files . Basically this was a java component before and now I am migrating it to OSGI bundle . This bundle does not have any database interaction and therefore does not use any transactions .

       

      However when I deploy this bundle , I get an error when it executes the Activator .

       

       

      13:09:04,578 DEBUG [org.jboss.osgi.framework.internal.ModuleManagerPlugin] (pool-7-thread-1) Cannot obtain bundle for: com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple

      13:09:04,593 DEBUG [org.jboss.osgi.framework.internal.ModuleManagerPlugin] (pool-7-thread-1) Cannot obtain bundle for: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate

       

      Why is it looking for Jboss TS ? And How can I resolve this ??

       

      Thanks for all the insights , below is detail exception.

       

      Sunil

       

       

      13:09:04,484 INFO  [org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore] (pool-7-thread-1) interfaces selected for export: [com.csc.eapp.formservice.service.FillFormService]

      13:09:04,484 INFO  [org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore] (pool-7-thread-1) configuration types selected for export: [org.apache.cxf.rs]

      13:09:04,484 INFO  [org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore] (pool-7-thread-1) creating initial ExportDescription for interface com.csc.eapp.formservice.service.FillFormService  with configuration types [org.apache.cxf.rs]

      13:09:04,484 INFO  [org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore] (pool-7-thread-1) creating server for interface com.csc.eapp.formservice.service.FillFormService

      13:09:04,500 INFO  [org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore] (pool-7-thread-1) found handler for com.csc.eapp.formservice.service.FillFormService  -> org.apache.cxf.dosgi.dsw.handlers.JaxRSPojoConfigurationTypeHandler@1a1ed04

      13:09:04,515 INFO  [org.apache.cxf.dosgi.dsw.handlers.JaxRSPojoConfigurationTypeHandler] (pool-7-thread-1) Creating a com.csc.eapp.formservice.service.FillFormService endpoint via JaxRSPojoConfigurationTypeHandler, address is http://localhost:9090/formService/forms/

      13:09:04,578 DEBUG [org.jboss.osgi.framework.internal.ModuleManagerPlugin] (pool-7-thread-1) Cannot obtain bundle for: javax.naming.InitialContext

      13:09:04,578 DEBUG [org.jboss.osgi.framework.internal.ModuleManagerPlugin] (pool-7-thread-1) Cannot obtain bundle for: com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple

      13:09:04,593 DEBUG [org.jboss.osgi.framework.internal.ModuleManagerPlugin] (pool-7-thread-1) Cannot obtain bundle for: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate

      13:09:04,593 ERROR [stderr] (pool-7-thread-1) Exception in thread "pool-7-thread-1" java.lang.NullPointerException

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.dsw.OsgiUtils.getVersion(OsgiUtils.java:593)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.dsw.handlers.AbstractConfigurationHandler.createEndpointProps(AbstractConfigurationHandler.java:121)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.dsw.handlers.JaxRSPojoConfigurationTypeHandler.createServer(JaxRSPojoConfigurationTypeHandler.java:129)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:245)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:78)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:71)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at java.security.AccessController.doPrivileged(Native Method)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:71)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:40)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyManager.java:259)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

       

      13:09:04,593 ERROR [stderr] (pool-7-thread-1)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto