1 Reply Latest reply on Aug 11, 2003 7:57 AM by mpfeifer

    petstore cloudscape data source configuration?

    cliffwei Newbie

      hi, I am trying to deploy petstore1.3 on jboss-3.2
      with tomcat , and I got the following errors:

      Starting deployment of package: file:/usr/local/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/petstore-ds.xml
      13:21:26,487 INFO [XSLSubDeployer] transformed into doc: [#document: null]
      13:21:26,526 INFO [ServiceConfigurator] Problem configuring service jboss.jca:service=LocalTxDS,name=jdbc/petstore/PetStoreDB
      org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:176)
      at org.jboss.system.ServiceConfigurator.processDependency(ServiceConfigurator.java:437)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:350)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:176)






      here is the petstore_ds.xml file:

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

      <!-- Datasources used for Petstore -->





      <depends optional-attribute-name="ManagedConnectionFactoryName">


      jdbc/petstore/PetStoreDB


      <config-property name="ConnectionURL" type="java.lang.String">jdbc:sybase:Tds:localhost:2638/PetStoreDB</config-property>
      <config-property name="DriverClass" type="java.lang.String">com.sybase.jdbc2.jdbc.SybDriver</config-property>
      <config-property name="UserName" type="java.lang.String">dba</config-property>
      <config-property name="Password" type="java.lang.String">sql</config-property>


      <depends optional-attribute-name="OldRarDeployment">
      jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper





      <depends optional-attribute-name="ManagedConnectionPool">


      1
      50
      5000
      15
      ByContainer




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

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

      java:/TransactionManager

      jboss.jca:service=RARDeployer





      <depends optional-attribute-name="ManagedConnectionFactoryName">


      jdbc/supplier/SupplierDB


      <config-property name="ConnectionURL" type="java.lang.String">jdbc:sybase:Tds:localhost:2638/SupplierDB</config-property>
      <config-property name="DriverClass" type="java.lang.String">com.sybase.jdbc2.jdbc.SybDriver</config-property>
      <config-property name="UserName" type="java.lang.String">dba</config-property>
      <config-property name="Password" type="java.lang.String">sql</config-property>


      <depends optional-attribute-name="OldRarDeployment">
      jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper





      <depends optional-attribute-name="ManagedConnectionPool">


      1
      50
      5000
      15
      ByContainer




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

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

      java:/TransactionManager

      jboss.jca:service=RARDeployer





      <depends optional-attribute-name="ManagedConnectionFactoryName">


      jdbc/opc/OPCDB


      <config-property name="ConnectionURL" type="java.lang.String">jdbc:sybase:Tds:localhost:2638/OPCDB</config-property>
      <config-property name="DriverClass" type="java.lang.String">com.sybase.jdbc2.jdbc.SybDriver</config-property>
      <config-property name="UserName" type="java.lang.String">dba</config-property>
      <config-property name="Password" type="java.lang.String">sql</config-property>


      <depends optional-attribute-name="OldRarDeployment">
      jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper





      <depends optional-attribute-name="ManagedConnectionPool">


      1
      50
      5000
      15
      ByContainer




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

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

      java:/TransactionManager

      jboss.jca:service=RARDeployer






      PLease help me!. I am really confused now, have wasted a lot if time here

      MUCH APPRECIATED