[jBPM] New message: "Re: Automatic transition from wait state - is it correct?"
by Ronald van Kuijk
User development,
A new message was posted in the thread "Automatic transition from wait state - is it correct?":
http://community.jboss.org/message/529214#529214
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Peter,
I do not get your remark about 2 seperate transitions. And regarding the 'timeout', he does let that handle by jBPM.
The table where the problem is caused is shown in the error he posts above, the timer table and the only thing that is not allowed to be duplicate there is the ID. This was already determined.
His transactions are already short, and yes it is an external system but if it has to be queried, it has to be queried, no other solution then. Using a async nodes does not solve this.
So I'm not quite sure what you propose.
Cheers,
Ronald
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529214#529214
14 years, 9 months
[jBPM] New message: "Re: Automatic transition from wait state - is it correct?"
by Peter Meggitt
User development,
A new message was posted in the thread "Automatic transition from wait state - is it correct?":
http://community.jboss.org/message/529206#529206
Author : Peter Meggitt
Profile : http://community.jboss.org/people/jbossphan
Message:
--------------------------------------------------------------
I haven't made use of "state" activities. Looking at the code it looks like a "state" activity will end the current transaction. Transaction demarcation is very important, especially if you are interacting with an external system. You don't want to hold a transaction open while waiting for an external operation to complete. You should let JBPM handle the timeout for you (and possibly have 1 transition for normal work and 1 transition for timeout). If the operation completes before the timeout, the job in the timeout queue needs to be deleted. If you go and add another timeout in the same transaction this might cause a problem. What table/constraint is being violated?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529206#529206
14 years, 9 months
[JBoss Messaging] New message: "Can't restart a JMS Queue"
by DJ Spiess
User development,
A new message was posted in the thread "Can't restart a JMS Queue":
http://community.jboss.org/message/529204#529204
Author : DJ Spiess
Profile : http://community.jboss.org/people/deege
Message:
--------------------------------------------------------------
Hi,
In the JBoss AS Admin Console, I stopped my queue under Resources|JMS Destinations (from the Control tab of the queue). When I try to start it again, the queue will not come back up. I get the error
java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'start' on component 'jboss.messaging.destination:name=ExpiryQueue2,service=Queue' with parameters [].
at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:201)
at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Is this not the right way to stop and start queues?
Thanks,
DJ Spiess
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529204#529204
14 years, 9 months
[Beginner's Corner] New message: "Re: JBoss AS and JVM usage."
by Lee Boyajian
User development,
A new message was posted in the thread "JBoss AS and JVM usage.":
http://community.jboss.org/message/529203#529203
Author : Lee Boyajian
Profile : http://community.jboss.org/people/leeb821
Message:
--------------------------------------------------------------
Thanks for your response Peter.
I'm still confused by your 'no' answer to question number two.
I know a system admin ( not a JBoss Admin) who claims he can start different apps ( two WAR files for example) under one
JBoss instance and each of these apps is run under a separate JVM and each is bound to separate ports. He says he does this
by scripting the setting:
JAVA_OPTS = $JAVA_OPTS -Djboss.platform.mbeanserver
How can I prove or disprove that the app is running under a new JVM ?
Thank You
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529203#529203
14 years, 9 months
[Beginner's Corner] New message: "Re: JBoss AS and JVM usage."
by Peter Johnson
User development,
A new message was posted in the thread "JBoss AS and JVM usage.":
http://community.jboss.org/message/529200#529200
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
1) Yes
2) No (well, you could run multiple JBoss AS instances and deploy one app to each)
3) Not sure what the question was here... But your assumption appears to be correct regarding separation of dev/test/production.
4) With one app per app server you have the ability to configure each one to your liking, and there is the redued risk of conflicts, and if one app goes down it will not effect other apps. Usually having only one app per app server is a good idea for "significant" apps that have numerous users and get a lot of use. The down side is that each app server instance potentially uses a lot of memory.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529200#529200
14 years, 9 months
[Beginner's Corner] New message: "JBoss AS and JVM usage."
by Lee Boyajian
User development,
A new message was posted in the thread "JBoss AS and JVM usage.":
http://community.jboss.org/message/529197#529197
Author : Lee Boyajian
Profile : http://community.jboss.org/people/leeb821
Message:
--------------------------------------------------------------
I have been looking for some answers concerning the following questions about JBoss and JVMs.
1. By default, does JBoss run it's deployed Web Apps (WAR file) or EJB Apps (EAR file) in the same JVM that JBoss started in ?
2. If so, is there a way to change this default behavior ? - i.e.: deploy two WARs in JBoss into two separate JVMs? Is it something having to do with the JBoss mbeanserver configuration?
3. I would think that there is - if you consider the example of deploying the same app on the same machine more than once - each with different deployment settings. You would Not want both apps to share the same data ( maybe one is deployed as Dev and one as Test), so maybe you want them in separate JVMs.
4. Are there any opinions as to the choices of running one deployed app per one application server vs. running multiple applications on one application server. I know the answer is probably application-specific - I'm looking for any general gotchyas.
Thanks in advance........
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529197#529197
14 years, 9 months
[jBPM] New message: "Re: A few questions about jBPM"
by Ronald van Kuijk
User development,
A new message was posted in the thread "A few questions about jBPM":
http://community.jboss.org/message/529194#529194
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
Antoine,
Thanks for your interest in jBPM. Your questions are rather high level, so forgive me if I answer on that same high level for jBPM4
> - what about BPEL compliance?
jBPM 4 has no BPEL implementation. Instead, BPMN2 is getting implemented
> - how are packaged designed applications?
For jBPM there are many ways, running as a server, embedding in webapps, in standalone applications etc... See the docs for this
> - is there any standard connector provided (database, BI tools, etc)
Connectors for database? jBPM has a 'HQL/SQL' node but not sure if that is what you mean. Specific things can be implemented very easily in Java.
Real full BI tooling is not provided. jBPM has a console where you can create reports via BIRT/Jasper Reports. The DB model is open, sou you can use whatever professional tooling you choose.
> - Are EJBs supported?
Yes
> - is there any JAAS support?
jBPM does not need this, but you can use it if you want. It's completely independent of whatever authenticaion mechanism you choose/
> - Any JMX plug?
No,this is not available. May I ask what kind of JMX functionality you are thinking of? Starting/stopping the engine?
> - Any versionning system? (something in the webapp that would help manage process versions?)
jBPM can run different versions of processes and the console can be used to manage these
> - Is that possible to trigger a process from an external program like a scheduler?
Yes (it is plain java)
> - Is remote deployment possible?
Yes
> - What are the supported Web servers?
Web? Or application servers? No real limits. JBoss tests it on JBoss 5 and Tomcat 5.5, but it is known to run on WLS 10, Glassfish and others. You only need to figure out which dependent jars to bundle based on the JBoss example
> - Are the processes compatible with other BPM engines?
Designtime? jPDL: no, BPMN2: partly (mainly because there are custom extensions
> - Compatible OS?
All where JSE 5 or 6 runs
> - Support price ?
Send a mail to the JBoss commercial people for this
> - What about error management? (Exceptions handling, etc)
Errors on a business level should be modelled in the process, Exceptions when calling the API should be handled by yourself other errors result in a rollback to the last known 'state'
> - High availability?
The DB is the 'shared consious', so Yes...
> - How configurable are user dashboards?
jBPM does not have dashboards. There is a basic console but this is not realy for endusers. Most people using jBPM develop their own UI
> - How are users/roles managed?
In whatever way you want. jBPM comes with a simple identity store, but you can plugin your own
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529194#529194
14 years, 9 months