Bug 1067129
| Summary: | Cannot Build&Deploy project in cluster setup due to CNFE: javax.naming.Context from [Module "com.opensymphony.quartz:main" | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jiri Svitak <jsvitak> |
| Component: | Business Central | Assignee: | Roger Martínez <romartin> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Svitak <jsvitak> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | jschatte, mbaluch, romartin, rrajasek |
| Target Milestone: | ER2 | Keywords: | TestBlocker |
| Target Release: | 6.0.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 20:02:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Hi Jiri, Are you sure about this solution?? The exception seems to say that the solution is to add: <module name="javax.api" export="false"/> into com.opensymphony.quartz module. Thanks! (In reply to Jiri Svitak from comment #0) > Cannot Build&Deploy project in cluster due to > java.lang.ClassNotFoundException:javax.naming.Context from [Module > "com.opensymphony.quartz:main" > > Can be solved by adding a line > <module name="com.opensymphony.quartz" export="false"/> > to file > ${EAP_DIR}/modules/system/layers/bpms/org/kie/lib/main/module.xml > > My env: > BPMS 6.0.1 ER1 > EAP 6.1.1 > Zookeeper 3.3.4 > Helix 0.6.2 No, I am not sure about that solution. I am only sure it's broken :) So please take that just as a suggestion, it's up to dev team how the bug will be fixed. Thanks. According to Maciej Swiderski both of us are correct: (01:05:45 PM) maciejs: the only changes I made is to the modules: (01:06:19 PM) maciejs: 1. org.kie.lib to depend on org.apache.helix and com.opensymphony.quartz (01:06:38 PM) maciejs: 2. com.opensymphony.quartz to depend on javax.api So this bugzilla should fix that module org.kie.lib depends on com.opensymphony.quartz and module com.opensymphony.quartz depends on javax.api. Module org.apache.helix was already fixed by this Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1067010 Added fix for master branch: https://github.com/droolsjbpm/kie-wb-distributions/commit/83d505caf3e45b90979229143e2be84a979092fc Hi Jiri, Adding these missing dependencies in module definitions, the issue can be considered then closed? Thanks! (In reply to Jiri Svitak from comment #4) > According to Maciej Swiderski both of us are correct: > > (01:05:45 PM) maciejs: the only changes I made is to the modules: > (01:06:19 PM) maciejs: 1. org.kie.lib to depend on org.apache.helix and > com.opensymphony.quartz > (01:06:38 PM) maciejs: 2. com.opensymphony.quartz to depend on javax.api > > So this bugzilla should fix that module org.kie.lib depends on > com.opensymphony.quartz and module com.opensymphony.quartz depends on > javax.api. > > Module org.apache.helix was already fixed by this Bugzilla: > https://bugzilla.redhat.com/show_bug.cgi?id=1067010 Added fix also to the 6.0.x branch: http://github.com/droolsjbpm/kie-wb-distributions/commit/9a23f7da1 Hi Roger, I have checked Jan's commit to 6.0.x product branch and it seems to be ok. Please change the status to MODIFIED, thanks. Verified in BPMS 6.0.1 ER2. Build and Assembly bugs are covered by smoke tests. |
Cannot Build&Deploy project in cluster due to java.lang.ClassNotFoundException:javax.naming.Context from [Module "com.opensymphony.quartz:main" Can be solved by adding a line <module name="com.opensymphony.quartz" export="false"/> to file ${EAP_DIR}/modules/system/layers/bpms/org/kie/lib/main/module.xml My env: BPMS 6.0.1 ER1 EAP 6.1.1 Zookeeper 3.3.4 Helix 0.6.2