0 Replies Latest reply on Feb 21, 2002 10:00 AM by Scott Ferguson

    Rebuilding Pet Store 1.3-01 with JBoss patch

    Scott Ferguson Newbie

      I am trying to get Sun's Pet Shop example installed on JBoss-2.4.3 & Jetty-3.1.3. I installed the petstore1.3_01 source from Sun and copied in the "patch" that JBoss provides, jps112-01.zip.

      I am getting errors when I try to rebuild the petstore.ear:

      core:

      init:

      compile_util_classes:

      compile_classes:
      [javac] Compiling 3 source files to C:\petstore1.3_01\src\components\custome
      r\build\classes
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountLocalHome.java:43: Class com.sun.j2ee.blueprints.c
      ontactinfo.ejb.ContactInfoLocal not found in import.
      [javac] import com.sun.j2ee.blueprints.contactinfo.ejb.ContactInfoLocal;
      [javac] ^
      core:

      init:

      compile_util_classes:

      compile_classes:
      [javac] Compiling 3 source files to C:\petstore1.3_01\src\components\custome
      r\build\classes
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountLocalHome.java:43: Class com.sun.j2ee.blueprints.c
      ontactinfo.ejb.ContactInfoLocal not found in import.
      [javac] import com.sun.j2ee.blueprints.contactinfo.ejb.ContactInfoLocal;
      [javac] ^
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountLocalHome.java:44: Class com.sun.j2ee.blueprints.c
      reditcard.ejb.CreditCardLocal not found in import.
      [javac] import com.sun.j2ee.blueprints.creditcard.ejb.CreditCardLocal;
      [javac] ^
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountEJB.java:46: Class com.sun.j2ee.blueprints.contact
      info.ejb.ContactInfoLocal not found in import.
      [javac] import com.sun.j2ee.blueprints.contactinfo.ejb.ContactInfoLocal;
      [javac] ^
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountEJB.java:47: Class com.sun.j2ee.blueprints.contact
      info.ejb.ContactInfoLocalHome not found in import.
      [javac] import com.sun.j2ee.blueprints.contactinfo.ejb.ContactInfoLocalHome;

      [javac] ^
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountEJB.java:48: Class com.sun.j2ee.blueprints.creditc
      ard.ejb.CreditCardLocal not found in import.
      [javac] import com.sun.j2ee.blueprints.creditcard.ejb.CreditCardLocal;
      [javac] ^
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountEJB.java:49: Class com.sun.j2ee.blueprints.creditc
      ard.ejb.CreditCardLocalHome not found in import.
      [javac] import com.sun.j2ee.blueprints.creditcard.ejb.CreditCardLocalHome;
      [javac] ^
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountLocal.java:41: Class com.sun.j2ee.blueprints.conta
      ctinfo.ejb.ContactInfoLocal not found in import.
      [javac] import com.sun.j2ee.blueprints.contactinfo.ejb.ContactInfoLocal;
      [javac] ^
      [javac] C:\petstore1.3_01\src\components\customer\src\com\sun\j2ee\blueprint
      s\customer\account\ejb\AccountLocal.java:42: Class com.sun.j2ee.blueprints.credi
      tcard.ejb.CreditCardLocal not found in import.
      [javac] import com.sun.j2ee.blueprints.creditcard.ejb.CreditCardLocal;
      [javac] ^
      [javac] 8 errors

      BUILD FAILED

      C:\petstore1.3_01\src\components\customer\src\build.xml:59: Compile failed, messages should have been provided.

      Looking at the Ant build.xml files in some of the component dirs of petstore & the patch, it looks like the build.xml files have been updated and the patch build.xml's are no longer valid. Not surprising since the patch looks like it is for version 1.1.2.

      Has anyone found a solution for this? I don't know Ant (yet), and don't have time right now to learn it.

      Thanks for any help.
      saF