Hi all,
I need to integrate war application called openI into Opentaps,and I have gone through the Load OpenI (Mondrian Implementation) under OFBiz tutorial Added by Chris Howe at: http://docs.ofbiz.org/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz. Actually,the tutorial really helped me but is like there are some other things I still need to do. I have done everything am asked to do from the tutorial,and in addition to it through what I read from: http://osdir.com/ml/java.ofbiz.user/2005-08/msg00359.html. by Yannick Thebault, I also modified the build.xml,ofbiz-component.xml,web.xml,controller.xml and declared my component into component-load.xml. But,whenever I start the Opentaps and try to view the openi application,it will just load for sometimes and display a blank page with the following error: ------------------------------------------------- ,since last(Begin):0.0]] 2008-12-05 07:30:35,414 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:152:ERROR] [ControlServlet] ERROR: delegator not found in ServletContext 2008-12-05 07:30:35,414 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:164:ERROR] [ControlServlet] ERROR: dispatcher not found in ServletContext 2008-12-05 07:30:35,417 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:173:ERROR] [ControlServlet] ERROR: security not found in ServletContext 2008-12-05 07:30:35,418 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:184:DEBUG] [[[main] Setup done, doing Event(s) and View(s)- total:0.0040,since last([main] Servlet St...):0.0040]] 2008-12-05 07:30:35,427 (http-0.0.0.0-8443-Processor3) [ UtilXml.java:246:DEBUG] XML Read 0.0080s: jndi:/0.0.0.0/openi/WEB-INF/controller.xml 2008-12-05 07:30:35,428 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:561:INFO ] ConfigMap Created: (4) records in 0.0s 2008-12-05 07:30:35,429 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:719:INFO ] HandlerMap Created: (4) view handlers and (5) request/event handlers in 0.0s 2008-12-05 07:30:35,430 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:294:INFO ] RequestMap Created: (1) records in 0.0010s 2008-12-05 07:30:35,430 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:388:INFO ] ViewMap Created: (2) records in 0.0s 2008-12-05 07:30:35,436 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:195:ERROR] ---- exception report ----------------------------------------------------------Error in request handler: Exception: org.ofbiz.webapp.control.RequestHandlerException Message: Unknown request [main]; this request does not exist or cannot be called directly. ---- stack trace ---------------------------------------------------------------org.ofbiz.webapp.control.RequestHandlerException: Unknown request [main]; this request does not exist or cannot be called directly. org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:121) 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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) 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:595) -------------------------------------------------------------------------------- 2008-12-05 07:30:35,437 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:209:ERROR] An error occurred, going to the errorPage: /error/error.jsp 2008-12-05 07:30:35,450 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:216:ERROR] Including errorPage: /error/error.jsp 2008-12-05 07:30:35,512 (http-0.0.0.0-8443-Processor3) [ StandardWrapperValve.java:260:ERROR] Servlet.service() for servlet ControlServlet threw exception java.lang.IllegalArgumentException: The delgator passed to countHit cannot be null at org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:116) at org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:88) at org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:61) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:258) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2008-12-05 07:30:35,515 (http-0.0.0.0-8443-Processor3) [ RequestContextListener.java:88 :DEBUG] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@4be179 ---------------------- ---------------------- ---------------------------- I think,I still need to do some other things or may be I did not do the right thing.Please I will need your help on this. I have been trying to post my challenge to OFBiz-User mailing list since but I could not if not for this site: www.nabble.com. Thanks, please I will be expecting your reply soon. |
Opentaps is not OFBiz - you may need to take this to their mailing to get your questions answered.
Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 ----- "quadri" <[hidden email]> wrote: > Hi all, > > I need to integrate war application called openI into Opentaps,and > I > have gone through the Load OpenI (Mondrian Implementation) under > OFBiz > tutorial Added by Chris Howe at: > http://docs.ofbiz.org/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz. > > > Actually,the tutorial really helped me but is like there are some > other > things I still need to do. > > I have done everything am asked to do from the tutorial,and in > addition > to it through what I read from: > http://osdir.com/ml/java.ofbiz.user/2005-08/msg00359.html. by > Yannick > Thebault, I also modified the > build.xml,ofbiz-component.xml,web.xml,controller.xml and declared my > component into component-load.xml. > > But,whenever I start the Opentaps and try to view the openi > application,it > will just load for sometimes and display a blank page with the > following > error: > > ------------------------------------------------- > ,since last(Begin):0.0]] > 2008-12-05 07:30:35,414 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:152:ERROR] [ControlServlet] ERROR: delegator not > found > in ServletContext > 2008-12-05 07:30:35,414 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:164:ERROR] [ControlServlet] ERROR: dispatcher not > found > in ServletContext > 2008-12-05 07:30:35,417 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:173:ERROR] [ControlServlet] ERROR: security not > found in > ServletContext > 2008-12-05 07:30:35,418 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:184:DEBUG] [[[main] Setup done, doing Event(s) > and > View(s)- total:0.0040,since last([main] Servlet St...):0.0040]] > 2008-12-05 07:30:35,427 (http-0.0.0.0-8443-Processor3) [ > UtilXml.java:246:DEBUG] XML Read 0.0080s: > jndi:/0.0.0.0/openi/WEB-INF/controller.xml > 2008-12-05 07:30:35,428 (http-0.0.0.0-8443-Processor3) [ > ConfigXMLReader.java:561:INFO ] ConfigMap Created: (4) records in > 0.0s > 2008-12-05 07:30:35,429 (http-0.0.0.0-8443-Processor3) [ > ConfigXMLReader.java:719:INFO ] HandlerMap Created: (4) view handlers > and > (5) request/event handlers in 0.0s > 2008-12-05 07:30:35,430 (http-0.0.0.0-8443-Processor3) [ > ConfigXMLReader.java:294:INFO ] RequestMap Created: (1) records in > 0.0010s > 2008-12-05 07:30:35,430 (http-0.0.0.0-8443-Processor3) [ > ConfigXMLReader.java:388:INFO ] ViewMap Created: (2) records in 0.0s > 2008-12-05 07:30:35,436 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:195:ERROR] > ---- exception report > ----------------------------------------------------------Error in > request > handler: > Exception: org.ofbiz.webapp.control.RequestHandlerException > Message: Unknown request [main]; this request does not exist or cannot > be > called directly. > ---- stack trace > ---------------------------------------------------------------org.ofbiz.webapp.control.RequestHandlerException: > Unknown request [main]; this request does not exist or cannot be > called > directly. > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:121) > 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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) > 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:595) > -------------------------------------------------------------------------------- > 2008-12-05 07:30:35,437 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:209:ERROR] An error occurred, going to the > errorPage: > /error/error.jsp > 2008-12-05 07:30:35,450 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:216:ERROR] Including errorPage: /error/error.jsp > 2008-12-05 07:30:35,512 (http-0.0.0.0-8443-Processor3) [ > > StandardWrapperValve.java:260:ERROR] Servlet.service() for servlet > ControlServlet threw exception > java.lang.IllegalArgumentException: The delgator passed to countHit > cannot > be null > at > org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:116) > at > org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:88) > at > org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:61) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:258) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > 2008-12-05 07:30:35,515 (http-0.0.0.0-8443-Processor3) [ > > RequestContextListener.java:88 :DEBUG] Cleared thread-bound request > context: > org.apache.catalina.connector.RequestFacade@4be179 > > > ---------------------- > > ---------------------- ---------------------------- > I think,I still need to do some other things or may be I did not do > the > right thing.Please I will need your help on this. > > I have been trying to post my challenge to OFBiz-User mailing list > since > but I could not if not for this site: www.nabble.com. > > Thanks, please I will be expecting your reply soon. > -- > View this message in context: > http://www.nabble.com/Integrating-War-into-Opentaps-%28OFBiz%29-tp20987940p20987940.html > Sent from the OFBiz - User mailing list archive at Nabble.com. |
Thanks for your reply,
I am very sorry,I think my topic supposed to be Integrating Wars into OFBiz, but I believe that OFBiz and Opentaps have almost the same structure because am working on both and that is the reason I wrote the topic like that. I was going through the OFBiz Tutorials at: (http://www.opensourcestrategies.com/ofbiz/tutorials.php) and there is a stage where they explained on how to load wars into OFBiz, where they use openI as an example added by ChrisHowe at: http://docs.ofbiz.org/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz. I have gone through this tutorial like I explained in the former message I posted but am still having a challenge. Please I really need your help because I believe you guys can help me out of this, "Tim Ruppert" just like you said , I have also posted to Opentaps forum and I was directed by Si Chen who adviced me to go to the ofbiz mailing list that my questions might get answered there and that Chris Howe is always there. Please someone should help me look into this and give me the right steps to take in getting this resolved. Thanks very much,Please I will be expecting your reply.
|
Well, perhaps the following may be of use to you. I have only skipped through your error message briefly, but from what I can see, it seems as if your error is caused because you simply copied the controller.xml file from any other ofbiz component and copied it into your new web-inf directory. OFbiz will hence assume that the directions from within that file are with purpose and redirect any request to the /control/main screen... which your new war application probably doesn't feature...
Try the following stept by step approach (Is this in the wiki anywhere?): 1) Unzip your War file locally. 2) create a new folder in the hot-deploy directory by whatever name you want your new application to run under 3) create a webapp folder within this very same, newly created, directory 4) copy every folder within the war file to this webapp folder (there should be a web-inf directory under hot-deploy/yourapp/webapp/ now) 5) add a new ofbiz-component file to /hot-deploy/yourapp Change the following accordingly to your webapp: <?xml version="1.0" encoding="UTF-8"?> <ofbiz-component name="cms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd"> <resource-loader name="main" type="component" /> <classpath location="lib/*" type="jar"/> <classpath type="jar" location="build/lib/*"/> <classpath type="dir" location="src/*" /> <webapp name="yourapp" title="yourapp" server="default-server" location="webapp" mount-point="/yourapp" app-bar-display="false" /> </ofbiz-component> 6) Remain everything else in touch (don't add anything) & Restart ofbiz and give it all a go... ... I hope this works/ and helps ;) |
In reply to this post by quadri
so open taps uses the include controller?
<include location="component://common/webcommon/WEB-INF/common-controller.xml"/> and the site-conf.xsd is the same and all the new code in the framework/common are the same. if not, that is a big difference. quadri sent the following on 12/15/2008 4:16 AM: > Thanks for your reply, > > I am very sorry,I think my topic supposed to be Integrating Wars into > OFBiz, but I believe that OFBiz and Opentaps have almost the same structure > because am working on both and that is the reason I wrote the topic like > that. > > I was going through the OFBiz Tutorials at: > (http://www.opensourcestrategies.com/ofbiz/tutorials.php) and there is a > stage where they explained on how to load wars into OFBiz, where they use > openI as an example added by ChrisHowe at: > http://docs.ofbiz.org/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz. > > I have gone through this tutorial like I explained in the former message > I posted but am still having a challenge. > > Please I really need your help because I believe you guys can help me > out of this, "Tim Ruppert" just like you said , I have also posted to > Opentaps forum and I was directed by Si Chen who adviced me to go to the > ofbiz mailing list that my questions might get answered there and that Chris > Howe is always there. > > Please someone should help me look into this and give me the right steps to > take in getting this resolved. > > Thanks very much,Please I will be expecting your reply. > > > > > > Tim Ruppert wrote: >> Opentaps is not OFBiz - you may need to take this to their mailing to get >> your questions answered. >> >> Cheers, >> Tim >> -- >> Tim Ruppert >> HotWax Media >> http://www.hotwaxmedia.com >> >> o:801.649.6594 >> f:801.649.6595 >> >> ----- "quadri" <[hidden email]> wrote: >> >>> Hi all, >>> >>> I need to integrate war application called openI into Opentaps,and >>> I >>> have gone through the Load OpenI (Mondrian Implementation) under >>> OFBiz >>> tutorial Added by Chris Howe at: >>> http://docs.ofbiz.org/display/OFBIZ/Load+OpenI+%28Mondrian+Implementation%29+under+OFBiz. >>> >>> >>> Actually,the tutorial really helped me but is like there are some >>> other >>> things I still need to do. >>> >>> I have done everything am asked to do from the tutorial,and in >>> addition >>> to it through what I read from: >>> http://osdir.com/ml/java.ofbiz.user/2005-08/msg00359.html. by >>> Yannick >>> Thebault, I also modified the >>> build.xml,ofbiz-component.xml,web.xml,controller.xml and declared my >>> component into component-load.xml. >>> >>> But,whenever I start the Opentaps and try to view the openi >>> application,it >>> will just load for sometimes and display a blank page with the >>> following >>> error: >>> >>> ------------------------------------------------- >>> ,since last(Begin):0.0]] >>> 2008-12-05 07:30:35,414 (http-0.0.0.0-8443-Processor3) [ >>> ControlServlet.java:152:ERROR] [ControlServlet] ERROR: delegator not >>> found >>> in ServletContext >>> 2008-12-05 07:30:35,414 (http-0.0.0.0-8443-Processor3) [ >>> ControlServlet.java:164:ERROR] [ControlServlet] ERROR: dispatcher not >>> found >>> in ServletContext >>> 2008-12-05 07:30:35,417 (http-0.0.0.0-8443-Processor3) [ >>> ControlServlet.java:173:ERROR] [ControlServlet] ERROR: security not >>> found in >>> ServletContext >>> 2008-12-05 07:30:35,418 (http-0.0.0.0-8443-Processor3) [ >>> ControlServlet.java:184:DEBUG] [[[main] Setup done, doing Event(s) >>> and >>> View(s)- total:0.0040,since last([main] Servlet St...):0.0040]] >>> 2008-12-05 07:30:35,427 (http-0.0.0.0-8443-Processor3) [ >>> UtilXml.java:246:DEBUG] XML Read 0.0080s: >>> jndi:/0.0.0.0/openi/WEB-INF/controller.xml >>> 2008-12-05 07:30:35,428 (http-0.0.0.0-8443-Processor3) [ >>> ConfigXMLReader.java:561:INFO ] ConfigMap Created: (4) records in >>> 0.0s >>> 2008-12-05 07:30:35,429 (http-0.0.0.0-8443-Processor3) [ >>> ConfigXMLReader.java:719:INFO ] HandlerMap Created: (4) view handlers >>> and >>> (5) request/event handlers in 0.0s >>> 2008-12-05 07:30:35,430 (http-0.0.0.0-8443-Processor3) [ >>> ConfigXMLReader.java:294:INFO ] RequestMap Created: (1) records in >>> 0.0010s >>> 2008-12-05 07:30:35,430 (http-0.0.0.0-8443-Processor3) [ >>> ConfigXMLReader.java:388:INFO ] ViewMap Created: (2) records in 0.0s >>> 2008-12-05 07:30:35,436 (http-0.0.0.0-8443-Processor3) [ >>> ControlServlet.java:195:ERROR] >>> ---- exception report >>> ----------------------------------------------------------Error in >>> request >>> handler: >>> Exception: org.ofbiz.webapp.control.RequestHandlerException >>> Message: Unknown request [main]; this request does not exist or cannot >>> be >>> called directly. >>> ---- stack trace >>> ---------------------------------------------------------------org.ofbiz.webapp.control.RequestHandlerException: >>> Unknown request [main]; this request does not exist or cannot be >>> called >>> directly. >>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:121) >>> 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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) >>> 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:595) >>> -------------------------------------------------------------------------------- >>> 2008-12-05 07:30:35,437 (http-0.0.0.0-8443-Processor3) [ >>> ControlServlet.java:209:ERROR] An error occurred, going to the >>> errorPage: >>> /error/error.jsp >>> 2008-12-05 07:30:35,450 (http-0.0.0.0-8443-Processor3) [ >>> ControlServlet.java:216:ERROR] Including errorPage: /error/error.jsp >>> 2008-12-05 07:30:35,512 (http-0.0.0.0-8443-Processor3) [ >>> >>> StandardWrapperValve.java:260:ERROR] Servlet.service() for servlet >>> ControlServlet threw exception >>> java.lang.IllegalArgumentException: The delgator passed to countHit >>> cannot >>> be null >>> at >>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:116) >>> at >>> org.ofbiz.webapp.stats.ServerHitBin.countHit(ServerHitBin.java:88) >>> at >>> org.ofbiz.webapp.stats.ServerHitBin.countRequest(ServerHitBin.java:61) >>> at >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:258) >>> at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595) >>> at >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) >>> at >>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) >>> at >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >>> at >>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) >>> at >>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) >>> at >>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >>> at >>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) >>> at >>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) >>> at java.lang.Thread.run(Thread.java:595) >>> 2008-12-05 07:30:35,515 (http-0.0.0.0-8443-Processor3) [ >>> >>> RequestContextListener.java:88 :DEBUG] Cleared thread-bound request >>> context: >>> org.apache.catalina.connector.RequestFacade@4be179 >>> >>> >>> ---------------------- >>> >>> ---------------------- ---------------------------- >>> I think,I still need to do some other things or may be I did not do >>> the >>> right thing.Please I will need your help on this. >>> >>> I have been trying to post my challenge to OFBiz-User mailing list >>> since >>> but I could not if not for this site: www.nabble.com. >>> >>> Thanks, please I will be expecting your reply soon. >>> -- >>> View this message in context: >>> http://www.nabble.com/Integrating-War-into-Opentaps-%28OFBiz%29-tp20987940p20987940.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >> > |
In reply to this post by madppiper-2
Hi all, Thanks very much for your reply,and a special thanks to madppiper for giving me such a clear and easy steps towards solving my problem and for not looking at my mistake,I really appreaciate your effort. Please I am very sorry for making such a mistake in comparing them to be almost the same. Actually I didn't know much on OFBiz and Opentaps besides installing, going through some path of the applications and how they are being used. I just start reading the OFBiz tutorial to know more about the application and thanks very much for letting me know that they are different. I am working on OFBiz currently and that is why am posting to this forum,so please help me. Actually,I did exactly as madppiper told me but am not getting what am expecting. All I can see is a blank page after loading for sometimes with my URL resolving to this: https://192.168.19.11:8443/openi/control/main?externalLoginKey=EL543363277275 and also the following mesgs in my terminal after loading it: --------------------------------------- ..................................................... 2008-12-17 15:38:58,171 (http-0.0.0.0-8443-Processor3) [ ModelScreenWidget.java:360:INFO ] In the include-screen tag the screen name was empty, ignoring include; in screen [GlobalDecorator] 2008-12-17 15:39:11,424 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [ControlEventListener.java:79 :WARN ] Could not find visit value object in session [BAAB0F5E99A7A6DA2CFC858B26A1C203.jvm1] that is being destroyed 2008-12-17 15:39:11,425 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [ControlEventListener.java:100:INFO ] Destroying session: BAAB0F5E99A7A6DA2CFC858B26A1C203.jvm1 2008-12-17 15:39:11,426 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [ControlEventListener.java:79 :WARN ] Could not find visit value object in session [F4667C6180AF2BBA26EE7F406FC6E98A.jvm1] that is being destroyed 2008-12-17 15:39:11,427 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [ControlEventListener.java:100:INFO ] Destroying session: F4667C6180AF2BBA26EE7F406FC6E98A.jvm1 2008-12-17 15:39:11,429 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [ControlEventListener.java:79 :WARN ] Could not find visit value object in session [EA2C79CFCEE5A1E9E9835B9DBFA63D55.jvm1] that is being destroyed 2008-12-17 15:39:11,429 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [ControlEventListener.java:100:INFO ] Destroying session: EA2C79CFCEE5A1E9E9835B9DBFA63D55.jvm1 ---------------------------------------- I am thinking that I still need to create a widget for the war application,but am not really sure of this and if that is what I need I will appreaciate somehelp on how to go about it. Thanks very much I know am almost close to it,because I can see from the way it loads showing that it has been integrated but not yet showing,hope am right. The name of the war application am bringing in for now is OpenI. Please I will be expecting your reply. Cheers bye.
|
nonononono,
from what I can see, you probably didn't follow the steps properly ;). The /control/main in your url indicates, that somewhere along the line you are being referenced to that path instead of the original location. So I assume, that you either still got a copy of the controller.xml file or the index.jsp file in place which both relocate your request... Please: do a clean restart, or try to find out whether the controller.xml file or the index.jsp (with a jsp scriplet pointing to /control/main) file still exist - it should do the trick! |
Hello Sir, Thank you very much and I am really gratefull for all your effort in making this work out for me as I wish,the war application have been integrated and it's loging page is showing now after loading for sometimes. I just unziped a new openi-2.0-alpha-tomcat.zip to get a new openi.war and do exactly has you said,and it work perfect without any error in my terminal. Even my colleagues here are celebrating with me now,may almighty God reward you and bless you more likewise the rest of the team in the forum. I am very happy now, although have not been able to login but I think with time I will resolve that also. I just want to thank you, before proceeding with the application. If there is anything you think can be of help to me, please I will be very happy to hear from you. Thanks, God bless.
|
In reply to this post by madppiper-2
Hi,
Thanks very much for your support. I can now do somethings on how to integrate an external war application into OFBiz with your support and a special thanks to madppiper for his effort towards helping me on this. Please, I think there are many other things which I still need to know on how to integrate a war application fully into OFBiz. This is because I could not progress after seeing the login page of the OpenI application I integrated. All what I can see after login in is a blank page instead of the Openi index page,but I think this is due to the incompleteness of the Openi application(I guess). So I had to drop this application since I can not integrate it fully into OFBiz, am trying to look at any other Java application which I can easily integrated. I am trying Mifos for now,I guess you know about this application called (Mifos) it's also a Java application, I have installed it once and is working fine. So am trying to integrate it now,after following the first step I know which is adding the war( I mean the webapp and ofbiz-component.xml). I can load the application by typing it's name in the OFBiz Url but whenever I clicked on the name from the application bar it will not load,all what I could see is this error: ---------------------------- HTTP Status 404 - /mifos/control/main type Status report message /mifos/control/main description The requested resource (/mifos/control/main) is not available. Apache Tomcat/5.5.20 ---------------------------- I have not been able to migrate it's database to OFBiz database also,still using is own external mifos database and I also need to know how I can change it's look to OFBiz(I mean the wigdet design here). Actually,I have been doing all this, but I need a right step on how I can go about it.I will appreciate If I can get any guide on how to go about all this. Thanks very much for your support,I will be expecting your reply soon. Thanks. Quadri.
|
Same error as before, Quadri. Just refer to my previous answer ;)
|
In reply to this post by quadri
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 good place to start http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application quadri sent the following on 1/15/2009 2:19 AM: > Hi, > > Thanks very much for your support. I can now do somethings on how to > integrate an external war application into OFBiz with your support and a > special thanks to madppiper for his effort towards helping me on this. > > Please, I think there are many other things which I still need to know on > how to integrate a war application fully into OFBiz. This is because I could > not progress after seeing the login page of the OpenI application I > integrated. > > All what I can see after login in is a blank page instead of the Openi > index page,but I think this is due to the incompleteness of the Openi > application(I guess). > > So I had to drop this application since I can not integrate it fully into > OFBiz, am trying to look at any other Java application which I can easily > integrated. > > I am trying Mifos for now,I guess you know about this application called > (Mifos) it's also a Java application, I have installed it once and is > working fine. > > So am trying to integrate it now,after following the first step I know > which is adding the war( I mean the webapp and ofbiz-component.xml). > > I can load the application by typing it's name in the OFBiz Url but > whenever I clicked on the name from the application bar it will not load,all > what I could see is this error: > ---------------------------- > HTTP Status 404 - /mifos/control/main > > type Status report > > message /mifos/control/main > > description The requested resource (/mifos/control/main) is not > available. > Apache Tomcat/5.5.20 > ---------------------------- > > I have not been able to migrate it's database to OFBiz database > also,still using is own external mifos database and I also need to know how > I can change it's look to OFBiz(I mean the wigdet design here). > > Actually,I have been doing all this, but I need a right step on how I can go > about it.I will appreciate If I can get any guide on how to go about all > this. > > > Thanks very much for your support,I will be expecting your reply soon. > > Thanks. > > Quadri. > > > madppiper wrote: >> nonononono, >> >> from what I can see, you probably didn't follow the steps properly ;). The >> /control/main in your url indicates, that somewhere along the line you are >> being referenced to that path instead of the original location. So I >> assume, that you either still got a copy of the controller.xml file or the >> index.jsp file in place which both relocate your request... >> >> Please: do a clean restart, or try to find out whether the controller.xml >> file or the index.jsp (with a jsp scriplet pointing to /control/main) file >> still exist - it should do the trick! >> > Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJbxG3rP3NbaWWqE4RAnj8AKCnZjxUW0WYWpxDlOgMq/4S43OkOwCgtkat GV7Z35UZqsj4BgRsp86UBhA= =iC44 -----END PGP SIGNATURE----- |
Free forum by Nabble | Edit this page |