Thank you for the information. If you feel froggy I have more forum post. :D
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3963566#3963566
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963566
anonymous wrote : DataSource source = (DataSource)context.lookup(DCDEV); //
DOES NOT WORK
The reason why this wont work is because, by default the datasources are bound
in the java: namespace. If you want it to be bound in the global namespace then
add the following statement to your ds
Correct me if I'm wrong but isn't JBoss to bound the datasource to java:/ and
then within your application using the web.xml and jboss-web.xml you bound it
to a global reference within your application? If this is so why would i use
that setting to bound it to a global reference from within
anonymous wrote : Correct me if I'm wrong but isn't JBoss to bound the
datasource to java:/ and then within your application using the web.xml and
jboss-web.xml you bound it to a global reference within your application
Are you talking about the resource-ref thing in web.xml and jboss-web.xml?
Thank you so much for catching that tag name problem; however the issue still
remains. My code below still doesn't work.
out.println(H1VERSION 2 w/ DataSource of DCPROD/H1);
Connection con2 = null;
try {
InitialContext context = new InitialContext(null);
DataSource source =
Have you resolved this issue. I am having this same issue...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3962669#3962669
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962669
reference-ref
| res-ref-nameDCDEV/res-ref-name
| jndi-namejava:/DCDEV/jndi-name
| /reference-ref
Is this a typo? If not, it should be:
resource-ref
| res-ref-nameDCDEV/res-ref-name
| jndi-namejava:/DCDEV/jndi-name
| /resource-ref
View the original post :