[Performance Tuning] - VPS config tips
by mgvarley
Dear all - I am preparing to migrate my app (seam, mysql) after a long period of development onto production servers. I am renting a dedicated Centos server with an Intel Q660 chipset and 8gb memory. I want to be able to maximise performance whilst leaving the door open for future growth (i.e. the ability to add extra nodes with minimal downtime) and as such, I have setup a 4 VPS environment running on Xen partitioned as follows:
= VPS 1 (Apache and Postfix email, <Proxy balancer://mycluster> load balancing to the JBoss servers,)
= VPS 2 & 3: JBoss AS 5.0.1GA
= VPS 4: MySQL
This is all very new to me (Centos and administering JBoss) and so I would be very grateful for any suggestions relating to the config, specifically:
= The recommended distribution of my 8gb across the VPS (e.g. a simple, 2,2,2,2 ?)
= Recommendations for my JAVA_OPTS settings in server.xml
= Any recommendations for config relating to my DataSource file
= Should I be using mod_cluster instead of my current load balancing config
= Anything I've (probably!) missed :o)
Thanks in advance for any advice.
mark
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235248#4235248
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235248
16 years, 11 months
[JBoss jBPM] - JBPM: Sub Process
by miggfried
Hi, i do not understand how to define sub processes.
in JBPM
My eample here is very simple.
First is here my subprocess
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="subProcess">
<start-state name="start-state1">
</start-state>
<end-state name="end-state1"></end-state>
</process-definition>
and here the main process which should be invoked the subProcess
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="mainProcess">
<start-state name="start-state1">
</start-state>
<process-state name="process-state1">
<sub-process name="subProcess"/>
</process-state>
<end-state name="end-state1"></end-state>
</process-definition>
I can do what i want, i always get the following exception (if the processInstance signals the current token, i.e. the start state).
I test these process in the jsf console.
Both processes are deployed!!!!
org.jbpm.JbpmException: can't create a process instance when processDefinition is null
it is very hard to find something about sub processes ,only some lines in the doku.
But these are exactly the lines, i used for these test case.
Can someone help me?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235224#4235224
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235224
16 years, 11 months