There does appear to be setup code for the datasource
("DefaultDomain:service=XADataSource,name=EstoreDB") in jboss.jcml (I'm
using the file that came with the petstore patch).  During startup, I do
see the message "XA Connection pool EstoreDB bound to java:/EstoreDB", and
I wondered if the name was wrong... but I thought that in any case 
comp/env should be bound always...?

There's no startup message that deals specifically with
"EstoreDataSource" -- I didn't realize it would show up there.  Is this a
clue?

thanks,
Rich


On Wed, 2 May 2001, Vinay Menon wrote:

> In the server start up console do you see message that say the EstoreDataSource has 
>been bound? Has the datasource been set up in the jboss.jcml file?
> 
> 
> 
> ----- Original Message -----
> From: Richard Feit
> Sent: Wednesday, May 02, 2001 9:30 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] "env not bound" when running petstore demo
> 
> 
> Hi all,
> 
> I'm trying to run the PetStore demo, and after applying the JBoss patch
> and following the deployment instructions on the site, I'm getting an
> exception when I access the demo and click "Enter the Store".  The error
> message says "NamingException while looking up DB context : env not
> bound".
> 
> Apparently this is happening when the CatalogModel is trying to access the
> resource "java:comp/env/jdbc/EstoreDataSource".  Other than this problem
> (with comp/env, presumably), the server seems to be working fine.
> 
> I've searched the list archives and I found two questions on this but no
> answers.  Has anyone seen it?
> 
> thanks,
> Rich
> 
> p.s. JBoss2.2.1/Tomcat3.2.1, Win2K, JDK1.3
> 
> 
> _______________________________________________
> 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

Reply via email to