Rod,

Please remove extra /env/ from <res-ref-name>, i.e your res-ref-name should be
<res-ref-name>jdbc/DefaultDS<res-ref-name>.

Cheers,
Igor.

-----Original Message-----
From: Rod Macpherson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 5:38 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] DefaultDS Lookup Failure


Testing the osworkflow sample and getting this error: 

14:30:19,425 FATAL [BaseJDBCProvider] Could not look up DataSource using JNDI 
location: java:comp/env/jdbc/DefaultDS 
...

Added the following to jboss-web.xml for the sample war file and redeployed but still 
fails:

<jboss-web>
    <resource-ref>
        <res-ref-name>/env/jdbc/DefaultDS<res-ref-name>
        <jndi-name>DefaultDS</jndi-name>
    </resource-ref>
</jboss-web>

I did try a variety of permutations on the resource and jndi names but nothing seems 
to work. 

Any and all assistance appreciated,

Regards,

Rod


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to