Hi, I am having an issue configuring a datasource with JBoss. When I perform a lookup of the datasource from outside of the web application, it returns a $Proxy# object instead of a javax.sql.DataSource object. I've scoured the forums here and tried to resolve this myself but haven't been able to. The most popular cause of the problem seems to be that a different classloader is being used to retrieve the object from JNDI but I'm not sure how that is happening or how to fix it. I am using the exact same classpath and have included in the classpath the jbossall-client.jar from the jboss/client directory. I also setup the datasource in the Global JNDI Namespace, not the java: namespace. Has anyone else experienced this or know what I might be doing wrong? I can post all the code if need be. Thanks in advance for any help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939044#3939044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939044 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
