ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Mishra <vivek.mis...@hotwaxmedia.com>
Subject Re: Ofbiz Hello1 deploy error
Date Thu, 04 Jun 2009 06:41:31 GMT
Hello,
Please make sure that request entry exists in controller.xml
--
Vivek Mishra

jillas wrote:
> I am gettiing the following error with a simple hello1 program example in
> ofbiz
>
> org.ofbiz.webapp.control.RequestHandlerException: Unknown request [main];
> this request does not exist or cannot be called directly
>
> In log file it is showing as
>
> 2009-06-04 12:03:35,913 (http-0.0.0.0-8080-1) [    
> ControlServlet.java:130:INFO ] [[[main] Request Begun, encoding=[UTF-8]-
> total:0.0,since last(Begin):0.0]]
> 2009-06-04 12:03:35,913 (http-0.0.0.0-8080-1) [           
> UtilXml.java:181:WARN ] [UtilXml.readXmlDocument] URL was null, doing
> nothing
> 2009-06-04 12:03:35,913 (http-0.0.0.0-8080-1) [   
> ConfigXMLReader.java:352:ERROR] 
> ---- runtime exception report
> --------------------------------------------------
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.webapp.control.ConfigXMLReader.loadDocument(ConfigXMLReader.java:347)
> org.ofbiz.webapp.control.ConfigXMLReader$ControllerConfig.<init>(ConfigXMLReader.java:105)
> org.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(ConfigXMLReader.java:73)
> org.ofbiz.webapp.control.RequestHandler.getControllerConfig(RequestHandler.java:96)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:112)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-06-04 12:03:35,913 (http-0.0.0.0-8080-1) [    
> ControlServlet.java:204: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:142)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
>
> 2009-06-04 12:03:35,929 (http-0.0.0.0-8080-1) [    
> ControlServlet.java:218:ERROR] An error occurred, going to the errorPage:
> /error/error.jsp
> 2009-06-04 12:03:35,929 (http-0.0.0.0-8080-1) [    
> ControlServlet.java:225:ERROR] Including errorPage: /error/error.jsp
> 2009-06-04 12:03:35,960 (http-0.0.0.0-8080-1) [    
> ControlServlet.java:299:INFO ] [[[main] Request Done- total:0.047,since
> last([main] Request Be...):0.047]]
>
>   

Mime
View raw message