OFBiz runs java in headless mode, you can find out more by using google.
Regards
Scott
On 06/06/07, amit charaya <
[hidden email]> wrote:
>
>
> i am trying to create a frame in simple method
> here is code for that
>
> <simple-methods xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
>
> xsi:noNamespaceSchemaLocation="
>
http://www.ofbiz.org/dtds/simple-methods.xsd">
> <simple-method method-name="createManufacturer"
> short-description="create a manufacture"
> login-required="false">
> <make-value entity-name="Manufacturer" map-name="parameters"
> value-name="newEntity"/>
>
> <create-value value-name="newEntity"></create-value>
> <create-object field-name="my" class-name="java.awt.Frame">
>
>
> </create-object>
>
>
>
>
> </simple-method>
>
> </simple-methods>
> [java] 2007-06-06 15:23:03,363 (http-0.0.0.0-8080-Processor3) [
> RequestHandler.java:305:ERROR] Request manfact caused an error with the
> following message: ERROR: Could not complete the create a manufacture
>
> [file:/home/vinod/Desktop/amit/ofbiz/hot-deploy/hello1/script/org/ofbiz/hello1/ItemServices.xml#createManufacturer]
> process [Constructor in create-object threw an exception:
> java.awt.HeadlessException]
>
>
> i am getting following exception
> plz provide help thanks
> --
> View this message in context:
>
http://www.nabble.com/getting-exception-tf3876927.html#a10985593> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>