[jBPM] - Central jBPM (enterprise) with remote access from managing apps
by zecas zecas
zecas zecas [http://community.jboss.org/people/zecas] created the discussion
"Central jBPM (enterprise) with remote access from managing apps"
To view the discussion, visit: http://community.jboss.org/message/537793#537793
--------------------------------------------------------------
Hi,
I'm new to jBPM, and I'm reading a manual plus many guides on the web, and there are some questions that come to my mind.
I know I can incorporate jBPM in a web application, standalone application. That is quite awesome and feels good to have such wide options available.
But let's look into this specific scenario, and the best practices to implement it:
I want to implement severam processes in a company. I want to be able to execute them, and to have a web frontend. Let's imagine that I'll have 1 specific webapp for each process, to make it hard :) .
So I can develop each webapp, with included jBPM, and each one will have a database with webapp specific tables, and jBPM specific tables. That is the way I can develop them all.
But I'm interested in another approach ... I want ONE instance of jBPM running, with a dedicated database, hibernate config, etc ... I'll deploy ALL enterprise processes in there. Central jBPM processing. Period.
Then, I'll develop each webapp, let's say in isolated EARs, and each one will connect to the central jBPM repository and list their processes, start them, signal them, etc ...
That central jBPM EAR would be responsible to display the console that, for admin purposes, would allow us (admins) to deploy the process xml and manage process "versions", or check their status, or even display some statistical info.
Is there something already available for the job? I mean, an EAR that allows to work with jBPM via Webservice invocations, or remote EJB invocations, to mimic the service api I can use "locally"?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537793#537793]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months
Re: [jboss-user] [JBoss Web Services] - Parralel asynchronous calls
by Peter Johnson
Peter Johnson [http://community.jboss.org/people/peterj] replied to the discussion
"Parralel asynchronous calls"
To view the discussion, visit: http://community.jboss.org/message/537768#537768
--------------------------------------------------------------
That error means that either you are running with too small of a heap or you have a memory leak. What heap size (-Xmx) are you specifying? And are you sure that the JVM is using that much heap? Checking the process memory utilization usually helps here - if you set -Xmx512M and the java process is using less than 100MB of memory, you know it didn't see the -Xmx512M. But if the java process is using around 600MB you kn ow that it did see the setting.
If you have a sufficiently large heap, then you need to figure out where the memory leak is. Try setting -XX:+HeapDumpOnOutOfMemoryError. This option causes the JVM to dump the heap to a file which you can then analyze using a tool such as VisualVM. VisualVM will show you which objects occur the most often and which objects are using the most heap space.
By the way, "too small of a heap" depends entirely on your application. If you are passing, and dealing with, very large objects then you will need a lot more heap that if you are working with ints, longs and short strings.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537768#537768]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months