FYI:
I had not a corresponding in jboss-web.xml:
MyDS
javax.sql.DataSource
java:/MyDS
---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums a
Give or take a '/', yes.
--
Danny Yates
-Original Message-
From: Rob Tomlin [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 18:33
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JNDI lookup failure, ... not bound.
> That's because your code looks up "java:comp/
> That's because your code looks up "java:comp/env/MyDS", not
> "java:/MyDS".
Yes, I see that know...
Would you expect the following to work correctly:
Context initCtx = new InitialContext();
DataSource ds = (DataSource)initCtx.lookup("java:MyDS");
Cheers
Rob Tomlin
That's because your code looks up "java:comp/env/MyDS", not "java:/MyDS".
--
Danny Yates
-Original Message-
From: Rob Tomlin [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 17:23
To: [EMAIL PROTECTED] Sourceforge. Net (E-mail)
Subject: [JBoss-user] JNDI look
Hi,
I am trying to access a MS Sql server DataSource. I have done the following:
1. Modified mssql-ds.xml to refer to my server.
2. Placed mssql-ds.xml in the server/default/deploy directory
3. Copied the SQL server jars to the server/default/lib directory
I get messages back from jboss saying t