Hello
I would like to have my custom hibernate.cfg.xml with my own mappings for my
application entitities.
I try to deploy process archive from Eclipse. But JBPM does not read my custom
hibernate.cfg.xml.
Does hibernate.cfg.xml have to be in some folder in process archive? What is
structure
Hello,
I have following scenario.
I have process that sometimes creates subprocess. The subprocess has several
async actions (I call ESB service). The super process checks result value of
the subprocess and according that value the superprocess continues.
I sometimes want to end superprocess
Hello Alex,
anonymous wrote :
| No updates will be ever lost with higher isolation levels. The database
will ensure that no two transactions that update the same data item can proceed.
|
Yes, I agree. But the db will block the second update until transaction with
first update commits.
I think that optimistic locking needs READ COMMITTED isolation level of
transactions. Nothing more, nothing less.
Pavel
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4159414#4159414
Reply to the post :
I must rewrite my last but one reply. I was trying it ones more how it behaves
and the blocking I was writing about is not truth.
Hello Alex,
anonymous wrote :
| No updates will be ever lost with higher isolation levels. The database
will ensure that no two transactions that update the same
Hello,
I was thinking about REPEATABLE_READ isolation level with optimistic locking
and it seems to me that it can not work. In docs there is written that
anonymous wrote : Non-Repeatable reads are a problem for optimistic locking and
therefore isolation level READ_COMMITTED is not enough
Sorry Ed, the docs is not surely yours. I have spent more time making the
multithreaded job executor work, still have problems, so I am a little bit
nervous.
Sorry,
Pavel
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4158945#4158945
Reply to the post :
Hello,
I use Oracle and when I try to set isolation level of data source to
TRANSACTION_REPEATABLE_READ I got exception that READ_COMMITTED and
SERIALIZABLE are the only allowed isolation levels.
When I try to set isolation level of data source to TRANSACTION_SERIALIZABLE it
works, but I
There is written that Oracle offers the read committed and serializable
isolation levels, as well as a read-only mode that is not part of SQL92. Read
committed is the default.
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10743/consist.htm
Can I do something except change of
Hello Ed,
I don't know why but I thought that StaleObjectStateExceptions are errors. But
in docs (chapter 6.5) and in JIRA
http://jira.jboss.com/jira/browse/JBPM-995
is clearly written that StaleObjectStateExceptions are expected behaviour and
it doesn't matter if these exceptions occur.
Hello,
when running with more threads, or when suspending running process I receive
StaleObjectStaleException. I tried to get rid of them according to docs
(chapter 6.5).
I set log4j
log4j.logger.org.hibernate.event.def.AbstractFlushingEventListener=FATAL
With that log4j setting some stack
Hello,
Oracle does not help. I received
| 16:35:49,036 ERROR [AbstractFlushingEventListener] Could not synchronize
database state with session
| org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
JBoss has one transaction manager lookup class
org.hibernate.transaction.JBossTransactionManagerLookup.
| property
name=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.JBossTransactionManagerLookup/property
|
and I tried set following possibilities for
My process definition
| ?xml version=1.0 encoding=UTF-8?
|
| process-definition name=TestProcess
|
| start-state name=start-state
| transition to=ForEachForkActionHandler/transition
| /start-state
|
| node name=ForEachForkActionHandler
|
I was able to simulate the exception in join with fork instead of
ForEachForkActionHandler as well.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4157471#4157471
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157471
Yes, I've read. It seems to me that all JIRAs around this were closed with
fixes available in version 3.2.2. I use 3.2.2 and still have problems.
Regards
Pavel
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4156973#4156973
Reply to the post :
in discussion http://www.jboss.com/index.html?module=bbop=viewtopict=109636
Alex wrote
anonymous wrote :
| well, next problem, on a join node all incoming branches try to update the
parent token, which fails
|
I think that that's my problem. This code in org.jbpm.graph.node.Join crashes
I tried jBPM from CVS head as well with same result.
I use hsqldb.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4157068#4157068
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157068
Ok, I will try to test it on Oracle. If I encounter problems, I will let you
know.
Regards
Pavel
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4157075#4157075
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157075
Hello,
I would like to have multihreaded JobExecutor. I allowed more threads by
increasing nbrOfThreads attribute in jbpm.cfg.xml. I use
http://wiki.jboss.org/wiki/ForEachForkActionHandler
I have simple process
Start StateMyNodeActionHandler-ForEachForkActionHandler Node-ESB
Hello,
I think problem is that you did not specified which version of subprocess
should be run. First try attributed binding with value late. If it dows not
work, try attribute version with specified version id.
sub-process name=sub binding=late/
Pavel
View the original post :
Thank you for reply. I have not tested that but it seems to be what I want from
source code.
Thank you very much
Pavel
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4153902#4153902
Reply to the post :
Hello,
I reject this issue, propably it was caused by old version of
jboss-messaging-client.jar or not dropping old tables. I have not encountered
the exceptions since I fixed the jars and dropped all tables
Sorry for the post, my fault
Pavel
View the original post :
Hello,
I have checked out JBossMessaging_1_4_0_SP3_CP02 from SVN and I encounter
following exception when processing a lot of messages.
| 2008-04-24 13:43:49,168 ERROR
[org.jboss.messaging.core.impl.ChannelSupport] Failed to handle message
| java.lang.NullPointerException
| at
Hello,
I have several message driven beans that access db through hibernate. These
message driven beans work in scope of one JTA transaction, so they access
hibernate concurrently. It seems that hibernate is not configured well because
I am getting this exception.
| 14:46:44,652 ERROR
My fault, my terrible fault.
The exception is thrown by stateless session bean, not mdb. I reused same
reference to that stateless session bean by multiple threads (I once did look
up in initial context and then reused the reference). The threads then access
same instance of entity manager
Hello,
I have two message driven beans and both of them persist entity through entity
manager. Both message driven beans work in scope of one shared jta transaction.
In this special case is it possible to call EntityManager.persist in those mdbs
concurrently or shall I have to synchronize
I think that not synchronizing is source of my problems with exception I got.
Here is link to them http://forum.hibernate.org/viewtopic.php?t=983130. I will
still appreciate I somebody could comment it.
Thanks
Pavel
View the original post :
I forgot to mention that I use JBoss-4.2.1.GA with JBossMessaging-1.4.0.SP3
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4119163#4119163
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119163
Hello,
I have tried ejb3mdb example and changed message driven's queue name to
myQueue.
|
| @MessageDriven(activationConfig =
| {
| @ActivationConfigProperty(propertyName=destinationType,
propertyValue=javax.jms.Queue),
|
Hello,
I would like to get an object implementing XADataSource interface from JNDI.
I use Oracle and XADataSource that I have under JNDI tree is implemented by
class: org.jboss.resource.adapter.jdbc.WrapperDataSource. Unfortunately the
class does not implement XADataSource interface.
I use
Hello,
according to my testing, oneway method does not return the thread of control to
the calling application prior to executing the actual business method.
I have read the spec, but please can somebody know answer these questions?
1. Is it possible to call oneway method in asynchronous
Hello,
I have JBossAS 4.2.1.GA, JBossWS-2.0.0.GA and I would like to try jBPM BPEL
examples. I have installed (copy jbpm-bpel.sar to jboss deploy directory) jBMP
BPEL 1.1.GA from http://repository.jboss.org/jbpm/bpel/1.1.0.GA/lib. But there
are no examples. So I have used examples from jBMP
Hello,
I know that I can implement web service as a stateless session bean or a
servlet. I know how to implement them, but I don't know when to use servlet
based and when to use EJB based web service implementation.
What is the difference between those two approaches?
Are there some
Hello,
Is there any restriction on the client that looks up objects from the global
namaspace? I have read this article http://jbossupdate.sadalbari.com/2007/07/
and author says that
objects bound in global namaspace are available to any lookup on the SAME
network. Is there such restriction
I have been trying to solve the problem and my solution is:
public class SecureSocketExample extends ExampleSupport {
...
public static void main(String[] args) {
System.setProperty(SSLSocketBuilder.REMOTING_DEFAULT_SOCKET_FACTORY_CLASS,
org.jboss.example.jms.common.MySSLSocketFactory);
Hello,
How shall I configure queue, so that the queue is accessible only by ssl
connection. How shall I expose that queue? I would like to have queue
authentication based on certificates/keys.
I have followed secure-socket example. This example uses special secured
connection factory. But my
Maybe my problem would solve some kide of JNDI security...
Some connection factories would be internal (accessble only from local
computer) a the only accessible connection factory from outside world would be
SecureConnectionFactory from the example
So I have to study jndi securiy, I now
Hello,
I was looking at Secure Socket Connection Example. Is it possible to configure
client in a different way, not using system properties? For example is it
possible to configure the client (truststore password, truststore path) from
some decriptor or using some method parameters?
View
Hello, I am studding ws addressing right now and I thing I have the solution
for the two times clientid. You have to delete line
outProps.initializeAsReply(inProps, false) in
org.jboss.test.ws.jaxws.samples.wsaddressing.ServerHandler.handleOutbound. The
reason is that this line is called
Sorry for not mentioning the version. I use JBossWS 1.2.1.GA
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4066837#4066837
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066837
Hello, my WS-Security client looks like this. It works.
public class TestClient {
/**
* @param args
*/
public static void main(String[] args) throws Exception {
BasicConfigurator.configure();
I use JBossWS 1.2.1.GA With JBossWS 2.0.0.GA. It works as well. But there is
one small change in api. Except the line
((ServiceExt)service).setSecurityConfig(securityURL.toExternalForm());
in JBossWS 1.2.1
there is the line
Hello,
I have tested asynchronous invocations with simple web service and simple
standalone client. Everything works fine except that the client's virtual
machine does not end its run. Maybe ExecutorService in
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl is not ever shutdown. Is it
44 matches
Mail list logo