1 Reply Latest reply on Dec 12, 2002 2:14 AM by Muraly

    sybase-service.xml with jconnect4_2 in JBoss3.0.4

    Muraly Newbie

      Hi,
      I am using JBoss-3.0.4.
      I have my sybase-service.xml placed in default\deploy folder.
      But during startup I get the following Error message.

      ERROR 11/Dec/2002 22:29:23 [main] (Logger.java:185): scanner.URLDeploymentScanner - MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.jca:service=LocalTxCM,name=SybaseDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=LocalTxDS,name=SybaseDS
      jboss.jca:service=LocalTxPool,name=SybaseDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer

      Depends On Me: ]

      I have been using JBoss-3.0.0, and I have used the same sybase-service.xml there. There everything goes fine.

      In Jboss-3.0.0 I can see the message 'java:/SybaseDS' bound. In JBoss-3.0.4, its not there.

      Any Suggestion and guidelines would be really helpfull.

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





      <depends optional-attribute-name="ManagedConnectionFactoryName">
      <!--embedded mbean-->


      jdbc/SybaseDB



      <config-property name="ConnectionURL" type="java.lang.String">
      jdbc:sybase:Tds:host.at.some.domain:5000/db_name?JCONNECT_VERSION=6
      </config-property>
      <config-property name="DriverClass" type="java.lang.String">
      com.sybase.jdbc2.jdbc.SybDataSource
      </config-property>
      <config-property name="UserName" type="java.lang.String">
      username
      </config-property>
      <config-property name="Password" type="java.lang.String">
      password
      </config-property>



      <!--Below here are advanced properties -->
      <!--hack-->
      <depends optional-attribute-name="OldRarDeployment">
      jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper




      <depends optional-attribute-name="ManagedConnectionPool">
      <!--embedded mbean-->


      0
      10
      5000
      15
      ByContainer



      <depends optional-attribute-name="CachedConnectionManager">
      jboss.jca:service=CachedConnectionManager


      <depends optional-attribute-name="JaasSecurityManagerService">
      jboss.security:service=JaasSecurityManager


      java:/TransactionManager

      <!--make the rar deploy! hack till better deployment-->
      jboss.jca:service=RARDeployer





      Also I tried placing sybase.jar in default/lib, but same result.

      Cheers
      Muraly