3 Replies Latest reply on Feb 27, 2002 2:16 PM by Adrian Brock

    Pet store installation

    dennie Newbie

      Hello people,

      I've downloaded the JBoss 2.4.4 with the tomcat webcontainer. I purchased the documentation from flashline and now I've configured jboss correctly (it runs great).
      Now I like to install suns petstore j2ee example. I've downloaded it from sun and applied the patch from jboss as told in the petstore documentation. The first problems where that I needed j2ee.jar but thanks to Adrian (who also pointed me thos this forum) I solved it by using jboss-j2ee.jar. But now it keeps complainting about missing classes. These are some errors I got:

      /var/www/programs/petstore-example/jps1.1.2/src/components/mail/src/com/sun/j2ee/blueprints/mail/ejb/MailHelper.java:16: Class javax.mail.Transport not found in import.
      import javax.mail.Transport;
      ^
      /var/www/programs/petstore-example/jps1.1.2/src/components/mail/src/com/sun/j2ee/blueprints/mail/ejb/MailHelper.java:17: Class javax.mail.Session not found in import.
      import javax.mail.Session;
      ^
      /var/www/programs/petstore-example/jps1.1.2/src/components/mail/src/com/sun/j2ee/blueprints/mail/ejb/MailHelper.java:18: Class javax.mail.Multipart not found in import.
      import javax.mail.Multipart;
      ^
      /var/www/programs/petstore-example/jps1.1.2/src/components/mail/src/com/sun/j2ee/blueprints/mail/ejb/MailHelper.java:19: Class javax.mail.internet.MimeMultipart not found in import.
      import javax.mail.internet.MimeMultipart;
      ^
      /var/www/programs/petstore-example/jps1.1.2/src/components/mail/src/com/sun/j2ee/blueprints/mail/ejb/MailHelper.java:20: Class javax.mail.internet.MimeBodyPart
      not found in import.
      import javax.mail.internet.MimeBodyPart;

      I hope this makes my problem clear (I think I have to define some jar files in some build.xml file but I don't know where to find and or place them)

      Thanks in advance,

      Greetz Dencel