[JBoss-user] Re: PetStore
Hey Simon - Thanks for your reply. It sounds like both you and Faisal are much farther along in the process since you're getting runtime errors; at this point, I can't even build due to missing security classes, etc. Did you have similar problems building, and if so, how did you work around them? For example, do you know which jar files, etc the security classes are found? ( (org.jboss.security.SecurityAssociation, org.jboss.security.SimplePrincipal, etc). The Petstore patch installs the file $PET_STORE\src\petstore\src\com\sun\j2ee\blueprints\petstore\util\JBossSecur ityAdapter.java, which imports the missing classes. Do the JBoss docs adequately explain the migration path to the new security code? - perhaps I've answered my own question here on how to solve this problem... - Holten - Original Message - From: "Simon Moses" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 3:58 AM Subject: RE: [JBoss-user] Petstore deployed on JBoss 2.2.* ?? > Hi there Holten, > > I have been trying to get jps1.1.2 to work on JBoss2.2.1. I currently have > a build of the jps that will deploy without errors. However, I am having > some jndi problems with one of the ejbs. If you want further information I > could send you the modifications I have made. > > > Cheers, > Simon. > --__--__-- Message: 3 From: "Faisal Abdallah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [JBoss-user] Petstore deployed on JBoss 2.2.* ?? Date: Fri, 22 Jun 2001 08:16:46 +0100 Reply-To: [EMAIL PROTECTED] hi Me too I am having the same pb with ejb bounding :This is what I get so far Server Error ejb not bound Oops! Your request cannot be completed. The server got the following error. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] RE: petstore 1.1.2, do tell! Please!
I'm trying to use MySQL so any example would help! Maarten - Original Message - From: "Ganasen Gounden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 9:36 AM Subject: [JBoss-user] RE: petstore 1.1.2, do tell! Please! Hello I have installed Jboss on Windows NT/2000 successfully. I have also installed the j2ee reference implementation version 1.2.1 with jdk 1.3.1 with Petstore 1.1.2 and cloudscape database. All works fine. I now need to install the Petstore 1.1.2 Application on Jboss. I would ultimately want the database to be in Oracle but for now cloudscape will do. Could someone please provide me with a step by step guideline on how to do this. Also please provide me all the configuration files. This is a fresh installation so I do not have to worry about overriding anything. The existing information is confusing or incomplete or refers to the older version. I am also new to J2ee. My recommendation is that the Jboss developers have a working version of the product bundled into the download. It will help me and others save a lot of problems in trying to get a j2ee sample application running quick and easily. Please realise that many of us do these downloads for evaluation and demonstration to our management. It is very disappointing when we have to battle in doing this. I have had a bash at Jboss, Enhydra, In-q-my, Oracle 9ias, Jrun, and now Orion. They all have similar challenges in getting Pet Store up and running. I do not mean to be a nag but many thanks in advance if you can help. Regards Gan Gounden City of Cape Town Ph (021) 400-2174 Fax (021) 425-1096 Cell 083-63-59-268 e-mail: [EMAIL PROTECTED] Gan Gounden City of Cape Town Ph (021) 400-2174 Fax (021) 425-1096 Cell 083-63-59-268 e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 05/19/01 03:55AM >>> Hell yeah! I've been trying to do this (with Cloudscape) all week. Please fill us in on the details! (any and all config files would be great too!) Thanks! Jonah > I have managed to successfully deploy petstore 1.1.2 >on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database. >If anyone is interested, I'm willing to share what I've done. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ** Any unauthorized use and interception of this e-mail is illegal. If this e-mail is not intended for you, you may not copy, distribute or disclose the contents to anyone. This e-mail does not give rise to any binding legal obligations upon the City of Cape Town unless the City of Cape Town subsequently confirms the content in writing non-electronically. This e-mail may be confidential, legally privileged or otherwise protected by law. Unauthorised disclosure or copying of any or all of it may be unlawful. If you receive this e-mail in error please notify the sender and delete the message ** ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] RE: petstore 1.1.2, do tell! Please!
Hello I have installed Jboss on Windows NT/2000 successfully. I have also installed the j2ee reference implementation version 1.2.1 with jdk 1.3.1 with Petstore 1.1.2 and cloudscape database. All works fine. I now need to install the Petstore 1.1.2 Application on Jboss. I would ultimately want the database to be in Oracle but for now cloudscape will do. Could someone please provide me with a step by step guideline on how to do this. Also please provide me all the configuration files. This is a fresh installation so I do not have to worry about overriding anything. The existing information is confusing or incomplete or refers to the older version. I am also new to J2ee. My recommendation is that the Jboss developers have a working version of the product bundled into the download. It will help me and others save a lot of problems in trying to get a j2ee sample application running quick and easily. Please realise that many of us do these downloads for evaluation and demonstration to our management. It is very disappointing when we have to battle in doing this. I have had a bash at Jboss, Enhydra, In-q-my, Oracle 9ias, Jrun, and now Orion. They all have similar challenges in getting Pet Store up and running. I do not mean to be a nag but many thanks in advance if you can help. Regards Gan Gounden City of Cape Town Ph (021) 400-2174 Fax (021) 425-1096 Cell 083-63-59-268 e-mail: [EMAIL PROTECTED] Gan Gounden City of Cape Town Ph (021) 400-2174 Fax (021) 425-1096 Cell 083-63-59-268 e-mail: [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 05/19/01 03:55AM >>> Hell yeah! I've been trying to do this (with Cloudscape) all week. Please fill us in on the details! (any and all config files would be great too!) Thanks! Jonah > I have managed to successfully deploy petstore 1.1.2 >on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database. >If anyone is interested, I'm willing to share what I've done. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ** Any unauthorized use and interception of this e-mail is illegal. If this e-mail is not intended for you, you may not copy, distribute or disclose the contents to anyone. This e-mail does not give rise to any binding legal obligations upon the City of Cape Town unless the City of Cape Town subsequently confirms the content in writing non-electronically. This e-mail may be confidential, legally privileged or otherwise protected by law. Unauthorised disclosure or copying of any or all of it may be unlawful. If you receive this e-mail in error please notify the sender and delete the message ** ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] RE: petstore 1.1.2, do tell!
Ok, I finally got around to do it. The attached zip file contains all files that I changed/added to make petstore work. Since I wanted to use Hypersonic, I had to replace CatalogDAOImpl and OrderDAOImpl with slightly modified version (CatalogDAOHypersonic and OrderDAOHypersonic). The instructions are similar to the 1.1.1 version so you can refer to jboss documention for more info. --- Jonah Peskin <[EMAIL PROTECTED]> wrote: > Hell yeah! I've been trying to do this (with Cloudscape) all week. Please > fill us in on the details! (any and all config files would be great too!) > > Thanks! > > Jonah > > > I have managed to successfully deploy petstore 1.1.2 > >on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database. > >If anyone is interested, I'm willing to share what I've done. > > = Cuong Q. Tran <[EMAIL PROTECTED]> __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ jps1.1.2-change.zip
[JBoss-user] RE: petstore 1.1.2, do tell!
Hell yeah! I've been trying to do this (with Cloudscape) all week. Please fill us in on the details! (any and all config files would be great too!) Thanks! Jonah > I have managed to successfully deploy petstore 1.1.2 >on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database. >If anyone is interested, I'm willing to share what I've done. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: petstore 1.1.2 deployed successfully (Cuong Tran)
Can you please provide the detailed steps of doing this? Thanks > Message: 9 > Date: Fri, 18 May 2001 14:12:36 -0700 (PDT) > From: Cuong Tran <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [JBoss-user] petstore 1.1.2 deployed successfully > Reply-To: [EMAIL PROTECTED] > > Hi everyone, > > I have managed to successfully deploy petstore 1.1.2 > on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database. > If anyone is interested, I'm willing to share what I've done. > > = > Cuong Q. Tran <[EMAIL PROTECTED]> > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > --__--__-- > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Re]petstore & jboss build error
It's because src/petstore/src/build.xml in petstore-1.1.1-patch.zip is invalid. Change src/petstore/src/build.xml into what follows. 1) place ejbjar before war start of the original text end of the original text start of the new text end of the new text 2) change the "value" field value in the jboss.home property to whatever your local configuration is. The property "jboss.home" is the home directory of jboss installation. - - 3) Sun RI 1.2.1 must be present when building petstore.ear Sun RI version 1.3 beta doesn't work with build.xml in petstore-1.1.1-patch.zip. Use Sun RI version 1.2.1 Now you will get petstore.ear with petstore-1.1.1-patch.zip - [EMAIL PROTECTED] From: Dario Sanchez C. Subject: [JBoss-user] petstore & jboss build error Date: Mon, 23 Apr 2001 08:42:02 -0700 While building petstore with jboss patch, executing the sh build.sh command in the petstore/src/petstore/src directory, I receive the following error: Expanding: /usr/local/jps1.1.1/src/petstore/build/petstoreEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes java.io.FileNotFoundException: /usr/local/jps1.1.1/src/petstore/build/petstoreEjb.jar (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:64) at java.io.FileInputStream.(FileInputStream.java:95) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:82) at org.apache.tools.ant.Target.execute(Target.java:120) at org.apache.tools.ant.Project.runTarget(Project.java:658) at org.apache.tools.ant.Project.executeTarget(Project.java:407) at org.apache.tools.ant.Main.runBuild(Main.java:240) at org.apache.tools.ant.Main.main(Main.java:191) Expanding: /usr/local/jps1.1.1/src/components/mail/build/mailerEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Expanding: /usr/local/jps1.1.1/src/components/inventory/build/inventoryEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Expanding: /usr/local/jps1.1.1/src/components/customer/build/customerEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Expanding: /usr/local/jps1.1.1/src/components/shoppingcart/build/shoppingcartEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Deleting: /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes/META-INF Building jar: /usr/local/jps1.1.1/src/petstore/build/petstore.war Deleting: /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Executing Target: ejbjar Created dir: /usr/local/jps1.1.1/src/petstore/build/ejbjar/META-INF Copying 215 files to /usr/local/jps1.1.1/src/petstore/build/ejbjar Building jar: /usr/local/jps1.1.1/src/petstore/build/petstoreEjb.jar Deleting: /usr/local/jps1.1.1/src/petstore/build/ejbjar Executing Target: ear [error] [exec] Assemble application {../../components/shoppingcart/build/shoppingcartEjb.jar=, ../../components/inventory/build/inventoryEjb.jar=, ../build/petstore.war=, ../../components/mail/build/mailerEjb.jar=, ../../components/customer/build/customerEjb.jar=, ../build/petstoreEjb.jar=}[] into ../build/petstore.ear [error] No local string for enterprise.deployment.application.description [exec] Creation of application in ../build/petstore.ear is complete Executing Target: runtime [error] [error] No local string for enterprise.deployment.application.description [exec] Set runtime done [error] [error] No local string for enterprise.deployment.application.description [exec] Set runtime done Executing Target: core Completed in 15 seconds I've been trying to build petstore with jboss for a week and still don't understand what's wrong. Any suggest? (¹¡¢·*.úÞ{&¡¢(§]ë,jØm¶ÿ¨¥É¨h¡Ê&$,²ë®f¢)à+-$,²ë®X¬¶Ë(º·~àzwÛiÿùb²Û,¢êÜyú+éÞ·ùb²Û?+-wèþ6è²Ë¬z
[JBoss-user] [Re]petstore & jboss build error
It's because src/petstore/src/build.xml in petstore-1.1.1-patch.zip is invalid. Change src/petstore/src/build.xml into what follows. 1) place ejbjar before war start of the original text end of the original text start of the new text end of the new text 2) change the "value" field value in the jboss.home property to whatever your local configuration is. The property "jboss.home" is the home directory of jboss installation. - - 3) Sun RI 1.2.1 must be present when building petstore.ear Sun RI version 1.3 beta doesn't work with build.xml in petstore-1.1.1-patch.zip. Use Sun RI version 1.2.1 Now you will get petstore.ear with petstore-1.1.1-patch.zip From: Dario Sanchez C. Subject: [JBoss-user] petstore & jboss build error Date: Mon, 23 Apr 2001 08:42:02 -0700 While building petstore with jboss patch, executing the sh build.sh command in the petstore/src/petstore/src directory, I receive the following error: Expanding: /usr/local/jps1.1.1/src/petstore/build/petstoreEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes java.io.FileNotFoundException: /usr/local/jps1.1.1/src/petstore/build/petstoreEjb.jar (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:64) at java.io.FileInputStream.(FileInputStream.java:95) at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:82) at org.apache.tools.ant.Target.execute(Target.java:120) at org.apache.tools.ant.Project.runTarget(Project.java:658) at org.apache.tools.ant.Project.executeTarget(Project.java:407) at org.apache.tools.ant.Main.runBuild(Main.java:240) at org.apache.tools.ant.Main.main(Main.java:191) Expanding: /usr/local/jps1.1.1/src/components/mail/build/mailerEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Expanding: /usr/local/jps1.1.1/src/components/inventory/build/inventoryEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Expanding: /usr/local/jps1.1.1/src/components/customer/build/customerEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Expanding: /usr/local/jps1.1.1/src/components/shoppingcart/build/shoppingcartEjb.jar into /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Deleting: /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes/META-INF Building jar: /usr/local/jps1.1.1/src/petstore/build/petstore.war Deleting: /usr/local/jps1.1.1/src/petstore/src/docroot/WEB-INF/classes Executing Target: ejbjar Created dir: /usr/local/jps1.1.1/src/petstore/build/ejbjar/META-INF Copying 215 files to /usr/local/jps1.1.1/src/petstore/build/ejbjar Building jar: /usr/local/jps1.1.1/src/petstore/build/petstoreEjb.jar Deleting: /usr/local/jps1.1.1/src/petstore/build/ejbjar Executing Target: ear [error] [exec] Assemble application {../../components/shoppingcart/build/shoppingcartEjb.jar=, ../../components/inventory/build/inventoryEjb.jar=, ../build/petstore.war=, ../../components/mail/build/mailerEjb.jar=, ../../components/customer/build/customerEjb.jar=, ../build/petstoreEjb.jar=}[] into ../build/petstore.ear [error] No local string for enterprise.deployment.application.description [exec] Creation of application in ../build/petstore.ear is complete Executing Target: runtime [error] [error] No local string for enterprise.deployment.application.description [exec] Set runtime done [error] [error] No local string for enterprise.deployment.application.description [exec] Set runtime done Executing Target: core Completed in 15 seconds I've been trying to build petstore with jboss for a week and still don't understand what's wrong. Any suggest? ¡.a¨h gÊ«~·É¨h¡Ê&i×kz˶m§ÿæj)rj(r,ºÇ«¨¥x%ËI,ºÇ«+-²Ê.Ç¢¸ëa¶ÚþX¬¶Ë(º·~àzwþX¬¶ÏåËbú?º,²ë