- Re: can 't find datasource problem when mirgrate from 2007-11-30 - By tangdazhu
Back Well,I have put my -ds.xml file under WEB-INF and WEB-INF\classes and even META _INF of my application directory, but it all doesn't work! I don't understand why it is so hard for configuration.
But if i put the -ds.xml under the {tomcat}/lib/deploy directory , it at least can find the datasoure when tomcat is started.
INFO 01-12 09:34:11,416 (ConnectionFactoryBindingService.java :bindConnectionFactory:148) -Bound ConnectionManager 'jboss.jca:service =DataSourceBinding,name=CPI_SqlserverDatasource' to JNDI name 'java:CPI _SqlserverDatasource'
but i just don't know why my hibernate can't find this datasource under this kind of situation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4109501#4109501
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4109501 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|