hostinit problems - ccm_webxml not defined
[email protected] Fri, 4 Jun 2004 13:45:33 +0100
| Newsgroups | gmane.linux.redhat.ccm.general |
|---|---|
| Message-ID | <9D9DF263C303D411B419009027F65CC20206FFDE@SDC-MAIL> |
Hi
I'm installing on win 2k with a postgresql db on Linux
All is ok but trying to do the final hostinit with the .classpath & .webapp
file is giving me the following errors, any ideas???
for info this is the last bit of my host init line:
--classpath C:\ccm\etc\ccm\ccm.classpath --destination
C:\ccm\usr\share\ccm\webapps --webapps C:\ccm\etc\ccm\ccm.webapps
1) CCM_WEBXML: <not defined>
I've searched for this and there is no documentation as to what to set this
to, so asa test I've linked it to
C:\ccm\usr\share\java\webapps\ccm-core-6.1.0\ROOT\WEB-INF\web.xml which may
be completely wrong.
this web xml file is lower on the page:
2) once this has been set it goes further but gives me:
CCM_WEBXML:
C:\ccm\usr\share\java\webapps\ccm-core-6.1.0\ROOT\WEB-INF\web.xml
destination: C:\ccm\usr\share\ccm\webapps\ROOT\WEB-INF\web.xml
Undefined subroutine &CCM::Util::Error called at
C:\ccm\usr\share\ccm-tools\commands\\hostinit line 132.
================================
web.xml contents:
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
" http://java.sun.com/j2ee/dtds/web-app_2_3.dtd
<http://java.sun.com/j2ee/dtds/web-app_2_3.dtd> ">
<web-app>
<servlet>
<servlet-name>reg</servlet-name>
<servlet-class>com.arsdigita.web.ContextRegistrationServlet</servlet-class>
<init-param>
<param-name>uri</param-name>
<param-value>/</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>legacy-dispatcher</servlet-name>
<servlet-class>com.arsdigita.sitenode.SiteNodeDispatcher</servlet-class>
<load-on-startup>3</load-on-startup>
</servlet>
<servlet>
<servlet-name>ccm-dispatcher</servlet-name>
<servlet-class>com.arsdigita.web.DispatcherServlet</servlet-class>
<init-param>
<param-name>fallback-servlet</param-name>
<param-value>legacy-dispatcher</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>legacy-adapter</servlet-name>
<servlet-class>com.arsdigita.web.LegacyAdapterServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>cache-manager</servlet-name>
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>db-test</servlet-name>
<servlet-class>com.arsdigita.web.monitoring.DBTestServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>versioning-log</servlet-name>
<servlet-class>com.arsdigita.versioning.VersioningServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>oid-redirect</servlet-name>
<servlet-class>com.arsdigita.web.OIDRedirectServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>resource-resolver</servlet-name>
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
</servlet>
<!-- ADDITIONAL SERVLET DECLARATIONS -->
<servlet>
<servlet-name>content-section</servlet-name>
<servlet-class>com.arsdigita.cms.ContentSectionServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>content-type-xsl</servlet-name>
<servlet-class>com.arsdigita.cms.dispatcher.ContentTypeXSLServlet</servlet-c
lass>
</servlet>
<!-- /ADDITIONAL SERVLET DECLARATIONS -->
<servlet-mapping>
<servlet-name>reg</servlet-name>
<url-pattern>/__ccm__/null/reg/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ccm-dispatcher</servlet-name>
<url-pattern>/ccm/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>legacy-adapter</servlet-name>
<url-pattern>/__ccm__/servlet/legacy-adapter/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>cache-manager</servlet-name>
<url-pattern>/expireCache/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>db-test</servlet-name>
<url-pattern>/dbtest</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>versioning-log</servlet-name>
<url-pattern>/versioning/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>oid-redirect</servlet-name>
<url-pattern>/redirect/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resource-resolver</servlet-name>
<url-pattern>/resource/*</url-pattern>
</servlet-mapping>
<!-- ADDITIONAL SERVLET MAPPINGS -->
<servlet-mapping>
<servlet-name>content-section</servlet-name>
<url-pattern>/__ccm__/servlet/content-section/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET MAPPINGS -->
<error-page>
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-ty
pe>
<location>/error/access-denied.jsp</location>
</error-page>
<error-page>
<exception-type>com.arsdigita.dispatcher.ObjectNotFoundException</exception-
type>
<location>/error/object-not-found.jsp</location>
</error-page>
<error-page>
<exception-type>com.arsdigita.kernel.permissions.PermissionException</except
ion-type>
<location>/error/permission-denied.jsp</location>
</error-page>
<error-page>
<exception-type>com.arsdigita.persistence.DbNotAvailableException</exception
-type>
<location>/error/db-not-available.jsp</location>
</error-page>
<error-page>
<exception-type>com.arsdigita.db.DbNotAvailableException</exception-type>
<location>/error/db-not-available.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error/general.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Error</exception-type>
<location>/error/general.jsp</location>
</error-page>
</web-app>
Neil Thompson
Analyst/Programmer
Information Management Services
Shepway District Council, Civic Centre, Castle Hill Avenue, Folkestone,
Kent. CT20 2QY.
Direct Tel: 01303 852340
E-Mail: [email protected]
<mailto:[email protected]>
Website: www.shepway.gov.uk <http://www.shepway.gov.uk/>
_____
The contents and any attachments of this e-mail message are confidential and
intended only for the named addressees.
If you have received it in error, please advise the sender immediately by
return email and then delete it from your system.
Any unauthorised distribution, or copying of this transmission, or mis-use
or wrongful disclosure of information contained in it, is strictly
prohibited.
Shepway District Council cannot accept liability for any statements made
which are clearly the sender's own and not expressly made on behalf of the
council."
_____
---------------------------------------------------------
Scanning of this message and addition of this footer is performed by
SurfControl SuperScout Email Filter software in conjunction with
virus detection software.
---------------------------------------------------------
--
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/