[JBoss-user] [Beginners Corner] - Re: Could not dereference object

2006-02-14 Thread nicodAntibes
My apologies, I hadn't carefully followed your correction. It works perfectly!!! Thank you so much Peter!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923514#3923514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Beginners Corner] - Re: Could not dereference object

2006-02-13 Thread nicodAntibes
Hi, Unfortunately, the problems remains exactly the same View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923511#3923511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923511 ---

[JBoss-user] [Beginners Corner] - Could not dereference object

2006-02-13 Thread nicodAntibes
Hello, I am using Jboss 4.0 3 SP1 with Java SDK 1.5. I would simply like to use a datasource (mysql) from a servlet but I get a "Could not dereference object exception" when doing : Context initCtx = new InitialContext(); Context envCtx = (Context)initCtx.lookup("java:comp/env"); DataSource ds =