I am just testing the back end of the application.  Currently I used:

ctx.rebind("java:MySQLDS", ref); 

as it got rid of another problem that I had earlier.  That was a CastException 
for Reference object.  I did retest it without that line and got the same error.

New Code:

                        System.out.println("step 1");
                        Context ctx= new InitialContext(env);
                        System.out.println("step 2");
                        DataSource ds = (DataSource)ctx.lookup("java:MySQLDS");
                        System.out.println("step 3 ");

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112962#4112962

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112962
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to