1 Reply Latest reply on Feb 11, 2002 5:30 AM by sjus00

    trouble deploying petstore

    burnsanthony

      problem one
      when I build the petstore I get an error
      [error] No local string for componentpackager.msg012
      [exec] Creation of application in ../build/petstore.ear is complete
      Executing Target: runtime
      [error] No local string for enterprise.deployment.application.description
      [error] No local string for componentpackager.msg013
      [exec] Set runtime done
      [error] No local string for enterprise.deployment.application.description
      [error] No local string for componentpackager.msg013
      [exec] Set runtime done
      Executing Target: core
      Completed in 35 seconds

      problem two
      I dont understand steps 7 or 8 from the HTML documentation
      http://www.jboss.org/online-manual/HTML/ch14s02.html

      7
      Prepare the Database

      Modify the Cloudscape startup command to use port 1098.

      You do this by adding -port port_number. For example:

      java ... RmiJdbc.RJJdbcServer -port 1098 COM.cloudscape.core.JDBCDriver
      Start Cloudscape.

      8
      Add JARS to JBoss

      Copy your DB driver JAR to the lib/ext directory of your JBoss installation ($JBOSS_HOME).

      For Cloudscape, copy client.jar and RmiJdbc.jar to the lib/ext directory.

      Copy tools.jar from the J2 SDK to the lib/ext directory of your JBoss installation ($JBOSS_HOME).

      THANKS FOR ANY HELP

        • 1. Re: trouble deploying petstore
          sjus00

          you could configure Databases for the petstore by trying this:

          <!-- Datenbanken Estore und Inventory für Beispielapplikation Petstore (sun, jboss) -->

          1477
          false
          HyperEstore
          false



          EstoreDB
          org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

          jdbc:hsqldb:hsql://localhost:1477
          1200000
          sa
          10

          false
          false
          false
          true
          120000
          1800000
          false
          false
          1.0
          0





          1478
          false
          HyperInventory
          false



          InventoryDB
          org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

          jdbc:hsqldb:hsql://localhost:1478
          1200000
          sa
          10

          false
          false
          false
          true
          120000
          1800000
          false
          false
          1.0
          0




          (the upper parts of the MBeans should be added to jboss\conf\tomcat\jboss.jcml after:

          <!-- ==================================================================== -->
          <!-- JDBC -->
          <!-- ==================================================================== -->

          org.hsqldb.jdbcDriver







          In this way you don't use Cloudscape, but you use the Database Hypersonic "from" Jboss (everything will be saved in jboss/db/hypersonic => HyperEstore and HyperInventory)

          Hope this helps!
          Sjus