Dev - FYI: 7807 Runtime Warnings

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

Dev - FYI: 7807 Runtime Warnings

Vinay Agarwal

Hello,

 

7807 (and perhaps earlier versions) generate these runtime warnings. I know some of them are irrelevant and know how to fix some others but not all. This email is just for the group’s info, it isn’t holding any of my work.

 

Regards,

Vinay Agarwal

 

968   (main) [ ComponentContainer.java:258:WARN ] Location 'c:/server/ofbizsvn/framework/shark/build/lib' does not exist

1015  (main) [    ComponentConfig.java:85 :WARN ] WARNING: Loading ofbiz-component using a global name that already exists, will over-write: example

1015  (main) [ ComponentContainer.java:258:WARN ] Location 'c:/server/ofbizsvn/framework/example/build/lib' does not exist

1109  (main) [ ComponentContainer.java:258:WARN ] Location 'c:/server/ofbizsvn/applications/humanres/build/lib' does not exist

1156  (main) [ ComponentContainer.java:258:WARN ] Location 'c:/server/ofbizsvn/applications/accounting/lib/cybersource' does not exist

1156  (main) [ ComponentContainer.java:258:WARN ] Location 'c:/server/ofbizsvn/applications/accounting/lib/worldpay' does not exist

12125 (main) [        ViewFactory.java:136:WARN ] Warning: could not load view handler class because it was not found; note that some views may not work: java.lang.ClassNotFoundException: org.ofbiz.webapp.view.JasperReportsPdfViewHandler

12343 (main) [        ViewFactory.java:136:WARN ] Warning: could not load view handler class because it was not found; note that some views may not work: java.lang.ClassNotFoundException: org.ofbiz.webapp.view.JasperReportsPdfViewHandler

12656 (main) [        ViewFactory.java:136:WARN ] Warning: could not load view handler class because it was not found; note that some views may not work: java.lang.ClassNotFoundException: org.ofbiz.webapp.view.JasperReportsPdfViewHandler

12656 (main) [        ViewFactory.java:136:WARN ] Warning: could not load view handler class because it was not found; note that some views may not work: java.lang.ClassNotFoundException: org.ofbiz.webapp.view.JasperReportsXmlViewHandler

12890 (main) [        ViewFactory.java:136:WARN ] Warning: could not load view handler class because it was not found; note that some views may not work: java.lang.ClassNotFoundException: org.ofbiz.webapp.view.JasperReportsPdfViewHandler

 


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - FYI: 7807 Runtime Warnings

BJ Freeman
I just upadte to the latest SVN Built it using the Build.xml.
not errors.
My guess is you are not using the build.xml that builds all those
folders and not running ofbiz using startofbiz.bat or startofbiz.sh


Vinay Agarwal sent the following on 6/16/06 5:31 PM:

> Hello,
>
>  
>
> 7807 (and perhaps earlier versions) generate these runtime warnings. I know
> some of them are irrelevant and know how to fix some others but not all.
> This email is just for the group's info, it isn't holding any of my work.
>
>  
>
> Regards,
>
> Vinay Agarwal
>
>  
>
> 968   (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/framework/shark/build/lib' does not exist
>
> 1015  (main) [    ComponentConfig.java:85 :WARN ] WARNING: Loading
> ofbiz-component using a global name that already exists, will over-write:
> example
>
> 1015  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/framework/example/build/lib' does not exist
>
> 1109  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/humanres/build/lib' does not exist
>
> 1156  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/accounting/lib/cybersource' does not exist
>
> 1156  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/accounting/lib/worldpay' does not exist
>
> 12125 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12343 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12656 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12656 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsXmlViewHandler
>
> 12890 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
>  
>
>
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - FYI: 7807 Runtime Warnings

Vinay Agarwal
To reproduce the warnings
1. update to 7807 svn code without any mods
2. ant clean-all
3. ant run-install
4. startofbiz (I modified the startofbiz.bat file to generate output on
console)
Find all ":WARN ]" in the output. This is the out (except for the mail
poller).

Regards,
Vinay Agarwal

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of BJ Freeman
Sent: Friday, June 16, 2006 6:38 PM
To: OFBiz Project Development Discussion
Subject: Re: [OFBiz] Dev - FYI: 7807 Runtime Warnings

I just upadte to the latest SVN Built it using the Build.xml.
not errors.
My guess is you are not using the build.xml that builds all those folders
and not running ofbiz using startofbiz.bat or startofbiz.sh


Vinay Agarwal sent the following on 6/16/06 5:31 PM:
> Hello,
>
>  
>
> 7807 (and perhaps earlier versions) generate these runtime warnings. I
know

> some of them are irrelevant and know how to fix some others but not all.
> This email is just for the group's info, it isn't holding any of my work.
>
>  
>
> Regards,
>
> Vinay Agarwal
>
>  
>
> 968   (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/framework/shark/build/lib' does not exist
>
> 1015  (main) [    ComponentConfig.java:85 :WARN ] WARNING: Loading
> ofbiz-component using a global name that already exists, will over-write:
> example
>
> 1015  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/framework/example/build/lib' does not exist
>
> 1109  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/humanres/build/lib' does not exist
>
> 1156  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/accounting/lib/cybersource' does not
exist

>
> 1156  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/accounting/lib/worldpay' does not exist
>
> 12125 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12343 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12656 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12656 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsXmlViewHandler
>
> 12890 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
>  
>
>
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - FYI: 7807 Runtime Warnings

rohit
hi,

i am getting the same, with the latest build SVN 430993. Cybersource is not working at all and i am getting the error"

2006-08-23 08:35:54,015 (main) [ ComponentContainer.java:208:INFO ] Loading component : [manufacturing]
2006-08-23 08:35:54,046 (main) [            UtilXml.java:255:DEBUG] XML Read 0.031s: file:/E:/ofbiz_svn/applications/accounting/ofbiz-component.xml
2006-08-23 08:35:54,046 (main) [ ComponentContainer.java:208:INFO ] Loading component : [accounting]
2006-08-23 08:35:54,062 (main) [ ComponentContainer.java:249:WARN ] Location 'E:/ofbiz_svn/applications/accounting/lib/cybersource' does not exist
2006-08-23 08:35:54,062 (main) [ ComponentContainer.java:249:WARN ] Location 'E:/ofbiz_svn/applications/accounting/lib/worldpay' does not exist
2006-08-23 08:35:54,093 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0s: file:/E:/ofbiz_svn/applications/order/ofbiz-component.xml
2006-08-23 08:35:54,093 (main) [ ComponentContainer.java:208:INFO ] Loading component : [order]
2006-08-23 08:35:54,140 (main) [            UtilXml.java:255:DEBUG] XML Read 0.015s: file:/E:/ofbiz_svn/applications/marketing/ofbiz-component.xml
2006-08-23 08:35:54,140 (main) [ ComponentContainer.java:208:INFO ] Loading component : [marketing]
2006-08-23 08:35:54,187 (main) [            UtilXml.java:255:DEBUG] XML Read 0.031s: file:/E:/ofbiz_svn/applications/ecommerce/ofbiz-component.xml
2006-08-23 08:35:54,203 (main) [ ComponentContainer.java:208:INFO ] Loading component : [ecommerce]


    * Error processing payment authorization: org.ofbiz.base.util.GeneralException: Problems invoking payment processor! Will retry later. Order ID is: [TMN10093 (Cannot find service location (org.ofbiz.accounting.thirdparty.cybersource.IcsPaymentServices))
"

Rohit.


Vinay Agarwal wrote
To reproduce the warnings
1. update to 7807 svn code without any mods
2. ant clean-all
3. ant run-install
4. startofbiz (I modified the startofbiz.bat file to generate output on
console)
Find all ":WARN ]" in the output. This is the out (except for the mail
poller).

Regards,
Vinay Agarwal

-----Original Message-----
From: dev-bounces@lists.ofbiz.org [mailto:dev-bounces@lists.ofbiz.org] On
Behalf Of BJ Freeman
Sent: Friday, June 16, 2006 6:38 PM
To: OFBiz Project Development Discussion
Subject: Re: [OFBiz] Dev - FYI: 7807 Runtime Warnings

I just upadte to the latest SVN Built it using the Build.xml.
not errors.
My guess is you are not using the build.xml that builds all those folders
and not running ofbiz using startofbiz.bat or startofbiz.sh


Vinay Agarwal sent the following on 6/16/06 5:31 PM:
> Hello,
>
>  
>
> 7807 (and perhaps earlier versions) generate these runtime warnings. I
know
> some of them are irrelevant and know how to fix some others but not all.
> This email is just for the group's info, it isn't holding any of my work.
>
>  
>
> Regards,
>
> Vinay Agarwal
>
>  
>
> 968   (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/framework/shark/build/lib' does not exist
>
> 1015  (main) [    ComponentConfig.java:85 :WARN ] WARNING: Loading
> ofbiz-component using a global name that already exists, will over-write:
> example
>
> 1015  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/framework/example/build/lib' does not exist
>
> 1109  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/humanres/build/lib' does not exist
>
> 1156  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/accounting/lib/cybersource' does not
exist
>
> 1156  (main) [ ComponentContainer.java:258:WARN ] Location
> 'c:/server/ofbizsvn/applications/accounting/lib/worldpay' does not exist
>
> 12125 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12343 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12656 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
> 12656 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsXmlViewHandler
>
> 12890 (main) [        ViewFactory.java:136:WARN ] Warning: could not load
> view handler class because it was not found; note that some views may not
> work: java.lang.ClassNotFoundException:
> org.ofbiz.webapp.view.JasperReportsPdfViewHandler
>
>  
>
>
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Dev mailing list
> Dev@lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
Dev@lists.ofbiz.org
http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
Dev@lists.ofbiz.org
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - FYI: 7807 Runtime Warnings

Jacopo Cappellato
Hi Rohit,

you'll find useful the notes in the OPTIONAL_LIBRARIES file located in
the OFBiz folder.

Jacopo

rohit2006 wrote:

> hi,
>
> i am getting the same, with the latest build SVN 430993. Cybersource is not
> working at all and i am getting the error"
>     * Error processing payment authorization:
> org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
> Will retry later. Order ID is: [TMN10093 (Cannot find service location
> (org.ofbiz.accounting.thirdparty.cybersource.IcsPaymentServices))
> "
>
> Rohit.
>

Reply | Threaded
Open this post in threaded view
|

Re: Dev - FYI: 7807 Runtime Warnings

rohit
Thanks Jacopo, i had not really seen that, but now i know about and its working pretty fine.

I need a little more assistance, can u please look at this link http://www.nabble.com/paypal-IPN-error.-IPN-is-not-received-and-transaction-is-not-recorded-tf2126743.html#a5868092.

I think i am missing something as silly, as the cybersource files which i should have know. i tried my best to identify the cause of the error, but could not. Any help will be appreciated.

Thanks,

Rohit


Jacopo Cappellato wrote
Hi Rohit,

you'll find useful the notes in the OPTIONAL_LIBRARIES file located in
the OFBiz folder.

Jacopo

rohit2006 wrote:
> hi,
>
> i am getting the same, with the latest build SVN 430993. Cybersource is not
> working at all and i am getting the error"
>     * Error processing payment authorization:
> org.ofbiz.base.util.GeneralException: Problems invoking payment processor!
> Will retry later. Order ID is: [TMN10093 (Cannot find service location
> (org.ofbiz.accounting.thirdparty.cybersource.IcsPaymentServices))
> "
>
> Rohit.
>
Reply | Threaded
Open this post in threaded view
|

Re: Dev - FYI: 7807 Runtime Warnings

Jacopo Cappellato
Hmmm...

sorry but I'm not an expert of payment processors, maybe others will
help... I'd suggest to post the log to the USER mailing list.

Jacopo

rohit2006 wrote:

> Thanks Jacopo, i had not really seen that, but now i know about and its
> working pretty fine.
>
> I need a little more assistance, can u please look at this link
> http://www.nabble.com/paypal-IPN-error.-IPN-is-not-received-and-transaction-is-not-recorded-tf2126743.html#a5868092.
>
> I think i am missing something as silly, as the cybersource files which i
> should have know. i tried my best to identify the cause of the error, but
> could not. Any help will be appreciated.
>
> Thanks,
>
> Rohit
>
Reply | Threaded
Open this post in threaded view
|

Unable to connect to cybersource..

rohit
Hi,

is there any resource on how to implemet cybersource in ofbiz.  i tried the steps outlined but still getting  errors...

2006-08-24 06:16:02,887 (http-0.0.0.0-7443-Processor4) [     ControlServlet.java:126:DEBUG] [[[processAuthorizeTransaction] Servlet Starting, doing setup- total:0.0010,since last(Begin):0.0010]]
2006-08-24 06:16:02,888 (http-0.0.0.0-7443-Processor4) [     ControlServlet.java:175:DEBUG] [[[processAuthorizeTransaction] Setup done, doing Event(s) and View(s)- total:0.0,since last([processAuthorize...):0.0]]
2006-08-24 06:16:02,980 (http-0.0.0.0-7443-Processor4) [            UtilXml.java:255:DEBUG] XML Read 0.089s: jndi:/0.0.0.0/accounting/WEB-INF/controller.xml
2006-08-24 06:16:02,985 (http-0.0.0.0-7443-Processor4) [    ConfigXMLReader.java:544:INFO ] ConfigMap Created: (4) records in 0.0030s
2006-08-24 06:16:02,987 (http-0.0.0.0-7443-Processor4) [    ConfigXMLReader.java:614:INFO ] HandlerMap Created: (2) records in 0.0s
2006-08-24 06:16:03,007 (http-0.0.0.0-7443-Processor4) [    ConfigXMLReader.java:294:INFO ] RequestMap Created: (238) records in 0.018s
2006-08-24 06:16:03,011 (http-0.0.0.0-7443-Processor4) [    ConfigXMLReader.java:403:INFO ] ViewMap Created: (115) records in 0.0020s
2006-08-24 06:16:03,013 (http-0.0.0.0-7443-Processor4) [     RequestHandler.java:203:INFO ] [Processing Request]: processAuthorizeTransaction
2006-08-24 06:16:06,184 (http-0.0.0.0-7443-Processor4) [ IcsPaymentServices.java:76 :ERROR]
---- exception report ----------------------------------------------------------
ERROR: CyberSource Client exception : null
Exception: com.cybersource.ws.client.ClientException
Message: null
---- stack trace ---------------------------------------------------------------
com.cybersource.ws.client.ClientException
com.cybersource.ws.client.Client.runTransaction(Client.java:144)
com.cybersource.ws.client.Client.runTransaction(Client.java:53)
org.ofbiz.accounting.thirdparty.cybersource.IcsPaymentServices.ccAuth(IcsPaymentServices.java:70)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:92)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:126)
org.ofbiz.accounting.payment.PaymentGatewayServices.authPayment(PaymentGatewayServices.java:413)
org.ofbiz.accounting.payment.PaymentGatewayServices.authOrderPaymentPreference(PaymentGatewayServices.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:92)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:292)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:407)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:183)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:79)
javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
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:249)
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(Thread.java:534)
--------------------------------------------------------------------------------

2006-08-24 06:16:06,186 (http-0.0.0.0-7443-Processor4) [  ServiceDispatcher.java:410:ERROR] Service Error [cyberSourceCCAuth]: Unable to communicate with CyberSource
2006-08-24 06:16:06,190 (http-0.0.0.0-7443-Processor4) [    TransactionUtil.java:243: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:242)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:224)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:414)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:126)
org.ofbiz.accounting.payment.PaymentGatewayServices.authPayment(PaymentGatewayServices.java:413)
org.ofbiz.accounting.payment.PaymentGatewayServices.authOrderPaymentPreference(PaymentGatewayServices.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:92)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:292)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:407)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:183)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:79)
javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
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:249)
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(Thread.java:534)
--------------------------------------------------------------------------------

2006-08-24 06:16:06,195 (http-0.0.0.0-7443-Processor4) [    TransactionUtil.java:253:INFO ] [TransactionUtil.rollback] transaction rolled back
2006-08-24 06:16:06,197 (http-0.0.0.0-7443-Processor4) [  ServiceDispatcher.java:450:DEBUG] [[Sync service finished- total:0.318,since last(Begin):0.318]] - 'accounting / cyberSourceCCAuth'
2006-08-24 06:16:06,200 (http-0.0.0.0-7443-Processor4) [PaymentGatewayServices.java:459:ERROR] Processor failed; will retry later: Unable to communicate with CyberSource
2006-08-24 06:16:06,202 (http-0.0.0.0-7443-Processor4) [  ServiceDispatcher.java:468:DEBUG] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'accounting / processPaymentServiceError'
2006-08-24 06:16:06,220 (http-0.0.0.0-7443-Processor4) [       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for [RuntimeData]; curSeqId=10100, maxSeqId=10110, bankSize=10
2006-08-24 06:16:08,063 (http-0.0.0.0-7443-Processor4) [       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for [JobSandbox]; curSeqId=10490, maxSeqId=10500, bankSize=10
2006-08-24 06:16:09,961 (http-0.0.0.0-7443-Processor4) [ GenericAsyncEngine.java:132:INFO ] Persisted job queued : 1156414568466
2006-08-24 06:16:09,963 (http-0.0.0.0-7443-Processor4) [  ServiceDispatcher.java:559:DEBUG] [[ASync service finished...- total:3.759,since last(ASync service sta...):3.759]] - 'accounting / processPaymentServiceError'



Jacopo Cappellato wrote
Hmmm...

sorry but I'm not an expert of payment processors, maybe others will
help... I'd suggest to post the log to the USER mailing list.

Jacopo

rohit2006 wrote:
> Thanks Jacopo, i had not really seen that, but now i know about and its
> working pretty fine.
>
> I need a little more assistance, can u please look at this link
> http://www.nabble.com/paypal-IPN-error.-IPN-is-not-received-and-transaction-is-not-recorded-tf2126743.html#a5868092.
>
> I think i am missing something as silly, as the cybersource files which i
> should have know. i tried my best to identify the cause of the error, but
> could not. Any help will be appreciated.
>
> Thanks,
>
> Rohit
>
Reply | Threaded
Open this post in threaded view
|

Re: Unable to connect to cybersource..

rohit
hi,

I guess there is a file missing which causes this problem. I was able to get this issue resolver by copying the file commons-httpclient-3.0.1 from the Cybersource Java client into ${ofbiz install dir}/framework/base/lib/commons folder.

I have also tried to do a small write-up on how to setup cybersource processing on ofbiz. I hope someone can go through it and if it is appropriate it can be added to ofbiz documentation.

Just to add, i am new to ofbiz as well as JAVA, most of the work is by trial and error, so please go easy on me if i have mentioned something stupid ;-).

Thanks Rohit.


rohit2006 wrote
Hi,

is there any resource on how to implemet cybersource in ofbiz.  i tried the steps outlined but still getting  errors...

2006-08-24 06:16:02,887 (http-0.0.0.0-7443-Processor4) [     ControlServlet.java:126:DEBUG] [[[processAuthorizeTransaction] Servlet Starting, doing setup- total:0.0010,since last(Begin):0.0010]]
2006-08-24 06:16:02,888 (http-0.0.0.0-7443-Processor4) [     ControlServlet.java:175:DEBUG] [[[processAuthorizeTransaction] Setup done, doing Event(s) and View(s)- total:0.0,since last([processAuthorize...):0.0]]
2006-08-24 06:16:02,980 (http-0.0.0.0-7443-Processor4) [            UtilXml.java:255:DEBUG] XML Read 0.089s: jndi:/0.0.0.0/accounting/WEB-INF/controller.xml
2006-08-24 06:16:02,985 (http-0.0.0.0-7443-Processor4) [    ConfigXMLReader.java:544:INFO ] ConfigMap Created: (4) records in 0.0030s
2006-08-24 06:16:02,987 (http-0.0.0.0-7443-Processor4) [    ConfigXMLReader.java:614:INFO ] HandlerMap Created: (2) records in 0.0s
2006-08-24 06:16:03,007 (http-0.0.0.0-7443-Processor4) [    ConfigXMLReader.java:294:INFO ] RequestMap Created: (238) records in 0.018s
2006-08-24 06:16:03,011 (http-0.0.0.0-7443-Processor4) [    ConfigXMLReader.java:403:INFO ] ViewMap Created: (115) records in 0.0020s
2006-08-24 06:16:03,013 (http-0.0.0.0-7443-Processor4) [     RequestHandler.java:203:INFO ] [Processing Request]: processAuthorizeTransaction
2006-08-24 06:16:06,184 (http-0.0.0.0-7443-Processor4) [ IcsPaymentServices.java:76 :ERROR]
---- exception report ----------------------------------------------------------
ERROR: CyberSource Client exception : null
Exception: com.cybersource.ws.client.ClientException
Message: null
---- stack trace ---------------------------------------------------------------
com.cybersource.ws.client.ClientException
com.cybersource.ws.client.Client.runTransaction(Client.java:144)
com.cybersource.ws.client.Client.runTransaction(Client.java:53)
org.ofbiz.accounting.thirdparty.cybersource.IcsPaymentServices.ccAuth(IcsPaymentServices.java:70)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:92)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:126)
org.ofbiz.accounting.payment.PaymentGatewayServices.authPayment(PaymentGatewayServices.java:413)
org.ofbiz.accounting.payment.PaymentGatewayServices.authOrderPaymentPreference(PaymentGatewayServices.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:92)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:292)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:407)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:183)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:79)
javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
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:249)
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(Thread.java:534)
--------------------------------------------------------------------------------

2006-08-24 06:16:06,186 (http-0.0.0.0-7443-Processor4) [  ServiceDispatcher.java:410:ERROR] Service Error [cyberSourceCCAuth]: Unable to communicate with CyberSource
2006-08-24 06:16:06,190 (http-0.0.0.0-7443-Processor4) [    TransactionUtil.java:243: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:242)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:224)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:414)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:126)
org.ofbiz.accounting.payment.PaymentGatewayServices.authPayment(PaymentGatewayServices.java:413)
org.ofbiz.accounting.payment.PaymentGatewayServices.authOrderPaymentPreference(PaymentGatewayServices.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:92)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:292)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:407)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:183)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:79)
javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
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:249)
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(Thread.java:534)
--------------------------------------------------------------------------------

2006-08-24 06:16:06,195 (http-0.0.0.0-7443-Processor4) [    TransactionUtil.java:253:INFO ] [TransactionUtil.rollback] transaction rolled back
2006-08-24 06:16:06,197 (http-0.0.0.0-7443-Processor4) [  ServiceDispatcher.java:450:DEBUG] [[Sync service finished- total:0.318,since last(Begin):0.318]] - 'accounting / cyberSourceCCAuth'
2006-08-24 06:16:06,200 (http-0.0.0.0-7443-Processor4) [PaymentGatewayServices.java:459:ERROR] Processor failed; will retry later: Unable to communicate with CyberSource
2006-08-24 06:16:06,202 (http-0.0.0.0-7443-Processor4) [  ServiceDispatcher.java:468:DEBUG] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'accounting / processPaymentServiceError'
2006-08-24 06:16:06,220 (http-0.0.0.0-7443-Processor4) [       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for [RuntimeData]; curSeqId=10100, maxSeqId=10110, bankSize=10
2006-08-24 06:16:08,063 (http-0.0.0.0-7443-Processor4) [       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for [JobSandbox]; curSeqId=10490, maxSeqId=10500, bankSize=10
2006-08-24 06:16:09,961 (http-0.0.0.0-7443-Processor4) [ GenericAsyncEngine.java:132:INFO ] Persisted job queued : 1156414568466
2006-08-24 06:16:09,963 (http-0.0.0.0-7443-Processor4) [  ServiceDispatcher.java:559:DEBUG] [[ASync service finished...- total:3.759,since last(ASync service sta...):3.759]] - 'accounting / processPaymentServiceError'



Jacopo Cappellato wrote
Hmmm...

sorry but I'm not an expert of payment processors, maybe others will
help... I'd suggest to post the log to the USER mailing list.

Jacopo

rohit2006 wrote:
> Thanks Jacopo, i had not really seen that, but now i know about and its
> working pretty fine.
>
> I need a little more assistance, can u please look at this link
> http://www.nabble.com/paypal-IPN-error.-IPN-is-not-received-and-transaction-is-not-recorded-tf2126743.html#a5868092.
>
> I think i am missing something as silly, as the cybersource files which i
> should have know. i tried my best to identify the cause of the error, but
> could not. Any help will be appreciated.
>
> Thanks,
>
> Rohit
>
Cybersource Payment Setup.doc