Red Hat Bugzilla – Bug 849923
Process import in Designer on EAP 6.0: java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
Last modified: 2015-06-01 21:39:40 EDT
Created attachment 605886 [details]
Process import in Designer (BRMS 5.3.0.GA patch01) deployed on EAP 6.0 has problems that were not found on EAP 5.0.
Steps to reproduce:
1. Deploy BRMS 5.3.0 patch01 on EAP 6.0 using steps described here:
2. Open jboss-brms
3. Create package com.sample
4. Import an attached BPMN process (has a different package 'test', it's an intent)
5. Try to validate the process definition, you'll see several problems, so
correct package name of the process, generate task forms and generate .png file
6. .png file is generated in the package, but cannot be downloaded, because Firefox opens this new tab 'Problem loading pade' with content:
"File not found
Firefox can't find the file at http://localhost:8080/designer/transformer?uuid=30a0d6dc-4d89-4918-b838-400416b68193&profile=jbpm."
This happens even when you have corrected the package name to com.sample
Process validation says "There are no validation errors".
7. An exception is thrown complaining about missing SAXParser, see attached server.log
Created attachment 605888 [details]
Designer has two separate deployables, one for EAP5/AS5 and a separate one for EAP6/AS7. I am not sure which deployable was used during testing. If I could get more info on how to reproduce this it would really help as we havent seen this error in the community yet.
(In reply to comment #2)
> Designer has two separate deployables, one for EAP5/AS5 and a separate one
> for EAP6/AS7.
In product, it doesn't. We only have one. CCing Ryan as this may be his territory now.
I am not getting this with EAP 6.0 and the designer war for AS7. I do get a warning on server startup (before wars get deployed):
08:19:30,099 WARN [org.jboss.as.ee] (MSC service thread 1-3) JBAS011006: Not installing optional component org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation due to exception: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.apache.cxf.transport.http.Servlet3ContinuationProvider$Servlet3Continuation
at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:606) [jboss-as-ee-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:83) [jboss-as-ee-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
But don't think it is related to Designer. Designer does not use apache cxf, but afaik Guvnor does so this might be an issue with Guvnor?
Reopening the Bugzilla, because BRMS 5.3.1 ER1 build has not solved this problem.
The same exception is thrown on EAP 6.0 with ee6 wars. I have tested the same steps (create a package, import the process definition, generate task forms and create a .png image). I have tried the same steps also on BRMS 5.3.1 ER1 standalone (with EAP 5 and the same version of the Designer - 2.3.1-DEV), but everything worked fine, so the bug is EAP6 specific.
With ee6 brms wars you don't have to care about configuring persistence that much, only configure datasource for brms in jboss. But still you have to configure netty library, security domain, users and their roles. You can find these details in the doc https://docspace.corp.redhat.com/docs/DOC-111367.
BRMS 5.3.1 ER1 (Designer 2.3.1-DEV) ee6 deployable wars
Resolved with revision 11538 of:
Use the designer jboss7 war for the jBPM console EE6 zip and don't exclude
jar files from it. Also apply the jbpm.xml patches to the designer EE6 war.
Verified in BRMS 5.3.1 ER2.
Marked as no release note required as EAP6 support is new for BRMS 5.3.1