"enazareno" wrote : please indicate the environment of your application ( the web server, version - are you using a J2ee container? are you using a datasource for your connections ? We're running Tomcat 5.5.9, so it's not a managed environment.
Our datasource is provided by a JNDI entry in the context configuration: <Resource name="jdbc/MyDatasource" | auth="Container" type="javax.sql.DataSource" | maxActive="20" maxIdle="10" maxWait="-1" | username="xxx" password="yyy" | driverClassName="com.mysql.jdbc.Driver" | url="jdbc:mysql://localhost:12751/zzz?autoReconnect=true"/> ...and referenced from hibernate.cfg.xml as: <property name="hibernate.connection.datasource">java:comp/env/jdbc/MyDatasource</property> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914162#3914162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914162 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
