0 Replies Latest reply on Feb 21, 2002 12:05 PM by Qiming He

    JBoss3.0alpha + Oracle8i

    Qiming He Newbie

      Have anybody had any luck w/ JBoss3.0alpha + Oracle8i

      Here is my configuration and errors:
      1. under $JBOSS/deploy create oracleds-service.xml
      <?xml version="1.0" encoding="UTF-8" ?>
      -

      -
      ConnectionURL=jdbc:oracle:thin:@192.168.1.250:1521:mdlogix DriverClass=oracle.jdbc.driver.OracleDriver
      OracleDS
      java:/TransactionManager
      <depends optional-attribute-name="ResourceAdapterName">jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter
      <depends optional-attribute-name="ConnectionManagerFactoryLoaderName">jboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory
      # #Wed Aug 15 16:17:29 EDT 2001 BlockingTimeoutMillis=50000 IdleTimeoutMinutes=30 MaxSize=10 CleanupIntervalMinutes=10 MinSize=0 MaxIdleTimeoutPercent=1.0
      org.jboss.resource.security.ManyToOnePrincipalMapping
      userName=scott password=tiger



      2. put classes12.zip under $JBOSS/lib/ext
      3. in standardjaws.xml and standardjbosscmp-jdbc.xml
      change defaultDS to OracleDS and Hypersonic SQL to Oracle8
      java:/OracleDS
      <type-mapping>Oracle8</type-mapping>
      false

      Here is my error:
      [2002-02-21 12:01:03,986,Configurator,DEBUG] TransactionManagerName set to java:/TransactionManager in DefaultDomain:service=ConnectionFactoryLoader,name=OracleDS
      [2002-02-21 12:01:04,026,ServiceController,ERROR] Could not configure MBean: DefaultDomain:service=ConnectionFactoryLoader,name=OracleDS
      java.lang.NullPointerException
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:225)
      at org.jboss.system.ServiceController.deploy(ServiceController.java:215)
      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.deployment.ServiceDeployer.invoke(ServiceDeployer.java:732)
      at org.jboss.deployment.ServiceDeployer.addMBeans(ServiceDeployer.java:668)
      at org.jboss.deployment.ServiceDeployer.deploy(ServiceDeployer.java:215)
      at org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.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.deployment.AutoDeployer.deploy(AutoDeployer.java:654)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:327)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:509)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:117)
      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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:775)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:479)
      at org.jboss.system.ServiceController.registerAndStartService(ServiceController.java:273)
      at org.jboss.system.ServiceController.deploy(ServiceController.java:257)
      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.deployment.ServiceDeployer.invoke(ServiceDeployer.java:732)
      at org.jboss.deployment.ServiceDeployer.addMBeans(ServiceDeployer.java:668)
      at org.jboss.deployment.ServiceDeployer.deploy(ServiceDeployer.java:215)
      at org.jboss.deployment.DeployerMBeanSupport.deploy(DeployerMBeanSupport.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.Main.(Main.java:199)
      at org.jboss.Main$1.run(Main.java:411)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:406)
      [2002-02-21 12:01:04,167,ServiceDeployer,ERROR] Runtime Mbean exception while executing deploy on [Ljava.lang.Object;@50a649



      Thanks

      Qiming