There is an incantation you *must* follow when you send/receive your JMS
message. If you don't close the connection, the session or whatever, you get
this. So make sure in all the points where you use JMS, you properly close
things up.
And, as I said, enable TRACE in log4j.xml in order to see w
Ok, so here is how I solved the problem.
It is due effectively to the fact that a connection is not closed. I thought I
knew all the points in the application that interacted with JMS, I checked and
double checked them, still there was a place that did its own JMS sending
without closing connec
Have you found an answer ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129587#4129587
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129587
___
jboss-user mailing list
jbos
I was wrong, the ReadTask/WriteTask pairs still accumulate, my JConsole was not
refreshing the thread list which lead me to think the problem was over.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129568#4129568
Reply to the post :
http://www.jboss.com/i
Ok, the problem was that the jBPM installation I used did not close connections
after each and every JMS message send it did.
In fact, jBPM JMS subsystem keeps one single Connection and Session for the
whole life of the server application.
The JMS specification says that :
anonymous wrote : A J
Ok, I confirm it myself : ASPATCH300 didn't make it in the 4.0.5GA. But, if you
look at the svn rep, you can see that it has been eventually merged :
The history of SocketManager.java in 4.0.5:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/tags/JBoss_4_0_5_GA_CP11/messaging/src/main/org/jbos
Hello,
I see the thread leak problem described in
http://jira.jboss.org/jira/browse/JBAS-4525 was backported for the 4.0.3 branch
in http://jira.jboss.org/jira/browse/ASPATCH-300.
I am using 4.0.5GA, and still the thread leak behaviour manifests itself.
Inspecting the jvm with JConsole, i can
"shoeb1981" wrote : Nodes come and go.
Thanks for your answer. Of course I mean the nodes at lookup time, I realize
that they may change.
I should be possible, the load balancing and failover logic is in the smart
stub, not on the server.
View the original post :
http://www.jboss.com/index.ht
Hello,
suppose I have just looked up an ejb proxy on a cluster (jnp://machine:1100).
Can I somehow query it in order to know the available nodes in the cluster ?
I have tried introspecting an ejb proxy, no success. I have read
http://www.ieeetcsc.org/newsletters/2003-02/labourey.html and I do h
Mark Richards about the Command pattern -- which is heavily used by jBPM:
http://www.nofluffjuststuff.com/media.jsp?mediaId=28
Noteworthy: he uses a DTO view of the Command for the client; the CommandImpl
that contains the actual code only resides on the server ; he hates dynamic
commands too :
Do you think there should be a fix for this issue ? Should I file a Jira ?
I personnaly think this will be an issue for all people that use jBPM for
orchestrating remote services that take a long time to execute.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
Jeff, if I understand correctly the difference between my installation and
yours is that I use the JMS system for async execution while you use the
built-in database-based messaging system.
For what it's worth, in my case I don't feel the need to use asynchronous
continuations because of parall
Hello,
I have a process that contains several nodes that may take a long time to
execute (hours). I order to be able to have a trace of what's happening, I use
asynchronous continuations (async="true" for the slow nodes).
The whole things goes like this: a process initiator send lots (hundreds
Hello,
On JBoss 4.0.5, I want to expose a webservice that returns objects containing
fields of type java.net.URL (note : NOT java.net.URI). I see in the
documentation that java.net.URI is mapped by default to xsd:anyURI, not so with
java.net.URL.
I have used wstools.sh to generate jaxrpc-mappi
Here it is : http://wiki.jboss.org/wiki/Wiki.jsp?page=BshCommand
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087213#4087213
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087213
__
Here is my current implementation of BshCommand in case anybody needs it.
It supports passing optional parameters to scripts (in case you keep your
script as a resource and want to pass it a parameter without having to
String.replaceAll(...):
package org.jbpm.command;
|
| import java.util.H
I guess donations should be accepted for scripted commands too :)
I think the big problem with the set of static commands is finding a case -- in
production -- that you can't manage because the command does not exist.
For instance, right now, if I'm not mistaken, there is no command that allows
Hello,
Even if the predefined Commands that can be thrown at the CommandService are
pretty rich, it would be nice to be able to throw any code you can think of,
without the need to lookup the sources of the various Commands and try to
figure out which combination would do the thing you want.
I
Hello,
I used to have my process deployed with async="false" nodes. Limiting the
number of concurrent processes was as easy as limiting the CommandListenerBean
MDB pool size.
Because of very long transactions the synchronous execution required, I had to
make some of the action nodes asynchrono
Hello,
I noticed that each ActionHandler is loaded by a different instance of
ProcessClassLoader. Incidentally that means that static variables cannot be
used, as static variables are classloader-scoped.
The code responsible for this is in ClassLoaderUtil.java
public static ClassLoader getPr
Well, the error handler can do its job inside a try-catch(Exception) and be
sure that nothing escapes it. That's what I personally do, in fact.
But if the error handler itself is not available, then it is more like a
"framework" problem. Moreover, the exception handler is typically loaded when
Hello,
It happens that my appserver's datasource become unavailable (no more
connections etc.) That should not happen, of course, but shit happens. In this
case, a runtime exception will occur in the middle of the process. I have an
exception handler pointing to an "OnErrorAction" that is supp
Hello,
I would like to have something like :
public class OnStartAction implements ActionHandler {
| Datasource datasource;
|
| ...
| }
And I would like to have the "datasource" property injected by jBPM. I haven't
actually found a direct solution. What I can do at this point is to
Hello,
IIUC, a process instance is actually persisted when entering a wait node or
finishing.
I have a process with non-wait (action) nodes that may last very long (hours)
themselves. They are calls to remote clusters so while long, they are not
resource-hungry. There is a business need to tra
Hi, thanks for your concern. I had read the wiki page you mention, still I
personally find that it is saner to enable isolation for the whole appserver
than to have a particular deployment descriptor specifying so.
In fact I did eventually succeed in making the console work. The problem I
ident
Hello,
I click "examine" on a process instance in the console and I get the exception
below. Anybody understands what could be wrong ?
Thanks.
| java.lang.NullPointerException
| java.lang.String.compareTo(String.java:998)
| java.lang.String.compareTo(String.java:90)
|
org.
created jira : http://jira.jboss.com/jira/browse/JBPM-1008
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059467#4059467
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059467
On second thought, cleaning should be only done in the SLSB remote call use
case -- because in-JVM callers may want to benefit lazy-loading...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059448#4059448
Reply to the post :
http://www.jboss.com/index.html?m
After some research, I found that my problem is not caused by a Hibernate
specific exception that gets thrown.
I use the GetProcessInstancesCommand in order to experiment with querying the
remote ejb. This command returns a list with ProcessInstances. A
ProcessInstance is read by Hibernate fro
Download the jbpm-jpdl-suite-3.2.1.zip file from sourceforge.
Inside you'll find deploy/jbpm-enterprise.ear. That's the main ear you'll
deploy.
It needs :
* a datasource called JbpmDS which you'll have to configure.
* an authentication policy called jbpm, to add to conf/login-config.xml
The la
ok, here is the answer. JBoss 4.0.5 comes with a Tomcat deployment with JSF
version 1.1
JBPM console uses version 1.2 and has the 1.2 jsf jars inside the war.
My particular way of deploying the jBPM is as a war inside a EAR. JBoss by
default uses a shared classloader that does not isolate EAR c
In fact, I see that the example jboss configuration that comes with the
jpdl-suite distribution is 4.0.4 and it works very well.
So it is inexact to say that the web console does not work on 4.0.5, it just
does not work on *mine*. I still fail to see in what my 4.0.5 is different
JSF-wise from
jBPM 3.2.1 web console does not work under jboss 4.0.5 : anybody could explain
why and what to do in order to make it work ?
I suspect it is a JSF 1.1 vs 1.2 kind of thing but I don't know JSF at all so
I'm kind of lost. I found this that looks similar :
http://www.jboss.org/?module=bb&op=vie
Hello,
I use the remote ejb/CommandServiceBean ejb in order to query an enterprise
(EJB) jBPM deployment.
The EJB client only depends on the jBPM jar (for the various Command
implementations) and on the JBoss client jar. If a Hibernate exceptin occurs,
it is wrapped by a JBPMException and ret
Use case : I have a string variable, containing an exception stacktrace
formatted as a string. I want to put this variable into the execution context
so that users can see it listed in the web console and understand why the
process has failed.
The stacktrace being big, I get a Hibernate excepti
While the official version of the CVS is now 3.2.1, I see lots of development
is going on especially on the Seam integration.
Any idea if 3.2.1 is to expect in the near future or is 3.2.1 more like a 3.3.0
?
In my search for stability, I would gladly go back to 3.1.x; still I do need
the EJB f
created jira issue : http://jira.jboss.com/jira/browse/JBPM-992
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054965#4054965
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054965
___
Similar problem : http://www.jboss.com/index.html?module=bb&op=viewtopic&t=67818
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053933#4053933
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053933
Still hanging to this issue : do you think this is actually a bug ? Should I
open a Jira ? Should I post more information ?
Thank you,
Adrian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053273#4053273
Reply to the post :
http://www.jboss.com/index.html?
Jira created : http://jira.jboss.com/jira/browse/JBPM-982
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053002#4053002
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053002
___
I fixed the class ProcessClassLoader in order to correctly load resources.
Either it is a bug it has always been there and nobody ever loaded a resource
in a .par, or I don't get resource location inside par archives at all...
### Eclipse Workspace Patch 1.0
#P jbpm.3_HEAD
Index: jpdl/jar/src/m
I have just tried to include the .properties file inside the .par again, same
result :
| org.jbpm.JbpmException: couldn't get value for file
'jndi-services.properties'
| at
org.jbpm.file.def.FileDefinition.getBytes(FileDefinition.java:196)
| at
org.jbpm.instantiation.Pr
The only problem is that IDs do have business meaning, at least as far as the
JBPM console is concerned : the ID's are shown there in order to identify
processes, tasks etc.
That may be confusing for users as they may wonder whatever happened to the
tasks between 19 (last he solved) and 57 (the
Hello,
I wonder if there is some "good practice" to recommend concerning loading
properties files inside a process archive.
My process actions call EJBs on a remote cluster and must have access to
cluster location properties located in a file called jndi-services.properties.
Some time ago I tr
If I understand correctly, in order to generate table ids on Oracle, the
hibernate-generated DDL specifies one single sequence :
create sequence hibernate_sequence;
That means that successive values for, say, deployed processes
JBPM_PROCESSDEFINITION can be as far away from each other as 1 from
For people that have the local jbpm repository set to a different location from
the default, the ant build of the jpdl examples does not work.
So, on the current CVS head of jbpm.3 :
jbpm.3/jpdl/examples/example.base.build.xml :
| Index: example.base.build.xml
| ===
Hello,
I have a clustered JBoss installation; on the client side I call a remote SLSB
stub using the following jndi configuration :
| java.naming.factory.initial = org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
| java.naming.prov
I my case, I used the standard SQL creation table script which comes with the
jBpm distribution. I also changed the hibernate dialect to Oracle9Dialect.
The problems manifests itself as follows. Suppose you have a
musicians-jndi.properties file that you included in your process archive, at
the
Thank you.
Indeed, as indicated at
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107249 , I dropped the
constraint on (KEY_, PROCESSDEFINITION_) for the JBPM_PROCESSINSTANCE table
and the exception disappeared.
I don't fully understand the implications of this drop but at least I
Hello,
I have deployed jBPM 3.2 as an EAR under jBoss 4.0.5 with an Oracle 9
datasource.
In order to use Oracle, I basically ran the oracle db scripts in the
distribution and I changed the hibernate.dialect property in hibernate.cfg.xml
from org.hibernate.dialect.HSQLDialect to org.hibernate.
You need to set up a datasource called JbpmDS as well as authentication. I put
some ideas on http://obiecte.blogspot.com/.
hth.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040343#4040343
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=p
Hello, I am asking myself the very same question, have you found an answer ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040125#4040125
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040125
__
52 matches
Mail list logo