Problem with recieve payment in order manager

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

Problem with recieve payment in order manager

G.Venkata Phanindra
Hi,
     I am getting the following message when i am trying to use
recievePayment option in orderManager.

https://192.168.0.12/ordermgr/control/receiveOfflinePayments/orderview?orderId=13730

   - Failed to create Payment: Cannot get the ProductStore for the order
   header

The following is the stack trace in console.
 [java] 2006-11-07 14:23:20,265 (TP-Processor3) [
ServiceDispatcher.java:410:ERROR]
Service Error [createPaymentFromPreference]: Failed to create Payment:
Cannot get the ProductStore for the order header
     [java] 2006-11-07 14:23:20,267 (TP-Processor3) [
TransactionUtil.java:242:ERROR]
     [java] ---- exception report
----------------------------------------------------------
     [java] [TransactionUtil.rollback]
     [java] Exception: java.lang.Exception
     [java] Message: Stack Trace
     [java] ---- stack trace
---------------------------------------------------------------
     [java] java.lang.Exception: Stack Trace
     [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(
TransactionUtil.java:241)
     [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(
TransactionUtil.java:223)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(
ServiceDispatcher.java:414)
     [java] org.ofbiz.service.ServiceDispatcher.runSync(
ServiceDispatcher.java:212)
     [java] org.ofbiz.service.GenericDispatcher.runSync(
GenericDispatcher.java:114)
     [java] org.ofbiz.order.OrderManagerEvents.receiveOfflinePayment(
OrderManagerEvents.java:222)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
     [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
     [java] java.lang.reflect.Method.invoke(Method.java:585)
     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
JavaEventHandler.java:90)
     [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
JavaEventHandler.java:76)
     [java] org.ofbiz.webapp.control.RequestHandler.runEvent(
RequestHandler.java:408)
     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
RequestHandler.java:243)
     [java] org.ofbiz.webapp.control.ControlServlet.doGet(
ControlServlet.java:183)
     [java] org.ofbiz.webapp.control.ControlServlet.doPost(
ControlServlet.java:79)
     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
ContextFilter.java:249)
     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
     [java] org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
     [java] org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
     [java] org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:126)
     [java] org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:105)
     [java] org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
     [java] org.apache.catalina.valves.AccessLogValve.invoke(
AccessLogValve.java:541)
     [java] org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:148)
     [java] org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
:199)
     [java] org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java
:282)
     [java] org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
:754)
     [java] org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:684)
     [java] org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876)
     [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
     [java] java.lang.Thread.run(Thread.java:595)
     [java]
--------------------------------------------------------------------------------
     [java] 2006-11-07 14:23:20,269 (TP-Processor3) [
OrderManagerEvents.java:232:ERROR] Failed to create Payment: Cannot get the
ProductStore for the order header
     [java] 2006-11-07 14:23:20,279 (TP-Processor3) [
RequestHandler.java:274:ERROR] Request receiveOfflinePayments caused an
error with the following message: Failed to create Payment: Cannot get the
ProductStore for the order header
     [java] 2006-11-07 14:25:19,505 (TP-Processor5) [
DeliveryDateService.java:50 :INFO ] The Size of list is *************1
     [java] 2006-11-07 14:25:19,506 (TP-Processor5) [
DeliveryDateService.java:53 :INFO ] The value in Time Zone id is
*************America/Chicago
     [java] 2006-11-07 14:25:19,522 (TP-Processor5) [
DeliveryDateService.java:63 :INFO ] The site of SupplierProduc1
     [java] 2006-11-07 14:25:19,523 (TP-Processor5) [
DeliveryDateService.java:68 :INFO ] The values in leadDays is
1=======supplierId10480
     [java] 2006-11-07 14:25:25,649 (TP-Processor3) [
ControlServlet.java:186:ERROR]
     [java] ---- exception report
----------------------------------------------------------
     [java] Error in request handler:
     [java] Exception: org.apache.catalina.connector.ClientAbortException
     [java] Message: null
     [java] ---- cause
---------------------------------------------------------------------
     [java] Exception: java.net.SocketException
     [java] Message: Broken pipe
     [java] ---- stack trace
---------------------------------------------------------------
     [java] java.net.SocketException: Broken pipe
     [java] java.net.SocketOutputStream.socketWrite0(Native Method)
     [java] java.net.SocketOutputStream.socketWrite(SocketOutputStream.java
:92)
     [java] java.net.SocketOutputStream.write(SocketOutputStream.java:136)
     [java] org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:518)
     [java] org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java
:147)
     [java] org.apache.coyote.Response.doWrite(Response.java:559)
     [java] org.apache.catalina.connector.OutputBuffer.realWriteBytes(
OutputBuffer.java:361)
     [java] org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:324)
     [java] org.apache.tomcat.util.buf.IntermediateOutputStream.write(
C2BConverter.java:235)
     [java] sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java
:336)
     [java] sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(
StreamEncoder.java:404)
     [java] sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java
:408)
     [java] sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
     [java] java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
     [java] org.apache.tomcat.util.buf.WriteConvertor.flush(
C2BConverter.java:184)
     [java] org.apache.tomcat.util.buf.C2BConverter.flushBuffer(
C2BConverter.java:127)
     [java] org.apache.catalina.connector.OutputBuffer.realWriteChars(
OutputBuffer.java:536)
     [java] org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java
:439)
     [java] org.apache.catalina.connector.OutputBuffer.doFlush(
OutputBuffer.java:310)
     [java] org.apache.catalina.connector.OutputBuffer.flush(
OutputBuffer.java:293)
     [java] org.apache.catalina.connector.Response.flushBuffer(Response.java
:537)
     [java] org.apache.catalina.connector.ResponseFacade.flushBuffer(
ResponseFacade.java:276)
     [java] org.ofbiz.webapp.control.RequestHandler.renderView(
RequestHandler.java:613)
     [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
RequestHandler.java:389)
     [java] org.ofbiz.webapp.control.ControlServlet.doGet(
ControlServlet.java:183)
     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
     [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
     [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
ContextFilter.java:249)
     [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
     [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
     [java] org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213)
     [java] org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:178)
     [java] org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:126)
     [java] org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:105)
     [java] org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
     [java] org.apache.catalina.valves.AccessLogValve.invoke(
AccessLogValve.java:541)
     [java] org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:148)
     [java] org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java
:199)
     [java] org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java
:282)
     [java] org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
:754)
     [java] org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:684)
     [java] org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876)
     [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
     [java] java.lang.Thread.run(Thread.java:595)
     [java]
--------------------------------------------------------------------------------
     [java] 2006-11-07 14:25:25,650 (TP-Processor3) [
ControlServlet.java:200:ERROR] An error occurred, going to the errorPage:
/error/error.jsp
     [java] 2006-11-07 14:25:25,651 (TP-Processor3) [
ControlServlet.java:207:ERROR] Including errorPage: /error/error.jsp
     [java] 2006-11-07 14:25:25,658 (TP-Processor3) [
MsgContext.java:295:WARN ] Error sending end packet


--
G.Venkata Phanindra
Mob:: 9849852989
Reply | Threaded
Open this post in threaded view
|

Re: Problem with recieve payment in order manager

G.Venkata Phanindra
Hi,
      I am able to see the problem with this i did not provide pay to
partyid value in my webstore but what is the value that i must give.
regards
Phani

On 11/7/06, G.Venkata Phanindra <[hidden email]> wrote:

>
> Hi,
>      I am getting the following message when i am trying to use
> recievePayment option in orderManager.
>
> https://192.168.0.12/ordermgr/control/receiveOfflinePayments/orderview?orderId=13730
>
>    - Failed to create Payment: Cannot get the ProductStore for the
>    order header
>
> The following is the stack trace in console.
>  [java] 2006-11-07 14:23:20,265 (TP-Processor3) [  ServiceDispatcher.java:410:ERROR]
> Service Error [createPaymentFromPreference]: Failed to create Payment:
> Cannot get the ProductStore for the order header
>      [java] 2006-11-07 14:23:20,267 (TP-Processor3) [
> TransactionUtil.java:242:ERROR]
>      [java] ---- exception report
> ----------------------------------------------------------
>      [java] [TransactionUtil.rollback]
>      [java] Exception: java.lang.Exception
>      [java] Message: Stack Trace
>      [java] ---- stack trace
> ---------------------------------------------------------------
>      [java] java.lang.Exception: Stack Trace
>      [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(
> TransactionUtil.java:241)
>      [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(
> TransactionUtil.java:223)
>      [java] org.ofbiz.service.ServiceDispatcher.runSync(
> ServiceDispatcher.java:414)
>      [java] org.ofbiz.service.ServiceDispatcher.runSync(
> ServiceDispatcher.java:212)
>      [java] org.ofbiz.service.GenericDispatcher.runSync(
> GenericDispatcher.java:114)
>      [java] org.ofbiz.order.OrderManagerEvents.receiveOfflinePayment(
> OrderManagerEvents.java:222)
>      [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>      [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>      [java] java.lang.reflect.Method.invoke(Method.java:585)
>      [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
> JavaEventHandler.java:90)
>      [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(
> JavaEventHandler.java:76)
>      [java] org.ofbiz.webapp.control.RequestHandler.runEvent(
> RequestHandler.java:408)
>      [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
> RequestHandler.java:243)
>      [java] org.ofbiz.webapp.control.ControlServlet.doGet(
> ControlServlet.java:183)
>      [java] org.ofbiz.webapp.control.ControlServlet.doPost(
> ControlServlet.java:79)
>      [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>      [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>      [java]
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>      [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>      [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
> ContextFilter.java:249)
>      [java]
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>      [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>      [java] org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
>      [java] org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>      [java] org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>      [java] org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>      [java] org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>      [java] org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:541)
>      [java] org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>      [java] org.apache.jk.server.JkCoyoteHandler.invoke(
> JkCoyoteHandler.java:199)
>      [java] org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java
> :282)
>      [java] org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
> :754)
>      [java] org.apache.jk.common.ChannelSocket.processConnection(
> ChannelSocket.java:684)
>      [java] org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
> ChannelSocket.java:876)
>      [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>      [java] java.lang.Thread.run(Thread.java:595)
>      [java]
> --------------------------------------------------------------------------------
>      [java] 2006-11-07 14:23:20,269 (TP-Processor3) [
> OrderManagerEvents.java:232:ERROR] Failed to create Payment: Cannot get
> the ProductStore for the order header
>      [java] 2006-11-07 14:23:20,279 (TP-Processor3) [
> RequestHandler.java:274:ERROR] Request receiveOfflinePayments caused an
> error with the following message: Failed to create Payment: Cannot get the
> ProductStore for the order header
>      [java] 2006-11-07 14:25:19,505 (TP-Processor5) [
> DeliveryDateService.java:50 :INFO ] The Size of list is *************1
>      [java] 2006-11-07 14:25:19,506 (TP-Processor5) [
> DeliveryDateService.java:53 :INFO ] The value in Time Zone id is
> *************America/Chicago
>      [java] 2006-11-07 14:25:19,522 (TP-Processor5) [
> DeliveryDateService.java:63 :INFO ] The site of SupplierProduc1
>      [java] 2006-11-07 14:25:19,523 (TP-Processor5) [
> DeliveryDateService.java:68 :INFO ] The values in leadDays is
> 1=======supplierId10480
>      [java] 2006-11-07 14:25:25,649 (TP-Processor3) [
> ControlServlet.java:186:ERROR]
>      [java] ---- exception report
> ----------------------------------------------------------
>      [java] Error in request handler:
>      [java] Exception: org.apache.catalina.connector.ClientAbortException
>      [java] Message: null
>      [java] ---- cause
> ---------------------------------------------------------------------
>      [java] Exception: java.net.SocketException
>      [java] Message: Broken pipe
>      [java] ---- stack trace
> ---------------------------------------------------------------
>      [java] java.net.SocketException: Broken pipe
>      [java] java.net.SocketOutputStream.socketWrite0(Native Method)
>      [java] java.net.SocketOutputStream.socketWrite(
> SocketOutputStream.java:92)
>      [java] java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>      [java] org.apache.jk.common.ChannelSocket.send(ChannelSocket.java
> :518)
>      [java] org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java
> :147)
>      [java] org.apache.coyote.Response.doWrite(Response.java:559)
>      [java] org.apache.catalina.connector.OutputBuffer.realWriteBytes(
> OutputBuffer.java:361)
>      [java] org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java
> :324)
>      [java] org.apache.tomcat.util.buf.IntermediateOutputStream.write(
> C2BConverter.java:235)
>      [java] sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(
> StreamEncoder.java:336)
>      [java] sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(
> StreamEncoder.java:404)
>      [java] sun.nio.cs.StreamEncoder$CharsetSE.implFlush(
> StreamEncoder.java:408)
>      [java] sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
>      [java] java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
>      [java] org.apache.tomcat.util.buf.WriteConvertor.flush(
> C2BConverter.java:184)
>      [java] org.apache.tomcat.util.buf.C2BConverter.flushBuffer(
> C2BConverter.java:127)
>      [java] org.apache.catalina.connector.OutputBuffer.realWriteChars(
> OutputBuffer.java:536)
>      [java] org.apache.tomcat.util.buf.CharChunk.flushBuffer(
> CharChunk.java:439)
>      [java] org.apache.catalina.connector.OutputBuffer.doFlush(
> OutputBuffer.java:310)
>      [java] org.apache.catalina.connector.OutputBuffer.flush(
> OutputBuffer.java:293)
>      [java] org.apache.catalina.connector.Response.flushBuffer(
> Response.java:537)
>      [java] org.apache.catalina.connector.ResponseFacade.flushBuffer(
> ResponseFacade.java:276)
>      [java] org.ofbiz.webapp.control.RequestHandler.renderView(
> RequestHandler.java:613)
>      [java] org.ofbiz.webapp.control.RequestHandler.doRequest(
> RequestHandler.java:389)
>      [java] org.ofbiz.webapp.control.ControlServlet.doGet(
> ControlServlet.java:183)
>      [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>      [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>      [java]
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>      [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>      [java] org.ofbiz.webapp.control.ContextFilter.doFilter(
> ContextFilter.java:249)
>      [java]
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>      [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>      [java] org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
>      [java] org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>      [java] org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>      [java] org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>      [java] org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>      [java] org.apache.catalina.valves.AccessLogValve.invoke(
> AccessLogValve.java:541)
>      [java] org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>      [java] org.apache.jk.server.JkCoyoteHandler.invoke(
> JkCoyoteHandler.java:199)
>      [java] org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java
> :282)
>      [java] org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
> :754)
>      [java] org.apache.jk.common.ChannelSocket.processConnection(
> ChannelSocket.java:684)
>      [java] org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
> ChannelSocket.java:876)
>      [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
>      [java] java.lang.Thread.run(Thread.java:595)
>      [java]
> --------------------------------------------------------------------------------
>      [java] 2006-11-07 14:25:25,650 (TP-Processor3) [
> ControlServlet.java:200:ERROR] An error occurred, going to the errorPage:
> /error/error.jsp
>      [java] 2006-11-07 14:25:25,651 (TP-Processor3) [
> ControlServlet.java:207:ERROR] Including errorPage: /error/error.jsp
>      [java] 2006-11-07 14:25:25,658 (TP-Processor3) [
> MsgContext.java:295:WARN ] Error sending end packet
>
>
> --
> G.Venkata Phanindra
> Mob:: 9849852989




--
G.Venkata Phanindra
Mob:: 9849852989