1 Reply Latest reply on Jun 2, 2010 2:24 PM by jesper.pedersen

    Can JBoss JCA 1.0.0.Alpha11 support JCA 1.5 Adapter ?

      I tried to deploy one JCA 1.5 Adapter RAR file to the JBoss JCA 1.0.0.Alpha11, but failed with the following error:

       

      Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
          at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
          at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

       

      Is it because the RAR file does not follow JCA 1.6 Spec ?

        • 1. Re: Can JBoss JCA 1.0.0.Alpha11 support JCA 1.5 Adapter ?
          jesper.pedersen

          Looks like the naming configuration isn't found by the RA. The configuration is located in

           

          config/jndi.properties
          

           

          in the distribution.

           

          Try and see if you can debug what goes wrong and post a bug report with a sample resource adapter which shows the problem in our JIRA installation, as JCA 1.5 resource adapter are supported by the project.

           

          Thanks.

           

          PS: These types of questions belongs in the user forum.