[jboss-user] [JBoss jBPM] - Re: TaskInstance Problem
anuragpaliwal
do-not-reply at jboss.com
Tue Jan 8 04:56:38 EST 2008
For some reason, jBPM stores bytes in block of 1024. Hence if your class file size is greater than 1024 bytes than it will break it in to multiple of 1024 and save it.
It seems you have just extracted 1 block only.
To fetch all the blocks of particular class file(if size is greater than 1024) you have to first fetch the ID_ of your class from the BYTEARRAY table and then use following query to get all the byte blocks of your class by putting the value of ID_ fetched earlier
select * from jbpm_byteblock where processfile_ = ?
I am just wondering tha there is another way to load class by using JBPM classloader(parent of process class loader) i.e by putting class file in WEB-INF/classes folder. I am not sure if it can do trick for you.
CHEERS!!!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117820#4117820
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117820
More information about the jboss-user
mailing list