[jboss-user] [JBoss Seam] - Re: Issue with Seam and Tomcat 6 during tomcat startup
mlh496
do-not-reply at jboss.com
Fri Mar 9 18:44:42 EST 2007
Hey there,
The problem I've hit deploying a Seam app to Tomcat deals with the datasource. Here is a sample of the error trail that I get:
16:27:52,083 ERROR [NamingHelper] Could not obtain initial context
| javax.naming.NamingException: Local server is not initialized
| 16:27:52,098 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/comp/env/omegaDatasource
| javax.naming.NamingException: Local server is not initialized
| 16:27:52,098 ERROR [[/omega]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource
| Caused by: org.hibernate.HibernateException: Could not find datasource
| at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
| Caused by: javax.naming.NamingException: Local server is not initialized
| at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
Does this look familiar to the errors you encountered?
Thanks for the link; I'll give that a try.
-Michael
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026791#4026791
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026791
More information about the jboss-user
mailing list