Unless I missed something jpython is not supported
also
only valid engines are java and simple
feel free to make a jira
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Anshuman Manur sent the following on 5/31/2009 9:44 AM:
> Dear all,
> 
> I'm trying to run a jython service, but I'm getting the following error:
> 
> Problems loading org.apache.bsf.BSFEngine: jpython (unable to load language:
> jpython))
> 
> I spent about an hour tracing the error through the code, but that was of no
> avail. Seems to me that the trouble is with BSF loading the JPython classes,
> but this is just a guess. Any help would be much appreciated.
> 
> The service definition looks like this:
> <service name="testPython" engine="jpython"
> location="component://order/script/org/ofbiz/order/test/Test.py">
>     <description>testing the service engine</description>
>     <attribute name="status" type="String" mode="OUT" optional="false"/>
> </service>
> 
> and I call the service with this:
> result = dispatcher.runSync("testPython", null)
> 
> Thanks and Regards,
> Anshuman Manur
> 

-- 
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply via email to