Tutorial source:
https://cwiki.apache.org/OFBIZ/ofbiz-tutorial-a-beginners-development-guide.html
Console output:
2011-02-14 19:46:23,549 (main) [ ContextConfig.java:374:ERROR]
Parse error in application web.xml file at
jndi:/0.0.0.0/practice/WEB-INF/web.xml
org.xml.sax.SAXParseException: The markup in the document following the
root element must be well-formed.
"This is the only output in the console log I could see that was
relevant to my issue"
*ofbiz-component.xml output:
<?xml version="1.0" encoding="UTF-8"?>
<ofbiz-component name="practice"
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"/>
<webapp name="practice"
title="Practice"
server="default-server"
base-permission="OFBTOOLS"
location="webapp/practice"
mount-point="/practice"
app-bar-display="false"/>
</ofbiz-component>
*web.xml output:
<context-param>
<param-name>webSiteId</param-name>
<param-value>PRACTICE</param-value>
<description>A unique ID used to look up the WebSite entity to get
information about catalogs, etc.</descr$
</context-param>
<context-param>
<param-name>localDispatcherName</param-name>
<param-value>practice</param-value>
<description>A unique name used to identify/recognize the local
dispatcher for the Service Engine</descri$
</context-param>
<context-param>
<param-name>mainDecoratorLocation</param-name>
<param-value>component://practice/widget/CommonScreens.xml</param-value>
<description>The location of the main-decorator screen to use for this
webapp; referred to as a context v$
</context-param>
*Controller.xml output:
<?xml version="1.0" encoding="UTF-8"?>
<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd">
<include
location="component://common/webcommon/WEB-INF/common-controller.xml"/>
<description>Practice Component Site Configuration File</description>
<owner>Copyright 2001-2009 The Apache Software Foundation</owner>
<handler name="screen" type="view"
class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
<!-- Request Mappings -->
<request-map uri="main">
<security https="false" auth="false"/>
<response name="success" type="view" value="main"/>
</request-map>
<!-- end of request mappings -->
<!-- View Mappings -->
<view-map name="main" type="screen"
page="component://practice/widget/PracticeScreens.xml#main"/>
<!-- end of view mappings -->
</site-conf>
"I have followed the tutorial to the best of my abilities several times
and can not get past a 404 error
which now is not even reporting a resource which is unavailable".
"If I have missed anything please let me know, I will post reply with
the info".
"Apologies in advance, I am still new to OFBiz and its complexities,
Thanks in advance also".
KGB