[jboss-user] [jBPM Users] - Re: JBoss j...@fosdem'10
hi Frederic. My colleague Falko thinks about it, I just forwarded the request to him and I guess he will contact you if not already done... Nice to hear the request for the JBoss Tool Stack there :-) Cheerio Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269428#4269428 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re:
Hi Juan. I think it is a good idea NOT to model all the backward transitions. Unfortunetely there is no out-of-the-box way of undoing (means rolling back a business transaction) at the moment. And some things have to be considered, like compensating actions and the like. There was a discussion about it already a couople of times, but if I am right, it is not yet built in. We always implemented it project specific if required. Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265798#4265798 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Problem with custered Queue + Message Selector
Hi all. We currently face a problem with a clustered queue and a message consumer using a message selector. The use case is, that an EJB3 SessionBean waits for a response on a queue with a certain correlation id. The consumer just gets messages from one cluster node, so basically it gets some of them, some not. This sounds like the problem described here: http://www.jboss.org/index.html?module=bbop=viewtopicp=4126510 So we tried the same with a Topic and a message selector, but faced exactly the same problem. Anybody an idea to this? If more information is needed, please feel free to ask, than I can post more. And I guess, Message Selector on clustered queues is still not working with JBoss Messaging out of the box? By the way, we use 1.4.2.SP1, did anything change with 4.5? I haven't found any JIRA issue regarding that, but maybe I was too blind to see... Thanks Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263734#4263734 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Does the jBPM deployer works?
If he want to deploy bar files, he is talking about jbpm 4. The deployer works, but not yet how it should in the end (the lifecycle is not yet clear). It is marked as experimental at the moment. Better deploy via Ant for the moment... Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4262102#4262102 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4262102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4: how to transition via Java handler/listener?
Influencing sequence flow in an eventHandler isn't the right approach. If yiu need own control flow logic, implement your custom activity. In jBPM 3 this was possible, but basically more because of a design flaw. This is why it was changed in jbpm 4. Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4260961#4260961 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4260961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL
Hi Sebastian. Look on the date of my post, it was in the beginning of 2008. Riftsaw came this year... This is the downside of hijacking threads ;-) For today you are totally right: If you want BPEL look at Riftsaw, but best is to avoid BPEL if you can and go for jPDL or wait for executable BPMN 2.0 ;-) Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4258249#4258249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL
anonymous wrote : I am bit worried if it will be accepted by vendors since a lot of them have made huge invests in their own execution models. Me not, since they all partizipate in the standardization team of BPMN (we joined that as well by the way ;-)). Basically I expect the most of them to pimp their BPEL engines to support BPMN. After all, the concepts are not THAT miles away (at least, most of them). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4258255#4258255 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Where's all the Documentation gone?
http://www.jboss.org/jbossjbpm/jbpm_documentation/ works for me as well... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4256587#4256587 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4256587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: does JBPM support below features?
anonymous wrote : | whether rule actions can be implemented as webservice or java class or stored procedure? | Still don't get what you try to achieve. Can you elaborate a bit or make a small example? What rule action? It should be called from a process? ...? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4252678#4252678 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4252678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: does JBPM support below features?
The problem is: I still don't understand the question. You have some rules (in what format? What implementation? Drools? Or...?). And you want to call them in the jbpm process? And this calling should be done via web service? And why are you refereing to stored procedures? Maybe you have rules in a completly different format? Would be good, if you give the domain example of what you are trying to achieve. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4252691#4252691 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4252691 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Performance question
We have pretty good experiences, even in high load environments... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247005#4247005 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Form template used in jBPM for Swing application
We will restructure out homepage in a month, this will be the new URL's: http://www.bpm-guide.de/open-source-bpm/swing-gui-for-jbpm/ http://www.bpm-guide.de/open-source-bpm/jbpm-gui-tutorial/ But this was just done for jbpm 3, must be rewritten for jbpm 4... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4246198#4246198 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [JBPM4] How to maintain class files for different Proces
Hi sushantgupta402. True, jbpm 3 deployed class files to the database. We discussed that for jbpm 4 but at least moved it to a later stage. Actually I thiunk it is not a good idea to deploy classes to the database. YOu could still achieve something like that if you use the JBoss deployer, but this is still experimental in the current code base. It goes in this direction: http://www.bpm-guide.de/2008/10/16/jbpm-deployer-for-jbpm-in-enterprise-environments/[/url] and [url]http://www.bpm-guide.de/2008/11/14/jbpm-deployer-status-and-sourcecode/ Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4245729#4245729 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245729 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [JBPM4] How to maintain class files for different Proces
Sorry for the broken link: http://www.bpm-guide.de/2008/10/16/jbpm-deployer-for-jbpm-in-enterprise-environments/ http://www.bpm-guide.de/2008/11/14/jbpm-deployer-status-and-sourcecode/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4245730#4245730 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbpm process simulation
Hey Johan. But if you are interested it you can give some helping hands ;-) If there is a real need for it it could be ported to jbpm 4, but I cannot do it in my free time, even if it is a quite interesting topic... What is your use case by the way? Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243987#4243987 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: the GPD in jBPM 4.0
Correct View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243104#4243104 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: 3 blog entries about jBPM 4.0
Nice, good intro... I blogged about an example as well, but in German: http://www.bpm-guide.de/2009/07/08/ein-kleiner-jbpm-4-showcase/. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243113#4243113 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBpm 4.0CR1 - Getting variable from processInstance
Use the Service Interface: | executionService.getVariable(... | // or | executionService.getVariables(... | The design has changed from jbpm 3 to 4. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4242425#4242425 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4242425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JPbm 4 - Exception handling
Hi Volvin. This feature will not (YET!) be available in 4 GA. It will be introduced later. Didn't had a high enough priority... Cheers Berdn View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4239300#4239300 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with examples and ant deploy.examples on jbpm-4.
Best is to check with the current schema what is used which is not there... Before that, everything is just a rough guess... if it was removed, maybe the SVN log reveals why. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4239200#4239200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with examples and ant deploy.examples on jbpm-4.
I guess so as well. Seems they use constructs not present in the xsd (either old or brand new ;-)). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4239198#4239198 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4239198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM on GlassFish - HTTP status 500
Hi Ronald, thanks for the answer! Could be, unfortunately I run out of time for this issue as well :-/ But with removing all gravel sort and filter tags as proposed, the console works on Glassfish correctly, which is OK for me at this moment... Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226083#4226083 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM on GlassFish - HTTP status 500
This seems to be still an issue, which is a bit disgusting for Glassfish users :-( Anybody has new thoughts on this? Or solved it without just removing sorting and filtering? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225917#4225917 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: performance limits of jbpm
Sorry, just a very quick answer (since I get my pile of work done and start vacations next week :-)): If you have actions which cannot be rolled back you should think about introducing transaction boundaries (async=true in jbpm) correctly. For the logging I basically extended the DbLoggingService, but there where some tricks to get it to work with the exceptions correctly. Maybe I have time to blog about it after my vacations... Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4214007#4214007 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Own DLQ for EJB3-MDB via ActivationConfigProperty doesn'
Hi jaikiran, thanks for the reply! Just to keep you informed: Since I am going on vacation a colleage will have a look at it, maybe he comes back to you... Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4214008#4214008 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Own DLQ for EJB3-MDB via ActivationConfigProperty doesn'
Hi. I don't see anything about the DQL in the log, even on debug level? The only thing I see is the exception thrown: | 2009-02-25 09:12:47,214 ERROR ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] (WorkManager(2)-10:) Unexpected error delivering message delegator-JBossMessage[81510 | 4]:PERSISTENT, deliveryId=0 | javax.ejb.EJBTransactionRolledbackException: No row with the given identifier exists: [org.jbpm.graph.exe.Token#888] | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) |... | Here my queue configuration: | mbean code=org.jboss.jms.server.destination.QueueService | name=jboss.messaging.destination:service=Queue,name=CommandQueue |xmbean-dd=xmdesc/Queue-xmbean.xml | depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends | | attribute name=DLQjboss.messaging.destination:service=Queue,name=CommandDLQ/attribute | attribute name=SecurityConfig | security | role name=JBossAdmin read=true write=true / | role name=JBossAdmin_Role read=true write=true / | role name=itInf_Role read=true write=true / | role name=DLQ_Role read=true write=true / | role name=guest read=true write=true / | /security | /attribute | /mbean | Thanks for any hints... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212828#4212828 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Own DLQ for EJB3-MDB via ActivationConfigProperty doesn'
anonymous wrote : How did you verify this? By looking in the queue ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212930#4212930 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Own DLQ for EJB3-MDB via ActivationConfigProperty doesn'
In the jmx-console I see the counter of the default DLQ increasing, the one of the configured queue not. That's exactly my problem, the message is put into a DLQ, but the wrong one... In the meantime I wrote a unit test as well whicch really checks the content of the DLQ, the message is routed wrongly. The DQL attribute in the XML configuration was just a try, it even doesn't work without it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4213066#4213066 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Own DLQ for EJB3-MDB via ActivationConfigProperty doesn't wo
Hi! currently I have a problem with an EJB3-MDB which should have an own DLQ configured. As far as I found this can be done via ActivationConfigProperties in EJB3. So I added these Annotations to my MDB: | @MessageDriven(name=CommandMessageDrivenBean, activationConfig = { | @ActivationConfigProperty(propertyName=destinationType, propertyValue=javax.jms.Queue) | ,@ActivationConfigProperty(propertyName=destination, propertyValue=queue/CommandQueue) | ,@ActivationConfigProperty(propertyName=user,propertyValue=root) | ,@ActivationConfigProperty(propertyName=password,propertyValue=xxx) | ,@ActivationConfigProperty(propertyName=DLQJNDIName, propertyValue=queue/CommandDLQ) | ,@ActivationConfigProperty(propertyName=DLQUser, propertyValue=root) | ,@ActivationConfigProperty(propertyName=DLQPassword,propertyValue=xxx) | ,@ActivationConfigProperty(propertyName=DLQMaxResent,propertyValue=0) | }) | public class CommandMDB implements MessageListener { | But still the default DLQ (queue/DLQ) is used if an exception is thrown in the MDB. This puzzles me. If I configure a non existent queue in the ActivationConfigProperty DLQJNDIName, I get an exception that the queue is not available: | 2009-02-20 13:11:10,517 WARN WARN [org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-11:) Failure in jms activation org.jboss.resource.adapter.jms.inflow.jmsactivations...@716b8f(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@db19d3 destination=queue/CommandQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=root pass=not shown maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/InvalidDLQ DLQUser=null DLQMaxResent=5) | javax.naming.NameNotFoundException: queue/InvalidDLQ | at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242) | at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155) | at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312) | at $Proxy255.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at javax.naming.InitialContext.lookup(InitialContext.java:392) | at org.jboss.util.naming.Util.lookup(Util.java:215) | at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQDestination(AbstractDLQHandler.java:106) | at org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:82) | at org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:369) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:315) | at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:635) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756) | at java.lang.Thread.run(Thread.java:619) | So I think the property is read correctly... Any ideas? Thanks Bernd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4211773#4211773 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4211773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: performance limits of jbpm
What we did in a project is to exchange the LoggingService and to catch Exceptions in the environment. As soon a exception is thrown (causing the correct rollback) we send an event in a own transaction containing the log data to some special service handling this (via ESB in this case, meaning JMS as well). By the way: It is still correct from jbpm to rollback logs as well in my eyes! This code has never happend so no process audit logs should be there. The current logs in jbpm are business audit logs, not for technical error solving. This is indeed a bit missing now, but will get better in jbpm 4... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4210149#4210149 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4210149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Presentation on jbpm in Berlin 04.02.2009
Whoever may be interessted: I give a presentation on jbpm and drools at tje Java User Group on february 4th in Berlin in German: http://www.camunda.com/camunda_live/20090204_jugs_bb.html Cheers Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4204257#4204257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4204257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: java.lang.NoClassDefFoundError: org/jaxen/VariableContex
Did you solve this problem? I have more or less the same exception in a different problem space (executing Groovy script in a SLSB and providing an invalid Script which causes a groovy exception)... Any hint would be helpful, thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4201399#4201399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4201399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ExceptionHandler / changes since 3.2GA
Okay I added a comment (and solution proposal) in JIRA and would volunteer to commit it... But I want to wait for possible feedback from Tom first... Cheers Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4193185#4193185 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4193185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer stack trace when opening a processdefinitio
Jepp (I added that permanently to my eclipse shortcut ;-)), doesn't help... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181441#4181441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer stack trace when opening a processdefinitio
Strange, strange... I installed a new eclipse with the plugin, there it worked... But no it broke again :-/ The exception appears in the log AND on the designer pane. No additional information in the logs. The processdefinition.xml is valid, it can even get deployed. I deleted the gpd.xml (which normally worked if you really get problems), but that doesn't change anything... Any further ideas what's wrong here? And sorry for not responding: Didn't watched the topic for replies! Changed :-) Cheers Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181263#4181263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer stack trace when opening a processdefinitio
Maybe one more information: My eclipse crashed today and I created a new workspace, otherwise it kept in an endless build workspace loop :-/ The problems occurs since the crash. I deleted all .index files in the workspace (a recommendation of a colleague, but doesn't help). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181266#4181266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer stack trace when opening a processdefinitio
Fresh eclipse installation (same eclipse version, same gpd plugin version), now it opens the process again... Very strange... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181293#4181293 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Null Pointer in GPD when opening a processdefinition.xml
I have the same problem (same exception) today, but unfortunately no luck with just refreshing the workspace in eclipse... I currently use the latest GPD version 3.1.4... Any ideas? Koen maybe? Thanks Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4177948#4177948 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4177948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Unit testing MDBs?
Hi homerlex, did you receive any answer? Any new thoughts on that by you? I am currently not sure if it would be a better option to start up JBoss Messaging or the like for a test in a real-live scenario or to use MockRunner to mock JMS (which cannot really be used for integration testing)... Thanks Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161144#4161144 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - German article about jbpm simulation module available
Hi! I just wanted to post the link to two articles in the German Java Magazin about the jbpm simulation framework. They are linked on this side (as PDF): http://www.camunda.com/jbpm_simulation/introduction.html. A presentation (half German, half English) is also available as PDF... Have fun with it Cheers Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4157884#4157884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM integration with ESB
Hi! I currently wrote an article about that in the German Java Magazin. It is not yet printed (in fact, if you want to review it send me a mail before the weekend, that would be nice :-)) but the example is already available online: http://www.camunda.com/knowledge/jbpm_meets_esb.html. As soon as I get the article as PDF I will provide it there... But the integration is overall really simple. Cool stuff :-) Cheers Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4157887#4157887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM integration with ESB
anonymous wrote : but NO credits in this one :-) Yeah, that's why I made this my main post ;-)) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4157938#4157938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4157938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Webservice invocation woes!
Hi Jihnd, how did you get rid of the ClassCastException? java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl Thanks a lot Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137093#4137093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL
Cool, thanks for fixing it! :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126907#4126907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - BPEL 1.1GA: CodeSource for SOAPMessage is NULL
Hi! I try to get the newest BPEL stuff working. I downloaded JBoss AS 4.2.0GA and jbpm-bpel 1.1.GA. I installed jwsdp-2.0 without container. Afterwords I deployed the bpel ear, works fine and I see the webconsole. When I want to deploy the hello example I get an exception: | 11:32:09,906 ERROR [[deploymentServlet]] Servlet.service() for servlet deploymentServlet threw exception | java.lang.NullPointerException | at org.jbpm.bpel.tools.WscompileTool.getLocation(WscompileTool.java:240) | at org.jbpm.bpel.tools.WscompileTool.formatClasspath(WscompileTool.java:227) | at org.jbpm.bpel.tools.WscompileTool.callWscompile(WscompileTool.java:197) | at org.jbpm.bpel.tools.WscompileTool.generateJavaMappingImpl(WscompileTool.java:156) | at org.jbpm.bpel.tools.WscompileTool.generateJavaMapping(WscompileTool.java:143) | at org.jbpm.bpel.tools.WebModuleBuilder.callJavaMappingTool(WebModuleBuilder.java:264) | at org.jbpm.bpel.tools.WebModuleBuilder.buildModuleImpl(WebModuleBuilder.java:102) | at org.jbpm.bpel.tools.WebModuleBuilder.buildModule(WebModuleBuilder.java:84) | at org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:205) | I debugged and see the problem: class.getProtectionDomain().getCodeSource() is null for javax.xml.soap.SOAPMessage! What's the problem here? I am a bit suck so a small hint would be perfect! Thanks Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122556#4122556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL
By the way; I work with JDK 1.6.0_01 and copied the jaxrpc and saaj libraries from the jwsdp folders to the jboss/server/default/lib (also tried jboss/lib, no change) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122559#4122559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL
If I REDEPLOY the ear, the first exception vanished (strange?) but it doesn't work either. I get a different exception, seems like a hibernate mapping problem And it differs, if I start in Eclipse with JRE 1.5: | 12:11:37,515 ERROR [[deploymentServlet]] Servlet.service() for servlet deploymentServlet threw exception | org.hibernate.PropertyAccessException: could not get a field value by reflection getter of org.jbpm.bpel.wsdl.impl.InputImpl.id | at org.hibernate.property.DirectPropertyAccessor$DirectGetter.get(DirectPropertyAccessor.java:35) | at org.hibernate.tuple.entity.AbstractEntityTuplizer.getIdentifier(AbstractEntityTuplizer.java:183) | at org.hibernate.persister.entity.AbstractEntityPersister.getIdentifier(AbstractEntityPersister.java:3589) | at org.hibernate.persister.entity.AbstractEntityPersister.isTransient(AbstractEntityPersister.java:3305) | at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:181) | at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:512) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:80) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) | at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507) | at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499) | at org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218) | at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268) | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216) | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169) | at org.hibernate.engine.Cascade.cascade(Cascade.java:130) | at org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:431) | at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:265) | at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181) | at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) | at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507) | at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499) | at org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218) | at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268) | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216) | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169) | at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296) | at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242) | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219) | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169) | at org.hibernate.engine.Cascade.cascade(Cascade.java:130) | at org.hibernate.event.def.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:456) | at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:334) | at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181) | at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) | at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507) | at
[jboss-user] [JBoss jBPM] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL
1.) I don't find JWSDP 1.6 for download on the sun side any more.. Even with the help of google... Am I just too stupid? 2.) Which ant files do you exactly mean? I didn't find anything for configuration of JBoss... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122590#4122590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: First Thought about BAM
Hi guys. Is there any new progress in this field? Because we start with a master thesis now which also needs some BAM/Reporting capabilities (http://www.camunda.com/business_process_simulation/introduction.html), so maybe it would be a good idea to go in the same direction... Bernd. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080301#4080301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ActionHandler and ClassCastException
Hi aledbf, sounds like you have the jbpm jars multiple times in your server (maybe libs in the war, or ear and ...). I would search for that first... Cheers Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079232#4079232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with GraphElement.raiseException
Good point! I added that solution proposal in the JIRA issue and wait for a comment from Tom (to commit it or not) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070424#4070424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Presentation on JBoss jBPM at the Java Forum Stuttgart (5.7.
Just a short announcement: There will be a introduction presentation about JBoss jBPM (in german) on the (in Germany) well known Java Forum Stuttgart (http://www.java-forum-stuttgart.de/) on the 5th of July. Details you can see in the abstract: http://www.java-forum-stuttgart.de/abstracts.html#E6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052922#4052922 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Transaction changes foiled me
Any ideas to that issue? I encountered the same problem, I have a JTA environment with jbpm 3.2 (works with Hibernate) calling in a action a EJB 3 SessionBean with creates a EJB 3 Entity Bean. I am not sure whats the problem, the second transaction should just join the first one. The log says: | 2007-05-29 14:22:31,656 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 4835087776382976 | 2007-05-29 14:22:31,656 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join | 2007-05-29 14:22:31,656 DEBUG [org.hibernate.jdbc.JDBCContext] successfully registered Synchronization | 2007-05-29 14:22:31,656 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join | 2007-05-29 14:22:31,656 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Transaction already joined | 2007-05-29 14:22:31,656 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] executing identity-insert immediately | 2007-05-29 14:22:31,656 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 5) | 2007-05-29 14:22:31,656 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection | 2007-05-29 14:22:31,656 WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_PROTO for 131075, 28, 26, 1--3f57fa2e:f5d:465c0789:125-3f57fa2e:f5d:465c0789:12f | 2007-05-29 14:22:31,656 ERROR [STDERR] org.jboss.resource.connectionmanager.JBossLocalXAException: Trying to start a new tx when old is not complete! old: 131075, 28, 26, 1--3f57fa2e:f5d:465c0789:101-3f57fa2e:f5d:465c0789:10b , new 131075, 28, 26, 1--3f57fa2e:f5d:465c0789:125-3f57fa2e:f5d:465c0789:12f , flags 0 | 2007-05-29 14:22:31,656 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:886) | 2007-05-29 14:22:31,656 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:701) | 2007-05-29 14:22:31,656 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:446) | 2007-05-29 14:22:31,656 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773) | 2007-05-29 14:22:31,656 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564) | 2007-05-29 14:22:31,656 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337) | 2007-05-29 14:22:31,656 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518) | 2007-05-29 14:22:31,656 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399) | 2007-05-29 14:22:31,656 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) | 2007-05-29 14:22:31,656 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | 2007-05-29 14:22:31,671 ERROR [STDERR] at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47) | 2007-05-29 14:22:31,671 ERROR [STDERR] at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) | 2007-05-29 14:22:31,671 ERROR [STDERR] at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | 2007-05-29 14:22:31,671 ERROR [STDERR] at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:94) | 2007-05-29 14:22:31,671 ERROR [STDERR] at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.prepare(IdentityGenerator.java:69) | 2007-05-29 14:22:31,671 ERROR [STDERR] at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:30) | 2007-05-29 14:22:31,671 ERROR [STDERR] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158) | 2007-05-29 14:22:31,671 ERROR [STDERR] at
[jboss-user] [Beginners Corner] - Re: Problem with JBoss4.2.0GAJDK6
I have the same exception. The funny thing: If you delete the class Log4jLoggerPlugin completly from from the jar, it works fine ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048858#4048858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: configuring DbPersistenceServiceFactory is not working?
Nobody has a idea to this issue? Otherwise I think I report it as a bug, because it definitly do not work like documented (or am I that stupid?)... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043595#4043595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: configuring DbPersistenceServiceFactory is not working?
Yeah, I now that. But I wanted to get more control (for example setting HibernateTransactionFactory JNDI name) which should be done via configuration, but do not work as described... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043597#4043597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - configuring DbPersistenceServiceFactory is not working?
I am trying to configure the DbPersistenceServiceFactory like mentioned in the documentation | service name=persistence factory=org.jbpm.persistence.db.DbPersistenceServiceFactory | field name=isTransactionEnabledfalse //field | field name=isCurrentSessionEnabledtrue //field | /service | but the properties are not set on the Factory (I checked it via adding logging). I tried some variations: | boolean name=isTransactionEnabled value=false / | boolean name=isCurrentSessionEnabled value=true / | | field name=isTransactionEnabledboolean value=false //field | field name=isCurrentSessionEnabledboolean value=true //field | | field name=transactionEnabledboolean value=false //field | field name=currentSessionEnabledboolean value=true //field | // (because setter is called setCurrentSessionEnabled) | But non of them takes effect in the configuration of the factory. What I am doing wrong, how to configure it correctly? Thanks in advance Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043103#4043103 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: strange problem with many-to-one mapping in jbpm 3.2
Okay, one day later and one small step further, I compared the logs of the JTA-run: | [org.jbpm.configuration.JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]' | [org.jbpm.JbpmContext] creating [EMAIL PROTECTED] | [com.camunda.toolkit.jbpm.service.CommandServiceBean] executing [EMAIL PROTECTED] | [org.jbpm.command.DeployProcessCommand] parse process from String | [org.jbpm.command.DeployProcessCommand] deploy process: process-definition name='Test2'start-state name='start'/start-state/process-definition | [org.jbpm.graph.node.NodeTypes] node 'page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded | [org.jbpm.graph.node.NodeTypes] node 'start-page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded | [org.jbpm.persistence.db.DbPersistenceServiceFactory] creating persistence service | [org.jbpm.persistence.db.DbPersistenceService] creating hibernate session | [org.jbpm.persistence.db.DbPersistenceService] beginning hibernate transaction | [STDOUT] Hibernate: select processdef0_.ID_ as ID1_50_, processdef0_.NAME_ as NAME3_50_, processdef0_.DESCRIPTION_ as DESCRIPT4_50_, processdef0_.VERSION_ as VERSION5_50_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_50_, processdef0_.STARTSTATE_ as STARTSTATE7_50_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc limit ? | [STDOUT] Hibernate: insert into JBPM_PROCESSDEFINITION (NAME_, DESCRIPTION_, VERSION_, ISTERMINATIONIMPLICIT_, STARTSTATE_, CLASS_) values (?, ?, ?, ?, ?, 'P') | [STDOUT] Hibernate: insert into JBPM_NODE (NAME_, DESCRIPTION_, PROCESSDEFINITION_, ISASYNC_, ISASYNCEXCL_, ACTION_, SUPERSTATE_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, 'R') | [STDOUT] Hibernate: insert into JBPM_MODULEDEFINITION (NAME_, PROCESSDEFINITION_, CLASS_) values (?, ?, 'C') | [STDOUT] Hibernate: insert into JBPM_MODULEDEFINITION (NAME_, PROCESSDEFINITION_, STARTTASK_, CLASS_) values (?, ?, ?, 'T') | [org.jbpm.command.DeployProcessCommand] deployment sucessfull | [com.camunda.toolkit.jbpm.service.CommandServiceBean] ... finished with [EMAIL PROTECTED] | [org.jbpm.JbpmContext] closing JbpmContext | [org.jbpm.svc.Services] closing service 'persistence': [EMAIL PROTECTED] | [org.jbpm.persistence.db.DbPersistenceService] committing hibernate transaction | [org.jbpm.persistence.db.DbPersistenceService] closing hibernate session | [org.jbpm.svc.Services] closing service 'tx': [EMAIL PROTECTED] | [org.jbpm.svc.Services] closing service 'authentication': [EMAIL PROTECTED] | and the local Testrun: | [main] DEBUG DbPersistenceService : creating hibernate session | [main] DEBUG DbPersistenceService : beginning hibernate transaction | [main] DEBUG AbstractDbTestCase : | [main] DEBUG AbstractDbTestCase : ### starting testProcessDefinitionStartState | [main] INFO DeployProcessCommand : parse process from String | [main] DEBUG DeployProcessCommand : deploy process: process-definition name='Test2'start-state name='start'/start-state/process-definition | [main] DEBUG NodeTypes : node 'page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded | [main] DEBUG NodeTypes : node 'start-page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded | Hibernate: select processdef0_.ID_ as ID1_0_, processdef0_.NAME_ as NAME3_0_, processdef0_.DESCRIPTION_ as DESCRIPT4_0_, processdef0_.VERSION_ as VERSION5_0_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_0_, processdef0_.STARTSTATE_ as STARTSTATE7_0_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc limit ? | Hibernate: insert into JBPM_PROCESSDEFINITION (NAME_, DESCRIPTION_, VERSION_, ISTERMINATIONIMPLICIT_, STARTSTATE_, CLASS_) values (?, ?, ?, ?, ?, 'P') | Hibernate: insert into JBPM_NODE (NAME_, DESCRIPTION_, PROCESSDEFINITION_, ISASYNC_, ISASYNCEXCL_, ACTION_, SUPERSTATE_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, 'R') | Hibernate: insert into JBPM_MODULEDEFINITION (NAME_, PROCESSDEFINITION_, CLASS_) values (?, ?, 'C') | Hibernate: insert into JBPM_MODULEDEFINITION (NAME_, PROCESSDEFINITION_, STARTTASK_, CLASS_) values (?, ?, ?, 'T') | [main] INFO DeployProcessCommand : deployment sucessfull | [main] DEBUG AbstractDbTestCase : ### testProcessDefinitionStartState done | [main] DEBUG AbstractDbTestCase : | [main] DEBUG JbpmContext : closing JbpmContext | [main] DEBUG Services : closing service 'persistence': [EMAIL PROTECTED] | [main] DEBUG DbPersistenceService : committing hibernate transaction | Hibernate: update JBPM_PROCESSDEFINITION set NAME_=?, DESCRIPTION_=?, VERSION_=?, ISTERMINATIONIMPLICIT_=?, STARTSTATE_=? where ID_=? |
[jboss-user] [JBoss jBPM] - Re: strange problem with many-to-one mapping in jbpm 3.2
Okay, I solved it. It was my own silly fault! Sorry for the unnecessary traffic in that forum ;-) The solution is: Switch the PersistenceService in the jbpm.cfg.xml to JtaDbPersistenceService. After changing that, it also workes fine with JTA! Sorry again and happy jbpm'ing again :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035673#4035673 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: strange problem with many-to-one mapping in jbpm 3.2
Okay, I have investigated further. I use the DeployProcessCommand (committed to CVS HEAD one minute ago). If I call that from a test case in the jbpm project (which goes directly to the database), everything is working fine. Even if I switch to mySQL for the test-cases, no problem. No I execute exactly the same command (with exactly the same process) inside a EJB 3.0 SessionBean, where the JbpmContext is injected from the JBoss AS (with mySQL as a local-tx-datasource), then I have a lot of NULL values in my many-to-one mappings. Maybe it has something to do with the JTA environment. But I don't know why. And where is the difference to jbpm 3.1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035605#4035605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - strange problem with many-to-one mapping in jbpm 3.2
Hi! I have a very strange problem with the current jbpm 3.2. When I deploy a process a lot of columns which schould be filled are set to NULL in the database. Inspecting further I found, that ALL many-to-one mappings are set to NULL in the database, even if the association (the Java-Pointer) was set correctly! As a example take the start-state of a process-definition. I started debugging in Hibernate (3.2.3 by the way) and found the following: Hibernate males a check to set all transient attributes to null (makes sense): | new ForeignKeys.Nullifier( entity, false, useIdentityColumn, source ).nullifyTransientReferences( values, types ); (AbstractSaveEventListener, 288) | If it checks the StartState, it finds the primary key ID=0, which leads hibernate to the assumption, this SuperSate is a transient object. So it is set to NULL! This is a very strange behavior, because I think Hibernate should generate that key on its own! I have no idea, why that happens in this new version of jbpm. Because I looked at the hibernate-mappings, and they haven't changed too much since 3.1. By the way, I use mySQL 5... ANY ideas to that issue? It took me already a lot of time to come to the point that I have no idea :-( Thanks for every hint!! Regards Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035257#4035257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: strange problem with many-to-one mapping in jbpm 3.2
I played arount with the ID Generator setting, but nothing changed :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035278#4035278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: strange problem with many-to-one mapping in jbpm 3.2
Hi Britt, I also have a updates 3.1.2 databases updated. But that seems not to be the problem. The problem is really I think the ID generation. But I don't understand why View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035390#4035390 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Database change script from 3.1 to 3.2
Hi Ronald, thanks for that hint! Don't know, why I didn't found that myself. Was a hard week I think I looked at that stuff a bit I could generate the update SLQ's for hsqldb with the following statements (in Windows): | ant -f build.upgrade.xml generate.old.schema | del target\db\localDB.lck | ant -f build.upgrade.xml generate.update target/schema.upgrade.log | The batch file is not working (no idea why). To generate updates for MySQL I have changed the ant file a bit (not catch the hibernate.cfg.xml's, so I could overwrite them with my own and added the mySQL driver to the classpath). With that, I got some SQL's which have updated my database in about 5 minutes... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024842#4024842 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Database change script from 3.1 to 3.2
Hi! There are some changes in the database from jbpm 3.1 to 3.2. For the Hibernate hbm2ddl it seems a little bit complicated, because he drops a lot of foreign keys and on my local computer he has not finished that yet, after 8 hours now!! Is there some out of the box conversion skript? Which I can look at and execute by hand? Would be nice Thanks Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024674#4024674 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 alpha3 released
Hi Koen! Nice thing, the new GPD :-) Thanks a lot for introducing support for super states, thats really, really cool! I have some very basic problems with the plugin, but I have not found any JIRA issues for that. because I am always a little bot confused which comes from Eclipse or plugins, i will first list them here, but if you want to, I can make JIRA issues of course. Here we go: - if i add transitions in the XML, they are not visible in the graphical designer - If I use super states, some transitions are potining in the totally wrong direction, at least afte rclosing and opening the diagram, you can see a example here http://www.camunda.com/downloads/gpd_screenshot.png - If I delete a node in the XML, it is still visible in the diagram. If I want to delete it there, nothign happens. After closing and reopening the diagram, the state is gone. I think, not big issues, but these limitate the use of the designer a lot But good work with the new designer :-) Thanks and regards Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024174#4024174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 alpha3 released
I played around with the tool a little bit more and I am not really shure what happens. I think the main problem is, that in the source added transitions are not shown in the diagram. After then adding them there I had some confusing with Transitions (some duplicates, some invalid, ...). So I removed all transitions from the source xml, reopened the diagram and draw everything by hand. after that, the diagrams looks like it should. If you can fix the problem, that added transitions in the source are shown in the diagram, maybe the biggest problems are gone then... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024186#4024186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 alpha3 released
Allright. I had some new strange errors now, while deleting a transition Eclipse crashed and if I now try to open the process diagramm, i get a Exception: | !ENTRY org.jbpm.gd.jpdl.ui 4 0 2007-03-01 14:28:58.921 | !MESSAGE Could not create graphical viewer | !STACK 1 | org.eclipse.ui.PartInitException: Error reading contents of file : gpd.xml. | at org.jbpm.gd.jpdl.ui.editor.JpdlContentProvider.addGraphicalInfo(Unknown Source) | at org.jbpm.gd.jpdl.ui.editor.JpdlGraphicalEditorPage.initInput(Unknown Source) | at org.jbpm.gd.jpdl.ui.editor.JpdlGraphicalEditorPage.init(Unknown Source) | at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:179) | at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.addGraphPage(Unknown Source) | at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.createPages(Unknown Source) | at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276) | at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596) | at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372) | at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) | at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214) | at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2588) | at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521) | at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513) | at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498) | at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) | at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493) | at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2478) | at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388) | at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350) | at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275) | at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139) | at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49) | at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190) | at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174) | at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267) | at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243) | at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306) | at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:651) | at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817) | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) | at org.eclipse.core.runtime.Platform.run(Platform.java:843) | at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) | at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) | at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815) | at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069) | at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168) | at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249) | at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243) | at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283) | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) | at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) | at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) | at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) | at
[jboss-user] [JBoss jBPM] - Re:
Hi all! I have been a little bit quite the last months (because of a non jBPM project) but now I am back in development :-) I stuck in a similar problem, are there any new ideas about that issue before I start investigating deeper? Thanks a lot Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984308#3984308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin
Hi Arshad, we have implemented some code that can do easy updates to new process definitions (in the case when the new process has the same node). That code can easly be enhanced to give some node-map as tom mentioned. This code will get into a jbpm action soon, but sadly I havn't got time for it the last weeks... The current code looks like this: | jbpmContext = getJbpmContext(); | | ProcessInstance pi = jbpmContext.getGraphSession().loadProcessInstance(processId); | | changeTokenVersion(jbpmContext, pi.getRootToken(), newVersion); | | ProcessDefinition oldDef = pi.getProcessDefinition(); | ProcessDefinition newDef = jbpmContext.getGraphSession().findProcessDefinition(oldDef.getName(), newVersion); | | logger.debug(changes process id + pi.getId() + from version + pi.getProcessDefinition().getVersion() + to new version + newDef.getVersion()); | // you need tthe right or a patched version for this, see http://jira.jboss.com/jira/browse/JBPM-585 | pi.setProcessDefinition(newDef); | | logger.debug(process id + pi.getId() + changed to version + pi.getProcessDefinition().getVersion()); | and |private void changeTokenVersion(JbpmContext jbpmContext, Token token, int newVersion) { | Node oldNode = token.getNode(); | | ProcessDefinition oldDef = token.getProcessInstance().getProcessDefinition(); | | ProcessDefinition newDef = jbpmContext.getGraphSession().findProcessDefinition(oldDef.getName(), newVersion); | Node newNode = newDef.findNode(oldNode.getName()); | | if (newNode == null) { | throw new ConfigurationException(node with name ' + oldNode.getName() + ' not found in new process definition); | } | | logger.debug(change token id + token.getId() + from version + oldDef.getVersion() + to new version + newDef.getVersion()); | | token.setNode(newNode); | | // change tasks | IteratorTaskInstance iter = getTasksForToken(token).iterator(); | while (iter.hasNext()) { | TaskInstance ti = iter.next(); | | Task oldTask = ti.getTask(); | // find new task | Query q = jbpmContext.getSession().createQuery(HibernateQueries.findTaskForNode); | q.setString(taskName, oldTask.getName()); | q.setLong(taskNodeId, newNode.getId()); | // TODO: q.setLong(processDefinitionId, newDef.getId()); | Task newTask = (Task) q.uniqueResult(); | | if (newTask == null) { | throw new ConfigurationException(node ' + newNode.getName() + ' has no Task configured! Check the new process definition); | } | | ti.setTask(newTask); | logger.debug(change dependent task-instance with id + oldTask.getId()); | } | | // change childs recursive | Iterator childIter = token.getChildren().values().iterator(); | while (childIter.hasNext()) { | changeTokenVersion(jbpmContext, (Token) childIter.next(), newVersion); | } | } | If you can wait for a little bit of time it will go into the jbpm core I think, if you need it now just enhance that code... Hope that helps? Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3981528#3981528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Bean not instantiated
Hi Stefan (right?), of course I remember you, I thought you are catching rabbits :-) But Seam is cool stuff I think. I only need a short example for my upcoming book, but that short example takes a lot of time :-( My problem does not have to do with EJB-References or JNDI, I have only the LoginBean (a simple POJO for logging in) for the Login.jsp. But this Backing Bean does not get instantiated, and I have no idea why View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968878#3968878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Bean not instantiated
Hi petemuir, yes, you are right. it is missing in the log of components. In the log of the Todo-Example I find this lines | [Scanner] scanning: /C:/java/jboss-4.0.4/server/default/tmp/deploy/tmp27153jboss-seam-todo.ear-contents/jboss-seam-todo.jar | [Component] Component: login, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.todo.Login | [Component] Component: todoList, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.example.todo.TodoList | Î investigated further and found the little difference: the seam.properties is missing in my seam-ticket.jar. I added the (empty !!) seam.properties file and then it worked... Amazing... And a little bit frustrating ;-) But thanks for the help!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968920#3968920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Bean not instantiated
good idea and thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968931#3968931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Bean not instantiated
Has nobody a idea to this? I investigated anothe few hours but don't get any hint. I have no real idea how this is not working... Thanks a lot for any hint! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968664#3968664 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: java-wsdl conversion for Custom Exception
Hi rt_s, have you solved this problem? We are facing the same problem... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3958499#3958499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3958499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user