[Installation, Configuration & DEPLOYMENT] - shutting down jboss server running on a machine having multi
by Mahi_nath
I have JBoss server running on a single machine having multiple IPs (say xxx.xxx.xxx.108,xxx.xxx.xxx.109,and so on), i need to bind my application only to particular IP(say xxx.xxx.xxx.108).
With respect to this i have referred the below link
http://wiki.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOneMachine
and i tried
run.bat -c default -b xxx.xxx.xxx.108
Although the above solution worked for me (i mean i can bind my application to xxx.xxx.xxx.108 IP only ).But the problem is how do i stop that jboss server.
On the JBoss site (which i have mentioned above)there is info for shutting down different instances if the different instances are using different ports with the "shutdown" command however I couldnt find anything for my situation. In addition to that, the shutdown commands options seem not to support any references to a particular IP address.
Also i tried ./shutdown.bat -S -s X.X.X.108:8500
where 8500 is the port on which my application is running.
with the following results:
Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: 192.168.111.108:8500 [Root exception is javax.naming.CommunicationException: Failed to retrieve stub from server 192.168.111.108:8500 [Root exception is java.io.EOFException]]
NOTE : Iam using JBoss 3.2.6 version.
Please help in this regard. Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171272#4171272
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171272
17 years, 10 months
[JBoss jBPM] - Re: workaround for StackOverflow exception
by petia
I have a problem with setting a timer on a Task Node.
I have defined the following process
<?xml version="1.0" encoding="UTF-8"?>
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="timer-test">
| <swimlane name="Initiator">
| <assignment actor-id="admin"></assignment>
| </swimlane>
|
| <start-state name="start-state1">
| <task name="start task" swimlane="Initiator"></task>
| <transition to="TaskA"></transition>
| </start-state>
|
| <task-node name="TaskA">
| <task name="TaskA">
| <assignment actor-id="petia"></assignment>
| </task>
| <timer duedate="10 seconds" transition="skipB"></timer>
| <transition to="TaskB" name="execute B"></transition>
| <transition to="end-state1" name="skipB"></transition>
| </task-node>
|
| <task-node name="TaskB">
| <task name="TaskB">
| <assignment actor-id="petia"></assignment>
| </task>
| <transition to="end-state1"></transition>
| </task-node>
|
| <end-state name="end-state1"></end-state>
| </process-definition>
|
The idea is that if the timer in Task Node TaskA expires the process will be ended (and the Task Node TaskB skipped).
However, when running the process and the timer expires, the transition skipB is not executed (as specified in the code) and the process stalls at Task Node TaskA (which appears in the tasks list, but without an "End" button available for it).
I am running jBPM 3.2.3. From the discussions above I can see that there have been some problems with timers on State Nodes which have been fixed in 3.2.4. Does this apply to my problem with timers on task nodes? Have anyone else had similar problem or am I doing something wrong?
Help is appreciated. Thanks in advance.
Kind regards, Petia
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171251#4171251
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171251
17 years, 10 months