Thanks for getting back to me. I finally figured this out, it was what you
mentioned. I had to remove all other J2EE jar files and include jboss-j2ee.jar
in the classpath. The problem was I had two different versions of
javax.sql.DataSource in the classpath.
Thanks for the help!
View the o
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 abl
Ah-ha, that got it. I set the port in JNDI.properties and also added the
following line to the datasource lookup and got it to work.
env.put(Context.PROVIDER_URL,"localhost:1099");
Thanks for your help jaibarra.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic
Hi,
Thanks for getting back to me. Yes the database server is up. Could this have
to do with the port? I thought the correct port for database access was 1433
but I've seen some people use 1099.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938734#3938
Hi,
I am trying to get a connection to a datasource but I am getting a
communication exception. I'm not sure what the problem is here and I haven't
seen any other posts with the same issue. Can someone please point me in the
right direction? The exception I get doing a lookup for the datasou