Hi Hans,
I wanted to handle this better, for a reason the linkToProduct service is not
known when the SECA fires.
Weirdly enough even when you run the createCommunicationEvent service manually you get the same error though obviously
https://localhost:8443/webtools/control/ServiceList?sel_service_name=linkToProduct works
But you can't run the linkToProduct manually (same error: Cannot find service
[linkToProduct] location class (org.ofbiz.scrum.ScrumServices))
I could not find any typos, and found that it's actually a classloader error. I
moved the definition in party component for testing, for no avail.
Though the error message is java.lang.ClassNotFoundException:
org.ofbiz.scrum.ScrumServices
The method exists in the specialpurpose\scrum\build\classes\org\ofbiz\scrum\ScrumServices.class also in the ofbiz-scrum.jar and the Scrum webapp loads
and works
I tried to trace what's happening, but finally ran out of time
Note that if you move the definition *and implementation* of the linkToProduct service from scrum to party then all works. I thought it could be
something in the web.xml file but found nothing
At this stage I decide to give up!
Jacques
Le 21/05/2014 09:58, [email protected] a écrit :
Author: jleroux
Date: Wed May 21 07:58:51 2014
New Revision: 1596506
URL: http://svn.apache.org/r1596506
Log:
Temporary removes this SECA to check the build in Buildbot works the same than
here.
Unfortunately the infrabot is not able to re-run at demand at the moment, see
https://issues.apache.org/jira/browse/INFRA-7642
So this is rather a build test, we still have to fix this issue (not enough
time atm)
Modified:
ofbiz/trunk/specialpurpose/scrum/servicedef/secas.xml
Modified: ofbiz/trunk/specialpurpose/scrum/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/servicedef/secas.xml?rev=1596506&r1=1596505&r2=1596506&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/scrum/servicedef/secas.xml (original)
+++ ofbiz/trunk/specialpurpose/scrum/servicedef/secas.xml Wed May 21 07:58:51
2014
@@ -71,7 +71,7 @@ under the License.
<action mode="sync" service="autoScrumNotification"/>
</eca>
<!-- when a communcation event is created check the subject for a PD#
string, if found link the email to the certain product-->
- <eca service="createCommunicationEvent" event="commit">
+<!-- <eca service="createCommunicationEvent" event="commit">
<action service="linkToProduct" mode="sync"/>
</eca>
-</service-eca>
+--></service-eca>
--