[JBoss jBPM] - Re: Is mail blocking?
by kukeltje
anonymous wrote : Ok it seems my ActionHandler was wrong.
Would be nice (for others to learn if they encounter the same issue) to report what was wrong
anonymous wrote : But now another problem. It seems jBPM wants to log the exception in the database, and that tjis exception is too long for mysql column :
|
| 106375 [http-8080-Processor23] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 22001
| | 106375 [http-8080-Processor23] ERROR org.hibernate.util.JDBCExceptionReporter - Data truncation: Data too long for column 'EXCEPTION_' at row 1
| | 01:54:05,734 ERROR WSCreerDemande:137 - error when processing creerDemande : org.jbpm.graph.def.DelegationException: could not insert: [org.jbpm.graph.log.ActionLog]
| | org.jbpm.graph.def.DelegationException: could not insert: [org.jbpm.graph.log.ActionLog]
Oracle right?
Two things:
- Post more info on your environment (db, jbpm version etc) and search the forum/wiki first
- New issues belong in new topics
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228957#4228957
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228957
16 years, 11 months
[JBoss jBPM] - Re: Is mail blocking?
by frinux
Ok it seems my ActionHandler was wrong.
But now another problem. It seems jBPM wants to log the exception in the database, and that tjis exception is too long for mysql column :
106375 [http-8080-Processor23] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 22001
| 106375 [http-8080-Processor23] ERROR org.hibernate.util.JDBCExceptionReporter - Data truncation: Data too long for column 'EXCEPTION_' at row 1
| 01:54:05,734 ERROR WSCreerDemande:137 - error when processing creerDemande : org.jbpm.graph.def.DelegationException: could not insert: [org.jbpm.graph.log.ActionLog]
| org.jbpm.graph.def.DelegationException: could not insert: [org.jbpm.graph.log.ActionLog]
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228879#4228879
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228879
16 years, 11 months
[JBoss jBPM] - jBPM 4 Process archive with custom classes
by mpradny
Hello,
I'm testing jbpm4 for one of my projects and I got into troubles. I'm able to deploy process using xml file or .par archive, but I'm not able to use custom java classes in the process if I don't put them physically in the java class path.
I can see them stored in the database, but so far I haven't found any way how to configure the class loader to use them. I get only class not found exception all the time.
I've searched through the source codes and have found DeploymentClassLoader, but I haven't found a way how to use it.
Am I missing something in my configuration or is it not supported right now.
I want to use jbpm emebedded in servlet running on very simple servlet container that doesn't support dynamic deployment, so this would be only way to deploy these classes without container restart :(
Thank you for advices
Martin
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228778#4228778
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228778
16 years, 11 months
[JBoss jBPM] - To many Threads waiting for external Sytem Request.
by pHennig
Hallo,
i think i need some help with jbpm, because iam very new to this technology and think iam doing something wrong.
I have to write an Application where we send some Binary Data by SOAP(axis2) to a Service and wait for the Response.
The Binary data is not sended directly to the External Service, it is placed on a Queue Service, because we dont know, when the External Service will be ready to process. So the External Service claims the Data from the Queue itself, processes it and sends it directly back to my application(without a Queue).
First i thought about, to use a State Note in jbpm, wo wait for Response and continue the Process.
But there i think is a Problem:
The Thread, where this Process is added to, will be active, the whole time.
It can happen, that i will wait for response many hours, up to some days(Weekend, User out of Office..).
And there will be many Task to handle. Could be up to 1000 a hour.
And all these Threads waiting, will slow down system rapidly or directly crash it. Don`t know how many Threads a System(Even Server Architecture) can handle, but i think this is not the right way.
How should i handle this?
Maybe iam totally wrong in how i use jbpm. Iam not that deep in that technology yet, and maybe i missunderstood the field of functions of jbpm.
Would be great to get some help for this Problem.
Maybe the solution is to view on some other aspect of my project, but iam confused right now.
Thanks,
Patrick H.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228713#4228713
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228713
16 years, 11 months