hi, i want to use hibernate with the jboss AS while using mysql. i'm using: - jboss AS 4.2.2 - hibernate 3.2 - mysql server 5.0
i first want to check that the jboss AS can work with mysql in a proper way so i'm trying to make mysql the default datasource. i went through this article a step at a time: http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpMysqlAsDefaultDS and when i try to connect to the datasource i get: DefaultDS not bound here's how i'm trying to connect: InitialContext initialContext = new InitialContext(); | javax.sql.DataSource ds = (javax.sql.DataSource)initialContext.lookup("java:/DefaultDS"); | conn = ds.getConnection(); what can be the problem? i did everything in that article, except for the part about changing the standardjaws.xml since i can't find it anywhere in the jboss AS directory... any ideas? thanks, nitzan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115392#4115392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115392 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user