Hello,

I am attempting to migrate from 3.0.1 to 3.1.  In 3.0.1 we have a custom 
converter that mapes Long[] to a string representation.  

For some reason I cannot get the new 3.1 version to pick up our new converter.

In jbpm.cfg.xml I changed the resource.converter and resource.varmapping to 
point to the root of the classpath.




jbpm.converter.properties has the extra entry:

L com.quickstream.workflow.jbpm.converter.LongArrayToStringConverter

jbpm.varmapping.xml contains the new entry:

    <jbpm-type>
      
        
          
        
      
      
      <variable-instance 
class="org.jbpm.context.exe.variableinstance.StringInstance" />
    </jbpm-type>


However whenever I try to store a Long[] object I get a parsing error in 
jbpm.varmpaping.xml.  The exception is 
java.lang.reflect.invocationTargetException with the message of "couldn't parse 
'list' into a 'org.jbpm.configuration.ListInfo': .... <rest of xml here>

I have checked the XML and it is well-formed.  I also copied an existing 
mapping (byte[]) and changed it slightly while removing my new mapping type.  I 
get the same error.  When I remove the new type completely everything works 
(though my Long[]'s are not converted properly).

I also tried going back to our jbpm.varmapping.properties file and pointing 
jbpm.cfg.xml at that, but that threw SAXParser errors.

Any thoughts?  Do I need to update another property file somewhere?

Thanks,

Fallow

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939937#3939937

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939937


-------------------------------------------------------
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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to