tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Hole <andremailingl...@gmail.com>
Subject Re: Tomcat and coldfusion
Date Wed, 14 Jan 2009 18:33:34 GMT
Sure. cfusion web.xml is the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="adobe_coldfusion">
    <display-name>Adobe ColdFusion 8</display-name>
    <description>Adobe ColdFusion 8</description>
    <context-param id="coldfusion_context_1">
        <param-name>cftags</param-name>
        <param-value>/WEB-INF/cftags</param-value>
        <description>Path to search for built-in tags. Relative to
application root.
            This parameter can only be one path element.</description>
    </context-param>
    <context-param id="coldfusion_context_2">
        <param-name>coldfusion.compiler.outputDir</param-name>
        <param-value>/WEB-INF/cfclasses</param-value>
        <description>This is the directory where we will place compiled
            pages. It must be relative to the webapp root.</description>
    </context-param>
    <context-param id="coldfusion_context_4">
        <param-name>cfx.registry.nativelibrary</param-name>
        <param-value>cfregistry</param-value>
        <description>Native library that implements CFX_REGISTRY.
            Used on Windows only.</description>
    </context-param>
    <context-param id="coldfusion_context_5">
        <param-name>cfx.report.nativelibrary</param-name>
        <param-value>cfreport</param-value>
        <description>Native library that implements CFX_REPORT.
            Used on Windows only.</description>
    </context-param>
    <context-param id="coldfusion_context_88">
        <param-name>cf.class.path</param-name>
        <param-value>

./WEB-INF/cfusion/lib/updates,./WEB-INF/cfusion/lib,./WEB-INF/cfusion/gateway/lib,./WEB-INF/flex/jars,./WEB-INF/cfform/jars</param-value>
    </context-param>
    <context-param id="coldfusion_context_89">
        <param-name>cf.lib.path</param-name>
        <param-value>./WEB-INF/cfusion/lib</param-value>
    </context-param>

    <!-- CF Monitoring Filter  -->
    <filter>
        <filter-name>CFMonitoringFilter</filter-name>
        <filter-class>coldfusion.bootstrap.BootstrapFilter</filter-class>
        <init-param>
            <param-name>filter.class</param-name>

<param-value>coldfusion.monitor.event.MonitoringServletFilter</param-value>
        </init-param>
    </filter>

    <!-- Cache Filter for cfform swfs -->
    <filter>
        <filter-name>CFCacheFilter</filter-name>
        <filter-class>coldfusion.bootstrap.BootstrapFilter</filter-class>
        <init-param>
            <param-name>filter.class</param-name>
            <param-value>flex.server.j2ee.cache.CacheFilter</param-value>
        </init-param>
    </filter>

    <!-- Request Control Filter for Flash Remoting servlets-->
    <filter>
        <filter-name>FlashRemotingControlFilter</filter-name>
        <filter-class>coldfusion.bootstrap.BootstrapFilter</filter-class>
        <init-param>
            <param-name>filter.class</param-name>

<param-value>coldfusion.filter.FlashRequestControlFilter</param-value>
        </init-param>
:$
    </servlet-mapping>
    <servlet-mapping id="coldfusion_mapping_12">
        <servlet-name>CFCServlet</servlet-name>
        <url-pattern>*.cfr</url-pattern>
    </servlet-mapping>
    <servlet-mapping id="coldfusion_mapping_13">
        <servlet-name>CFFormGateway</servlet-name>
        <url-pattern>/CFFormGateway/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping id="coldfusion_mapping_14">
        <servlet-name>CFFileServlet</servlet-name>
        <url-pattern>/CFFileServlet/*</url-pattern>
    </servlet-mapping>

    <!-- start flash form settings -->
    <servlet-mapping>
        <servlet-name>CFInternalServlet</servlet-name>
        <url-pattern>/cfform-internal/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>CFSwfServlet</servlet-name>
        <url-pattern>*.cfswf</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>CFForbiddenServlet</servlet-name>
        <url-pattern>*.as</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>CFForbiddenServlet</servlet-name>
        <url-pattern>*.sws</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>CFForbiddenServlet</servlet-name>
        <url-pattern>*.swc</url-pattern>
    </servlet-mapping>
    <!-- end flash form settings -->

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>

    <welcome-file-list id="WelcomeFileList_1034013110672">
        <welcome-file>index.cfm</welcome-file>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
    </welcome-file-list>

    <!-- start flex2
    <taglib>
        <taglib-uri>FlexTagLib</taglib-uri>

<taglib-location>/WEB-INF/lib/cf-bootstrap-for-flex.jar</taglib-location>
    </taglib>
    end flex2 -->

    <!-- for WebSphere deployment, please uncomment -->
    <!-- Start WebSphere deploy
    <resource-ref>
        <description>Flex Messaging WorkManager</description>
        <res-ref-name>wm/MessagingWorkManager</res-ref-name>
        <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-type>
        <res-auth>Container</res-auth>
        <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    End WebSphere deploy -->

</web-app>

On Wed, Jan 14, 2009 at 6:31 PM, Andrew Hole <andremailinglist@gmail.com>wrote:

> just to say one more thing:
> this only happens when cfusion war is deployed in tomcat. If i try to
> shutdown without cfusion.war deployed, everything works fine.
> I'm seeing the cfusion log and there are no errors in stopping cfusion
> engine.
>
> Thanks
>
>
> On Wed, Jan 14, 2009 at 6:15 PM, Andrew Hole <andremailinglist@gmail.com>wrote:
>
>> Hello guys!
>>
>> I deployed coldfusion on Tomcat and everything looks fine to me except
>> when I shutdown the service.
>> This deployment was made in Linux.
>>
>> Jan 14, 2009 5:29:43 PM org.apache.coyote.http11.Http11BaseProtocol pause
>> INFO: Pausing Coyote HTTP/1.1 on http-8189
>> Jan 14, 2009 5:29:44 PM org.apache.catalina.core.StandardService stop
>> INFO: Stopping service Catalina
>> 01/14 17:29:44 Information [main] - Stopping Event Gateways.
>> 01/14 17:29:49 Information [main] - ColdFusion stopped
>> Jan 14, 2009 5:29:49 PM org.apache.catalina.startup.ContextConfig stop
>> FINE: ContextConfig: Processing STOP
>> Jan 14, 2009 5:29:49 PM org.apache.catalina.startup.ContextConfig stop
>> FINE: ContextConfig: Processing STOP
>> Jan 14, 2009 5:29:49 PM org.apache.coyote.http11.Http11BaseProtocol
>> destroy
>> INFO: Stopping Coyote HTTP/1.1 on http-8189
>>
>> It looks that tomcat is stopped but the tomcat process still alive in the
>> server.
>> Do you have any suggestion about this issue? I'm very concerned about this
>> problem.
>>
>> Thanks a lot
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message