[
http://jira.jboss.com/jira/browse/JBPM-646?page=all ]
David Lloyd closed JBPM-646.
----------------------------
org.jbpm.JbpmException: couldn't parse 'jbpm-context'
into a 'org.jbpm.configuration.JbpmContextInfo'
-----------------------------------------------------------------------------------------------------
Key: JBPM-646
URL:
http://jira.jboss.com/jira/browse/JBPM-646
Project: JBoss jBPM
Issue Type: Bug
Components: Web Interface
Affects Versions: jBPM 3.1
Environment: oc4j
Reporter: my zbgs
Assigned To: David Lloyd
Fix For: jBPM jPDL 3.2 alpha 2
Original Estimate: 4 weeks
Remaining Estimate: 4 weeks
firfox:http://localhost:8888/jbpm/
Error:
500 Internal Server Error
org.jbpm.JbpmException: couldn't parse jbpm configuration from resource
'null'
at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:290)
at org.jbpm.web.JbpmContextFilter.getJbpmConfiguration(JbpmContextFilter.java:103)
at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:90)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:65)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jbpm.JbpmException: couldn't parse 'jbpm-context' into a
'org.jbpm.configuration.JbpmContextInfo': <?xml version = '1.0'
encoding = 'UTF-8'?>
<jbpm-context name="default.jbpm.context">
<!--<service name="persistence"
factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" />-->
<service name="persistence">
<factory>
<bean
factory="org.jbpm.persistence.db.DbPersistenceServiceFactory">
<field
name="isTransactionEnabled"><false/></field>
<field name="dataSourceJndiName">
<string value="java:jdbc/JbpmDS"/>
</field>
</bean>
</factory>
</service>
<service name="message"
factory="org.jbpm.msg.db.DbMessageServiceFactory"/>
<service name="scheduler"
factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory"/>
<service name="logging"
factory="org.jbpm.logging.db.DbLoggingServiceFactory"/>
<service name="authentication"
factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory"/>
</jbpm-context>
at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:145)
at
org.jbpm.configuration.ObjectFactoryParser.createObjectFactory(ObjectFactoryParser.java:112)
at
org.jbpm.configuration.ObjectFactoryParser.parseInputStream(ObjectFactoryParser.java:97)
at org.jbpm.JbpmConfiguration.parseInputStream(JbpmConfiguration.java:310)
at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:287)
... 14 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:141)
... 18 more
Caused by: org.jbpm.JbpmException: couldn't parse 'bean' into a
'org.jbpm.configuration.BeanInfo': <?xml version = '1.0' encoding =
'UTF-8'?>
<bean factory="org.jbpm.persistence.db.DbPersistenceServiceFactory">
<field
name="isTransactionEnabled"><false/></field>
<field name="dataSourceJndiName">
<string value="java:jdbc/JbpmDS"/>
</field>
</bean>
at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:145)
at org.jbpm.configuration.JbpmContextInfo.<init>(JbpmContextInfo.java:87)
... 23 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:141)
... 24 more
Caused by: java.lang.NullPointerException
at org.jbpm.configuration.BeanInfo.<init>(BeanInfo.java:59)
... 29 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira