Michel: Thanks for the link, it works fine after changing the lines
Michel Dielissen wrote: > > Hi Fan. Did you see the errata? > > http://www.opensourcestrategies.com/ofbiz/hello_svn_fixes.php > http://www.opensourcestrategies.com/ofbiz/hello_svn_fixes.php > > When you make these changes it should work. > > -Michel > > > > Amine AZZI wrote: >> >> It's a long time I didn't use this example, the tutorial states that you >> should only use the non secure port 8080. >> try to download the complete application from >> >> http://www.opensourcestrategies.com/downloads/hello1.zip >> >> and try. don't forget to put it is hot-deploy and not in applications >> directory. restart ofbiz and see. >> >> Amine. >> >> 2007/1/17, Fan <[EMAIL PROTECTED]>: >>> >>> >>> I tried all of those URL, none of them works. >>> >>> In fact, I downloaded the hello1 source from >>> http://www.opensourcestrategies.com/ofbiz/tutorials.php >>> >>> what's really wrong ? >>> >>> >>> Amine AZZI wrote: >>> > >>> > the problem is in the URL >>> > >>> > https://localhost:8443/hello1/control >>> > >>> > The controller tries to find the request in the controller.xml but >>> can't >>> > find it. >>> > try >>> > >>> > https://localhost:8443/hello1/control/main >>> > >>> > or >>> > https://localhost:8443/hello1 >>> > >>> > in case the index.jsp is there so that you would be directed to the >>> > correct >>> > url. >>> > >>> > Amine. >>> > >>> >> >>> > >>> > 2007/1/16, Fan <[EMAIL PROTECTED]>: >>> >> >>> >> >>> >> I have no problem of this >>> >> >>> >> https://localhost:8443/accounting/control/login >>> >> >>> >> but I encountered the following problem with this >>> >> >>> >> https://localhost:8443/hello1/control >>> >> >>> >> HTTP Status 404 - /hello1/control >>> >> >>> >> type Status report >>> >> >>> >> message /hello1/control >>> >> >>> >> description The requested resource (/hello1/control) is not >>> available. >>> >> >>> >> here is the excerpt from the log file >>> >> >>> >> >>> >> 2007-01-16 23:29:16,109 (main) [ ConfigXMLReader.java:277:INFO ] >>> >> RequestMap Created: (89) records in 0.0s >>> >> 2007-01-16 23:29:16,109 (main) [ ConfigXMLReader.java:371:INFO ] >>> >> ViewMap >>> >> Created: (43) records in 0.0s >>> >> 2007-01-16 23:29:16,640 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name [webSiteId] >>> and >>> >> value [CONTENT_SITE] >>> >> 2007-01-16 23:29:16,640 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [entityDelegatorName] and value [default] >>> >> 2007-01-16 23:29:16,640 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [localDispatcherName] and value [content] >>> >> 2007-01-16 23:29:16,640 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [mainDecoratorLocation] and value >>> >> [component://content/widget/CommonScreens.xml] >>> >> 2007-01-16 23:29:16,640 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [serviceReaderUrls] >>> >> and value [/WEB-INF/services.xml] >>> >> 2007-01-16 23:29:16,656 (main) [ ContextFilter.java:308:INFO ] >>> >> [ContextFilter.init] Getting Entity Engine Delegator with delegator >>> name >>> >> default >>> >> 2007-01-16 23:29:16,656 (main) [ ServiceDispatcher.java:164:INFO ] >>> >> Registered dispatcher: content >>> >> 2007-01-16 23:29:16,656 (main) [ GenericDispatcher.java:72 :INFO ] >>> >> [LocalDispatcher] : Created Dispatcher for: content >>> >> 2007-01-16 23:29:16,656 (main) [ ControlServlet.java:61 :INFO ] >>> >> [ControlServlet.init] Loading Control Servlet mounted on path >>> >> D:\source\ofbiz\applications\content\webapp\content\ >>> >> 2007-01-16 23:29:16,656 (main) [ RequestHandler.java:77 :INFO ] >>> >> [RequestHandler Loading...] >>> >> 2007-01-16 23:29:16,703 (main) [ UtilXml.java:252:DEBUG] >>> XML >>> >> Read >>> >> 0.032s: jndi:/0.0.0.0/content/WEB-INF/controller.xml >>> >> 2007-01-16 23:29:16,703 (main) [ ConfigXMLReader.java:544:INFO ] >>> >> ConfigMap Created: (4) records in 0.0s >>> >> 2007-01-16 23:29:16,703 (main) [ ConfigXMLReader.java:664:INFO ] >>> >> HandlerMap Created: (3) view handlers and (6) request/event handlers >>> in >>> >> 0.0s >>> >> 2007-01-16 23:29:16,718 (main) [ ConfigXMLReader.java:277:INFO ] >>> >> RequestMap Created: (310) records in 0.015s >>> >> 2007-01-16 23:29:16,718 (main) [ ConfigXMLReader.java:371:INFO ] >>> >> ViewMap >>> >> Created: (123) records in 0.0s >>> >> 2007-01-16 23:29:17,046 (main) [ StandardContext.java:3714:ERROR] >>> >> Error >>> >> configuring application listener of class >>> >> org.ofbiz.securityext.login.LoginEventListener >>> >> java.lang.ClassNotFoundException: >>> >> org.ofbiz.securityext.login.LoginEventListener >>> >> at >>> >> org.apache.catalina.loader.WebappClassLoader.loadClass( >>> >> WebappClassLoader.java:1355) >>> >> at >>> >> org.apache.catalina.loader.WebappClassLoader.loadClass( >>> >> WebappClassLoader.java:1201) >>> >> at >>> >> org.apache.catalina.core.StandardContext.listenerStart( >>> >> StandardContext.java:3711) >>> >> at >>> >> org.apache.catalina.core.StandardContext.start(StandardContext.java >>> :4211) >>> >> at >>> >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java >>> >> :1013) >>> >> at org.apache.catalina.core.StandardHost.start( >>> StandardHost.java >>> >> :718) >>> >> at >>> >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java >>> >> :1013) >>> >> at org.apache.catalina.core.StandardEngine.start( >>> >> StandardEngine.java:442) >>> >> at org.apache.catalina.startup.Embedded.start(Embedded.java >>> :821) >>> >> at >>> >> org.ofbiz.catalina.container.CatalinaContainer.start( >>> >> CatalinaContainer.java:213) >>> >> at org.ofbiz.base.container.ContainerLoader.start( >>> >> ContainerLoader.java:77) >>> >> at >>> org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) >>> >> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>> >> at org.ofbiz.base.start.Start.start(Start.java:315) >>> >> at org.ofbiz.base.start.Start.main(Start.java:401) >>> >> 2007-01-16 23:29:17,046 (main) [ StandardContext.java:3721:ERROR] >>> >> Skipped >>> >> installing application listeners due to previous error(s) >>> >> 2007-01-16 23:29:17,046 (main) [ StandardContext.java:4212:ERROR] >>> >> Error >>> >> listenerStart >>> >> 2007-01-16 23:29:17,046 (main) [ StandardContext.java:4239:ERROR] >>> >> Context >>> >> [/hello1] startup failed due to previous errors >>> >> 2007-01-16 23:29:17,343 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [entityDelegatorName] and value [default] >>> >> 2007-01-16 23:29:17,343 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [localDispatcherName] and value [hhfacility] >>> >> 2007-01-16 23:29:17,343 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [serviceReaderUrls] >>> >> and value [/WEB-INF/services.xml] >>> >> 2007-01-16 23:29:17,343 (main) [ ContextFilter.java:308:INFO ] >>> >> [ContextFilter.init] Getting Entity Engine Delegator with delegator >>> name >>> >> default >>> >> 2007-01-16 23:29:17,343 (main) [ ServiceDispatcher.java:164:INFO ] >>> >> Registered dispatcher: hhfacility >>> >> 2007-01-16 23:29:17,343 (main) [ GenericDispatcher.java:72 :INFO ] >>> >> [LocalDispatcher] : Created Dispatcher for: hhfacility >>> >> 2007-01-16 23:29:17,343 (main) [ ControlServlet.java:61 :INFO ] >>> >> [ControlServlet.init] Loading Control Servlet mounted on path >>> >> D:\source\ofbiz\specialpurpose\hhfacility\webapp\hhfacility\ >>> >> 2007-01-16 23:29:17,343 (main) [ RequestHandler.java:77 :INFO ] >>> >> [RequestHandler Loading...] >>> >> 2007-01-16 23:29:17,359 (main) [ UtilXml.java:252:DEBUG] >>> XML >>> >> Read >>> >> 0.016s: jndi:/0.0.0.0/hhfacility/WEB-INF/controller.xml >>> >> 2007-01-16 23:29:17,359 (main) [ ConfigXMLReader.java:544:INFO ] >>> >> ConfigMap Created: (4) records in 0.0s >>> >> 2007-01-16 23:29:17,359 (main) [ ConfigXMLReader.java:664:INFO ] >>> >> HandlerMap Created: (4) view handlers and (6) request/event handlers >>> in >>> >> 0.0s >>> >> 2007-01-16 23:29:17,359 (main) [ ConfigXMLReader.java:277:INFO ] >>> >> RequestMap Created: (20) records in 0.0s >>> >> 2007-01-16 23:29:17,359 (main) [ ConfigXMLReader.java:371:INFO ] >>> >> ViewMap >>> >> Created: (15) records in 0.0s >>> >> 2007-01-16 23:29:18,109 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [entityDelegatorName] and value [default] >>> >> 2007-01-16 23:29:18,109 (main) [ ContextFilter.java:343:INFO ] >>> >> Adding >>> >> web.xml context-param to application attribute with name >>> >> [localDispatcherName] and value [manufacturing] >>> >> >>> >> >>> >> >>> >> >>> >> jacques.le.roux wrote: >>> >> > >>> >> > Sorry for typo, was "log excerpt" of course >>> >> > >>> >> > Jacques >>> >> > >>> >> > ----- Original Message ----- >>> >> > From: "Jacques Le Roux" <[EMAIL PROTECTED]> >>> >> > To: <[email protected]> >>> >> > Sent: Monday, January 15, 2007 6:40 PM >>> >> > Subject: Re: Hello1 >>> >> > >>> >> > >>> >> >> Fan, >>> >> >> >>> >> >> If you really want some help you will have to give us more info. >>> Lop >>> >> >> excerpt near the problem is the best >>> >> >> >>> >> >> Jacques >>> >> >> >>> >> >> ----- Original Message ----- >>> >> >> From: "Fan" <[EMAIL PROTECTED]> >>> >> >> To: <[email protected]> >>> >> >> Sent: Monday, January 15, 2007 4:49 PM >>> >> >> Subject: Hello1 >>> >> >> >>> >> >> >>> >> >> > >>> >> >> > I tried out the hello1 tutorial from >>> >> >> > http://www.opensourcestrategies.com/ofbiz/hello_world1.php. But >>> it >>> >> did >>> >> >> not >>> >> >> > work. >>> >> >> > >>> >> >> > I got the following error in my browser: >>> >> >> > >>> >> >> > HTTP Status 404 - /hello1/ >>> >> >> > >>> >> >> > type Status report >>> >> >> > >>> >> >> > message /hello1/ >>> >> >> > >>> >> >> > description The requested resource (/hello1/) is not available. >>> >> >> > >>> >> >> > what's really wrong ? >>> >> >> > -- >>> >> >> > View this message in context: >>> >> >> http://www.nabble.com/Hello1-tf3015375.html#a8373704 >>> >> >> > Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> > >>> >> > >>> >> >>> >> -- >>> >> View this message in context: >>> >> http://www.nabble.com/Hello1-tf3015375.html#a8392215 >>> >> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> >>> >> >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Hello1-tf3015375.html#a8412646 >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Hello1-tf3015375.html#a8651784 Sent from the OFBiz - User mailing list archive at Nabble.com.
