[Installation, Configuration & Deployment] - Re: Understanding the deploy directory
by lightbulb432
Thanks, those are really useful links.
I'm assuming that if you need to add a particular service, you do the opposite of what's specified in the Slimming wiki for removing it?
The reason I ask is because I'm missing my web-console, and I'd like to have it. According to that wiki, I'm guessing that I'd need to add server/slim/deploy/management/web-console.war.
Couple of issues:
1) Let's say I get my hands on the web-console.war by downloading it from somewhere, or getting a fellow developer to send it over...
My concern is that there might be compatibility issues, so how can I get the version of web-console.war that is compatible with my current installation of JBoss? (Or is this not an issue because it's just a WAR file and therefore able to be dropped into any JBoss version's deploy dir?) Is this really a concern?
Also, I don't see the web-console.war file anywhere in my JBOSS_HOME installation at all, so I can't copy-paste it from within my current installation into the deploy dir...
2) If I do get the web-console.war file, must it go under /deploy/management, or can it simply go under /deploy? What's the difference - is it just a way for organizing deployable archives, or is there some meaning to subdirectories of /deploy?
Does hot deploy work for any deployable archive under /deploy or any of its subdirectories?
3) With regards to JBoss 4.0 The Official Guide, I noticed that it was published in 2005/04/20...a year and a half ago for a product that evolves as quickly as JBoss. Is it still a relevant read, or is it mostly obsolete? (i.e. Read at your own risk!)
Or will is be relevant at least until JBoss 5.0 is released?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991861#3991861
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991861
19 years, 4 months
[JBoss jBPM] - Deleting processInstance as part of workflow
by ksdeger
As the last step in the workflow (at or right before end-state) I would like to delete the processInstance. Basically, I don't want any ended processIntances in the database.
I tried re-defining end-state, and I thought I had correctly changed all the configuration files, but my process wouldn't deploy correctly.
My question is, is end-state required, or could I not have an end-state node in the process definition, and instead define a node that would essentially end the task and delete the processInstance? I looked at the source code for the EndState node, and it doesn't seem to do anything special, but I'm more concerned about what might be happening outside the node class.
If eliminating end-state is not possible could someone who is using deleteProcessInstance explain when/how they use it? I could of course create an process outside of the flow to query the database for completed processes and then use deleteProcessInstance to clean them out, but that would require additional queries against the database. We are running an extremely large number of processes through the system, and I'm trying to limit unnecessary queries (if possible).
Any suggestions would be welcome.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991859#3991859
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991859
19 years, 4 months