[jboss-user] [jBPM] - NameNotFoundException - Jboss7, jbpm5.2
Prasanth Manchambhatla
do-not-reply at jboss.com
Wed Jan 11 18:25:06 EST 2012
Prasanth Manchambhatla [https://community.jboss.org/people/pmancham] created the discussion
"NameNotFoundException - Jboss7, jbpm5.2"
To view the discussion, visit: https://community.jboss.org/message/646170#646170
--------------------------------------------------------------
>From Jboss logs:
15:42:39,509 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "ojdbc6-11.1.0.7.0.jar"
15:42:39,509 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "drools-guvnor.war"
15:42:39,509 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) Starting deployment of "jbpm-gwt-console-server.war"
15:42:39,509 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) Starting deployment of "designer.war"
15:42:39,509 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) Starting deployment of "jBpmHelloWorld.war"
15:42:39,509 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) Starting deployment of "jbpm-gwt-console.war"
15:42:40,720 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.1)
*15:42:40,724 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) Bound data source [java:jboss/datasources/jbpm-ds]*
15:42:44,598 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry iText-toolbox.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
15:42:44,598 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry iText-toolbox-2.1.2.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
15:42:44,599 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry bcmail-jdk14-138.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
15:42:44,599 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry bcprov-jdk14-138.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
15:42:44,599 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry activation.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/mail-1.4.jar" does not point to a valid jar for a Class-Path reference.
15:42:44,599 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry xml-apis.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/serializer-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
15:42:44,599 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry xercesImpl.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
15:42:44,600 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry xml-apis.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
15:42:44,600 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry serializer.jar in "/C:/noscan/jbpm-installer/content/jBpmHelloWorld.war/WEB-INF/lib/xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
...........
...........
16:15:15,112 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jBpmHelloWorld].[ping]] (http--0.0.0.0-8080-1) Servlet.service() for servlet ping threw exception: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) [hibernate-entitymanager-3.4.0.GA.jar:]
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) [hibernate-entitymanager-3.4.0.GA.jar:]
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
at edu.apollogrp.platform.servlet.PingServlet.persistentFlow(PingServlet.java:55) [classes:]
at edu.apollogrp.platform.servlet.PingServlet.doGet(PingServlet.java:38) [classes:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: org.hibernate.HibernateException: Could not find datasource
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) [hibernate-entitymanager-3.4.0.GA.jar:]
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339) [hibernate-core-3.3.2.GA.jar:]
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) [hibernate-annotations-3.4.0.GA.jar:]
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) [hibernate-entitymanager-3.4.0.GA.jar:]
... 21 more
*Caused by: javax.naming.NameNotFoundException: unable to find a bound object at name 'java:jboss/datasources/jbpm-ds'*
at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83) [btm-2.1.2.jar:]
at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_26]
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75) [hibernate-core-3.3.2.GA.jar:]
... 29 more
It says the datasource is bound, but, my application throws a NameNotFoundException.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/646170#646170]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120111/f4248131/attachment-0001.html
More information about the jboss-user
mailing list