Adrian, That was the issue. I was using the release version instead of the Trunk. The application now works as expected. This also allowed me to get familiar with svn and get it working on my box. I should have read the instructions more carefully. =(
Hopefully others can learn from my mistake. Thank you! -CJ On Wed, Sep 17, 2008 at 12:40 PM, Adrian Crum <[EMAIL PROTECTED]> wrote: > You need the *trunk* - not the release. > > -Adrian > > CJay Horton wrote: >> >> Adrian, >> >> If I download the current release.zip and unzip it, it should put that >> file in there correct? >> >> I am not sure how it would not be there. >> >> -CJ >> >> On Wed, Sep 17, 2008 at 11:57 AM, Adrian Crum <[EMAIL PROTECTED]> wrote: >>> >>> Then something went wrong somewhere. The folder structure you described >>> is >>> from Release 4. The common-controller.xml file was introduced well after >>> the >>> Release 4 branch. >>> >>> -Adrian >>> >>> CJay Horton wrote: >>>> >>>> Adrian, >>>> >>>> You are correct that the file isn't there. In fact, the WEB-INF >>>> directory isn't there. The only two things inside the >>>> /common/webcommon directory are an includes directory and a login.ftl >>>> file. As far as I know I haven't mixed release 4 and trunk versions. >>>> I simply downloaded the version stated, unzipped, and ran it. >>>> >>>> -CJ >>>> >>>> On Wed, Sep 17, 2008 at 11:28 AM, Adrian Crum <[EMAIL PROTECTED]> >>>> wrote: >>>>> >>>>> The log is telling you that the >>>>> component://common/webcommon/WEB-INF/common-controller.xml file doesn't >>>>> exist. Check your folders. >>>>> >>>>> I might be wrong, but it looks like you're trying to mix release 4 and >>>>> trunk >>>>> code. That will cause a multitude of problems. >>>>> >>>>> -Adrian >>>>> >>>>> CJay Horton wrote: >>>>>> >>>>>> Thanks for responding everyone! >>>>>> >>>>>> I am using release version 695779. >>>>>> >>>>>> Here is the error I get regarding the common-controller.xml file: >>>>>> >>>>>> 2008-09-17 11:02:01,319 (main) [ RequestHandler.java:75 :INFO ] >>>>>> [RequestHandler Loading...] >>>>>> 2008-09-17 11:02:01,333 (main) [ UtilXml.java:243:DEBUG] >>>>>> XML Read 0.013s: jndi:/0.0.0.0/practice/WEB-INF/controller.xml >>>>>> 2008-09-17 11:02:01,334 (main) [ComponentLocationResolver.java:43 >>>>>> :WARN ] Unable to get file URL for component location; expanded >>>>>> location was >>>>>> >>>>>> >>>>>> [/home/cjhorton/ofbiz/ofbiz-release4.0/framework/common/webcommon/WEB-INF/common-controller.xml], >>>>>> original location was >>>>>> [component://common/webcommon/WEB-INF/common-controller.xml] >>>>>> 2008-09-17 11:02:01,334 (main) [ UtilXml.java:176:WARN ] >>>>>> [UtilXml.readXmlDocument] URL was null, doing nothing >>>>>> 2008-09-17 11:02:01,338 (main) [ ConfigXMLReader.java:151:ERROR] >>>>>> ---- runtime exception report >>>>>> -------------------------------------------------- >>>>>> Exception: java.lang.NullPointerException >>>>>> Message: null >>>>>> >>>>>> Here is the error I get when trying to view the web page for practice: >>>>>> >>>>>> 008-09-17 11:02:24,435 (http-0.0.0.0-8080-Processor4) [ >>>>>> ControlServlet.java:206:ERROR] An error occurred, going to the >>>>>> errorPage: /error/error.jsp >>>>>> 2008-09-17 11:02:24,450 (http-0.0.0.0-8080-Processor4) [ >>>>>> ControlServlet.java:213:ERROR] Including errorPage: /error/error.jsp >>>>>> 2008-09-17 11:02:25,825 (http-0.0.0.0-8080-Processor4) [ >>>>>> ControlServlet.java:256:DEBUG] [[[main] Done rendering page, Servlet >>>>>> Finished- total:1.982,since last([main] Setup done...):1.982]] >>>>>> >>>>>> >>>>>> Please let me know if I need to provide any more information. >>>>>> >>>>>> Thanks! >>>>>> >>>>>> On Tue, Sep 16, 2008 at 11:38 PM, Ravindra Mandre >>>>>> <[EMAIL PROTECTED]> wrote: >>>>>>> >>>>>>> Hi CJay, >>>>>>> Please provide the console log for the error message instead of >>>>>>> putting >>>>>>> all >>>>>>> the code in mail and please tell us ofbiz version that you are using. >>>>>>> and >>>>>>> please made a cross check of your code step by step as guided in >>>>>>> Practice >>>>>>> tutorial. >>>>>>> >>>>>>> -- >>>>>>> Thanks & Regards, >>>>>>> >>>>>>> Ravindra Mandre >>>>>>> HotWax Media, Inc. >>>>>>> http://www.hotwaxmedia.com >>>>>>> [EMAIL PROTECTED] >>>>>>> ------------------------------------------- >>>>>>> Mobile : +91 - 9300023686 >>>>>>> >>>>>>> >> >
