Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2075

Tuxedo JCA Adapter fails to deploy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.0.CR1
    • 7.1.0.Alpha1
    • JCA, Naming
    • None
    • Hide

      Download the Adapter from http://www.oracle.com/technetwork/middleware/tuxedo/downloads/index.html
      Name it tuxedoadapter.rar and put it to the deployments-directory
      Add the following to the standalone.xml:
      <resource-adapter>
      <archive>
      tuxedoadapter.rar
      </archive>
      <transaction-support>
      NoTransaction
      </transaction-support>
      <connection-definitions>
      <connection-definition class-name="com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory" jndi-name="java:jboss/jca/tuxedo" enabled="true" use-java-context="false"/>
      </connection-definitions>
      </resource-adapter>

      You don't need Tuxedo to reproduce the problem.

      Show
      Download the Adapter from http://www.oracle.com/technetwork/middleware/tuxedo/downloads/index.html Name it tuxedoadapter.rar and put it to the deployments-directory Add the following to the standalone.xml: <resource-adapter> <archive> tuxedoadapter.rar </archive> <transaction-support> NoTransaction </transaction-support> <connection-definitions> <connection-definition class-name="com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory" jndi-name="java:jboss/jca/tuxedo" enabled="true" use-java-context="false"/> </connection-definitions> </resource-adapter> You don't need Tuxedo to reproduce the problem.

    Description

      Deploying the Oracle Tuxedo JCA Adapter leads to the following Exception:

      Caused by: java.lang.UnsupportedOperationException: Naming context is read-only
      at org.jboss.as.naming.NamingContext.createSubcontext(NamingContext.java:318)
      at javax.naming.InitialContext.createSubcontext(InitialContext.java:464) [:1.6.0_24]
      at com.oracle.tuxedo.adapter.tja.TJAService.startTJAService(TJAService.java:271)
      at com.oracle.tuxedo.adapter.TuxedoAdapterSupervisor._registerResourceAdapter(TuxedoAdapterSupervisor.java:426)
      at com.oracle.tuxedo.adapter.TuxedoAdapterSupervisor.registerResourceAdapter(TuxedoAdapterSupervisor.java:303)
      at com.oracle.tuxedo.adapter.TuxedoResourceAdapter.start(TuxedoResourceAdapter.java:78)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
      at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.startContext(AbstractResourceAdapterDeployer.java:342)
      ... 8 more

      Remarks: The Adapter worked on JBoss 4,5 and 6. The Problem seems to be related to https://issues.jboss.org/browse/AS7-421

      Attachments

        Activity

          People

            johnbailey_jira John Bailey (Inactive)
            erhard.siegl@gepardec.com Erhard Siegl (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: