Hi, I'm new to JBoss and Seam also and I've got well known problem with not 
founding datasource config file.
Basically My problem looks as fallow:

09:57:38,062 ERROR [[/seamSample]] Exception sending context initialized event 
to listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! 
org.jboss.seam.jsf.SeamApplicationFactory
        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213)
        at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
        at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:60)
        at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
....
....
....

09:57:41,333 ERROR [DatasourceConnectionProvider] Could not find datasource: 
java:/seamSampleDatasource
javax.naming.NameNotFoundException: seamSampleDatasource not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
...
...
...
09:57:41,335 ERROR [[/seamSample]] Exception sending context initialized event 
to listener instance of class org.jboss.seam.servlet.SeamListener
org.jboss.seam.InstantiationException: Could not instantiate Seam component: 
entityManagerFactory
        at org.jboss.seam.Component.newInstance(Component.java:2144)
        at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
        at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
        at 
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:113)
        at org.jboss.seam.init.Initialization.init(Initialization.java:740)
...
...
...
etc.

Project was generated by seam-gen plugin for eclipse and deployed on JBoss 5.0, 
seam v. 2.1.
If anybody could help me to solve this problem it would be great.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249143#4249143

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249143
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to