Hi Vinay,
Thanks for your reply. I ended up rebulding the patched petstore.ear from
scratch, and this time it seemed to work. I just don't understand why it
was saying "env" wasn't bound, rather than "EstoreDataSource" or something
to that effect, unless it was an inaccurate error. Anyway, thanks again.
Rich
On Wed, 2 May 2001, Vinay Menon wrote:
> Well,
> If the environment variable it is bound to EstoreDB and not EstoreDataSource
>then I'd assume you'd have a small issue at hand. I have not deployed the petstore
>app myself but feel that if it looking up for a datasource that is bound under a
>different name [effectively not bound] it would obviously fall over. Unless anyone
>who has set this up has anything to add, to you want to change the datasource it is
>looking up and the datasource name to the same and try?
>
> Vinay
>
>
>
> ----- Original Message -----
> From: Richard Feit
> Sent: Wednesday, May 02, 2001 11:09 PM
> To: JBOSS
> Subject: Re: [JBoss-user] "env not bound" when running petstore demo
>
>
> 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<br clear=all><hr>Get your
>FREE download of MSN Explorer at <a
>href="http://explorer.msn.com">http://explorer.msn.com</a><br></p>
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user