Running ofbiz in Eclipse can't find SimpleMethod document

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Running ofbiz in Eclipse can't find SimpleMethod document

Brett
I've got a strange problem when I try to run ofbiz within eclipse.  If I
execute a service that is a simple method I get an error that it can't find
the simple method document.  I don't have the problem when the service is a
Java service.

Here is a sample of the stack trace:

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)
org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
document in resource: org/ofbiz/order/order/OrderServices.xml
    at org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java
:132)
    at org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java
:100)
    at org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java
:87)
    at org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
SimpleServiceEngine.java:76)
    at org.ofbiz.minilang.SimpleServiceEngine.runSync(
SimpleServiceEngine.java:51)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:336)
    at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
:211)
    at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java
:136)
    at org.ofbiz.service.rmi.RemoteDispatcherImpl.runSync(
RemoteDispatcherImpl.java:52)


If I run ofbiz from the command line all the services run all right.  It is
only within eclipse that I see this error.  There must be something I am
missing in my eclipse configuration.  Has anyone seen this error before?


Thanks,


Brett
Reply | Threaded
Open this post in threaded view
|

Re: Running ofbiz in Eclipse can't find SimpleMethod document

Ashish Vijaywargiya-3
Brett,

I am also getting this error from more then 1 month.
I got this error when I created an Order and on completion of order this
error displays on console.

I will appreciate for any pointers.
Thanks.

On 5/25/07, Brett Palmer <[hidden email]> wrote:

>
> I've got a strange problem when I try to run ofbiz within eclipse.  If I
> execute a service that is a simple method I get an error that it can't
> find
> the simple method document.  I don't have the problem when the service is
> a
> Java service.
>
> Here is a sample of the stack trace:
>
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
> RemoteTestRunner.java:673)
>     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
> RemoteTestRunner.java:386)
>     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
> RemoteTestRunner.java:196)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
> document in resource: org/ofbiz/order/order/OrderServices.xml
>     at org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java
> :132)
>     at org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java
> :100)
>     at org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java
> :87)
>     at org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(
> SimpleServiceEngine.java:76)
>     at org.ofbiz.minilang.SimpleServiceEngine.runSync(
> SimpleServiceEngine.java:51)
>     at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
> :336)
>     at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java
> :211)
>     at org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java
> :136)
>     at org.ofbiz.service.rmi.RemoteDispatcherImpl.runSync(
> RemoteDispatcherImpl.java:52)
>
>
> If I run ofbiz from the command line all the services run all right.  It
> is
> only within eclipse that I see this error.  There must be something I am
> missing in my eclipse configuration.  Has anyone seen this error before?
>
>
> Thanks,
>
>
> Brett
>



--
Thanks & Regards
Ashish Vijaywargiya
Aditisoft Technology Laboratory
http://www.adititechlabs.com
[hidden email]
__________________________________
Office          :  509.855.4113
Cellphone    :  +919893479711