a. if you completed step #1-3 with success. This is good.
This mean the you are able to run successfully  the JBoss xpetstore server (without xpetstore.ear deployed)
 
b. Then copy the following files to $JBOSS_HOME/server/xpetstore/deploy:
- $XPETSTORE_HOME/src/petstore/etc/jboss/jbossmq-destinations-service.xml  (to create the queues)
- $XPETSTORE_HOME/src/petstore/etc/jboss/hsqldb-service.xml  (to create the java:/xpetstoreDS)
c. Restart jboss and check via the jmx-console that the following resources are created:
         - java:/xpetstoreDS
         - java:/queue/order
         - java:/queue/mail
 
d. If everything is ok, then deploy xpetstore.ear
 
 
-----Original Message-----
From: Brian McSweeney [mailto:[EMAIL PROTECTED]]
Sent: 10 January 2003 11:07
To: xdoclet; Herve Tchepannou
Subject: xPetstore setup on JBoss, was: xPetStore v21 released

First off,
sorry Lennart and everyone - didn't notice the mails were getting so long.
 
Thanks Herve,
Makes alot of sense! I have done as you advised
 
<snip>
ok.. restart from scratch my friend.
1. Delete $JBOSS_HOME/server/xpetstore
2. Copy $JBOSS_HOME/server/default to $JBOSS_HOME/server/xpetstore
3. Run  $JBOSS_HOME/server/run.bat -c xpetstore
 
After you successfully complete the step #3,
install xPetStore application into JBoss xpetstore server by following the instructions at:
</snip>

unfortunately I'm getting an error saying:

org.jboss.deployment.DeploymentException: Error: can't find data source: java:/xpetstoreDS; - nested throwable: (javax.n
aming.NameNotFoundException: xpetstoreDS not bound)
 
any idea?

As an aside, I'm not sure if you think it worth while, but for a newbie coming to J2EE, and jboss, it wasn't that obvious that you
should copy the whole of $JBOSS_HOME/server/default to $JBOSS_HOME/server/xpetstore. Is this in any documentation?
It might be an idea to include it.
thanks very much
Brian

Reply via email to