0 Replies Latest reply on Mar 6, 2002 5:47 PM by Abhishek Banerjee

    JCA Connector Problem

    Abhishek Banerjee Newbie

      Hi,

      I am trying to deploy a JCA SAP connector in JBOSS 2.4.3. I put the rar file in deploy/lib directory and made an entry in JBOSS.jcml file as follows

      <!-- Insevo SAP Resource adapter, use this to get transacted JMS in beans -->

      insevo
      JCA:service=RARDeployer
      Insevo SAP R/3 Adapter
      MinervaNoTransCMFactory
      <!-- See the documentation for the specific connection manager
      implementation you are using for the properties you can set -->


      <!-- Principal mapping configuration -->
      org.jboss.resource.security.ManyToOnePrincipalMapping

      userName=jcoin
      password=bluetit



      I am getting the followig exception in starting JBOSS..

      [AutoDeployer] Auto deploy of file:/C:/JBoss-2.4.3/deploy/lib/sapr3.rar
      [RARDeployer] Attempting to deploy RAR at 'file:/C:/JBoss-2.4.3/deploy/lib/sapr3
      .rar'
      [insevo] Using default value '2' for config property 'ConnectionTypeString'
      [insevo] Using default value 'EN' for config property 'Language'
      [insevo] Not setting config property 'MessageHost'
      [insevo] Using default value '200' for config property 'Client'
      [insevo] Not setting config property 'MessageServer'
      [insevo] Not setting config property 'GatewayHost'
      [insevo] Not setting config property 'RfcServerHost'
      [insevo] Using default value 'jcoin' for config property 'UserName'
      [insevo] Not setting config property 'RfcServerName'
      [insevo] Using default value 'bluetit' for config property 'Password'
      [insevo] Not setting config property 'Group'
      [insevo] Using default value '00' for config property 'SystemNumber'
      [insevo] Not setting config property 'GatewayService'
      [insevo] Not setting config property 'ConnectionURL'
      [insevo] Not setting config property 'R3name'
      [insevo] Using default value 'nitrous' for config property 'ServerName'
      [insevo] Problem loading or unloading connection factory
      java.lang.NullPointerException
      at org.jboss.resource.ConnectionFactoryLoader.loadConnectionFactory(Conn
      ectionFactoryLoader.java:695)
      at org.jboss.resource.ConnectionFactoryLoader.handleNotification(Connect
      ionFactoryLoader.java:367)
      at com.sun.management.jmx.MBeanServerNotificationListener.handleNotifica
      tion(MBeanServerNotificationListener.java:48)
      at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
      ficationBroadcasterSupport.java:142)
      at org.jboss.resource.RARDeployer.deploy(RARDeployer.java:346)
      at org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport
      .java:70)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
      at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107
      )
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Conf
      igurationService.java:836)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.Main.(Main.java:221)
      at org.jboss.Main$1.run(Main.java:127)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:123)
      [AutoDeployer] Started


      Thanks in adavance, any help would be really appreciated.

      -Abhishek