Where is your client code executing? Is the client executing in the same JVM as JBoss or somewhere different?
Your log messages seem so sugest that you may be providing some properties to the InitialContext when it is constructed java.naming.provider.url=localhost:1099 To access the datasource the client code needs to be in the same JVM as JBoss and no properties should be passed to the InitialContext Also have a look at http://www.freetranslation.com/, if you can post your questions in English there will hopefully be a lot more people able to understand them. <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826176#3826176">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826176>Reply to the post</a> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user