[JBoss Remoting] New message: "Re: Client hangs when get JMS connection factory"
by Rakesh Naidu
User development,
A new message was posted in the thread "Client hangs when get JMS connection factory":
http://community.jboss.org/message/520960#520960
Author : Rakesh Naidu
Profile : http://community.jboss.org/people/GoldenHawk
Message:
--------------------------------------------------------------
Similarly, I've managed to simulate the error as below:
1. Start a client application on a remote computer
2. Abruptly kill this client application (in this case,using the Task Manager)
3. Check the SERVER.LOG generated for this period
The moment the application is killed, the marshalling exception appears on the SERVER.LOG. I actually kept the SERVER.LOG scrolling for this experiment & the exception appears exactly when the application is killed. I think this closely resembles the action of disconnecting the network point, where from the server's view, the Client has 'disappeared'. When I check the NonDurableMessage count at this very moment, I can see a spike in the number but it lasts for a few seconds only before returning to 0. I assume all the messages were consumed or dealt with properly by JBREM.
Under a mass-scale environment like the one I'm in (with an excess of 100 nodes to 1 server), its difficult to pin-point which client triggered this exception or how it happened. All we have in the end of the day is the exception in the SERVER.LOG & a whole bunch of unconsumed messages under NonDurableMessages. Is it possible to track back which node caused this issue?
At the moment, all I can do is restart the server every time my memory runs low due to the message pile-up.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520960#520960
16 years, 4 months
[jBPM] New message: "Re: Problem Signaling a Waiting Execution"
by Andy Barreras
User development,
A new message was posted in the thread "Problem Signaling a Waiting Execution":
http://community.jboss.org/message/520950#520950
Author : Andy Barreras
Profile : http://community.jboss.org/people/FlyNavy
Message:
--------------------------------------------------------------
Ronald,
I think you are on to something. Here's the issue. I have a Process Definition with 8 steps (i.e activities) in it (Activity1 through Activity8). Each step is a state. When I create a instance of the Process Definition, I get the exception because programatically, the API only recognizes the first activity (state) so when I signal the ProcessEngine to advance, there is nothing to advance to. Here's how I tested it where's as the executionListener variable is an instance to the EventListenerExecution that is passed as an argument in my Listener class:
System.out.println("CURRENT EXECUTION NAME: " + executionListener.getName());
System.out.println("CURRENT EXECUTION ID: " + executionListener.getId());
System.out.println("CURRENT EXECUTION KEY: " + executionListener.getKey());
System.out.println("CURRENT EXECUTION STATE: " + executionListener.getState());
System.out.println("CURRENT EXECUTION PRIORITY: " + executionListener.getPriority());
System.out.println("IS PROCESS INSTANCE: " + executionListener.getIsProcessInstance());
Set<String> s = executionListener.findActiveActivityNames();
Iterator<String> i = s.iterator();
while(i.hasNext()) {
String activity = i.next();
System.out.println("ACTIVITY NAME IN SET [CURRENT]: " + activity);
}
Outputs:
1. I know the ExecutionListener is a ProcessInstance since the executionListener.getIsProcessInstance()returns 'true'
2. There is only one activity (Activity1) in the Set that is returned from executionListener.findActiveActivityNames()method even though (as you can see in the JPDL code below), there are 8 activities.
JPDL code:
<?xml version="1.0" encoding="UTF-8"?>
<process name="Simple Activity Scheduling" xmlns="http://jbpm.org/4.0/jpdl">
<start g="188,25,48,48" name="start">
<transition g="-110,-11" name="to Activity1" to="Activity1"/>
</start>
<state g="137,123,150,52" name="Activity1">
<on event="end">
<event-listener class="my.package.MyListener1"/>
</on>
<transition name="to Activity2" to="Activity2" g="-138,-18"/>
</state>
<state g="137,220,152,52" name="Activity2">
<on event="end">
<event-listener class="my.package.MyListener2"/>
</on>
<transition name="to Activity3" to="Activity3" g="-153,-18"/>
</state>
<state g="128,322,170,52" name="Activity3">
<on event="end">
<event-listener class="my.package.MyListener3"/>
</on>
<transition name="to Activity4" to="Activity4" g="-129,-18"/>
</state>
<state g="141,420,142,52" name="Activity4">
<on event="end">
<event-listener class="my.package.MyListener4"/>
</on>
<transition name="to Activity5" to="Activity5" g="-150,-18"/>
</state>
<state g="129,527,168,52" name="Activity5">
<on event="end">
<event-listener class="my.package.MyListener5"/>
</on>
<transition name="to Activity6" to="Activity6" g="-137,-18"/>
</state>
<state g="127,632,170,52" name="Activity6">
<on event="end">
<event-listener class="my.package.MyListener6"/>
</on>
<transition name="to Activity7" to="Activity7" g="-46,-18"/>
</state>
<state g="165,739,92,52" name="Activity7">
<on event="end">
<event-listener class="my.package.MyListener7"/>
</on>
<transition name="to Activity8" to="Activity8" g="-130,-18"/>
</state>
<state g="142,846,139,52" name="Activity8">
<on event="end">
<event-listener class="my.package.MyListener8"/>
</on>
<transition name="to end" to="end" g="-36,-18"/>
</state>
<end g="651,849,48,48" name="end"/>
</process>
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520950#520950
16 years, 4 months
[JBoss AS Documentation] New message: "JBoss 4.0.5.GA libraries"
by Roland Asmann
User development,
A new message was posted in the thread "JBoss 4.0.5.GA libraries":
http://community.jboss.org/message/520943#520943
Author : Roland Asmann
Profile : http://community.jboss.org/people/MALICE00
Message:
--------------------------------------------------------------
Hi all,
I was wondering if I could somehow get my hands on a list of the libraries and their versions in AS 4.0.5.GA.
I have a project, created by a colleague, that uses the AS-dir to reference libraries. The project has been configured to use maven, and the libs are referenced using the system-scope. However, we are trying to get rid of the necessity to have an AS installed when building the project. Now, I can go about this two ways (AFAIK):
1) deploy all the referenced libs to our company's repository
2) try to figure out what the groupId, artifactId and version for the references libs are and download them on demand from an internet repository
I'd prefer the second solution, but unfortunately not all libs are as easy to figure out.
So, is there a way to figure out which libs are in a specific JBoss release?
If somebody knows of another (easier) solution, I'm open to any and all suggestions!
Thanks.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/520943#520943
16 years, 4 months