[JBoss JIRA] Created: (JBPM-1903) java:/comp/env JNDI Namespace not found within ActionHandler Implementations
by Robert Schmelzer (JIRA)
java:/comp/env JNDI Namespace not found within ActionHandler Implementations
----------------------------------------------------------------------------
Key: JBPM-1903
URL: https://jira.jboss.org/jira/browse/JBPM-1903
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Engine
Affects Versions: jBPM 3.3.0 GA
Environment: JBoss 4.2.3 GA with MySQL5 Database
jBPM Enterprise Deployment
Reporter: Robert Schmelzer
When you try to lookup the JNDI Namespace java:comp/env in an enterprise deployment wihtin an ActionHandler implementation it will throw an NameNotFoundException.
So it is not possible to lookup ejb or other component local stuff within ActionHandler implementations.
In special this also affects you, when you signal a token within an ActionHandler and any of the following Node is async using the JMSMessgeService because the JMS implementation will also make a lookup on the connection factory using the comp/env Namespace.
The reason for this is the change in the classloader when executing ActionHandlers. The contex class loader is by default changed to the ProcessClassLoader using the UCL as parent. But JBoss uses the ContextClassLoader ot scope the comp/env Namespace. When using the original context class loader as the parent for the ProcessClassLoader it works again.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (JBPM-2007) SQL scripts in jbpm-sql missing identity table creation for most DB's.
by Julian Coleman (JIRA)
SQL scripts in jbpm-sql missing identity table creation for most DB's.
----------------------------------------------------------------------
Key: JBPM-2007
URL: https://jira.jboss.org/jira/browse/JBPM-2007
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 3.2.4 GA
Environment: SOA platform 4.3.0 GA CP01 (CR1)
Reporter: Julian Coleman
Priority: Critical
Fix For: jBPM-3.2.4.SP1
See SOA-1157 - when starting the SOA server for the second and subsequent times, the scripts
attempt to recreate the DB, which fails, as the DB has already been created. The script is the
ESB jbpm-service.xml script and it checks the existance of the JBPM_ID_USER table to see if the
databases have already been created.
In the (generated at build time) jbpm-sql/*sql scipts from 3.2.2, every DB contains:
create tabe JBPM_ID_*
lines, but these are missing from the source in 3.2.4.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months