[
https://jira.jboss.org/browse/JBPM-2800?page=com.atlassian.jira.plugin.sy...
]
Maciej Swiderski commented on JBPM-2800:
----------------------------------------
First of all, I tested the patch on Tomcat with standard el-api library and it worked
fine.
Huisheng, the thing is that it does not depend on the implementation but on api. Both
JBoss 5.1 and Tomcat 6 contain previous version of the API, where there is no newInstance
and newInstance(Properties) methods. It would be rather difficult to ask jBPM users to
upgrade server libraries, in my opinion.
Let me know what do you think about patch.
java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()
----------------------------------------------------------------------
Key: JBPM-2800
URL:
https://jira.jboss.org/browse/JBPM-2800
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Reporter: Heiko Braun
Assignee: Alejandro Guizar
Fix For: jBPM 4.4
Attachments: JBPM-2800.patch
Caused by: java.lang.NoSuchMethodError:
javax.el.ExpressionFactory.newInstance(Ljava/util/Properties;)Ljavax/el/ExpressionFactory;
at
org.jbpm.pvm.internal.el.JbpmElFactoryImpl.createExpressionFactory(JbpmElFactoryImpl.java:111)
at org.jbpm.pvm.internal.el.Expression.initExpressionObjects(Expression.java:94)
at org.jbpm.pvm.internal.el.Expression.create(Expression.java:63)
at
org.jbpm.jpdl.internal.activity.SubProcessBinding.parseJpdl(SubProcessBinding.java:109)
at org.jbpm.jpdl.internal.activity.JpdlBinding.parse(JpdlBinding.java:52)
at org.jbpm.jpdl.internal.xml.JpdlParser.parseActivities(JpdlParser.java:320)
at org.jbpm.jpdl.internal.xml.JpdlParser.parseDocumentElement(JpdlParser.java:250)
at org.jbpm.pvm.internal.xml.Parser.parseDocument(Parser.java:476)
at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:396)
at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:158)
at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:68)
at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
at
org.jbpm.pvm.internal.repository.RepositorySessionImpl.getObject(RepositorySessionImpl.java:129)
at
org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:72)
at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:87)
at
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira