Forum tags


Top Posters

Last 30 days

  • Antoine (94)
  • talita.pezzi (27)
  • eduardo.lawisch (14)
  • alfons.bataller.diaz (14)
  • sundaravadivel.n (13)
  • ravinderjit.singh (12)
  • hellonico (8)
  • jose.mendoza (8)
  • barry.sperling (7)
  • marcia.martins (7)

All time

  • Antoine (1403)
  • Shivanand (1189)
  • cshekhar (921)
  • psq (795)
  • jag (391)
  • metabyte (370)
  • arnaud (327)
  • jalateras (325)
  • dfrench (263)
  • venkaiah.k (198)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Using SQL Query in a process (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Using SQL Query in a process
#12860
clemo (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Using SQL Query in a process 7 Months, 1 Week ago Karma: 0  
Hi,

I am trying to execute a sql select statement via a web service from within a process and am struggling to work out why it is not working!

I am getting the following error:

fault:
exceptionClass: org.apache.axis2.AxisFault
message: Read timed out

I would appreciate any pointers to where I am going wrong.

Many thanks

Clemo
File Attachment:
File Name: AccessDatabase.zip
File Size: 28860
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#12869
dfrench (User)
Gold Boarder
User Offline Click here to see the profile of this user
Re:Using SQL Query in a process 7 Months, 1 Week ago Karma: 8  
I suggest ...
1. Remove 'Task' from pool 'WSDL'
2. In process explorer, expand 'WSDL'
3. Drag 'GetCustomer' (marked with cogwheel icon) into pool 'WSDL'
4. Select "Provide operation .... (single task)"
5. Provide message connections between 'CustomerMySQL...' and the operation that you have just created in pool 'wsdl'
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#12871
clemo (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Using SQL Query in a process 7 Months, 1 Week ago Karma: 0  
Hi,

Thanks for getting back to me, as you can see I am a beginner!

I just want to clarify what you are proposing

Within the Process Pool - I keep the CustomerMySqlDbCustomer which I created by dragging

WSDL>CustomerMySqlDb>CustomerMySqlDbPort>GetCustomer

on to the pool and dropping as an Invoke.....

Within thje WSDL pool, I remove the Task and replace with

WSDL>CustomerMySqlDb>CustomerMySqlDbPort>GetCustomer

on to the pool and dropping as a Provide.....

Then I link these 2 together with some message links.

Is that correct?

Many thanks for your help and advice in this matter.

Paul
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#12872
dfrench (User)
Gold Boarder
User Offline Click here to see the profile of this user
Re:Using SQL Query in a process 7 Months, 1 Week ago Karma: 8  
Sorry, I missed that you had created CustomerMySql\DbCustomer task by dragging from wsdl . Replace that task with a standard task .
I was trying to get your bpm to a state that I am familiar with ... you may have been approaching the problem correctly from another direction
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#12874
clemo (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Using SQL Query in a process 7 Months, 1 Week ago Karma: 0  
Not a problem.

Have I think done what you suggested but am still getting some issues :-(

Geronimo log is showing the following error


10:15:26,234 WARN [QueryMessageReceiver] SQL query request processing failed wi
th message for service CustomerMySqlDb, operation uni :Cant find static SQL quer
y definition for operation {1} in service {0}
com.intalio.bpms.connector.jdbc.core.JdbcConnectorException: Cant find static SQ
L query definition for operation {1} in service {0}
at com.intalio.bpms.connector.jdbc.runtime.QueryRequestMessage.checkDefi
nition(QueryRequestMessage.java:139)
at com.intalio.bpms.connector.jdbc.runtime.QueryRequestMessage.loadExecu
te(QueryRequestMessage.java:166)
at com.intalio.bpms.connector.jdbc.runtime.QueryRequestMessage.parse(Que
ryRequestMessage.java:123)
at com.intalio.bpms.connector.jdbc.runtime.QueryRequestMessage.<init>(Qu
eryRequestMessage.java:93)
at com.intalio.bpms.connector.jdbc.runtime.QueryMessageReceiver.invokeBu
sinessLogic(QueryMessageReceiver.java:42)

Am I not settinmg up some parameters or something?

Thanks once again for your help at least now I know I am attacking the problem in the correct way.

Have attached project just in case you get time to look at it again.

Paul
File Attachment:
File Name: AccessDatabase-2bd46ba5d02d55c6240aacda78d82767.zip
File Size: 32255
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#12875
clemo (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Using SQL Query in a process 7 Months, 1 Week ago Karma: 0  
Not a problem.

Have I think done what you suggested but am still getting some issues :-(

Geronimo log is showing the following error


10:15:26,234 WARN [QueryMessageReceiver] SQL query request processing failed wi
th message for service CustomerMySqlDb, operation uni :Cant find static SQL quer
y definition for operation {1} in service {0}
com.intalio.bpms.connector.jdbc.core.JdbcConnectorException: Cant find static SQ
L query definition for operation {1} in service {0}
at com.intalio.bpms.connector.jdbc.runtime.QueryRequestMessage.checkDefi
nition(QueryRequestMessage.java:139)
at com.intalio.bpms.connector.jdbc.runtime.QueryRequestMessage.loadExecu
te(QueryRequestMessage.java:166)
at com.intalio.bpms.connector.jdbc.runtime.QueryRequestMessage.parse(Que
ryRequestMessage.java:123)
at com.intalio.bpms.connector.jdbc.runtime.QueryRequestMessage.<init>(Qu
eryRequestMessage.java:93)
at com.intalio.bpms.connector.jdbc.runtime.QueryMessageReceiver.invokeBu
sinessLogic(QueryMessageReceiver.java:42)

Am I not settinmg up some parameters or something?

Thanks once again for your help at least now I know I am attacking the problem in the correct way.

Have attached project just in case you get time to look at it again.

Paul
File Attachment:
File Name: AccessDatabase-ace834b2bac2d8c45f23a8863079056c.zip
File Size: 32255
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop