5 Replies Latest reply on Feb 27, 2002 9:18 PM by davidjencks

    3.0 Beta DB

    cepage

      I had no problem setting up a Sybase connection pool in the alpha release of jboss 3.0. But the beta is giving me problems. Here is the output message:

      14:32:20,981 INFO [ConnectionFactoryLoader] Creating
      14:32:21,001 INFO [ConnectionFactoryLoader] Created
      14:32:21,021 INFO [ConnectionFactoryLoader] Starting
      14:32:21,041 ERROR [SybaseDS] Starting failed
      javax.management.RuntimeOperationsException: Object name cannot be null
      at com.sun.management.jmx.MBeanServerImpl.isRegistered(MBeanServerImpl.j
      ava:1096)
      at org.jboss.resource.ConnectionFactoryLoader.startService(ConnectionFac
      toryLoader.java:429)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      60)
      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.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      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.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)

      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      60)
      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.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Unknown Source)
      14:32:21,822 ERROR [ServiceController] JMRuntimeException thrown during ServiceP
      roxy operation start on mbean jboss:service=ConnectionFactoryLoader,name=SybaseD
      S
      javax.management.RuntimeOperationsException: Object name cannot be null
      at com.sun.management.jmx.MBeanServerImpl.isRegistered(MBeanServerImpl.j
      ava:1096)
      at org.jboss.resource.ConnectionFactoryLoader.startService(ConnectionFac
      toryLoader.java:429)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      60)
      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.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      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.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)

      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      60)
      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.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Unknown Source)
      14:32:22,684 ERROR [SARDeployer] operation failed
      javax.management.RuntimeMBeanException: RuntimeException thrown in operation sta
      rt
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      40)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:777)
      at $Proxy2.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:341)
      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.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78)
      at $Proxy1.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.deploy(SARDeployer.java:257)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)

      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      60)
      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.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Unknown Source)
      14:32:23,355 ERROR [MainDeployer] could not deploy :file:/C:/beta/jboss/deploy/s
      ybase-default-service.xml
      org.jboss.deployment.DeploymentException: RuntimeException thrown in operation s
      tart; - nested throwable is: javax.management.RuntimeMBeanException: RuntimeExce
      ption thrown in operation start

      This is my sybase-default-service.xml file:

      <?xml version="1.0" encoding="UTF-8"?>



      ConnectionURL=jdbc:sybase:Tds:tehous99.pec.pel.com:9901/gt_mkt
      DriverClass=com.sybase.jdbc.SybDriver
      UserName=gaspl70
      Password=target

      SybaseDS
      java:/TransactionManager
      <mbean-ref name="ResourceAdapterName">JCA:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter</mbean-ref>
      <mbean-ref name="ConnectionManagerFactoryLoaderName">JCA:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory</mbean-ref>
      #
      #Wed Aug 15 16:17:29 EDT 2001
      MinSize=2
      MaxSize=10
      BlockingTimeoutMillis=5000
      IdleTimeoutMinutes=30
      CleanupIntervalMinutes=10
      MaxIdleTimeoutPercent=1.0


      org.jboss.resource.security.ManyToOnePrincipalMapping


      UserName=xxx
      Password=xxx


        • 1. Re: 3.0 Beta DB
          dsundstrom

          RTM. The spec driver spec has changed since the aplha.

          • 2. Re: 3.0 Beta DB
            zeroman

            That should work, for example.

            <!-- driver class must be available !!! -->




            ConnectionURL=jdbc:sybase:Tds:IP.IP.IP.IP:2510/registr
            DriverClass=com.sybase.jdbc2.jdbc.SybDriver
            UserName=xx
            Password=xx

            SybaseDS

            Other are the same.

            As I understood error is thrown then Driver class is not found or not loaded.

            javax.management.RuntimeOperationsException: Object name cannot be null...

            • 3. Re: 3.0 Beta DB
              davidjencks

              RTFM Its really in there

              XXX -NO- mbean-ref name=

              !!!!-YES- depends optional-attribute-name=

              or you could check the example files accessible from the online manual or many posts from people having this same problem

              • 4. Re: 3.0 Beta DB
                cepage

                Thanks for your help. I've purchased all the JBoss documentation, and I didn't even realize the free manual was still being maintained!

                • 5. Re: 3.0 Beta DB
                  davidjencks

                  Only by me for this jca stuff because I haven't gotten it together to write something more conclusive.