add customer question

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

add customer question

jjmbconquista
I am trying insert person in database, when i use the following statement insert correctly:

        LocalDispatcher dispatcher = dctx.getDispatcher();
        Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
        Map serviceResults = dispatcher.runSync("createPerson", input);

i
retrieve the dispatcher directly from the DispatchContext that comes
from the request to service, the complete code of the method is
following:

public static Map processUreadEmailsFromSite(DispatchContext dctx, Map context)throws EmailLoaderException, Exception{

/*
        LocalDispatcher dispatcher = dctx.getDispatcher();

        Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");

        Map serviceResults = dispatcher.runSync("createPerson", input);
*/

       GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");
       LocalDispatcher dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
        Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
        Map serviceResults = dispatcher.runSync("createPerson", input);


    }

but when i retrieve the dispatcher this way:

GenericDelegator
delegator = GenericDelegator.getGenericDelegator("default");
LocalDispatcher
dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);

I get the error:


2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
 [     RequestHandler.java:239:INFO ] [Processing Request]: importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
2008-08-04
09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
AbstractEngine.java:78 :INFO ] Loaded Service Locations :
[main-rmi=rmi://localhost:1099/RMIDispatcher,
main-http=http://localhost:8080/webtools/control/httpService,
entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
entity-sync-http=http://localhost:8080/webtools/control/httpService,
rita-rmi=rmi://localhost:1099/RMIDispatcher,
eedcc-test=http://localhost:8080/webtools/control/httpService]
2008-08-04
09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
Integrator.java:38 :INFO ] Running method
Integrator.processUreadEmailsFromSite
2008-08-04 09:34:54,997
(http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
2008-08-04 09:34:54,997
(http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
Registered dispatcher: OrderProcessor
2008-08-04 09:34:54,997
(http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
[LocalDispatcher] : Created Dispatcher for: OrderProcessor
2008-08-04
09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
curSeqId=10290, maxSeqId=10300, bankSize=10
2008-08-04 09:34:55,012
(http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
Running Service ECA Service: ensureNaPartyRole, triggered by rule on
Service: createPerson
2008-08-04 09:34:55,028
(http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
[[Sync service failed...- total:0.0,since last(Begin):0.0]] -
'OrderProcessor / ensureNaPartyRole'
2008-08-04 09:34:55,028
 (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
---- exception report ----------------------------------------------------------
Service [ensureNaPartyRole] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message:
Error running simple method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml)
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException:
Error running simple method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
r.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
 org/ofbiz/party/party/PartySimpleMethods.xml
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.of
biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:294:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
Exception: java.lang.Exception
Message: Service [ensureNaPartyRole] threw an unexpected
 exception/error
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
 exception/error
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
sun.refl
ect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2008-08-04
09:34:55,028 (http-0.0.0.0-8080-Processor4) [ 
ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
---- exception report ----------------------------------------------------------
Service [createPerson] threw an
 unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message:
Error running simple method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml)
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException:
Error running simple method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
r.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
 org/ofbiz/party/party/PartySimpleMethods.xml
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.of
biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2008-08-04
09:34:55,028 (http-0.0.0.0-8080-Processor4) [   
TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2008-08-04
09:34:55,028 (http-0.0.0.0-8080-Processor4) [ 
ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
2008-08-04
 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
---- exception report ----------------------------------------------------------
Service [importEmaisFromSite] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message:
Service target threw an unexpected exception (Error running simple
method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml))
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException:
Service target threw an unexpected exception (Error running simple
method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml))
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
ilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.
apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
org.ofbiz.service.GenericServiceException:
Error running simple method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
r.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
 org/ofbiz/party/party/PartySimpleMethods.xml
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.of
biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:258:ERROR]
---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack
 Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.
ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http
11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
--------------------------------------------------------------------------------

2008-08-04
09:34:55,044 (http-0.0.0.0-8080-Processor4) [   
TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
rolled back
2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
[    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
committing transaction, status is STATUS_NO_TRANSACTION
2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
 [ServiceEventHandler.java:326:ERROR]
---- exception report ----------------------------------------------------------
Service invocation error
Exception: org.ofbiz.service.GenericServiceException
Message:
Service target threw an unexpected exception (Error running simple
method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml))
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException:
Service target threw an unexpected exception (Error running simple
method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml))
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
ilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.
apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
org.ofbiz.service.GenericServiceException:
Error running simple method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
r.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)
org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
 org/ofbiz/party/party/PartySimpleMethods.xml
org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
org.of
biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown
 Source)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catal
ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.pro
cess(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)

someone knows the difference between these two way?



        LocalDispatcher dispatcher = dctx.getDispatcher();


        Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");


        Map serviceResults = dispatcher.runSync("createPerson", input);



And




       GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");

       LocalDispatcher dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);

        Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");

        Map serviceResults = dispatcher.runSync("createPerson", input);




      Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses
Reply | Threaded
Open this post in threaded view
|

Re: add customer question

BJ Freeman
before we get into code.
are you familiar with the code now in ofbiz to get emails?

jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:

> I am trying insert person in database, when i use the following statement insert correctly:
>
>         LocalDispatcher dispatcher = dctx.getDispatcher();
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>         Map serviceResults = dispatcher.runSync("createPerson", input);
>
> i
> retrieve the dispatcher directly from the DispatchContext that comes
> from the request to service, the complete code of the method is
> following:
>
> public static Map processUreadEmailsFromSite(DispatchContext dctx, Map context)throws EmailLoaderException, Exception{
>
> /*
>         LocalDispatcher dispatcher = dctx.getDispatcher();
>
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>
>         Map serviceResults = dispatcher.runSync("createPerson", input);
> */
>
>        GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");
>        LocalDispatcher dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>         Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
>     }
>
> but when i retrieve the dispatcher this way:
>
> GenericDelegator
> delegator = GenericDelegator.getGenericDelegator("default");
> LocalDispatcher
> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>
> I get the error:
>
>
> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>  [     RequestHandler.java:239:INFO ] [Processing Request]: importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
> 2008-08-04
> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
> [main-rmi=rmi://localhost:1099/RMIDispatcher,
> main-http=http://localhost:8080/webtools/control/httpService,
> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
> entity-sync-http=http://localhost:8080/webtools/control/httpService,
> rita-rmi=rmi://localhost:1099/RMIDispatcher,
> eedcc-test=http://localhost:8080/webtools/control/httpService]
> 2008-08-04
> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
> Integrator.java:38 :INFO ] Running method
> Integrator.processUreadEmailsFromSite
> 2008-08-04 09:34:54,997
> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
> Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
> 2008-08-04 09:34:54,997
> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
> Registered dispatcher: OrderProcessor
> 2008-08-04 09:34:54,997
> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
> 2008-08-04
> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
> curSeqId=10290, maxSeqId=10300, bankSize=10
> 2008-08-04 09:34:55,012
> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
> Service: createPerson
> 2008-08-04 09:34:55,028
> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
> 'OrderProcessor / ensureNaPartyRole'
> 2008-08-04 09:34:55,028
>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
> ---- exception report ----------------------------------------------------------
> Service [ensureNaPartyRole] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
> r.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
>  org/ofbiz/party/party/PartySimpleMethods.xml
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.of
> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:294:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [ensureNaPartyRole] threw an unexpected
>  exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>  exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.refl
> ect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04
> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
> ---- exception report ----------------------------------------------------------
> Service [createPerson] threw an
>  unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
> r.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
>  org/ofbiz/party/party/PartySimpleMethods.xml
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.of
> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04
> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2008-08-04
> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
> 2008-08-04
>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
> ---- exception report ----------------------------------------------------------
> Service [importEmaisFromSite] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message:
> Service target threw an unexpected exception (Error running simple
> method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml))
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException:
> Service target threw an unexpected exception (Error running simple
> method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml))
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
> ilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.
> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.service.GenericServiceException:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
> r.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
>  org/ofbiz/party/party/PartySimpleMethods.xml
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.of
> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:258:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack
>  Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.
> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http
> 11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04
> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
> rolled back
> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
> committing transaction, status is STATUS_NO_TRANSACTION
> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>  [ServiceEventHandler.java:326:ERROR]
> ---- exception report ----------------------------------------------------------
> Service invocation error
> Exception: org.ofbiz.service.GenericServiceException
> Message:
> Service target threw an unexpected exception (Error running simple
> method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml))
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException:
> Service target threw an unexpected exception (Error running simple
> method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml))
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
> ilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.
> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.service.GenericServiceException:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
> r.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
>  org/ofbiz/party/party/PartySimpleMethods.xml
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.of
> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
>
> someone knows the difference between these two way?
>
>
>
>         LocalDispatcher dispatcher = dctx.getDispatcher();
>
>
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>
>
>         Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
>
> And
>
>
>
>
>        GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");
>
>        LocalDispatcher dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>
>         Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
>
>
>       Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
> http://br.new.mail.yahoo.com/addresses


Reply | Threaded
Open this post in threaded view
|

Re: add customer question

jjmbconquista
No
BJ Freeman wrote
before we get into code.
are you familiar with the code now in ofbiz to get emails?

jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:
> I am trying insert person in database, when i use the following statement insert correctly:
>
>         LocalDispatcher dispatcher = dctx.getDispatcher();
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>         Map serviceResults = dispatcher.runSync("createPerson", input);
>
> i
> retrieve the dispatcher directly from the DispatchContext that comes
> from the request to service, the complete code of the method is
> following:
>
> public static Map processUreadEmailsFromSite(DispatchContext dctx, Map context)throws EmailLoaderException, Exception{
>
> /*
>         LocalDispatcher dispatcher = dctx.getDispatcher();
>
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>
>         Map serviceResults = dispatcher.runSync("createPerson", input);
> */
>
>        GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");
>        LocalDispatcher dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>         Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
>     }
>
> but when i retrieve the dispatcher this way:
>
> GenericDelegator
> delegator = GenericDelegator.getGenericDelegator("default");
> LocalDispatcher
> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>
> I get the error:
>
>
> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>  [     RequestHandler.java:239:INFO ] [Processing Request]: importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
> 2008-08-04
> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
> [main-rmi=rmi://localhost:1099/RMIDispatcher,
> main-http=http://localhost:8080/webtools/control/httpService,
> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
> entity-sync-http=http://localhost:8080/webtools/control/httpService,
> rita-rmi=rmi://localhost:1099/RMIDispatcher,
> eedcc-test=http://localhost:8080/webtools/control/httpService]
> 2008-08-04
> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
> Integrator.java:38 :INFO ] Running method
> Integrator.processUreadEmailsFromSite
> 2008-08-04 09:34:54,997
> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
> Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
> 2008-08-04 09:34:54,997
> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
> Registered dispatcher: OrderProcessor
> 2008-08-04 09:34:54,997
> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
> 2008-08-04
> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
> curSeqId=10290, maxSeqId=10300, bankSize=10
> 2008-08-04 09:34:55,012
> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
> Service: createPerson
> 2008-08-04 09:34:55,028
> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
> 'OrderProcessor / ensureNaPartyRole'
> 2008-08-04 09:34:55,028
>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
> ---- exception report ----------------------------------------------------------
> Service [ensureNaPartyRole] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
> r.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
>  org/ofbiz/party/party/PartySimpleMethods.xml
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.of
> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:294:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [ensureNaPartyRole] threw an unexpected
>  exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>  exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.refl
> ect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04
> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
> ---- exception report ----------------------------------------------------------
> Service [createPerson] threw an
>  unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
> r.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
>  org/ofbiz/party/party/PartySimpleMethods.xml
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.of
> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04
> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2008-08-04
> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
> 2008-08-04
>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
> ---- exception report ----------------------------------------------------------
> Service [importEmaisFromSite] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message:
> Service target threw an unexpected exception (Error running simple
> method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml))
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException:
> Service target threw an unexpected exception (Error running simple
> method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml))
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
> ilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.
> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.service.GenericServiceException:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
> r.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
>  org/ofbiz/party/party/PartySimpleMethods.xml
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.of
> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:258:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack
>  Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.
> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http
> 11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> --------------------------------------------------------------------------------
>
> 2008-08-04
> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
> rolled back
> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
> committing transaction, status is STATUS_NO_TRANSACTION
> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>  [ServiceEventHandler.java:326:ERROR]
> ---- exception report ----------------------------------------------------------
> Service invocation error
> Exception: org.ofbiz.service.GenericServiceException
> Message:
> Service target threw an unexpected exception (Error running simple
> method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml))
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException:
> Service target threw an unexpected exception (Error running simple
> method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml))
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
> ilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.
> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.service.GenericServiceException:
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
> r.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML document in resource:
>  org/ofbiz/party/party/PartySimpleMethods.xml
> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
> org.of
> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> java.lang.reflect.Method.invoke(Unknown
>  Source)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catal
> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.pro
> cess(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Unknown Source)
>
> someone knows the difference between these two way?
>
>
>
>         LocalDispatcher dispatcher = dctx.getDispatcher();
>
>
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>
>
>         Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
>
> And
>
>
>
>
>        GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");
>
>        LocalDispatcher dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>
>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>
>         Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
>
>
>       Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
> http://br.new.mail.yahoo.com/addresses

Reply | Threaded
Open this post in threaded view
|

Re: add customer question

BJ Freeman
the java mail container is disabled by default in the
ofbiz-containers.xml
check code if you wish
framework\service\src\org\ofbiz\service\mail
look in
applications\content\src\org\ofbiz\content\email
and
applications\content\servicedef
you will see sample in the mca.xml

here is one I use
    <mca mail-rule-name="UPSTrackingEmailRule">
        <condition-field field-name="from" operator="matches"
value="[hidden email]"/>
        <action service="ProcessUPSTracking" mode="sync"/>
    </mca>


now if an order has been placed, not anomously then a customer is
created and thier email, if they provided it, is in the contact mech.
so when the emails are read in they will associate with the customer.


jjmbconquista sent the following on 8/4/2008 6:45 AM:

> No
>
> BJ Freeman wrote:
>> before we get into code.
>> are you familiar with the code now in ofbiz to get emails?
>>
>> jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:
>>> I am trying insert person in database, when i use the following statement
>>> insert correctly:
>>>
>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>> i
>>> retrieve the dispatcher directly from the DispatchContext that comes
>>> from the request to service, the complete code of the method is
>>> following:
>>>
>>> public static Map processUreadEmailsFromSite(DispatchContext dctx, Map
>>> context)throws EmailLoaderException, Exception{
>>>
>>> /*
>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>> */
>>>
>>>        GenericDelegator delegator =
>>> GenericDelegator.getGenericDelegator("default");
>>>        LocalDispatcher
>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>>
>>>     }
>>>
>>> but when i retrieve the dispatcher this way:
>>>
>>> GenericDelegator
>>> delegator = GenericDelegator.getGenericDelegator("default");
>>> LocalDispatcher
>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>
>>> I get the error:
>>>
>>>
>>> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>>>  [     RequestHandler.java:239:INFO ] [Processing Request]:
>>> importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
>>> 2008-08-04
>>> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
>>> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
>>> [main-rmi=rmi://localhost:1099/RMIDispatcher,
>>> main-http=http://localhost:8080/webtools/control/httpService,
>>> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
>>> entity-sync-http=http://localhost:8080/webtools/control/httpService,
>>> rita-rmi=rmi://localhost:1099/RMIDispatcher,
>>> eedcc-test=http://localhost:8080/webtools/control/httpService]
>>> 2008-08-04
>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
>>> Integrator.java:38 :INFO ] Running method
>>> Integrator.processUreadEmailsFromSite
>>> 2008-08-04 09:34:54,997
>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
>>> Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
>>> 2008-08-04 09:34:54,997
>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
>>> Registered dispatcher: OrderProcessor
>>> 2008-08-04 09:34:54,997
>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
>>> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
>>> 2008-08-04
>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
>>> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
>>> curSeqId=10290, maxSeqId=10300, bankSize=10
>>> 2008-08-04 09:34:55,012
>>> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
>>> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
>>> Service: createPerson
>>> 2008-08-04 09:34:55,028
>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
>>> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
>>> 'OrderProcessor / ensureNaPartyRole'
>>> 2008-08-04 09:34:55,028
>>>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service [ensureNaPartyRole] threw an unexpected exception/error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>> r.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>> document in resource:
>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.of
>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>> TransactionUtil.java:294:WARN ]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
>>> this stack trace shows where this is happening:
>>> Exception: java.lang.Exception
>>> Message: Service [ensureNaPartyRole] threw an unexpected
>>>  exception/error
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>>>  exception/error
>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.refl
>>> ect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04
>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>> ServiceDispatcher.java:399:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service [createPerson] threw an
>>>  unexpected exception/error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>> r.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>> document in resource:
>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.of
>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04
>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
>>> transaction rollback only not set, rollback only is already set.
>>> 2008-08-04
>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
>>> 2008-08-04
>>>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [
>>> ServiceDispatcher.java:399:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service [importEmaisFromSite] threw an unexpected exception/error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message:
>>> Service target threw an unexpected exception (Error running simple
>>> method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException:
>>> Service target threw an unexpected exception (Error running simple
>>> method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>> ilterChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.
>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.service.GenericServiceException:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>> r.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>> document in resource:
>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.of
>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>> TransactionUtil.java:258:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> [TransactionUtil.rollback]
>>> Exception: java.lang.Exception
>>> Message: Stack Trace
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> java.lang.Exception: Stack
>>>  Trace
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catalina.core.
>>> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.process(Http
>>> 11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04
>>> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
>>> rolled back
>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
>>> committing transaction, status is STATUS_NO_TRANSACTION
>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>  [ServiceEventHandler.java:326:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service invocation error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message:
>>> Service target threw an unexpected exception (Error running simple
>>> method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException:
>>> Service target threw an unexpected exception (Error running simple
>>> method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>> ilterChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.
>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.service.GenericServiceException:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>> r.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>> document in resource:
>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.of
>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>>
>>> someone knows the difference between these two way?
>>>
>>>
>>>
>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>
>>>
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>
>>>
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>>
>>>
>>> And
>>>
>>>
>>>
>>>
>>>        GenericDelegator delegator =
>>> GenericDelegator.getGenericDelegator("default");
>>>
>>>        LocalDispatcher
>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>>
>>>
>>>
>>>       Novos endereços, o Yahoo! que você conhece. Crie um email novo com
>>> a sua cara @ymail.com ou @rocketmail.com.
>>> http://br.new.mail.yahoo.com/addresses
>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: add customer question

jjmbconquista
Thanks BJ,

but now i want know why this statement work corrently:

     LocalDispatcher dispatcher = dctx.getDispatcher();
     Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
     Map serviceResults = dispatcher.runSync("createPerson", input);

and this not:

     GenericDelegator delegator = GenericDelegator.getGenericDelegator("default");
     LocalDispatcher dispatcher=GenericDispatcher.getLocalDispatcher("OrderProcessor",delegator);
     Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
     Map serviceResults = dispatcher.runSync("createPerson", input);

BJ Freeman wrote
the java mail container is disabled by default in the
ofbiz-containers.xml
check code if you wish
framework\service\src\org\ofbiz\service\mail
look in
applications\content\src\org\ofbiz\content\email
and
applications\content\servicedef
you will see sample in the mca.xml

here is one I use
    <mca mail-rule-name="UPSTrackingEmailRule">
        <condition-field field-name="from" operator="matches"
value="QuantumViewNotify@ups.com"/>
        <action service="ProcessUPSTracking" mode="sync"/>
    </mca>


now if an order has been placed, not anomously then a customer is
created and thier email, if they provided it, is in the contact mech.
so when the emails are read in they will associate with the customer.


jjmbconquista sent the following on 8/4/2008 6:45 AM:
> No
>
> BJ Freeman wrote:
>> before we get into code.
>> are you familiar with the code now in ofbiz to get emails?
>>
>> jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:
>>> I am trying insert person in database, when i use the following statement
>>> insert correctly:
>>>
>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>> i
>>> retrieve the dispatcher directly from the DispatchContext that comes
>>> from the request to service, the complete code of the method is
>>> following:
>>>
>>> public static Map processUreadEmailsFromSite(DispatchContext dctx, Map
>>> context)throws EmailLoaderException, Exception{
>>>
>>> /*
>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>> */
>>>
>>>        GenericDelegator delegator =
>>> GenericDelegator.getGenericDelegator("default");
>>>        LocalDispatcher
>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>>
>>>     }
>>>
>>> but when i retrieve the dispatcher this way:
>>>
>>> GenericDelegator
>>> delegator = GenericDelegator.getGenericDelegator("default");
>>> LocalDispatcher
>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>
>>> I get the error:
>>>
>>>
>>> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>>>  [     RequestHandler.java:239:INFO ] [Processing Request]:
>>> importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
>>> 2008-08-04
>>> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
>>> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
>>> [main-rmi=rmi://localhost:1099/RMIDispatcher,
>>> main-http=http://localhost:8080/webtools/control/httpService,
>>> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
>>> entity-sync-http=http://localhost:8080/webtools/control/httpService,
>>> rita-rmi=rmi://localhost:1099/RMIDispatcher,
>>> eedcc-test=http://localhost:8080/webtools/control/httpService]
>>> 2008-08-04
>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
>>> Integrator.java:38 :INFO ] Running method
>>> Integrator.processUreadEmailsFromSite
>>> 2008-08-04 09:34:54,997
>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
>>> Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
>>> 2008-08-04 09:34:54,997
>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
>>> Registered dispatcher: OrderProcessor
>>> 2008-08-04 09:34:54,997
>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
>>> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
>>> 2008-08-04
>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
>>> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
>>> curSeqId=10290, maxSeqId=10300, bankSize=10
>>> 2008-08-04 09:34:55,012
>>> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
>>> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
>>> Service: createPerson
>>> 2008-08-04 09:34:55,028
>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
>>> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
>>> 'OrderProcessor / ensureNaPartyRole'
>>> 2008-08-04 09:34:55,028
>>>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service [ensureNaPartyRole] threw an unexpected exception/error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>> r.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>> document in resource:
>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.of
>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>> TransactionUtil.java:294:WARN ]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
>>> this stack trace shows where this is happening:
>>> Exception: java.lang.Exception
>>> Message: Service [ensureNaPartyRole] threw an unexpected
>>>  exception/error
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>>>  exception/error
>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.refl
>>> ect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04
>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>> ServiceDispatcher.java:399:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service [createPerson] threw an
>>>  unexpected exception/error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>> r.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>> document in resource:
>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.of
>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04
>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
>>> transaction rollback only not set, rollback only is already set.
>>> 2008-08-04
>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
>>> 2008-08-04
>>>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [
>>> ServiceDispatcher.java:399:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service [importEmaisFromSite] threw an unexpected exception/error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message:
>>> Service target threw an unexpected exception (Error running simple
>>> method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException:
>>> Service target threw an unexpected exception (Error running simple
>>> method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>> ilterChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.
>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.service.GenericServiceException:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>> r.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>> document in resource:
>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.of
>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>> TransactionUtil.java:258:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> [TransactionUtil.rollback]
>>> Exception: java.lang.Exception
>>> Message: Stack Trace
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> java.lang.Exception: Stack
>>>  Trace
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catalina.core.
>>> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.process(Http
>>> 11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> --------------------------------------------------------------------------------
>>>
>>> 2008-08-04
>>> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
>>> rolled back
>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
>>> committing transaction, status is STATUS_NO_TRANSACTION
>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>  [ServiceEventHandler.java:326:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service invocation error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message:
>>> Service target threw an unexpected exception (Error running simple
>>> method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> org.ofbiz.service.GenericServiceException:
>>> Service target threw an unexpected exception (Error running simple
>>> method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>> ilterChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.
>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.service.GenericServiceException:
>>> Error running simple method [ensureNaPartyRole] in XML file
>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>> SimpleMethod XML document in resource:
>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>> r.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>> document in resource:
>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>> org.of
>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> java.lang.reflect.Method.invoke(Unknown
>>>  Source)
>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>> org.apache.catal
>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>> org.apache.coyote.http11.Http11Processor.pro
>>> cess(Http11Processor.java:869)
>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>> java.lang.Thread.run(Unknown Source)
>>>
>>> someone knows the difference between these two way?
>>>
>>>
>>>
>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>
>>>
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>
>>>
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>>
>>>
>>> And
>>>
>>>
>>>
>>>
>>>        GenericDelegator delegator =
>>> GenericDelegator.getGenericDelegator("default");
>>>
>>>        LocalDispatcher
>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>
>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>
>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>>
>>>
>>>
>>>       Novos endereços, o Yahoo! que você conhece. Crie um email novo com
>>> a sua cara @ymail.com ou @rocketmail.com.
>>> http://br.new.mail.yahoo.com/addresses
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: add customer question

BJ Freeman
from the log looks like you doing rmi
and the error are
Error running simple method [ensureNaPartyRole] in XML file
[org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
SimpleMethod XML document in resource:
org/ofbiz/party/party/PartySimpleMethods.xml)

so your create person fail also.

jjmbconquista sent the following on 8/4/2008 7:16 AM:

> Thanks BJ,
>
> but now i want know why this statement work corrently:
>
>      LocalDispatcher dispatcher = dctx.getDispatcher();
>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>      Map serviceResults = dispatcher.runSync("createPerson", input);
>
> and this not:
>
>      GenericDelegator delegator =
> GenericDelegator.getGenericDelegator("default");
>      LocalDispatcher
> dispatcher=GenericDispatcher.getLocalDispatcher("OrderProcessor",delegator);
>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>      Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
> BJ Freeman wrote:
>> the java mail container is disabled by default in the
>> ofbiz-containers.xml
>> check code if you wish
>> framework\service\src\org\ofbiz\service\mail
>> look in
>> applications\content\src\org\ofbiz\content\email
>> and
>> applications\content\servicedef
>> you will see sample in the mca.xml
>>
>> here is one I use
>>     <mca mail-rule-name="UPSTrackingEmailRule">
>>         <condition-field field-name="from" operator="matches"
>> value="[hidden email]"/>
>>         <action service="ProcessUPSTracking" mode="sync"/>
>>     </mca>
>>
>>
>> now if an order has been placed, not anomously then a customer is
>> created and thier email, if they provided it, is in the contact mech.
>> so when the emails are read in they will associate with the customer.
>>
>>
>> jjmbconquista sent the following on 8/4/2008 6:45 AM:
>>> No
>>>
>>> BJ Freeman wrote:
>>>> before we get into code.
>>>> are you familiar with the code now in ofbiz to get emails?
>>>>
>>>> jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:
>>>>> I am trying insert person in database, when i use the following
>>>>> statement
>>>>> insert correctly:
>>>>>
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>> i
>>>>> retrieve the dispatcher directly from the DispatchContext that comes
>>>>> from the request to service, the complete code of the method is
>>>>> following:
>>>>>
>>>>> public static Map processUreadEmailsFromSite(DispatchContext dctx, Map
>>>>> context)throws EmailLoaderException, Exception{
>>>>>
>>>>> /*
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>> */
>>>>>
>>>>>        GenericDelegator delegator =
>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>        LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>     }
>>>>>
>>>>> but when i retrieve the dispatcher this way:
>>>>>
>>>>> GenericDelegator
>>>>> delegator = GenericDelegator.getGenericDelegator("default");
>>>>> LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>
>>>>> I get the error:
>>>>>
>>>>>
>>>>> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>>>>>  [     RequestHandler.java:239:INFO ] [Processing Request]:
>>>>> importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
>>>>> 2008-08-04
>>>>> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
>>>>> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
>>>>> [main-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> main-http=http://localhost:8080/webtools/control/httpService,
>>>>> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> entity-sync-http=http://localhost:8080/webtools/control/httpService,
>>>>> rita-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> eedcc-test=http://localhost:8080/webtools/control/httpService]
>>>>> 2008-08-04
>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
>>>>> Integrator.java:38 :INFO ] Running method
>>>>> Integrator.processUreadEmailsFromSite
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
>>>>> Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
>>>>> Registered dispatcher: OrderProcessor
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
>>>>> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
>>>>> 2008-08-04
>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
>>>>> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
>>>>> curSeqId=10290, maxSeqId=10300, bankSize=10
>>>>> 2008-08-04 09:34:55,012
>>>>> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
>>>>> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
>>>>> Service: createPerson
>>>>> 2008-08-04 09:34:55,028
>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
>>>>> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
>>>>> 'OrderProcessor / ensureNaPartyRole'
>>>>> 2008-08-04 09:34:55,028
>>>>>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [ensureNaPartyRole] threw an unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:294:WARN ]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
>>>>> this stack trace shows where this is happening:
>>>>> Exception: java.lang.Exception
>>>>> Message: Service [ensureNaPartyRole] threw an unexpected
>>>>>  exception/error
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>>>>>  exception/error
>>>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.refl
>>>>> ect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [createPerson] threw an
>>>>>  unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
>>>>> transaction rollback only not set, rollback only is already set.
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
>>>>> 2008-08-04
>>>>>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [importEmaisFromSite] threw an unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>> ilterChain.java:252)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.
>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:258:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> [TransactionUtil.rollback]
>>>>> Exception: java.lang.Exception
>>>>> Message: Stack Trace
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Stack
>>>>>  Trace
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catalina.core.
>>>>> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.process(Http
>>>>> 11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
>>>>> rolled back
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
>>>>> committing transaction, status is STATUS_NO_TRANSACTION
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>>  [ServiceEventHandler.java:326:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service invocation error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>> ilterChain.java:252)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.
>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>>
>>>>> someone knows the difference between these two way?
>>>>>
>>>>>
>>>>>
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>
>>>>> And
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>        GenericDelegator delegator =
>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>
>>>>>        LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>       Novos endereços, o Yahoo! que você conhece. Crie um email novo
>>>>> com
>>>>> a sua cara @ymail.com ou @rocketmail.com.
>>>>> http://br.new.mail.yahoo.com/addresses
>>>>
>>>>
>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: add customer question

BJ Freeman
In reply to this post by jjmbconquista
also the
dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator)
OPro dispatcher is not defined  or you don't have all the class paths
define in your component.


jjmbconquista sent the following on 8/4/2008 7:16 AM:

> Thanks BJ,
>
> but now i want know why this statement work corrently:
>
>      LocalDispatcher dispatcher = dctx.getDispatcher();
>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>      Map serviceResults = dispatcher.runSync("createPerson", input);
>
> and this not:
>
>      GenericDelegator delegator =
> GenericDelegator.getGenericDelegator("default");
>      LocalDispatcher
> dispatcher=GenericDispatcher.getLocalDispatcher("OrderProcessor",delegator);
>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>      Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
> BJ Freeman wrote:
>> the java mail container is disabled by default in the
>> ofbiz-containers.xml
>> check code if you wish
>> framework\service\src\org\ofbiz\service\mail
>> look in
>> applications\content\src\org\ofbiz\content\email
>> and
>> applications\content\servicedef
>> you will see sample in the mca.xml
>>
>> here is one I use
>>     <mca mail-rule-name="UPSTrackingEmailRule">
>>         <condition-field field-name="from" operator="matches"
>> value="[hidden email]"/>
>>         <action service="ProcessUPSTracking" mode="sync"/>
>>     </mca>
>>
>>
>> now if an order has been placed, not anomously then a customer is
>> created and thier email, if they provided it, is in the contact mech.
>> so when the emails are read in they will associate with the customer.
>>
>>
>> jjmbconquista sent the following on 8/4/2008 6:45 AM:
>>> No
>>>
>>> BJ Freeman wrote:
>>>> before we get into code.
>>>> are you familiar with the code now in ofbiz to get emails?
>>>>
>>>> jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:
>>>>> I am trying insert person in database, when i use the following
>>>>> statement
>>>>> insert correctly:
>>>>>
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>> i
>>>>> retrieve the dispatcher directly from the DispatchContext that comes
>>>>> from the request to service, the complete code of the method is
>>>>> following:
>>>>>
>>>>> public static Map processUreadEmailsFromSite(DispatchContext dctx, Map
>>>>> context)throws EmailLoaderException, Exception{
>>>>>
>>>>> /*
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>> */
>>>>>
>>>>>        GenericDelegator delegator =
>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>        LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>     }
>>>>>
>>>>> but when i retrieve the dispatcher this way:
>>>>>
>>>>> GenericDelegator
>>>>> delegator = GenericDelegator.getGenericDelegator("default");
>>>>> LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>
>>>>> I get the error:
>>>>>
>>>>>
>>>>> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>>>>>  [     RequestHandler.java:239:INFO ] [Processing Request]:
>>>>> importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
>>>>> 2008-08-04
>>>>> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
>>>>> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
>>>>> [main-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> main-http=http://localhost:8080/webtools/control/httpService,
>>>>> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> entity-sync-http=http://localhost:8080/webtools/control/httpService,
>>>>> rita-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> eedcc-test=http://localhost:8080/webtools/control/httpService]
>>>>> 2008-08-04
>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
>>>>> Integrator.java:38 :INFO ] Running method
>>>>> Integrator.processUreadEmailsFromSite
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
>>>>> Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
>>>>> Registered dispatcher: OrderProcessor
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
>>>>> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
>>>>> 2008-08-04
>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
>>>>> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
>>>>> curSeqId=10290, maxSeqId=10300, bankSize=10
>>>>> 2008-08-04 09:34:55,012
>>>>> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
>>>>> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
>>>>> Service: createPerson
>>>>> 2008-08-04 09:34:55,028
>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
>>>>> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
>>>>> 'OrderProcessor / ensureNaPartyRole'
>>>>> 2008-08-04 09:34:55,028
>>>>>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [ensureNaPartyRole] threw an unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:294:WARN ]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
>>>>> this stack trace shows where this is happening:
>>>>> Exception: java.lang.Exception
>>>>> Message: Service [ensureNaPartyRole] threw an unexpected
>>>>>  exception/error
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>>>>>  exception/error
>>>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.refl
>>>>> ect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [createPerson] threw an
>>>>>  unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
>>>>> transaction rollback only not set, rollback only is already set.
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
>>>>> 2008-08-04
>>>>>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [importEmaisFromSite] threw an unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>> ilterChain.java:252)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.
>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:258:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> [TransactionUtil.rollback]
>>>>> Exception: java.lang.Exception
>>>>> Message: Stack Trace
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Stack
>>>>>  Trace
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catalina.core.
>>>>> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.process(Http
>>>>> 11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
>>>>> rolled back
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
>>>>> committing transaction, status is STATUS_NO_TRANSACTION
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>>  [ServiceEventHandler.java:326:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service invocation error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>> ilterChain.java:252)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.
>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>>
>>>>> someone knows the difference between these two way?
>>>>>
>>>>>
>>>>>
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>
>>>>> And
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>        GenericDelegator delegator =
>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>
>>>>>        LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>       Novos endereços, o Yahoo! que você conhece. Crie um email novo
>>>>> com
>>>>> a sua cara @ymail.com ou @rocketmail.com.
>>>>> http://br.new.mail.yahoo.com/addresses
>>>>
>>>>
>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: add customer question

BJ Freeman
In reply to this post by BJ Freeman
btw
ensureNaPartyRole
is an seca

BJ Freeman sent the following on 8/4/2008 7:25 AM:

> from the log looks like you doing rmi
> and the error are
> Error running simple method [ensureNaPartyRole] in XML file
> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
> SimpleMethod XML document in resource:
> org/ofbiz/party/party/PartySimpleMethods.xml)
>
> so your create person fail also.
>
> jjmbconquista sent the following on 8/4/2008 7:16 AM:
>> Thanks BJ,
>>
>> but now i want know why this statement work corrently:
>>
>>      LocalDispatcher dispatcher = dctx.getDispatcher();
>>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>>      Map serviceResults = dispatcher.runSync("createPerson", input);
>>
>> and this not:
>>
>>      GenericDelegator delegator =
>> GenericDelegator.getGenericDelegator("default");
>>      LocalDispatcher
>> dispatcher=GenericDispatcher.getLocalDispatcher("OrderProcessor",delegator);
>>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>>      Map serviceResults = dispatcher.runSync("createPerson", input);
>>
>>
>> BJ Freeman wrote:
>>> the java mail container is disabled by default in the
>>> ofbiz-containers.xml
>>> check code if you wish
>>> framework\service\src\org\ofbiz\service\mail
>>> look in
>>> applications\content\src\org\ofbiz\content\email
>>> and
>>> applications\content\servicedef
>>> you will see sample in the mca.xml
>>>
>>> here is one I use
>>>     <mca mail-rule-name="UPSTrackingEmailRule">
>>>         <condition-field field-name="from" operator="matches"
>>> value="[hidden email]"/>
>>>         <action service="ProcessUPSTracking" mode="sync"/>
>>>     </mca>
>>>
>>>
>>> now if an order has been placed, not anomously then a customer is
>>> created and thier email, if they provided it, is in the contact mech.
>>> so when the emails are read in they will associate with the customer.
>>>
>>>
>>> jjmbconquista sent the following on 8/4/2008 6:45 AM:
>>>> No
>>>>
>>>> BJ Freeman wrote:
>>>>> before we get into code.
>>>>> are you familiar with the code now in ofbiz to get emails?
>>>>>
>>>>> jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:
>>>>>> I am trying insert person in database, when i use the following
>>>>>> statement
>>>>>> insert correctly:
>>>>>>
>>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>> "tatu");
>>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>>
>>>>>> i
>>>>>> retrieve the dispatcher directly from the DispatchContext that comes
>>>>>> from the request to service, the complete code of the method is
>>>>>> following:
>>>>>>
>>>>>> public static Map processUreadEmailsFromSite(DispatchContext dctx, Map
>>>>>> context)throws EmailLoaderException, Exception{
>>>>>>
>>>>>> /*
>>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>>
>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>> "tatu");
>>>>>>
>>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>> */
>>>>>>
>>>>>>        GenericDelegator delegator =
>>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>>        LocalDispatcher
>>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>> "tatu");
>>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>>
>>>>>>
>>>>>>     }
>>>>>>
>>>>>> but when i retrieve the dispatcher this way:
>>>>>>
>>>>>> GenericDelegator
>>>>>> delegator = GenericDelegator.getGenericDelegator("default");
>>>>>> LocalDispatcher
>>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>>
>>>>>> I get the error:
>>>>>>
>>>>>>
>>>>>> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>>>>>>  [     RequestHandler.java:239:INFO ] [Processing Request]:
>>>>>> importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
>>>>>> 2008-08-04
>>>>>> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
>>>>>> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
>>>>>> [main-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>>> main-http=http://localhost:8080/webtools/control/httpService,
>>>>>> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>>> entity-sync-http=http://localhost:8080/webtools/control/httpService,
>>>>>> rita-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>>> eedcc-test=http://localhost:8080/webtools/control/httpService]
>>>>>> 2008-08-04
>>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
>>>>>> Integrator.java:38 :INFO ] Running method
>>>>>> Integrator.processUreadEmailsFromSite
>>>>>> 2008-08-04 09:34:54,997
>>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
>>>>>> Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
>>>>>> 2008-08-04 09:34:54,997
>>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
>>>>>> Registered dispatcher: OrderProcessor
>>>>>> 2008-08-04 09:34:54,997
>>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
>>>>>> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
>>>>>> 2008-08-04
>>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
>>>>>> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
>>>>>> curSeqId=10290, maxSeqId=10300, bankSize=10
>>>>>> 2008-08-04 09:34:55,012
>>>>>> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
>>>>>> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
>>>>>> Service: createPerson
>>>>>> 2008-08-04 09:34:55,028
>>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
>>>>>> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
>>>>>> 'OrderProcessor / ensureNaPartyRole'
>>>>>> 2008-08-04 09:34:55,028
>>>>>>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
>>>>>> ---- exception report
>>>>>> ----------------------------------------------------------
>>>>>> Service [ensureNaPartyRole] threw an unexpected exception/error
>>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>>> Message:
>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>> ---- stack trace
>>>>>> ---------------------------------------------------------------
>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>>> r.java:57)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>>> document in resource:
>>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.of
>>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> --------------------------------------------------------------------------------
>>>>>>
>>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>>> TransactionUtil.java:294:WARN ]
>>>>>> ---- exception report
>>>>>> ----------------------------------------------------------
>>>>>> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
>>>>>> this stack trace shows where this is happening:
>>>>>> Exception: java.lang.Exception
>>>>>> Message: Service [ensureNaPartyRole] threw an unexpected
>>>>>>  exception/error
>>>>>> ---- stack trace
>>>>>> ---------------------------------------------------------------
>>>>>> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>>>>>>  exception/error
>>>>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
>>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>> sun.refl
>>>>>> ect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> --------------------------------------------------------------------------------
>>>>>>
>>>>>> 2008-08-04
>>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>>> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
>>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>>> ServiceDispatcher.java:399:ERROR]
>>>>>> ---- exception report
>>>>>> ----------------------------------------------------------
>>>>>> Service [createPerson] threw an
>>>>>>  unexpected exception/error
>>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>>> Message:
>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>> ---- stack trace
>>>>>> ---------------------------------------------------------------
>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>>> r.java:57)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>>> document in resource:
>>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.of
>>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> --------------------------------------------------------------------------------
>>>>>>
>>>>>> 2008-08-04
>>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>>> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
>>>>>> transaction rollback only not set, rollback only is already set.
>>>>>> 2008-08-04
>>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>>> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
>>>>>> 2008-08-04
>>>>>>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [
>>>>>> ServiceDispatcher.java:399:ERROR]
>>>>>> ---- exception report
>>>>>> ----------------------------------------------------------
>>>>>> Service [importEmaisFromSite] threw an unexpected exception/error
>>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>>> Message:
>>>>>> Service target threw an unexpected exception (Error running simple
>>>>>> method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>>> ---- stack trace
>>>>>> ---------------------------------------------------------------
>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>> Service target threw an unexpected exception (Error running simple
>>>>>> method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>>> ilterChain.java:252)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.
>>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>>> r.java:57)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>>> document in resource:
>>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.of
>>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> --------------------------------------------------------------------------------
>>>>>>
>>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>>> TransactionUtil.java:258:ERROR]
>>>>>> ---- exception report
>>>>>> ----------------------------------------------------------
>>>>>> [TransactionUtil.rollback]
>>>>>> Exception: java.lang.Exception
>>>>>> Message: Stack Trace
>>>>>> ---- stack trace
>>>>>> ---------------------------------------------------------------
>>>>>> java.lang.Exception: Stack
>>>>>>  Trace
>>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
>>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catalina.core.
>>>>>> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.process(Http
>>>>>> 11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> --------------------------------------------------------------------------------
>>>>>>
>>>>>> 2008-08-04
>>>>>> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>>> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
>>>>>> rolled back
>>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>>> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
>>>>>> committing transaction, status is STATUS_NO_TRANSACTION
>>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>>>  [ServiceEventHandler.java:326:ERROR]
>>>>>> ---- exception report
>>>>>> ----------------------------------------------------------
>>>>>> Service invocation error
>>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>>> Message:
>>>>>> Service target threw an unexpected exception (Error running simple
>>>>>> method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>>> ---- stack trace
>>>>>> ---------------------------------------------------------------
>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>> Service target threw an unexpected exception (Error running simple
>>>>>> method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>>> ilterChain.java:252)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.
>>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>> SimpleMethod XML document in resource:
>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>>> r.java:57)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>>> document in resource:
>>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>> org.of
>>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>  Source)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>> org.apache.catal
>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>> cess(Http11Processor.java:869)
>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>
>>>>>> someone knows the difference between these two way?
>>>>>>
>>>>>>
>>>>>>
>>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>>
>>>>>>
>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>> "tatu");
>>>>>>
>>>>>>
>>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>>
>>>>>>
>>>>>>
>>>>>> And
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>        GenericDelegator delegator =
>>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>>
>>>>>>        LocalDispatcher
>>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>>
>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>> "tatu");
>>>>>>
>>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>       Novos endereços, o Yahoo! que você conhece. Crie um email novo
>>>>>> com
>>>>>> a sua cara @ymail.com ou @rocketmail.com.
>>>>>> http://br.new.mail.yahoo.com/addresses
>>>>>
>>>
>>>
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: add customer question

jjmbconquista
In reply to this post by BJ Freeman
what should I put in place of OPro, you have some idea or some tutorial that can help me?

BJ Freeman wrote
also the
dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator)
OPro dispatcher is not defined  or you don't have all the class paths
define in your component.


jjmbconquista sent the following on 8/4/2008 7:16 AM:
> Thanks BJ,
>
> but now i want know why this statement work corrently:
>
>      LocalDispatcher dispatcher = dctx.getDispatcher();
>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>      Map serviceResults = dispatcher.runSync("createPerson", input);
>
> and this not:
>
>      GenericDelegator delegator =
> GenericDelegator.getGenericDelegator("default");
>      LocalDispatcher
> dispatcher=GenericDispatcher.getLocalDispatcher("OrderProcessor",delegator);
>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName", "tatu");
>      Map serviceResults = dispatcher.runSync("createPerson", input);
>
>
> BJ Freeman wrote:
>> the java mail container is disabled by default in the
>> ofbiz-containers.xml
>> check code if you wish
>> framework\service\src\org\ofbiz\service\mail
>> look in
>> applications\content\src\org\ofbiz\content\email
>> and
>> applications\content\servicedef
>> you will see sample in the mca.xml
>>
>> here is one I use
>>     <mca mail-rule-name="UPSTrackingEmailRule">
>>         <condition-field field-name="from" operator="matches"
>> value="QuantumViewNotify@ups.com"/>
>>         <action service="ProcessUPSTracking" mode="sync"/>
>>     </mca>
>>
>>
>> now if an order has been placed, not anomously then a customer is
>> created and thier email, if they provided it, is in the contact mech.
>> so when the emails are read in they will associate with the customer.
>>
>>
>> jjmbconquista sent the following on 8/4/2008 6:45 AM:
>>> No
>>>
>>> BJ Freeman wrote:
>>>> before we get into code.
>>>> are you familiar with the code now in ofbiz to get emails?
>>>>
>>>> jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:
>>>>> I am trying insert person in database, when i use the following
>>>>> statement
>>>>> insert correctly:
>>>>>
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>> i
>>>>> retrieve the dispatcher directly from the DispatchContext that comes
>>>>> from the request to service, the complete code of the method is
>>>>> following:
>>>>>
>>>>> public static Map processUreadEmailsFromSite(DispatchContext dctx, Map
>>>>> context)throws EmailLoaderException, Exception{
>>>>>
>>>>> /*
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>> */
>>>>>
>>>>>        GenericDelegator delegator =
>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>        LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>     }
>>>>>
>>>>> but when i retrieve the dispatcher this way:
>>>>>
>>>>> GenericDelegator
>>>>> delegator = GenericDelegator.getGenericDelegator("default");
>>>>> LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>
>>>>> I get the error:
>>>>>
>>>>>
>>>>> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>>>>>  [     RequestHandler.java:239:INFO ] [Processing Request]:
>>>>> importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
>>>>> 2008-08-04
>>>>> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
>>>>> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
>>>>> [main-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> main-http=http://localhost:8080/webtools/control/httpService,
>>>>> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> entity-sync-http=http://localhost:8080/webtools/control/httpService,
>>>>> rita-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>> eedcc-test=http://localhost:8080/webtools/control/httpService]
>>>>> 2008-08-04
>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
>>>>> Integrator.java:38 :INFO ] Running method
>>>>> Integrator.processUreadEmailsFromSite
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
>>>>> Creating new dispatcher [OrderProcessor] (http-0.0.0.0-8080-Processor4)
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
>>>>> Registered dispatcher: OrderProcessor
>>>>> 2008-08-04 09:34:54,997
>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
>>>>> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
>>>>> 2008-08-04
>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
>>>>> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
>>>>> curSeqId=10290, maxSeqId=10300, bankSize=10
>>>>> 2008-08-04 09:34:55,012
>>>>> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
>>>>> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
>>>>> Service: createPerson
>>>>> 2008-08-04 09:34:55,028
>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
>>>>> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
>>>>> 'OrderProcessor / ensureNaPartyRole'
>>>>> 2008-08-04 09:34:55,028
>>>>>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [ensureNaPartyRole] threw an unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:294:WARN ]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
>>>>> this stack trace shows where this is happening:
>>>>> Exception: java.lang.Exception
>>>>> Message: Service [ensureNaPartyRole] threw an unexpected
>>>>>  exception/error
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>>>>>  exception/error
>>>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.refl
>>>>> ect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [createPerson] threw an
>>>>>  unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
>>>>> transaction rollback only not set, rollback only is already set.
>>>>> 2008-08-04
>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
>>>>> 2008-08-04
>>>>>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [
>>>>> ServiceDispatcher.java:399:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service [importEmaisFromSite] threw an unexpected exception/error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>> ilterChain.java:252)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.
>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:258:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> [TransactionUtil.rollback]
>>>>> Exception: java.lang.Exception
>>>>> Message: Stack Trace
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> java.lang.Exception: Stack
>>>>>  Trace
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catalina.core.
>>>>> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.process(Http
>>>>> 11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> --------------------------------------------------------------------------------
>>>>>
>>>>> 2008-08-04
>>>>> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback] transaction
>>>>> rolled back
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
>>>>> committing transaction, status is STATUS_NO_TRANSACTION
>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>>  [ServiceEventHandler.java:326:ERROR]
>>>>> ---- exception report
>>>>> ----------------------------------------------------------
>>>>> Service invocation error
>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>> Message:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> ---- stack trace
>>>>> ---------------------------------------------------------------
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Service target threw an unexpected exception (Error running simple
>>>>> method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>> ilterChain.java:252)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.
>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.service.GenericServiceException:
>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>> SimpleMethod XML document in resource:
>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>> r.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>> document in resource:
>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>> org.of
>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>  Source)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>> org.apache.catal
>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>> cess(Http11Processor.java:869)
>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>> java.lang.Thread.run(Unknown Source)
>>>>>
>>>>> someone knows the difference between these two way?
>>>>>
>>>>>
>>>>>
>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>
>>>>> And
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>        GenericDelegator delegator =
>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>
>>>>>        LocalDispatcher
>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>
>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>> "tatu");
>>>>>
>>>>>         Map serviceResults = dispatcher.runSync("createPerson", input);
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>       Novos endereços, o Yahoo! que você conhece. Crie um email novo
>>>>> com
>>>>> a sua cara @ymail.com ou @rocketmail.com.
>>>>> http://br.new.mail.yahoo.com/addresses
>>>>
>>>>
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: add customer question

BJ Freeman
hopefully that will add how to add a dispatcher to a new component.
search the web.xml for dispatcher think you will get the idea.
look thru the framework/example
and
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application


jjmbconquista sent the following on 8/4/2008 8:05 AM:

> what should I put in place of OPro, you have some idea or some tutorial that
> can help me?
>
>
> BJ Freeman wrote:
>> also the
>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator)
>> OPro dispatcher is not defined  or you don't have all the class paths
>> define in your component.
>>
>>
>> jjmbconquista sent the following on 8/4/2008 7:16 AM:
>>> Thanks BJ,
>>>
>>> but now i want know why this statement work corrently:
>>>
>>>      LocalDispatcher dispatcher = dctx.getDispatcher();
>>>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>      Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>> and this not:
>>>
>>>      GenericDelegator delegator =
>>> GenericDelegator.getGenericDelegator("default");
>>>      LocalDispatcher
>>> dispatcher=GenericDispatcher.getLocalDispatcher("OrderProcessor",delegator);
>>>      Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>> "tatu");
>>>      Map serviceResults = dispatcher.runSync("createPerson", input);
>>>
>>>
>>> BJ Freeman wrote:
>>>> the java mail container is disabled by default in the
>>>> ofbiz-containers.xml
>>>> check code if you wish
>>>> framework\service\src\org\ofbiz\service\mail
>>>> look in
>>>> applications\content\src\org\ofbiz\content\email
>>>> and
>>>> applications\content\servicedef
>>>> you will see sample in the mca.xml
>>>>
>>>> here is one I use
>>>>     <mca mail-rule-name="UPSTrackingEmailRule">
>>>>         <condition-field field-name="from" operator="matches"
>>>> value="[hidden email]"/>
>>>>         <action service="ProcessUPSTracking" mode="sync"/>
>>>>     </mca>
>>>>
>>>>
>>>> now if an order has been placed, not anomously then a customer is
>>>> created and thier email, if they provided it, is in the contact mech.
>>>> so when the emails are read in they will associate with the customer.
>>>>
>>>>
>>>> jjmbconquista sent the following on 8/4/2008 6:45 AM:
>>>>> No
>>>>>
>>>>> BJ Freeman wrote:
>>>>>> before we get into code.
>>>>>> are you familiar with the code now in ofbiz to get emails?
>>>>>>
>>>>>> jose junior malheiros barros sent the following on 8/4/2008 6:12 AM:
>>>>>>> I am trying insert person in database, when i use the following
>>>>>>> statement
>>>>>>> insert correctly:
>>>>>>>
>>>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>>> "tatu");
>>>>>>>         Map serviceResults = dispatcher.runSync("createPerson",
>>>>>>> input);
>>>>>>>
>>>>>>> i
>>>>>>> retrieve the dispatcher directly from the DispatchContext that comes
>>>>>>> from the request to service, the complete code of the method is
>>>>>>> following:
>>>>>>>
>>>>>>> public static Map processUreadEmailsFromSite(DispatchContext dctx,
>>>>>>> Map
>>>>>>> context)throws EmailLoaderException, Exception{
>>>>>>>
>>>>>>> /*
>>>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>>>
>>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>>> "tatu");
>>>>>>>
>>>>>>>         Map serviceResults = dispatcher.runSync("createPerson",
>>>>>>> input);
>>>>>>> */
>>>>>>>
>>>>>>>        GenericDelegator delegator =
>>>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>>>        LocalDispatcher
>>>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>>> "tatu");
>>>>>>>         Map serviceResults = dispatcher.runSync("createPerson",
>>>>>>> input);
>>>>>>>
>>>>>>>
>>>>>>>     }
>>>>>>>
>>>>>>> but when i retrieve the dispatcher this way:
>>>>>>>
>>>>>>> GenericDelegator
>>>>>>> delegator = GenericDelegator.getGenericDelegator("default");
>>>>>>> LocalDispatcher
>>>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>>>
>>>>>>> I get the error:
>>>>>>>
>>>>>>>
>>>>>>> 2008-08-04 09:34:54,981 (http-0.0.0.0-8080-Processor4)
>>>>>>>  [     RequestHandler.java:239:INFO ] [Processing Request]:
>>>>>>> importEmaisFromSite sessionId=36FFAC11D21DC80B25EB449B64AC149C.jvm1
>>>>>>> 2008-08-04
>>>>>>> 09:34:54,981 (http-0.0.0.0-8080-Processor4) [    
>>>>>>> AbstractEngine.java:78 :INFO ] Loaded Service Locations :
>>>>>>> [main-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>>>> main-http=http://localhost:8080/webtools/control/httpService,
>>>>>>> entity-sync-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>>>> entity-sync-http=http://localhost:8080/webtools/control/httpService,
>>>>>>> rita-rmi=rmi://localhost:1099/RMIDispatcher,
>>>>>>> eedcc-test=http://localhost:8080/webtools/control/httpService]
>>>>>>> 2008-08-04
>>>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [        
>>>>>>> Integrator.java:38 :INFO ] Running method
>>>>>>> Integrator.processUreadEmailsFromSite
>>>>>>> 2008-08-04 09:34:54,997
>>>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:62 :INFO ]
>>>>>>> Creating new dispatcher [OrderProcessor]
>>>>>>> (http-0.0.0.0-8080-Processor4)
>>>>>>> 2008-08-04 09:34:54,997
>>>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:170:INFO ]
>>>>>>> Registered dispatcher: OrderProcessor
>>>>>>> 2008-08-04 09:34:54,997
>>>>>>> (http-0.0.0.0-8080-Processor4) [  GenericDispatcher.java:132:INFO ]
>>>>>>> [LocalDispatcher] : Created Dispatcher for: OrderProcessor
>>>>>>> 2008-08-04
>>>>>>> 09:34:54,997 (http-0.0.0.0-8080-Processor4) [      
>>>>>>> SequenceUtil.java:258:INFO ] Got bank of sequenced IDs for [Party];
>>>>>>> curSeqId=10290, maxSeqId=10300, bankSize=10
>>>>>>> 2008-08-04 09:34:55,012
>>>>>>> (http-0.0.0.0-8080-Processor4) [     ServiceEcaRule.java:140:INFO ]
>>>>>>> Running Service ECA Service: ensureNaPartyRole, triggered by rule on
>>>>>>> Service: createPerson
>>>>>>> 2008-08-04 09:34:55,028
>>>>>>> (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:396:DEBUG]
>>>>>>> [[Sync service failed...- total:0.0,since last(Begin):0.0]] -
>>>>>>> 'OrderProcessor / ensureNaPartyRole'
>>>>>>> 2008-08-04 09:34:55,028
>>>>>>>  (http-0.0.0.0-8080-Processor4) [  ServiceDispatcher.java:399:ERROR]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> Service [ensureNaPartyRole] threw an unexpected exception/error
>>>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>>>> Message:
>>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>>>> r.java:57)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>>>> document in resource:
>>>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.of
>>>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> --------------------------------------------------------------------------------
>>>>>>>
>>>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>>>> TransactionUtil.java:294:WARN ]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> [TransactionUtil.setRollbackOnly] Calling transaction
>>>>>>> setRollbackOnly;
>>>>>>> this stack trace shows where this is happening:
>>>>>>> Exception: java.lang.Exception
>>>>>>> Message: Service [ensureNaPartyRole] threw an unexpected
>>>>>>>  exception/error
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> java.lang.Exception: Service [ensureNaPartyRole] threw an unexpected
>>>>>>>  exception/error
>>>>>>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:294)
>>>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:241)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>>> sun.refl
>>>>>>> ect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> --------------------------------------------------------------------------------
>>>>>>>
>>>>>>> 2008-08-04
>>>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>>>> total:0.0,since last(Begin):0.0]] - 'OrderProcessor / createPerson'
>>>>>>> 2008-08-04 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>>>> ServiceDispatcher.java:399:ERROR]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> Service [createPerson] threw an
>>>>>>>  unexpected exception/error
>>>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>>>> Message:
>>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>>>> r.java:57)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>>>> document in resource:
>>>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.of
>>>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> --------------------------------------------------------------------------------
>>>>>>>
>>>>>>> 2008-08-04
>>>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [  
>>>>>>> TransactionUtil.java:298:INFO ] [TransactionUtil.setRollbackOnly]
>>>>>>> transaction rollback only not set, rollback only is already set.
>>>>>>> 2008-08-04
>>>>>>> 09:34:55,028 (http-0.0.0.0-8080-Processor4) [
>>>>>>> ServiceDispatcher.java:396:DEBUG] [[Sync service failed...-
>>>>>>> total:0.0,since last(Begin):0.0]] - 'pedido / importEmaisFromSite'
>>>>>>> 2008-08-04
>>>>>>>  09:34:55,044 (http-0.0.0.0-8080-Processor4) [
>>>>>>> ServiceDispatcher.java:399:ERROR]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> Service [importEmaisFromSite] threw an unexpected exception/error
>>>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>>>> Message:
>>>>>>> Service target threw an unexpected exception (Error running simple
>>>>>>> method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>>> Service target threw an unexpected exception (Error running simple
>>>>>>> method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>>>> ilterChain.java:252)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.
>>>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>>>> r.java:57)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>>>> document in resource:
>>>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.of
>>>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> --------------------------------------------------------------------------------
>>>>>>>
>>>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>>>> TransactionUtil.java:258:ERROR]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> [TransactionUtil.rollback]
>>>>>>> Exception: java.lang.Exception
>>>>>>> Message: Stack Trace
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> java.lang.Exception: Stack
>>>>>>>  Trace
>>>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:257)
>>>>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:239)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:402)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catalina.core.
>>>>>>> ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.process(Http
>>>>>>> 11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> --------------------------------------------------------------------------------
>>>>>>>
>>>>>>> 2008-08-04
>>>>>>> 09:34:55,044 (http-0.0.0.0-8080-Processor4) [  
>>>>>>> TransactionUtil.java:268:INFO ] [TransactionUtil.rollback]
>>>>>>> transaction
>>>>>>> rolled back
>>>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>>>> [    TransactionUtil.java:192:WARN ] [TransactionUtil.commit] Not
>>>>>>> committing transaction, status is STATUS_NO_TRANSACTION
>>>>>>> 2008-08-04 09:34:55,044 (http-0.0.0.0-8080-Processor4)
>>>>>>>  [ServiceEventHandler.java:326:ERROR]
>>>>>>> ---- exception report
>>>>>>> ----------------------------------------------------------
>>>>>>> Service invocation error
>>>>>>> Exception: org.ofbiz.service.GenericServiceException
>>>>>>> Message:
>>>>>>> Service target threw an unexpected exception (Error running simple
>>>>>>> method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>>>> ---- stack trace
>>>>>>> ---------------------------------------------------------------
>>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>>> Service target threw an unexpected exception (Error running simple
>>>>>>> method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml))
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:106)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF
>>>>>>> ilterChain.java:252)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.
>>>>>>> apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> org.ofbiz.service.GenericServiceException:
>>>>>>> Error running simple method [ensureNaPartyRole] in XML file
>>>>>>> [org/ofbiz/party/party/PartySimpleMethods.xml]:  (Could not find
>>>>>>> SimpleMethod XML document in resource:
>>>>>>> org/ofbiz/party/party/PartySimpleMethods.xml)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:81)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrato
>>>>>>> r.java:57)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>> org.ofbiz.minilang.MiniLangException: Could not find SimpleMethod XML
>>>>>>> document in resource:
>>>>>>>  org/ofbiz/party/party/PartySimpleMethods.xml
>>>>>>> org.ofbiz.minilang.SimpleMethod.getSimpleMethods(SimpleMethod.java:135)
>>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:103)
>>>>>>> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:90)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
>>>>>>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:54)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:113)
>>>>>>> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:141)
>>>>>>> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:158)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
>>>>>>> org.of
>>>>>>> biz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.mercadolivre.manager.Integrator.processUreadEmailsFromSite(Integrator.java:57)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>>>>> java.lang.reflect.Method.invoke(Unknown
>>>>>>>  Source)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:94)
>>>>>>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:56)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:347)
>>>>>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:214)
>>>>>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:152)
>>>>>>> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:310)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:448)
>>>>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:277)
>>>>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:192)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>>>>>> org.apache.catal
>>>>>>> ina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:251)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>>>>>> org.apache.coyote.http11.Http11Processor.pro
>>>>>>> cess(Http11Processor.java:869)
>>>>>>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>>>>>>> java.lang.Thread.run(Unknown Source)
>>>>>>>
>>>>>>> someone knows the difference between these two way?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>         LocalDispatcher dispatcher = dctx.getDispatcher();
>>>>>>>
>>>>>>>
>>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>>> "tatu");
>>>>>>>
>>>>>>>
>>>>>>>         Map serviceResults = dispatcher.runSync("createPerson",
>>>>>>> input);
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> And
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>        GenericDelegator delegator =
>>>>>>> GenericDelegator.getGenericDelegator("default");
>>>>>>>
>>>>>>>        LocalDispatcher
>>>>>>> dispatcher=GenericDispatcher.getLocalDispatcher("OPro",delegator);
>>>>>>>
>>>>>>>         Map input = UtilMisc.toMap("firstName",  "zeca", "lastName",
>>>>>>> "tatu");
>>>>>>>
>>>>>>>         Map serviceResults = dispatcher.runSync("createPerson",
>>>>>>> input);
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>       Novos endereços, o Yahoo! que você conhece. Crie um email novo
>>>>>>> com
>>>>>>> a sua cara @ymail.com ou @rocketmail.com.
>>>>>>> http://br.new.mail.yahoo.com/addresses
>>>>>>
>>>>
>>>>
>>
>>
>>
>