3 Replies Latest reply on Jul 27, 2002 6:53 PM by davidjencks

    Sybase DataSource no longer deploying, 3.0 -> 3.0.1RC1

    zampetti

      Anyone have any idea why my Sybase DataSource would stop deploying when I move from 3.0 to 3.0.1RC1?

      Here is the error:

      2002-07-26 15:41:09,928 WARN [org.jboss.system.ServiceController] jboss.jca:service=LocalTxDS,name=IRSosStatsDB does not implement any Service methods
      2002-07-26 15:41:09,930 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Creating
      2002-07-26 15:41:09,930 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Created
      2002-07-26 15:41:09,933 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Starting
      2002-07-26 15:41:09,934 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Started
      2002-07-26 15:41:09,935 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/usr/people/zampetti/jboss-3.0.1RC1/server/default/deploy/sybase-service.xml
      2002-07-26 15:41:09,936 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] 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=IRSosStatsDB
      state: CONFIGURED
      I Depend On: jboss.jca:service=LocalTxDS,name=IRSosStatsDB
      jboss.jca:service=LocalTxPool,name=IRSosStatsDB
      jboss.jca:service=CachedConnectionManager
      jboss.security:name=JaasSecurityManager
      jboss.jca:service=RARDeployer

      Depends On Me: ]


      Here is my -service.xml file, which worked fine on 3.0.

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

      <!-- ===================================================================== -->
      <!-- -->
      <!-- JBoss Server Configuration -->
      <!-- -->
      <!-- ===================================================================== -->



      <!-- ======================================================================-->
      <!-- New ConnectionManager setup for Sybase ASE/ASA jConnect driver -->
      <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
      <!-- ===================================================================== -->



      <!--uncomment out this line if you are using the SybaseDSRealm above
      IRSosStatsDbRealm
      -->

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


      jdbc/IRSosStatsDB



      <config-property name="ConnectionURL" type="java.lang.String">
      jdbc:sybase:Tds:host:3106/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:name=JaasSecurityManager


      java:/TransactionManager

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




        • 1. Re: Sybase DataSource no longer deploying, 3.0 -> 3.0.1RC1
          davidjencks

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


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


          This was announced in several places, this exact change has been mentioned in many posts to forums and the mainling lists and I updated the configuration file examples in cvs. I would appreciate suggestions as to what could have been done so you, in particular, would have found this information.

          • 2. Re: Sybase DataSource no longer deploying, 3.0 -> 3.0.1RC1
            zampetti

            David,

            I'm fairly new to jBoss, so I'm still trying to understand how all of the config files work. I don't really know where to look for announcements for changes like the one you mentioned. I have to admit, the information on using jBoss is quite disjointed.

            One suggestion would be to have a Release Notes or something that specifies all of the changes in a particular release, including things like config-file changes.
            I think right now, there is too much reliance on people getting things from CVS. The distribution should have things like the docs, etc., instead of saying "build jboss" to get things like the JavaDoc, etc.

            I agree that the question has probably been answered before (as almost all questions are), but I did some looking and didn't see anything. Obviously, I need to do a better job of looking for these things.

            Thanks for you quick response.

            • 3. Re: Sybase DataSource no longer deploying, 3.0 -> 3.0.1RC1
              davidjencks

              Sorry for the harsh tone, I'm really curious what would work to get info out. I don't really like writing documentation and when I do I don't know how to make it effective and findable. Better release notes would probably be good, but might require a lot of time to write.

              In any case, could you send me your config file as an attachment so I could add it to the examples in cvs?

              Thanks (too lazy to redo the formatting from the forum...)

              david jencks
              davidjencks@directvinternet.com