-
1. Re: petstore patch problem
attila1 Mar 25, 2002 10:09 AM (in response to baker)Where did you download the other patches you found ? I couldn't even find them. Please post the links, your help is much appreciated.
-
2. Re: petstore patch problem
baker Mar 26, 2002 1:14 PM (in response to baker)Heres a link to those older patch files:
http://www.jboss.org/doco_files/
I found the link (above) by searching through the forum messages. Neither of these patch files were similar to the one depicted in the pdf documentation (flashline.com $9.99), and I had started trying to build the classpath to make it compile... ie add a jar, build again to see what is missing the next time around.
Then someone from jboss sent me a patch file whose name matched the pdf version of the name, which got me so far as to build and deploy using Ant with no errors. However, the scripts mentioned in the pdf (pg 373) that are used to start jboss with the configuration and classpath changes specific to petstore were not included in that patch. Sent a msg about this to the person who sent me the patch, so maybe I'll get a patch that matches the pdf documentation. -
3. Re: petstore patch problem
johnheath May 12, 2002 5:44 PM (in response to baker)I have got the Sams book. I have used the book's jps release and applied their patch. But there does not seem to be any run_petstore.bat or run_petstore.sh on the disk with the book. Do you know where I could find these or other info to get petstore running ? Thanks John
-
4. Re: petstore patch problem
attila1 May 13, 2002 10:31 AM (in response to baker)Just do the 1.1.2 patch on the jps 1.1.2 full version that u can download from the link above, then run the build.bat in the folder : jps-1_1_2-full\src\petstore\src. You can then copy the petstore.ear to your jboss deploy or add a deploy target to your build.xml. Hope this helps.
-
5. Re: petstore patch problem
attila1 May 13, 2002 10:36 AM (in response to baker)Oh I forgot to ask. Could you post the patch that you received by email from the jboss employee. I think that could be helpful to everyone working on the petstor example. Thanks.
-
6. Re: petstore patch problem
paulf May 14, 2002 8:32 AM (in response to baker)Hi
I got around the problem by making a copy of the run_with_tomcat.bat file (that I suppose you find in your jboss/bin dir) and renaming it to run_petshop.bat. In the renamed batch file I changed the argument on the last line from tomcat to petstore (as shown):
.\run.bat petstore
Works fine for me. :-)