[jboss-user] [JBoss Seam] - Re: can't find datasource problem when mirgrate from seam1.2
tangdazhu
do-not-reply at jboss.com
Fri Nov 30 20:39:57 EST 2007
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
More information about the jboss-user
mailing list