2 Replies Latest reply on Mar 7, 2002 10:06 PM by Abhishek Banerjee

    JCA Connector Problem

    Abhishek Banerjee Newbie

      Hi,

      I am trying to deploy rar file in Jboss 2.4.3. The problem is it throws exception with hierarchical JNDI name like "insevo/eisConnectionFactory/sap" but its successfully bounds with flat JNDI name like only "insevo".

      Here is the running log from JBOSS console:

      RARDeployer] Attempting to deploy RAR at 'file:/D:/JBoss-2.4.3/deploy/lib/sapr3.rar'

      [insevo/sap] Using default value '2' for config property 'ConnectionTypeString'

      [insevo/sap] Using default value 'EN' for config property 'Language'

      [insevo/sap] Not setting config property 'MessageHost'

      [insevo/sap] Using default value '200' for config property 'Client'

      [insevo/sap] Not setting config property 'MessageServer'

      [insevo/sap] Not setting config property 'GatewayHost'

      [insevo/sap] Not setting config property 'RfcServerHost'

      [insevo/sap] Using default value 'jcoin' for config property 'UserName'

      [insevo/sap] Not setting config property 'RfcServerName'

      [insevo/sap] Using default value 'bluetit' for config property 'Password'

      [insevo/sap] Not setting config property 'Group'

      [insevo/sap] Using default value '00' for config property 'SystemNumber'

      [insevo/sap] Not setting config property 'GatewayService'

      [insevo/sap] Not setting config property 'ConnectionURL'

      [insevo/sap] Not setting config property 'R3name'

      [insevo/sap] Using default value 'nitrous' for config property 'ServerName'

      [Default] SAP ConnectionFactoryImpl >>>>>> Entering ConnectionFactoryImpl Constructor

      [Default] SAP ConnectionFactoryImpl >>>>>> Exiting ConnectionFactoryImpl Constructor

      [Default] SAP ConnectionFactoryImpl >>>>>> Entering SetReference with ref Reference Class Name: com.b2berp.ra.cci.ConnectionF

      actoryImpl

      [Default] SAP ConnectionFactoryImpl >>>>>> Exiting SetReference

      [insevo/sap] Unable to bind connection factory to JNDI name 'java:/insevo/sap'

      javax.naming.NameNotFoundException: insevo not bound

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)

      at org.jnp.server.NamingServer.bind(NamingServer.java:90)

      at org.jnp.interfaces.NamingContext.bind(NamingContext.java:314)

      at org.jnp.interfaces.NamingContext.bind(NamingContext.java:286)

      at javax.naming.InitialContext.bind(InitialContext.java:358)

      at org.jboss.resource.ConnectionFactoryLoader.loadConnectionFactory(ConnectionFactoryLoader.java:744)

      at org.jboss.resource.ConnectionFactoryLoader.handleNotification(ConnectionFactoryLoader.java:367)

      at com.sun.management.jmx.MBeanServerNotificationListener.handleNotification(MBeanServerNotificationListener.java:48)



      at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.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:1628)

      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

      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:1628)

      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.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:1628)

      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

      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)

      Here is the entry of my JBOSS.jcml file


      insevo/sap

      JCA:service=RARDeployer

      Insevo SAP R/3 Adapter



      MinervaNoTransCMFactory



      # Pool type - uncomment to force, otherwise it is the default

      #PoolConfiguration=per-factory

      # Connection pooling properties - see

      # org.jboss.pool.PoolParameters

      MinSize=0

      MaxSize=10

      Blocking=true

      GCEnabled=false

      IdleTimeoutEnabled=false

      InvalidateOnError=false

      TrackLastUsed=false

      GCIntervalMillis=120000

      GCMinIdleMillis=1200000

      IdleTimeoutMillis=1800000

      MaxIdleTimeoutPercent=1.0







      org.jboss.resource.security.ManyToOnePrincipalMapping





      userName=jcoin

      password=bluetit





      Any help would be greatly appreciated. Thanks in advance.