[JBoss-user] [Installation, Configuration Deployment] - getting
Hi! We hava a JBoss 4.0.4 GA Patch1 running on a Gentoo Linux server. Now we get this Warning from time to time: | 2006-06-28 09:30:18,947 WARN [org.apache.jk.core.MsgContext] Error sending end packet | java.net.SocketException: Broken pipe | at java.net.SocketOutputStream.socketWrite0(Native Method) | at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) | at java.net.SocketOutputStream.write(SocketOutputStream.java:136) | at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:518) | at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:112) | at org.apache.jk.core.MsgContext.action(MsgContext.java:293) | at org.apache.coyote.Response.action(Response.java:182) | at org.apache.coyote.Response.finish(Response.java:304) | at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:204) | at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) | at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) | at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | 2006-06-28 09:30:18,948 WARN [org.apache.jk.common.ChannelSocket] processCallbacks status 2 | I think it has to do with our Apache / TOmcat bridge, but Google has no real hoint for me. Any suggestions? Thanks Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953903#3953903 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953903 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: jBPM workshop in Stuttgart (07.07.2006)
Hi all. There are a few places left on this workshop if anyone wants to join just in time... Finished the slides and the example/demo today, I think it will be a very interessting event :-) Regards Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952572#3952572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952572 All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem with GraphElement.raiseException
The problem is the ExceptionHandling, see http://docs.jboss.com/jbpm/v3/userguide/processmodelling.html#exceptionhandling anonymous wrote : | When an exception occurs in a delegation class, the process element parent hierarchy is serached for an appropriate exception-handler. When it is found, the actions of the exception-handler are executed | But if a Exception occurs in a SessionBean in a JavaEE Environment, the transaction (in which also jBPM is running) is marked for rollback. And now jBPM wants to search the parents. Then the posted Exception occurs, I think because of the transaction rollback marker. So my opinion is, that the parents must be lazy loaded bevore the execute of the action of the GraphElement. Than this problem should be avoided. Am I right? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952609#3952609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952609 All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problem with GraphElement.raiseException
I've created a JIRA Issue for that: http://jira.jboss.com/jira/browse/JBPM-681. Our temporarly workaround is, to comment out the raiseException code and only throw the DelegationException | throw new DelegationException(exception, executionContext); | Because we don't use ExceptionHandlers in our projects, this is OK. But a real solution would be fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952610#3952610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952610 All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Problem with GraphElement.raiseException
Hi, we currently invoke a EJB-SessionBean out of a action in jBPM 3.1.1. jBPM runs ins the same JTA-Transaction as our SessionBean. Now a BusinessException occurs in the called SessionBean, which causes to set rollbackOnly on the JTA-Transaction in the SessionBean. The the Exception is thrown to jBPM. jBPM wants to look for ExceptionHandlers, but that fails with an own exception: | 7:14:29,875 INFO [DefaultLoadEventListener] Error performing load command | org.hibernate.exception.GenericJDBCException: Cannot open connection | at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) | at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420) | at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561) | at org.hibernate.loader.Loader.doQuery(Loader.java:661) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) | at org.hibernate.loader.Loader.loadEntity(Loader.java:1785) | at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48) | at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42) | at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2821) | at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:370) | at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:351) | at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:122) | at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:81) | at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:871) | at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:829) | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:66) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:160) | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$cb896060.equals(generated) | at org.jbpm.util.EqualsUtil.equals(EqualsUtil.java:30) | at org.jbpm.graph.def.GraphElement.equals(GraphElement.java:418) | at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(generated) | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163) | at org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$78d101e.equals(generated) | at org.jbpm.graph.def.Transition.getParent(Transition.java:204) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:338) | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:248) | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212) | at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182) | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166) | at org.jbpm.graph.def.Transition.take(Transition.java:106) | at org.jbpm.graph.def.Node.leave(Node.java:382) | at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:198) | at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(generated) | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163) | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$cb896060.leave(generated) | at org.jbpm.graph.exe.Token.signal(Token.java:174) | at org.jbpm.graph.exe.Token.signal(Token.java:145) | at org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke(generated) | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163) | at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$fae2cddc.signal(generated) | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:420) | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:359) | at org.jbpm.taskmgmt.exe.TaskInstance$$FastClassByCGLIB$$cb2c21af.invoke(generated) | at
[JBoss-user] [JBoss jBPM] - Exception with ehcache while redeploying jbpm on jboss 4.0.4
If we redeploy jbpm on JBoss 4.0.4 we get an exception from ehcache: | Caused by: org.hibernate.cache.CacheException: Attempt to restart an already started EhCacheProvider. Use sessionFactory.close() between repeated calls to buildSessionFactory. Consider using net.sf.ehcache.hibernate.SingletonEhCacheProvider. Error from ehcache was: Cannot parseConfiguration CacheManager. Attempt to create a new instance of CacheManager using the diskStorePath null which is already used by an existing CacheManager. The source of the configuration was classpath. | | at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:133) | I have found the problem described sometimes for JBoss 4.0.4 but no real solution. I think, that the Hibernate SessionFactory is not closed correctly from the org.jbpm.db.jmx.JbpmService while stopping the service. Or am I wrong? Any ideas? thanks in advance Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949876#3949876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949876 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: jBPM workshop in Stuttgart (07.07.2006)
:-( maybe next time... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3946465#3946465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946465 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: jBPM workshop in Stuttgart (07.07.2006)
Hi Christian! Yes, it is also for beginners even if a little bit jBPM experience is not bad. I would be happy, if you decide to join the workshop... Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3946472#3946472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946472 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: jBPM workshop in Stuttgart (07.07.2006)
Sorry, but I have no influence on the price of the Experten-Forum-Stuttgart. But for the price you can also choose an interessting session on the afternoon :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3946493#3946493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946493 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - jBPM workshop in Stuttgart (07.07.2006)
Hello jBPM users! I am glad to tell, that I will hold a jBPM workshop in the context of the Experten-Forum-Stuttgart (see http://www.experten-forum-stuttgart.de/[/url]). The workshop will take 3 hours and cover an introduction to Software with BPM, BPM with Java and take a deeper look at JBoss jBPM. Also I will show some best practices from a few real live projects, see the short description [url]http://www.experten-forum-stuttgart.de/Sens/Efs2006Abstracts9.html#F1_Bernd_R_cker_Business_Process The workshop is in german! I would appreciate as much listeners as possible :-) See you in Stuttgart Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945384#3945384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945384 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Help About cammunda toolkit
Hi Nabil, sorry for the delay, I was on holidays. And sorry that there isn't any good documentation for the toolkit at the moment, because of lack of time... Wihtou a Application Server you should be able to start the Admin-Client with the following code: | AdminClient adminClient = AdminClient.getInstance(); | adminClient.initAdminServices( new LocalAdminServicesDelegate(/jbpm.cfg.properties) ); | this.getContentPane().add( adminClient.getClientPanel() ); | The /jbpm.cfg.properties must be in classpath and configured for jbpm 3.1. Hope that helps? Best regards Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937380#3937380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937380 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
OK, I have finished the translation. Not the best english, but my colleague will correct it a little bit next week (when I am in hollidays). So I think there will be a better version online on tuesday or wednesday... I have put a link to the translation of the article on this site: http://www2.camunda.com/know-how/publikationen.php, currently the last link in the list... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931146#3931146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931146 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
Sorry, wrong link, please use: http://www.camunda.com/know-how/publikationen.php[/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931147#3931147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931147 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
OK, last try: http://www.camunda.com/know-how/publikationen.php Sorry, next time I will work with the preview ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931148#3931148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931148 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: toolkit for jbpm released
Hi Ronald! No problem with the article, I have translated it completely myself now and will put it only before my holidays (my flight is on saturday at 7 a.m., so much time till then ;-)), it is not perfect, but I think it is OK. I am going to Kenia by the way, my sister live and works in Nairobi, so she has everything we need for safari or so there :-) Best regards Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931089#3931089 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931089 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - toolkit for jbpm released
Hi all, we have written some classes around jbpm to use it in a JBoss AS / Swing Environment and has released this as toolkit for jbpm as Open Source (LGPL). It consist of - a EJB3 SessionBean as Facade - A Administration-Client in Java Swing - Some classes for a User-List in Swing See the official press release: http://www.camunda.com/pressemeldung.php?newsitem_id=804 Everybody is invited to have a look at it: http://www.camunda.com/know-how/tk-jbpm.php The documentations is very poor at the moment, but I have no time at the moment, because I am going to africa for holidays :-) I will work on that afterwords Feedback is welcome! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930651#3930651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930651 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problems with setProcessDefinition over reflection and G
OK, the problem is solved in jbpm HEAD, because a setter is introduced :-) see http://jira.jboss.com/jira/browse/JBPM-585. So I will not waste more time on this issue. Thanks a lot Tom! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929430#3929430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929430 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: saveLog in 3.1 is gone?
Hi Tom, sorry for the bad question-design ;-) My problem is: The old method saveProcessInstance calles saveTimer saveLogs. The new save does neither the one nor the other. The timer seems to be saved by Hibernate azutomaticaly, but the logs aren't correctly saved in the situation a process starts a new sub-process (the logs for the sub-process are missing then). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928008#3928008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3928008 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: saveLog in 3.1 is gone?
Hi Tim. Thanks for the quick answer. Do you have a link in the doku or a example for me, because I haven't found the correct syntax myself :-( But I have found some new nice features for configuring persistence, good work :-) Regards Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3928107#3928107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3928107 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problems with setProcessDefinition over reflection and G
Hi all, has nobody a hint for me? Thanks Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927720#3927720 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927720 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - saveLog in 3.1 is gone?
The saveProcess Method on the GraphSession is deprecated in jbpm 3.1 and the new jbpmContext.save() method does not save dependent logs. Also logs for new started sub-processes are not saved correctly. Is there a trick? Or is it a bug? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926537#3926537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926537 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to get the current node-type?
Hi David, why do you not use the standard jbpm way? |task-node name=MyTask | task swimlane=Group/ | transition name=RETRY to=A/transition | transition name=DONE to=B/transition |/task-node | Then a TaskInstance is automatically created for you by jbpm! By the way: You can get the Node-Type by the jbpm API, just look which type (Class) the Node has... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926043#3926043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926043 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Error parsing queries with jBPM 3.1
The problem seems to be the hibernate version! Because I have the same problem but everything works fine in our SessionBean in JBoss I have the idea and it was right: Take the hibernate 3.1 Version (we have the one delivered with JBoss 4.0.3SP1) and it works! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925784#3925784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925784 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Problems with setProcessDefinition over reflection and GCLIB
Hi, we have developed a workaround to update running processes to a new version. This also needs to change the processDefinition attribute in ProcessInstance. Because there is no setter, we have done it over reflection: | Field field = ProcessInstance.class.getDeclaredField(processDefinition); | field.setAccessible(true); | field.set(pi, newDef); | field.setAccessible(false); | Now, this does not work any more with 3.1, because of the enhanced classes (Hibernate uses CGLIB ByteCode Enhancement for Lazy Loading), as we can see in the log: | 2006-02-23 16:58:04,693 WARN [com.camunda.toolkit.jbpm.service.AdminServicesImpl] class = class org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$5835a02d | 2006-02-23 16:58:04,693 WARN [com.camunda.toolkit.jbpm.service.AdminServicesImpl] super-class = class org.jbpm.graph.exe.ProcessInstance | The behavior is strange, we set the field (no Exception!), but after the call the processDefinition has not changed! How can we set this field over reflection of the GCLIB? Google has not helped very much on this issue :-( Thanks for hints! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925871#3925871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925871 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - subProcessInstance is null
On jbpm 3.0.2 I load a process-instance ProcessInstance pi = session.getGraphSession().loadProcessInstance( processId ) and the Root-Token is definitly in a sub-process. But the call pi.getRootToken().getSubProcessInstance() returnes null! Is this a hibernate problem? Or some Lazy-Loading issue? Any hints on How to get the correct subProcess-Association? Sorry, but I have no time in the current project to delve into the source code Thanks in advance Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922273#3922273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922273 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Store long Exceptions in Logs cause problems with Oracle
We have a timer which has catched a exception. This Exception is then stored in the Database. When the timer then succeeds the Exception is copied to a JBPM_LOG Entry, and then Oracle throws a Exception: Caused by: java.sql.BatchUpdateException: ORA-01461: can bind a LONG value only for insert into a LONG column I think, this is because the Exception-Column can only take a VARCHAR2. Is there a possibility to get a bigger field? Or can we make a CLOB and Hibernate mappes it correctly by itself? Or I think in that case, jbpm should truncate the String, would be better than a exception... Or is this solved with jbpm 3.1 already? Thanks in advance Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3922326#3922326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922326 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Process Variables stored as Date have problems...here's
OK, I have the same problem but has not fully understand this message. After some investigation I understand the problem: Some Hibernate Dialects (HSQL, Oracle9, ...) return a java.sql.Timestamp, instead of a java.util.Date. That's OK, because Timestamp is a subclass of Date. But because of the DateInstance implementation | protected boolean supports(Class clazz) { | return (Date.class==clazz); | } | The Timestamp is not recognized as Date from jbpm. So the implementation must be changed to | protected boolean supports(Class clazz) { | // fixed Bug with jbpm and Oracle | // see http://www.jboss.com/index.html?module=bbop=viewtopict=70042 | return (Date.class.isAssignableFrom(clazz)); | } | Then it works fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920872#3920872 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920872 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Process Variables stored as Date have problems...here's
But I have wondered how this Bug made it into 3.0.2 I hope, it will be fixed with 3.1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920873#3920873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920873 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: graph of super- and sub-processes is not complete?
Has nobody have an idea? Is this solved with jbpm 3.1? Thanks Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920601#3920601 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920601 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: sub-process null pointer exception
Hi Nima. You have to deploy the processes in the right order! Because the association from the processDefinition from super to sub is created at deploy time! I have also searched for this issue a few hours ;-) But if you deploy the sub-process before the superprocess, it should work. Good luck Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920463#3920463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920463 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: graphical designer features list: superstate and process
I am lucky that this ugly exception is gone in 3.0.7... Nice work :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920464#3920464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920464 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - graph of super- and sub-processes is not complete?
Hi all! I have a problem with jbpm 3.0.2 and subprocesses (related to Bug http://jira.jboss.com/jira/browse/JBPM-477): We have some sub-processes calling sub-processes semself. Now we want to traverse the full graph of processes so save each of them manually. The first try was: Get to the absolute root process and then recursivly go to each sub-processes (search all tokens and step into sub-processes). We only use the object oriented way (no hibernate queries). But the graph seems not to be complete. We have super-processes where the rootToken hast subProcessInstance = null (but there should be a reference). But this is not in every situation... Does anybody knows what is the problem here? I think, it is a problem with the Hibernate mappings, but because we use JDO for a long time, I don't know Hibernate so good... Any hints? Thanks in advance Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920063#3920063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920063 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: fully-fledged ERP-System with jBPM 3 switched productive
Sorry, I have not whatched this topic so missed the questions... The processes are confidential of cause, because they are company secret of mad-moxx (our customer). Sorry... anonymous wrote : Can you say something in detail about your archievement? What exactly is your question? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920067#3920067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920067 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: retrieve logs of sub processes
Hi Markus, you can query sub process ids easyly, no need to store it on you own, jbpm knows what going on: while (processInstance.getRootToken().getSubProcessInstance()!=null) { processInstance = processInstance.getRootToken().getSubProcessInstance(); // query logs here and add it to the result } Note that there is a bug with sub processes and logs in jbpm: http://jira.jboss.com/jira/browse/JBPM-477 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917907#3917907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917907 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Changes in serialized Objects
Good starting point. Thanks a lot Rainer... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917606#3917606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917606 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Changes in serialized Objects
Hi all, I have a problem, not so jbpm related, but if anyone has a idea it would be very nice: We have a change in a class (one attribute type changes from String to CountryCode), so the serialized objects in the process can not be deserialized any more (ClassCastException). For this special case I have written a small tool, which deserializes all objects with our own MyObjectInputStream which overwrites Object resolveObject(Object obj) to return a CountryCode if a 2-letter-Code String is given. But this only works in this special case. Now another big change is on its way: Has anybody a good idea to implement a deserializer. It should hook in if a attribute with a known name of a known class is deserialized so there we can write own code. Or is it too off topic here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917502#3917502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917502 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin
anonymous wrote : I'm personally booked 110% I would be happy to have so much free time ;-) OK, I can image that we implement it in one of our projects and let you know if we have done it... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917516#3917516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917516 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin
I think this is a real problem! But in our application we have simply solved that by adding a processVariable for the running version and changed that if we upate a process version. The jbpm-log then keeps track at which time in the process execution the version was changed (and the old and new version number). So we know whats going on... anonymous wrote : starting the new one in the same or matching state How do you do this with jBPM? Some kind of hack to get a process in the state you want? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917477#3917477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917477 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Success stories with jBPM
Hi Saviola! Sorry, but we have no english version of our press release. All we have is some basic profile of the success story in english, but I can not imagine, that is helpful for you (but you can e-mail me, if I should send it to you anyway). I have also written a article over jbpm in the german JavaSpektrum, wihich I translate at the moment. If you send me a Mail I put you on our newsletter then you get a Mail when it is finished (I will publish it on our homepage). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917480#3917480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917480 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Success stories with jBPM
Hi svetsch, we have implemented a complete ERP System based on jbpm as process engine which controls our complete system based on business ervices (see our german press release for more details: http://www.camunda.com/pressemeldung.php?newsitem_id=800). Also I work in a project at a customer at the moment where jbpm is the central engine (the glue) in the architecture. This software is for a well known and big company. So, except for some typical troubles of new projects and some bugs, jbpm is a good, small and flexible BPM-Engine. The biggest disadvantage at the moment is the lack of a good modeling tool or simulation capabilities But if you tell us more about your project I can say if it can be the right for you Regards Bernd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917398#3917398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917398 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Cancel Subprocess of canceled Superprocess is a problem
If a subprocess is canceled (with end()) and its superprocess is also canceled the superprocess is triggered anyway and the superprocess runs to the next state, although it is ended already! You can argue, that a running subprocess of a superprocess is a invalid state (but ending a superprocess doesn't cancel the subprocesses by the way), but a simple if (!hasEnded()) would be very nice I think. Or other opinions? Are there solutions to this on their way in 3.1? Or shall I create a JIRA-Issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916432#3916432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916432 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Is it possible to update a process def without versionin
Hi. cancel ProcessInstances and start complete new processes is often impossible (because of triggering external systems, sending mails t ocustomers, ...) so we have the solution, that we can change one processInstance to a new version if the new version has - the same states with the same names for active tokens - the same tasks with the same names for active tasks This code is embeded in our toolkit for jbpm (which will be open source, we plan to release it at the end of january), here it is: | public void changeProcessVersion(long processId, int newVersion) { | checkSession(); | | ProcessInstance pi = jbpmSession.getGraphSession().loadProcessInstance(processId); | ProcessDefinition oldDef = pi.getProcessDefinition(); | Node oldNode = pi.getRootToken().getNode(); | | ProcessDefinition newDef = jbpmSession.getGraphSession().findProcessDefinition(oldDef.getName(), newVersion); | Node newNode = newDef.findNode(oldNode.getName()); | | pi.getRootToken().setNode(newNode); | | // do: pi.setProcessDefinition(newDef); | try { | Class clazz = ProcessInstance.class; | Field field = clazz.getDeclaredField(processDefinition); | field.setAccessible(true); | field.set(pi, newDef); | field.setAccessible(false); | } | catch (Exception ex) { | throw new ConfigurationException(can not set processDefinition on processInstance with reflection. check nested exception for details., ex); | } | | IteratorTaskInstance iter = getTasksForProcesInstance(jbpmSession, pi).iterator(); | while (iter.hasNext()) { | TaskInstance ti = iter.next(); | | Task oldTask = ti.getTask(); | // find new task | Query q = jbpmSession.getSession().createQuery( HibernateQueries.findTaskForNode ); | q.setString(taskName, oldTask.getName()); | q.setLong(taskNodeId, newNode.getId()); | Task newTask = (Task) q.uniqueResult(); | | ti.setTask(newTask); | } | We have no problems with that code, if the preconditions are met. Note, that you can not make complexe changes to processes and migrate old versions to the new ones. But it is helpful if you must deploy a bug fix of a process (or a Java class, included in the procsess). Hope that helps, feedback is welcome :-) Bernd camunda GmbH View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916438#3916438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916438 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
Thanks :-) OK, then I will finish the article and post a link when it is finished... I will put in our homepage (www.camunda.com). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914533#3914533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914533 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
Hi Ronald, have you started your work yet? Because I have nearly finished page 1, 3 and 4 :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914411#3914411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914411 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - stateless-ssl-invoker for EJB3?
Hi, we have configured our EJB 2.1 SLSB with a stateless-ssl-invoker as described in http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch8.chapter.html. Works fine :-) But how can we do this with our new EJB3-Beans in Jbos 4.0.3? I have tested it with a standard jboss.xml file: | enterprise-beans | session | ejb-namecom.camunda.toolkit.jbpm.service.AdminServicesImpl/ejb-name | jndi-namecom.camunda.toolkit.jbpm.service.AdminServices/jndi-name | invoker-bindings | invoker | invoker-proxy-binding-namestateless-ssl-invoker/invoker-proxy-binding-name | /invoker | /invoker-bindings | /session | /enterprise-beans | | | invoker-proxy-bindings | invoker-proxy-binding | namestateless-ssl-invoker/name | invoker-mbeanjboss:service=invoker,type=jrmp,socketType=SSL/invoker-mbean | proxy-factoryorg.jboss.proxy.ejb.ProxyFactory/proxy-factory | proxy-factory-config | client-interceptors | home | interceptororg.jboss.proxy.ejb.HomeInterceptor/interceptor | interceptororg.jboss.proxy.SecurityInterceptor/interceptor | interceptororg.jboss.proxy.TransactionInterceptor/interceptor | interceptororg.jboss.invocation.InvokerInterceptor/interceptor | /home | bean | interceptororg.jboss.proxy.ejb.StatelessSessionInterceptor/interceptor | interceptororg.jboss.proxy.SecurityInterceptor/interceptor | interceptororg.jboss.proxy.TransactionInterceptor/interceptor | interceptororg.jboss.invocation.InvokerInterceptor/interceptor | /bean | /client-interceptors | /proxy-factory-config | /invoker-proxy-binding | /invoker-proxy-bindings | But it has no effect, we can continue to connect without SSL after this... The application is deployed as .ejb3 archive. Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914145#3914145 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914145 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Trouble creatinga timer
Hi everybody. This workaround describe here works fine for many use cases :-) But it is limited: If a process starts a sub-process, the | session.getGraphSession().saveProcessInstance(pi); | only saves the logs timers for the parent process, not the sub-process! I have made a JIRA-Issue for that: http://jira.jboss.com/jira/browse/JBPM-477 Out temporary fix is also there View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914010#3914010 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914010 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
OK, I think I have found a solution, that seems to work. configure the Interval Cache-Size of the oracle-sequence (HIBERNATE_SEQUENCE per default) to the same size. For example | ALTER SEQUENCE BERND.HIBERNATE_SEQUENCE CACHE 50 NOMAXVALUE INCREMENT BY 50 | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913359#3913359 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913359 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
I work on page 1 at the moment... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913246#3913246 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913246 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
OK, I have the permission to translate the text. I will work on it the next weeks, but have not so much time :-( If there are volunteers for some paragraphs please send me a mail which paragraph you translate ([EMAIL PROTECTED]). Then I will take the rest and bring it together to one document. If I (we I hope ;-)) are ready I will post a link... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913085#3913085 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913085 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - randomly get Exception
Very strange thing: from time to time we get a expeception while doing something with jBPM (in this example deploy a process, so this is not more that persist a few objects with hibernate): | 12:21:32,452 WARN [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000 | 12:21:32,452 ERROR [JDBCExceptionReporter] ORA-1: unique constraint (BERND.SYS_C00581420) violated | | 12:21:32,452 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session | org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69) | The constraint lays on the JBPM_TRANSITION table. As I check the logs everthings looks right: | 2005-12-16 13:48:12,843 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from dual | [...] | 2005-12-16 13:48:12,843 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from dual | 2005-12-16 13:48:12,843 INFO [com.camunda.tk-jbpm.services.AdminServicesImpl] deployment sucessfull | 2005-12-16 13:48:12,843 INFO [STDOUT] Hibernate: insert into JBPM_PROCESSDEFINITION (NAME_, VERSION_, ISTERMINATIONIMPLICIT_, STARTSTATE_, ID_) values (?, ?, ?, ?, ?) | 2005-12-16 13:48:12,843 INFO [STDOUT] Hibernate: insert into JBPM_NODE (NAME_, PROCESSDEFINITION_, ACTION_, SUPERSTATE_, CLASS_, ID_) values (?, ?, ?, ?, 'R', ?) | [...] | 2005-12-16 13:48:12,913 INFO [STDOUT] Hibernate: insert into JBPM_TRANSITION (NAME_, PROCESSDEFINITION_, FROM_, TO_, ID_) values (?, ?, ?, ?, ?) | 2005-12-16 13:48:12,913 INFO [STDOUT] Hibernate: insert into JBPM_TRANSITION (NAME_, PROCESSDEFINITION_, FROM_, TO_, ID_) values (?, ?, ?, ?, ?) | But while commiting the exception occurs. I think it is something wrong with the ID-Generating? As I looked into jbpm-sources it is id name=id column=ID_generator class=native //id, should be ok. We use the dialect: org.hibernate.dialect.Oracle9Dialect Then, if I want to deploy the process after the rollback, I get another error: | 2005-12-16 16:10:53,463 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from dual | 2005-12-16 16:10:53,463 ERROR [org.jbpm.db.GraphSession] org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.jbpm.graph.def.ProcessDefinition#1] | I am sorry, but I am not the hibernate champ (I favour JDO ;-)), so any hints to this? We have seen this exception randomly occur in other contextes (on other jBPM tables) but doesn't have not succesfully written a test, which fails every time... Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913151#3913151 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913151 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
we use jbpm 3.0.2 I have worked on a nother project with mySQL and also does not have seen it before. Very, very strange things happen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913155#3913155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913155 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
Ah OK, should have mentioned it: we run in JBoss and use JTA, so we get our session from there (sessionFactory.getCurrentInstance()). The call which failes is in one SessionBean-call, so this should not be the cause of trouble... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913157#3913157 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913157 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: randomly get Exception
Yes, it is the UNIQUE index constraint on the ID_ column, so jbpm wants to put in two rows in the JBPM_TRANSITION - table with the same ID_ (which was generated over the Oracle sequence when working with native I think). But why? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913160#3913160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913160 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
I will ask the JavaSpektrum first, if it is OK if we translate the article... If it is, it would be fine if we have one more volunteer, because I can translate page 1 and get the whole text together... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3911427#3911427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911427 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
no more to say :-) And I would not work the whole day whith jBPM if I would not like it... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3911156#3911156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911156 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Article over jBPM
I have written a article on jBPM in the german JavaSpektrum. The article is available online as PDF: http://www.sigs-datacom.de/sd/publications/pub_article_show.htm?AID=1727 criticism is welcome :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3910899#3910899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910899 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Article over jBPM
no sorry, it is in german (because it was for a german magazin)... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3910922#3910922 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910922 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user