ServiceDispatcher throws, but only when running from Eclipse

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

ServiceDispatcher throws, but only when running from Eclipse

Sven Wesley
Hi all,

I recently checked out the trunk (have been working with 4.0 until now).
Everything works fine when I'm running the system from a terminal, but when
I try to run from inside Eclipse the ServiceDispatcher seems to fail.
I tried to scan the mailing-list after similar problems, but with no luck.
Anyone got a hint what I'm missing in my workspace?

Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [sendEmailDated] in XML file
[org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could not
find SimpleMethod XML document in resource:
org/ofbiz/party/communication/CommunicationEventServices.xml)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Error running simple method
[sendEmailDated] in XML file
[org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could not
find SimpleMethod XML document in resource:
org/ofbiz/party/communication/CommunicationEventServices.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)


Regards,
Sven
Reply | Threaded
Open this post in threaded view
|

Re: ServiceDispatcher throws, but only when running from Eclipse

BJ Freeman
did a google on
running ofbiz in eclipse
http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
Note: you should not mix 4.0 and trunk
have different projects.


Sven Wesley wrote:

> Hi all,
>
> I recently checked out the trunk (have been working with 4.0 until now).
> Everything works fine when I'm running the system from a terminal, but when
> I try to run from inside Eclipse the ServiceDispatcher seems to fail.
> I tried to scan the mailing-list after similar problems, but with no luck.
> Anyone got a hint what I'm missing in my workspace?
>
> Exception: org.ofbiz.service.GenericServiceException
> Message: Error running simple method [sendEmailDated] in XML file
> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could not
> find SimpleMethod XML document in resource:
> org/ofbiz/party/communication/CommunicationEventServices.xml)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Error running simple method
> [sendEmailDated] in XML file
> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could not
> find SimpleMethod XML document in resource:
> org/ofbiz/party/communication/CommunicationEventServices.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>
>
> Regards,
> Sven
>
Reply | Threaded
Open this post in threaded view
|

Re: ServiceDispatcher throws, but only when running from Eclipse

Sven Wesley
Yes, already been through that page.
And no, I'm not mixing branches.


2008/10/3 [hidden email] <[hidden email]>

> did a google on
> running ofbiz in eclipse
> http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
> Note: you should not mix 4.0 and trunk
> have different projects.
>
>
>
> Sven Wesley wrote:
>
>> Hi all,
>>
>> I recently checked out the trunk (have been working with 4.0 until now).
>> Everything works fine when I'm running the system from a terminal, but
>> when
>> I try to run from inside Eclipse the ServiceDispatcher seems to fail.
>> I tried to scan the mailing-list after similar problems, but with no luck.
>> Anyone got a hint what I'm missing in my workspace?
>>
>> Exception: org.ofbiz.service.GenericServiceException
>> Message: Error running simple method [sendEmailDated] in XML file
>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>> not
>> find SimpleMethod XML document in resource:
>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>> ---- stack trace
>> ---------------------------------------------------------------
>> org.ofbiz.service.GenericServiceException: Error running simple method
>> [sendEmailDated] in XML file
>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>> not
>> find SimpleMethod XML document in resource:
>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>
>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>>
>>
>> Regards,
>> Sven
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: ServiceDispatcher throws, but only when running from Eclipse

BJ Freeman
what it is saying is it can not find the
framework\minilang\dtd\simple-methods.xsd
if your doing this offline it may not have paths to that component
since it called it an xml.

Just a guess.

Sven Wesley wrote:

> Yes, already been through that page.
> And no, I'm not mixing branches.
>
>
> 2008/10/3 [hidden email] <[hidden email]>
>
>> did a google on
>> running ofbiz in eclipse
>> http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
>> Note: you should not mix 4.0 and trunk
>> have different projects.
>>
>>
>>
>> Sven Wesley wrote:
>>
>>> Hi all,
>>>
>>> I recently checked out the trunk (have been working with 4.0 until now).
>>> Everything works fine when I'm running the system from a terminal, but
>>> when
>>> I try to run from inside Eclipse the ServiceDispatcher seems to fail.
>>> I tried to scan the mailing-list after similar problems, but with no luck.
>>> Anyone got a hint what I'm missing in my workspace?
>>>
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message: Error running simple method [sendEmailDated] in XML file
>>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>>> not
>>> find SimpleMethod XML document in resource:
>>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException: Error running simple method
>>> [sendEmailDated] in XML file
>>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>>> not
>>> find SimpleMethod XML document in resource:
>>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>>
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>>>
>>>
>>> Regards,
>>> Sven
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: ServiceDispatcher throws, but only when running from Eclipse

Sven Wesley
I must have been a Eclipse cache thing. The run configuration didn't change
as it should when I updated it. I killed Eclipse, removed the workspace
cache and restarted the IDE and now it's up and running without the
Dispatcher error. Works like a charm.

Thanks for your suggestions!

--S

2008/10/3 [hidden email] <[hidden email]>

> what it is saying is it can not find the
> framework\minilang\dtd\simple-methods.xsd
> if your doing this offline it may not have paths to that component
> since it called it an xml.
>
> Just a guess.
>
>
> Sven Wesley wrote:
>
>> Yes, already been through that page.
>> And no, I'm not mixing branches.
>>
>>
>> 2008/10/3 [hidden email] <[hidden email]>
>>
>>  did a google on
>>> running ofbiz in eclipse
>>>
>>> http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
>>> Note: you should not mix 4.0 and trunk
>>> have different projects.
>>>
>>>
>>>
>>> Sven Wesley wrote:
>>>
>>>  Hi all,
>>>>
>>>> I recently checked out the trunk (have been working with 4.0 until now).
>>>> Everything works fine when I'm running the system from a terminal, but
>>>> when
>>>> I try to run from inside Eclipse the ServiceDispatcher seems to fail.
>>>> I tried to scan the mailing-list after similar problems, but with no
>>>> luck.
>>>> Anyone got a hint what I'm missing in my workspace?
>>>>
>>>> Exception: org.ofbiz.service.GenericServiceException
>>>> Message: Error running simple method [sendEmailDated] in XML file
>>>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>>>> not
>>>> find SimpleMethod XML document in resource:
>>>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>>> ---- stack trace
>>>> ---------------------------------------------------------------
>>>> org.ofbiz.service.GenericServiceException: Error running simple method
>>>> [sendEmailDated] in XML file
>>>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>>>> not
>>>> find SimpleMethod XML document in resource:
>>>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>>>
>>>>
>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>>>>
>>>>
>>>> Regards,
>>>> Sven
>>>>
>>>>
>>>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: ServiceDispatcher throws, but only when running from Eclipse

Scott Gray
In reply to this post by Sven Wesley
I've always used remote debugging and it's problem free.  Out of
curiosity, why do people run OFBiz in eclipse?  What are the benefits?

Regards
Scott

2008/10/3 Sven Wesley <[hidden email]>:

> Yes, already been through that page.
> And no, I'm not mixing branches.
>
>
> 2008/10/3 [hidden email] <[hidden email]>
>
>> did a google on
>> running ofbiz in eclipse
>> http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
>> Note: you should not mix 4.0 and trunk
>> have different projects.
>>
>>
>>
>> Sven Wesley wrote:
>>
>>> Hi all,
>>>
>>> I recently checked out the trunk (have been working with 4.0 until now).
>>> Everything works fine when I'm running the system from a terminal, but
>>> when
>>> I try to run from inside Eclipse the ServiceDispatcher seems to fail.
>>> I tried to scan the mailing-list after similar problems, but with no luck.
>>> Anyone got a hint what I'm missing in my workspace?
>>>
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message: Error running simple method [sendEmailDated] in XML file
>>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>>> not
>>> find SimpleMethod XML document in resource:
>>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException: Error running simple method
>>> [sendEmailDated] in XML file
>>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>>> not
>>> find SimpleMethod XML document in resource:
>>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>>
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>>>
>>>
>>> Regards,
>>> Sven
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: ServiceDispatcher throws, but only when running from Eclipse

BJ Freeman
not sure, I don't use Eclipse.
I use log***** in the code and read the log files

Scott Gray wrote:

> I've always used remote debugging and it's problem free.  Out of
> curiosity, why do people run OFBiz in eclipse?  What are the benefits?
>
> Regards
> Scott
>
> 2008/10/3 Sven Wesley <[hidden email]>:
>> Yes, already been through that page.
>> And no, I'm not mixing branches.
>>
>>
>> 2008/10/3 [hidden email] <[hidden email]>
>>
>>> did a google on
>>> running ofbiz in eclipse
>>> http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
>>> Note: you should not mix 4.0 and trunk
>>> have different projects.
>>>
>>>
>>>
>>> Sven Wesley wrote:
>>>
>>>> Hi all,
>>>>
>>>> I recently checked out the trunk (have been working with 4.0 until now).
>>>> Everything works fine when I'm running the system from a terminal, but
>>>> when
>>>> I try to run from inside Eclipse the ServiceDispatcher seems to fail.
>>>> I tried to scan the mailing-list after similar problems, but with no luck.
>>>> Anyone got a hint what I'm missing in my workspace?
>>>>
>>>> Exception: org.ofbiz.service.GenericServiceException
>>>> Message: Error running simple method [sendEmailDated] in XML file
>>>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>>>> not
>>>> find SimpleMethod XML document in resource:
>>>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>>> ---- stack trace
>>>> ---------------------------------------------------------------
>>>> org.ofbiz.service.GenericServiceException: Error running simple method
>>>> [sendEmailDated] in XML file
>>>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>>>> not
>>>> find SimpleMethod XML document in resource:
>>>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>>>>
>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>>>>
>>>>
>>>> Regards,
>>>> Sven
>>>>
>>>>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ServiceDispatcher throws, but only when running from Eclipse

Sven Wesley
In reply to this post by Scott Gray
Debugging, testing and monitoring.
My opinion is that when I use an IDE everything should work from there.


2008/10/3 Scott Gray <[hidden email]>

> I've always used remote debugging and it's problem free.  Out of
> curiosity, why do people run OFBiz in eclipse?  What are the benefits?
>
> Regards
> Scott
>
> 2008/10/3 Sven Wesley <[hidden email]>:
> > Yes, already been through that page.
> > And no, I'm not mixing branches.
> >
> >
> > 2008/10/3 [hidden email] <[hidden email]>
> >
> >> did a google on
> >> running ofbiz in eclipse
> >>
> http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
> >> Note: you should not mix 4.0 and trunk
> >> have different projects.
> >>
> >>
> >>
> >> Sven Wesley wrote:
> >>
> >>> Hi all,
> >>>
> >>> I recently checked out the trunk (have been working with 4.0 until
> now).
> >>> Everything works fine when I'm running the system from a terminal, but
> >>> when
> >>> I try to run from inside Eclipse the ServiceDispatcher seems to fail.
> >>> I tried to scan the mailing-list after similar problems, but with no
> luck.
> >>> Anyone got a hint what I'm missing in my workspace?
> >>>
> >>> Exception: org.ofbiz.service.GenericServiceException
> >>> Message: Error running simple method [sendEmailDated] in XML file
> >>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
> >>> not
> >>> find SimpleMethod XML document in resource:
> >>> org/ofbiz/party/communication/CommunicationEventServices.xml)
> >>> ---- stack trace
> >>> ---------------------------------------------------------------
> >>> org.ofbiz.service.GenericServiceException: Error running simple method
> >>> [sendEmailDated] in XML file
> >>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
> >>> not
> >>> find SimpleMethod XML document in resource:
> >>> org/ofbiz/party/communication/CommunicationEventServices.xml)
> >>>
> >>>
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
> >>>
> >>>
> >>> Regards,
> >>> Sven
> >>>
> >>>
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: ServiceDispatcher throws, but only when running from Eclipse

Jacques Le Roux
Administrator
Yes, and such discussion should be on user ML
http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists#MailingLists-DeveloperList:dev@...

Thanks

Jacques


From: "Sven Wesley" <[hidden email]>

> Debugging, testing and monitoring.
> My opinion is that when I use an IDE everything should work from there.
>
>
> 2008/10/3 Scott Gray <[hidden email]>
>
>> I've always used remote debugging and it's problem free.  Out of
>> curiosity, why do people run OFBiz in eclipse?  What are the benefits?
>>
>> Regards
>> Scott
>>
>> 2008/10/3 Sven Wesley <[hidden email]>:
>> > Yes, already been through that page.
>> > And no, I'm not mixing branches.
>> >
>> >
>> > 2008/10/3 [hidden email] <[hidden email]>
>> >
>> >> did a google on
>> >> running ofbiz in eclipse
>> >>
>> http://docs.ofbiz.org/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
>> >> Note: you should not mix 4.0 and trunk
>> >> have different projects.
>> >>
>> >>
>> >>
>> >> Sven Wesley wrote:
>> >>
>> >>> Hi all,
>> >>>
>> >>> I recently checked out the trunk (have been working with 4.0 until
>> now).
>> >>> Everything works fine when I'm running the system from a terminal, but
>> >>> when
>> >>> I try to run from inside Eclipse the ServiceDispatcher seems to fail.
>> >>> I tried to scan the mailing-list after similar problems, but with no
>> luck.
>> >>> Anyone got a hint what I'm missing in my workspace?
>> >>>
>> >>> Exception: org.ofbiz.service.GenericServiceException
>> >>> Message: Error running simple method [sendEmailDated] in XML file
>> >>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>> >>> not
>> >>> find SimpleMethod XML document in resource:
>> >>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>> >>> ---- stack trace
>> >>> ---------------------------------------------------------------
>> >>> org.ofbiz.service.GenericServiceException: Error running simple method
>> >>> [sendEmailDated] in XML file
>> >>> [org/ofbiz/party/communication/CommunicationEventServices.xml]:  (Could
>> >>> not
>> >>> find SimpleMethod XML document in resource:
>> >>> org/ofbiz/party/communication/CommunicationEventServices.xml)
>> >>>
>> >>>
>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>> >>>
>> >>>
>> >>> Regards,
>> >>> Sven
>> >>>
>> >>>
>> >
>>
>