[jboss-user] [jBPM Users] - [jBPM 4.2]

2009-11-21 Thread xalperte
I'm trying to locate a ProcessInstance inside a List container using the contains method but the instance is not found. Looking in the equals method of the ExecutionImpl I saw that the EqualsUtils.equals static method is used for that purpose and it's using the object pointer instead the

[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-18 Thread xalperte
Sorry, I think I did not explained myself well. The console I'm talking about is a console my company has built by itself. It's entirely different from the jBPM console and its fully integrated with our product. By the way, are you using any configuration management tool like maven? If so,

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-18 Thread xalperte
I'm pretty sure that this exception appears to be the cause of another that happens before... try to debug your code in order to find the original exception View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266415#4266415 Reply to the post :

[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-17 Thread xalperte
I did a similar question few days ago in http://www.jboss.org/index.html?module=bbop=viewtopict=163550 I'm not using the jBPM 4 Console, I'm using my own Console but maybe this approach could help you (it works for me): try making an EAR file and packing inside the jBPM4 Console and your WAR

[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-17 Thread xalperte
You do not need to merge your code with the console code. Do something like that: rockerrocker.ear META-INF/application.xml rockerrocker.war rockerrocker.jar jbpmconsole.war NOTE: You need to put all your model/ejbs classes in a separated jar file in order to be

[jboss-user] [jBPM Users] - Re: Jbpm 4.2 how to enable variable history

2009-11-16 Thread xalperte
Hi Ronald, The historic functionality is important but not basic to run the system in production. The real problem, and I consider very serious, is that we're losing all the data associated with the instance when it reaches the end state. Thanks. View the original post :

[jboss-user] [jBPM Users] - [jBPM 4.2] MySQLIntegrityConstraintViolationException ending

2009-11-16 Thread xalperte
This is the exception thrown by the engine when I try to __end__ a running instance using the EndProcessInstance command. The instance has one active task (Evaluate web order), and that task has a swimlane associated (Sales Representative). It seems a problem with the swimlane relationship.

[jboss-user] [jBPM Users] - Re: [jBPM 4.2] MySQLIntegrityConstraintViolationException en

2009-11-16 Thread xalperte
Yep! sorry. I deleted some stuff from the previous process definition in order to run it without problems (some custom listeners). Here the process definition: | ?xml version=1.0 encoding=UTF-8? | | process name=Test Websale xmlns=http://jbpm.org/4.2/jpdl; |swimlane

[jboss-user] [jBPM Users] - Re: Jbpm 4.2 how to enable variable history

2009-11-14 Thread xalperte
Buff, I'm looking inside the HistoryVariableImpl class and it only maintains a String representation of the original variable value, its not enough, to be functional the HistoryVariableImpl should maintain the exact value and type of the original variable. I think the better approach is not

[jboss-user] [jBPM Users] - [jBPM 4.2] Problem completing a Task

2009-11-14 Thread xalperte
Error when we try to complete a Task and the next activity is also a Task Activity with the notification tag set. Something wrong happens in the MailListener during the process. Without the tag the test runs without errors. I'm using MySQL (with org.hibernate.dialect.MySQLInnoDBDialect

[jboss-user] [jBPM Users] - Re: Jbpm 4.2 how to enable variable history

2009-11-13 Thread xalperte
Well, this is the problem, by default the setVariable implementation (ScopeInstanceImpl.java) is always calling the createVariable method with false for the isHistoryEnabled argument, then never creates an HistoryVariable. The deletes instances means exactly that, the jbpm is deleting the

[jboss-user] [jBPM Users] - Re: Jbpm 4.2 how to enable variable history

2009-11-13 Thread xalperte
I made a test in order to force the HistoryVariable activation but didn't work. The test code is that: | if( execution.getVariable(message) != null ) { | ((ExecutionImpl) execution).removeVariable(message); | } | ((ExecutionImpl) execution).createVariable(message, message,

[jboss-user] [jBPM Users] - Re: Jbpm 4.2 how to enable variable history

2009-11-13 Thread xalperte
Sorry, I use format inside the Code block and it doesn't works This is the actual code: (ScopeInstanceImpl.createVariableObject), using isHistoryEnabled=true | variable.setKey(key); | variable.setExecution(getExecution()); | variable.setTask(getTask()); |

[jboss-user] [jBPM Users] - Re: Jbpm 4.2 how to enable variable history

2009-11-12 Thread xalperte
Hi, We are using the 4.2 version, and when our processes arrives to an end state the system deletes the instance and all of its variables from database. It's the normal behaviour? If so, we are loosing all our process data and does not sounds very well. There are any way to avoid that? or

[jboss-user] [jBPM Users] - [BPM 4.2] About the user code classloading mechanism

2009-11-10 Thread xalperte
Hi, Reading the documentation there is a section that introduces the three different mechanisms used by jBPM 4 to look for user classes in the classpath. One of these mechanism is the User Application Classpath (Ear/War) where the call is done. I'm not really sure about what exactly that

[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)

2007-09-22 Thread xalperte
Hi, I'm ussing the Seam 1.2.1GA with the SeamEntityManager (http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamEntityConverter), and I'm having the same problem, this is the exception: Caused by: java.lang.IllegalStateException: EntityManager is closed at

[jboss-user] [Beginners Corner] - Re: Getting error while migrating from Jboss3.2.7 to Jboss 4

2007-04-12 Thread xalperte
I have the same problem trying to run a Jboss 4.0.4+Derby configuration. Have you solve your problem? how? Thanx Javier View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4036642#4036642 Reply to the post :