-
1. Re: Issue with running jbpm console 5.1 in websphere 7
salaboy21 Nov 8, 2011 5:52 PM (in response to anand.awasthi)So, are you following a very old document for jBPM 3.2 and another version of WebSphere..
Can you get the stack trace from the application server? so we can understand the problem better..
Cheers
-
2. Re: Issue with running jbpm console 5.1 in websphere 7
anand.awasthi Nov 8, 2011 5:55 PM (in response to salaboy21)Thanks Mauricio for quick reply.
I realized that the wiki is very old and the steps may not be accurate for jbpm 5.1 and was7. for example I noticed that 3.2 had only one console war and jbpm db schema was also way different. I have attached the stack trace from my post.
thanks
-
3. Re: Issue with running jbpm console 5.1 in websphere 7
salaboy21 Nov 8, 2011 6:31 PM (in response to anand.awasthi)Did you try the jBPM5 installer.. that configures all the tools for you?
Cheers
-
4. Re: Issue with running jbpm console 5.1 in websphere 7
anand.awasthi Nov 8, 2011 6:50 PM (in response to salaboy21)Hi Mauricio,
I am assuming you are talking about installer jbpm-5.1.0.Final-installer-full.zip. if my assumption is correct then yes I used that to run console on JBOSS and i have no issues there. But I am running into the issues when I try to install the console war files from JBPM5 installer into WAS7.
Please correct me if i misinterpreted your response.
thanks
-
5. Re: Issue with running jbpm console 5.1 in websphere 7
salaboy21 Nov 8, 2011 6:59 PM (in response to anand.awasthi)so basically you are copying the war files deployed in jboss into the Websphere server and changing the configurations there?
My approach to solve this kind of issues will be, just copy the files and start reporting the errors that you have.. right now seeing that stack trace it's impossible for me to give you some advices because I don't know what kind of changes did you applied.
Cheers
-
6. Re: Issue with running jbpm console 5.1 in websphere 7
anand.awasthi Nov 9, 2011 7:41 PM (in response to salaboy21)Sure.
Here are the exact steps and changes along the way:
- Deployed both WAR on Console. each with separate context root. and class loader as parent_last
- Change class loader policy to separate for each WAR
- Downloaded resteasy-jaxrs-2.2.3.GA.jar and replaced Old JAX-RS jar that came with installer with resteasy-jaxrs-2.2.3.GA (I was getting a class exception)
- Set the JVM variables on WAS for Console Directory and Birth Report Engine Installation
-Dorg.jbpm.report.engine.dir=D:\temp1 -Djbpm.console.directory=D:\process
- Copied hibernate jars , dom4j, javassist jars in gwt-consoler-server-war/web-inf/lib
- Updated persistence.xml with DB2 datasource
- Configured Custom User Registry that takes users and group from users.props and groups.props.
Following is my user.props
# name:passwd:uid:gids:display name
# where name = userId/userName of the user
# passwd = password of the user
# uid = uniqueId of the user
# gid = groupIds of the groups that the user belongs to
# display name = a (optional) display name for the user.
krisv:krisv:123:789:krisvand groups.props
# Format:
# name:gid:users:display name
# where name = groupId of the group
# gid = uniqueId of the group
# users = list of all the userIds that the group contains
# display name = a (optional) display name for the group.
administrator:999:krisv:Administrative group
manager:678:krisv:Operators group
user:789:krisv:user GroupI also wanted to mention:
1) that I am not using guvnor for process definition repository, i am using a local folder (
2) Also I have not installed BIRT run time (i have just added path -Dorg.jbpm.report.engine.dir=D:\temp1 to bypass servlet initialization exception), my understanding is that it only comes in picture when i want to geenrate reports. For initial logon and process management BIRT is not required. Please correct me if I am missing here
so after making above changes when I start server (and I am using IE7, the client does not allow any other browsers).
and logon to console :
http://localhost:9082/gwt-console/app.html
my screen just stays there on logon page itself and Server Logs Isee following error message:
[11/9/11 19:13:12:992 EST] 00000015 SystemOut O 2011-11-09 19:13:12,992 DEBUG [WebContainer : 0] impl.Log4jLogger - PathInfo: /identity/secure/j_security_check
[11/9/11 19:13:12:993 EST] 00000015 SystemOut O 2011-11-09 19:13:12,992 DEBUG [WebContainer : 0] impl.Log4jLogger - Failed executing POST /identity/secure/j_security_check
org.jboss.resteasy.spi.NotFoundException
: Could not find resource for relative : /identity/secure/j_security_check of full path: http://localhost:9082/gwt-console-server/rs/identity/secure/j_security_checkat org.jboss.resteasy.core.registry.RootSegment.matchChildren(
RootSegment.java:360)-
console-logon.doc 84.0 KB
-
7. Re: Issue with running jbpm console 5.1 in websphere 7
anand.awasthi Nov 11, 2011 3:36 PM (in response to anand.awasthi)alirght folks, i am able to by pass the security error mentioned earlier ( I will post full solution , once i finally get it to work completely). Now when i start server, I get following BIRT error:
R Exception in thread "BirtService-Init"
: Failed to create birt engine
[11/11/11 15:32:03:039 EST] 00000012 SystemErr R at org.jboss.bpm.report.BirtEngineFactory.newInstance(
BirtEngineFactory.java:53
)
[11/11/11 15:32:03:039 EST] 00000012 SystemErr R at org.jboss.bpm.report.BirtService.create(
As I mentioned I have not installed birt runtime. My question is it required to start the console server properly. What if I dont want to view reports.
How do i get around above error.
thanks
-
8. Re: Issue with running jbpm console 5.1 in websphere 7
shine.arvind Nov 16, 2011 9:43 AM (in response to anand.awasthi)Hello Anand,
Did you manage to deploy jBPM Console on WAS 7. Can you post the solution?
Regards,