Hi..i found the error i was trying to make a connection in oder way...the way 
of my getconnection now is:

private Connection getConnection (){
                try {
                        InitialContext ctxt = new InitialContext();
                        DataSource ds = (DataSource) 
ctxt.lookup("java:DefaultDS");
                        conexion = ds.getConnection();
                }
                catch (Exception except) {
                        System.out.println("Error al obtener conexion");
                }
                return conexion;
        }

that was all..thanks

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

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

Reply via email to