This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

newbie jboss spring question

Nov 13th, 2004, 12:06 PM

I want to connect my spring app to a hypersonic datasource in jboss. I create the datasource with an xml file and drop into the deploy dir. I can access the datasource through JMX > HSQL database manager and create my tables. I hook up my spring app to point to this datasource but get the following error upon deployment. Any ideas? Thanks -Patrick

Stacktrace:

Code:

2004-11-13 11&#58;58&#58;03,896 ERROR &#91;org.springframework.web.servlet.DispatcherServlet&#93; Could not complete request
org.springframework.jdbc.CannotGetJdbcConnectionException&#58; Could not get JDBC connection; nested exception is org.jboss.util.NestedSQLException&#58; No matching credentials in Subject!; - nested throwable&#58; &#40;org.jboss.resource.JBossResourceException&#58; No matching credentials in Subject!&#41;
org.jboss.util.NestedSQLException&#58; No matching credentials in Subject!; - nested throwable&#58; &#40;org.jboss.resource.JBossResourceException&#58; No matching credentials in Subject!&#41;
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection&#40;WrapperDataSource.java&#58;106&#41;