I was able to finally overcome every exception that appeared on
application startup, but now I'm getting this while trying to launch
I'm working with Geronimo 1.1 using RSA v7.0 as dev environment.
HTTP Status 404 - /p/h/c/ui/site.homePage.page
type Status report
message /p/h/c/ui/site.homePage.page
description The requested resource (/p/h/c/ui/site.homePage.page)
is not available.
Apache Tomcat/5.5.15-150
When I hit url http://localhost:8080/p/h/c/ui/launch.wss, I get
previous error. This is what I have in my web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp" version="2.4" xmlns="http://java.sun.com/xml/
ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://
java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>MyApp</display-name>
<context-param>
<param-name>p.h.c.ui.datapath</param-name>
<param-value>/MyApp/v3/Data</param-value>
</context-param>
<context-param>
<param-name>p.h.c.ui.webcontentpath</param-name>
<param-value>/MyApp/v3/UI/WebContent/</param-value>
</context-param>
<context-param>
<param-name>p.h.c.ui.appcontentpath</param-name>
<param-value>/MyApp/v3/AppContent</param-value>
</context-param>
<filter>
<filter-name>configuratorSessionSynchronizer</filter-name>
<filter-class>p.h.c.ui.filter.SynchronizeSelecticaSession</
filter-class>
</filter>
<filter-mapping>
<filter-name>configuratorSessionSynchronizer</filter-name>
<servlet-name>action</servlet-name>
</filter-mapping>
<listener>
<listener-
class>p.h.c.ui.filter.SynchronizeSelecticaSession</listener-class>
</listener>
<servlet>
<display-name>
CustomActionServlet</display-name>
<servlet-name>action</servlet-name>
<servlet-class>
p.h.c.ui.controller.servlet.CustomActionServlet</servlet-
class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>uiMapping</param-name>
<param-value>ui/mapping/config/config-ui-mapping.xml</
param-value>
</init-param>
<init-param>
<param-name>appConfig</param-name>
<param-value>ui/config/UI.properties</param-value>
</init-param>
<init-param>
<param-name>messageRefresh</param-name>
<param-value>common/RefreshMessageTag.properties</param-
value>
</init-param>
<init-param>
<param-name>errorMessagesMappings</param-name>
<param-value>ui/mapping/errormsg/errormessages-
mappings.xml</param-value>
</init-param>
<init-param>
<param-name>bhNiAvailableLocales</param-name>
<param-value>ui/nonintegrated/availableLocales.xml</
param-value>
</init-param>
<init-param>
<param-name>actionServiceDef</param-name>
<param-value>ui/actionservice/actionservice-def.xml</
param-value>
</init-param>
<init-param>
<param-name>actionServiceOperations</param-name>
<param-value>ui/actionservice/actionservice-
operations.xml</param-value>
</init-param>
<init-param>
<param-name>log4jInitFile</param-name>
<param-value>common/logging/log4j.xml</param-value>
</init-param>
<init-param>
<param-name>org.apache.commons.logging.LogFactory</
param-name>
<param-
value>org.apache.commons.logging.impl.Log4jFactory</param-value>
</init-param>
<init-param>
<param-name>org.apache.commons.logging.Log</param-name>
<param-
value>org.apache.commons.logging.impl.Log4jLogger</param-value>
</init-param>
<init-param>
<param-name>prodRelationship</param-name>
<param-value>common/productrelationship/
productrelationship.xml</param-value>
</init-param>
<init-param>
<param-name>seoAttrMapping</param-name>
<param-value>common/productrelationship/SEOMapping.xml</
param-value>
</init-param>
<init-param>
<param-name>seoAddtlFCMapping</param-name>
<param-value>common/productrelationship/
SEOAddtlFCMapping.xml</param-value>
</init-param>
<init-param>
<description>
It enables the dtd of struts-config.xml file during
BlueHorizon initizalization</description>
<param-name>validating</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>translatorProperties</param-name>
<param-value>/common/SEOTranslator.properties</param-
value>
</init-param>
<init-param>
<param-name>progressIndicatorSteps</param-name>
<param-value>ui/progressindicator/transaction-state-
progress-indicator.xml</param-value>
</init-param>
<init-param>
<param-name>physicalPlanningReport</param-name>
<param-value>ui/ppr/pprAttributes.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>velocity</servlet-name>
<servlet-class>
p.h.c.ui.view.velocity.tools.servlet.VelocityJSPServlet</
servlet-class>
<init-param>
<param-name>org.apache.velocity.properties</param-name>
<param-value>/ui/velocity/velocity.properties</param-
value>
</init-param>
<init-param>
<param-name>org.apache.velocity.template.properties</
param-name>
<param-value>/ui/velocity/config/template.properties</
param-value>
</init-param>
<init-param>
<param-name>bhConfig</param-name>
<param-value>/ui/velocity/velocity-config.xml</param-
value>
</init-param>
<load-on-startup>10</load-on-startup>
</servlet>
<servlet>
<display-name>
json</display-name>
<servlet-name>json</servlet-name>
<servlet-class>
p.h.c.ui.view.json.JSONBHServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.wss</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>velocity</servlet-name>
<url-pattern>/velocity.wss</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>json</servlet-name>
<url-pattern>/json.wss/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<jsp-config>
<taglib>
<taglib-uri>struts-bean</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-
location>
</taglib>
<taglib>
<taglib-uri>struts-html</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-html.tld</taglib-
location>
</taglib>
<taglib>
<taglib-uri>struts-logic</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-
location>
</taglib>
<taglib>
<taglib-uri>bluehorizon</taglib-uri>
<taglib-location>/WEB-INF/tld/bluehorizon.tld</taglib-
location>
</taglib>
<taglib>
<taglib-uri>struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-tiles.tld</taglib-
location>
</taglib>
</jsp-config>
<resource-ref id="ResourceRef_1174926661701">
<res-ref-name>jdbc/parts</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</web-app>
The WAR is deployed within an EAR and here's the geronimo-
application.xml
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/
application-1.1" xmlns:_1="http://geronimo.apache.org/xml/ns/j2ee/
web-1.1" xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1"
xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"
application-name="BlueHorizonR2">
<sys:environment>
<sys:moduleId>
<sys:groupId>default</sys:groupId>
<sys:artifactId>MyAppEAR</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>car</sys:type>
</sys:moduleId>
<sys:dependencies/>
<sys:inverse-classloading/>
</sys:environment>
<module>
<connector>tranql-connector-derby-embed-xa-1.1.rar</connector>
<alt-dd>PartsPoolXA.xml</alt-dd>
</module>
<module>
<web>MyApp.war</web>
<_1:web-app>
<sys:environment>
<sys:moduleId>
<sys:groupId>default</sys:groupId>
<sys:artifactId>MyApp</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>war</sys:type>
</sys:moduleId>
<sys:dependencies>
<sys:dependency>
<sys:groupId>console.dbpool</sys:groupId>
<sys:artifactId>PartsPoolXA</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>rar</sys:type>
</sys:dependency>
</sys:dependencies>
<sys:inverse-classloading/>
</sys:environment>
<_1:context-root>/p/h/c/ui/</_1:context-root>
<nam:resource-ref>
<nam:ref-name>jdbc/parts</nam:ref-name>
<nam:resource-link>PartsPoolXA</nam:resource-link>
</nam:resource-ref>
</_1:web-app>
</module>
<module>
<web>SLTCManager.war</web>
<_1:web-app>
<sys:environment>
<sys:moduleId>
<sys:groupId>default</sys:groupId>
<sys:artifactId>SLTCManager</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>war</sys:type>
</sys:moduleId>
<sys:dependencies/>
<sys:inverse-classloading/>
</sys:environment>
</_1:web-app>
</module>
</application>
It is to note that the context-param definitions point to my
Eclipse workspace directories, how should I set those to point the
resources deployed on the server??
Can anyone tell me what I need to change, I'm pretty sure this is
some path configuration issue.
Thanks in advance
Luciano