Hi Matt,
   Yes I'm deploying onto tomcat 6.
Thanks

mraible wrote:
> 
> Are you using Tomcat 6?
> 
> Matt
> 
> On Fri, May 9, 2008 at 9:32 AM, ycharron <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>   I'm trying to get the inputCalendar component working in appfuse 2.0.1
>> and I now need help.
>> Looking at the documentation from myfaces, I made sure that the
>> extensionFilter were set and they were.
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <web-app 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>appfuse</display-name>
>>    <distributable/>
>>
>>    <!-- precompiled jsp mappings -->
>>
>>    <!-- Define the default CSS Theme -->
>>    <context-param>
>>        <param-name>csstheme</param-name>
>>        <param-value>gouv</param-value>
>>    </context-param>
>>    <!-- Define the basename for a resource bundle for I18N -->
>>    <context-param>
>>
>> <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
>>        <param-value>ApplicationResources</param-value>
>>    </context-param>
>>
>>        <!-- Onload config -->
>>   <context-param>
>>            <param-name>onload-config</param-name>
>>                <param-value>/WEB-INF/onload-config.xml</param-value>
>>        </context-param>
>>
>>    <!-- Fallback locale if no bundles found for browser's preferred
>> locale
>> -->
>>    <!-- Force a single locale using param-name
>> 'javax.servlet.jsp.jstl.fmt.locale' -->
>>    <context-param>
>>        <param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name>
>>        <param-value>en</param-value>
>>    </context-param>
>>    <!-- Context Configuration locations for Spring XML files -->
>>    <context-param>
>>        <param-name>contextConfigLocation</param-name>
>>        <param-value>
>>            classpath:/applicationContext-resources.xml
>>            classpath:/applicationContext-dao.xml
>>            classpath:/applicationContext-service.xml
>>            classpath*:/applicationContext.xml
>>            /WEB-INF/applicationContext*.xml
>>            /WEB-INF/security.xml
>>        </param-value>
>>    </context-param>
>>    <context-param>
>>        <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
>>        <param-value>com.sun.facelets.FaceletViewHandler</param-value>
>>    </context-param>
>> <context-param>
>> <param-name>
>>        org.apache.myfaces.CHECK_EXTENSIONS_FILTER
>> </param-name>
>> <param-value>false</param-value>
>> </context-param>
>>
>>    <context-param>
>>        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>>        <param-value>client</param-value>
>>    </context-param>
>>        <context-param>
>>        <param-name>javax.faces.application.CONFIG_FILES</param-name>
>>        <param-value>/WEB-INF/faces-config.xml</param-value>
>> </context-param>
>>
>> <context-param>
>> <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
>> <param-value>true</param-value>
>> </context-param>
>> <context-param>
>> <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
>> <param-value>false</param-value>
>> </context-param>
>> <context-param>
>> <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
>> <param-value>true</param-value>
>> </context-param>
>> <context-param>
>> <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
>> <param-value>true</param-value>
>> </context-param>
>>
>>    <context-param>
>>        <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
>>        <param-value>.xhtml</param-value>
>>    </context-param>
>>    <context-param>
>>        <param-name>facelets.DEVELOPMENT</param-name>
>>        <param-value>true</param-value>
>>    </context-param>
>>    <context-param>
>>        <param-name>facelets.LIBRARIES</param-name>
>>        <param-value>
>>            /WEB-INF/taglibs/acegijsf.taglib.xml;
>>            /WEB-INF/taglibs/corejsf-validator.taglib.xml;
>>            /WEB-INF/taglibs/tomahawk.taglib.xml;
>>        </param-value>
>>    </context-param>
>>
>>    <filter>
>>        <filter-name>ajax4jsf</filter-name>
>>        <filter-class>org.ajax4jsf.Filter</filter-class>
>>    </filter>
>>    <filter>
>>        <filter-name>cacheFilter</filter-name>
>>
>> <filter-class>com.opensymphony.oscache.web.filter.CacheFilter</filter-class>
>>    </filter>
>>    <filter>
>>        <filter-name>encodingFilter</filter-name>
>>
>> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
>>        <init-param>
>>            <param-name>encoding</param-name>
>>            <param-value>UTF-8</param-value>
>>        </init-param>
>>        <init-param>
>>            <param-name>forceEncoding</param-name>
>>            <param-value>true</param-value>
>>        </init-param>
>>    </filter>
>>    <filter>
>>        <filter-name>extensionsFilter</filter-name>
>>
>> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
>>        <init-param>
>>            <param-name>maxFileSize</param-name>
>>            <param-value>2m</param-value>
>>        </init-param>
>>    </filter>
>>    <filter>
>>        <filter-name>gzipFilter</filter-name>
>>
>> <filter-class>net.sf.ehcache.constructs.web.filter.GzipFilter</filter-class>
>>    </filter>
>>    <filter>
>>        <filter-name>lazyLoadingFilter</filter-name>
>>
>> <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
>>    </filter>
>>    <!-- Use
>> "org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter" if
>> you're using JPA -->
>>    <filter>
>>        <filter-name>localeFilter</filter-name>
>>
>> <filter-class>pwgsc.amitos.itscorp.admisp.webapp.filter.LocaleFilter</filter-class>
>>    </filter>
>>    <filter>
>>        <filter-name>messageFilter</filter-name>
>>
>> <filter-class>pwgsc.amitos.itscorp.admisp.webapp.filter.MessageFilter</filter-class>
>>    </filter>
>>    <filter>
>>        <filter-name>rewriteFilter</filter-name>
>>
>> <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
>>        <init-param>
>>            <param-name>logLevel</param-name>
>>            <param-value>log4j</param-value>
>>        </init-param>
>>    </filter>
>>    <filter>
>>        <filter-name>securityFilter</filter-name>
>>
>> <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
>>        <init-param>
>>            <param-name>targetClass</param-name>
>>
>> <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
>>        </init-param>
>>    </filter>
>>    <filter>
>>        <filter-name>sitemesh</filter-name>
>>
>> <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
>>    </filter>
>>
>>    <filter-mapping>
>>        <filter-name>encodingFilter</filter-name>
>>        <url-pattern>/*</url-pattern>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>securityFilter</filter-name>
>>        <url-pattern>/*</url-pattern>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>extensionsFilter</filter-name>
>>        <servlet-name>faces</servlet-name>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>extensionsFilter</filter-name>
>>        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>ajax4jsf</filter-name>
>>        <servlet-name>faces</servlet-name>
>>        <dispatcher>REQUEST</dispatcher>
>>        <dispatcher>FORWARD</dispatcher>
>>        <dispatcher>INCLUDE</dispatcher>
>>    </filter-mapping>
>>    <!-- Commented out for 2 reasons: 1) it's a pain when developing JSPs,
>> and
>>                                      2) it causes the Signup webtest to
>> fail -->
>>    <!--filter-mapping>
>>        <filter-name>cacheFilter</filter-name>
>>        <url-pattern>*.jsp</url-pattern>
>>    </filter-mapping-->
>>    <filter-mapping>
>>        <filter-name>lazyLoadingFilter</filter-name>
>>        <url-pattern>/*</url-pattern>
>>        <dispatcher>REQUEST</dispatcher>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>localeFilter</filter-name>
>>        <url-pattern>/*</url-pattern>
>>    </filter-mapping>
>>    <!-- GZipFilter has issues with XFire's service-listing servlet. -->
>>    <!-- http://issues.appfuse.org/browse/APF-863 -->
>>    <filter-mapping>
>>        <filter-name>gzipFilter</filter-name>
>>        <url-pattern>*.css</url-pattern>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>gzipFilter</filter-name>
>>        <url-pattern>*.html</url-pattern>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>gzipFilter</filter-name>
>>        <url-pattern>*.js</url-pattern>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>gzipFilter</filter-name>
>>        <url-pattern>*.jsp</url-pattern>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>rewriteFilter</filter-name>
>>        <url-pattern>/*</url-pattern>
>>        <dispatcher>REQUEST</dispatcher>
>>        <dispatcher>FORWARD</dispatcher>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>sitemesh</filter-name>
>>        <url-pattern>/*</url-pattern>
>>        <dispatcher>REQUEST</dispatcher>
>>        <dispatcher>FORWARD</dispatcher>
>>    </filter-mapping>
>>    <filter-mapping>
>>        <filter-name>messageFilter</filter-name>
>>        <url-pattern>*.html</url-pattern>
>>        <dispatcher>REQUEST</dispatcher>
>>        <dispatcher>FORWARD</dispatcher>
>>    </filter-mapping>
>>
>>    <listener>
>>
>> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
>>    </listener>
>>    <listener>
>>
>> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>>    </listener>
>>    <listener>
>>
>> <listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class>
>>    </listener>
>>    <listener>
>>
>> <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
>>    </listener>
>>    <listener>
>>
>> <listener-class>pwgsc.amitos.itscorp.admisp.webapp.listener.StartupListener</listener-class>
>>    </listener>
>>    <listener>
>>
>> <listener-class>pwgsc.amitos.itscorp.admisp.webapp.listener.UserCounterListener</listener-class>
>>    </listener>
>>    <listener>
>>
>> <listener-class>net.sf.navigator.menu.MenuContextListener</listener-class>
>>    </listener>
>>
>>
>>    <servlet>
>>        <servlet-name>faces</servlet-name>
>>        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>>        <load-on-startup>2</load-on-startup>
>>    </servlet>
>>
>>    <servlet-mapping>
>>        <servlet-name>faces</servlet-name>
>>        <url-pattern>*.html</url-pattern>
>>    </servlet-mapping>
>>
>>    <session-config>
>>        <session-timeout>30</session-timeout>
>>    </session-config>
>>
>>    <security-constraint>
>>        <web-resource-collection>
>>            <web-resource-name>Protect XHTML Templates</web-resource-name>
>>            <url-pattern>*.xhtml</url-pattern>
>>        </web-resource-collection>
>>        <auth-constraint/>
>>   </security-constraint>
>>
>>    <welcome-file-list>
>>        <welcome-file>index.jsp</welcome-file>
>>    </welcome-file-list>
>>
>>    <error-page>
>>        <error-code>500</error-code>
>>        <location>/error.jsp</location>
>>    </error-page>
>>    <error-page>
>>        <error-code>400</error-code>
>>        <location>/index.jsp</location>
>>    </error-page>
>>    <error-page>
>>        <error-code>403</error-code>
>>        <location>/pages/403.jsp</location>
>>    </error-page>
>>    <error-page>
>>        <error-code>404</error-code>
>>        <location>/pages/404.jsp</location>
>>    </error-page>
>> </web-app>
>>
>> <t:inputCalendar id="dateFrom"
>> value="#{publicationForm.publicationModel.founded}" helpText="mm-dd-yyyy"
>> renderAsPopup="true" renderPopupButtonAsImage="true">
>>        <f:convertDateTime type="date" pattern="MM-dd-yyyy"/>
>> </t:inputCalendar>
>>
>> I that point I was still getting the PopupCalendar() not defined error.
>> Strange cause I try to access the calendar resources directly by typing
>> the
>> url and it worked not problem. So I extracted the java scripts from the
>> jar
>> and made a reference directly in my page and it somewhat started to work
>> in
>> firefox but in IE it crashes with the following exception:
>>
>> ERROR [http-8080-1] DefaultAddResource.serveResource(630) | Error while
>> serving resource: calendar.HtmlCalendarRenderer/DB/divider.gif, message :
>> null
>> ClientAbortException:  java.net.SocketException: Connection reset by
>> peer:
>> socket write error
>>        at
>> org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:319)
>>        at
>> org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
>>        at
>> org.apache.catalina.connector.Response.flushBuffer(Response.java:542)
>>        at
>> org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279)
>>        at
>> javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:166)
>>        at
>> org.apache.myfaces.renderkit.html.util.DefaultAddResource.serveResource(DefaultAddResource.java:608)
>>        at
>> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:128)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>        at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
>>        at
>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
>>        at
>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
>>        at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>        at
>> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
>>        at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>        at
>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>>        at
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
>>
>> myfaces-api-1.2.0.jar
>> myfaces-impl-1.2.0.jar
>> tomahawk-1.1.6.jar
>>
>> Does someone has any more ideas?
>>
>> Thanks ,
>> Yves
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Tomahawk-inputCalendar-Appfuse-2.01-problem-tp17150584s2369p17150584.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomahawk-inputCalendar-Appfuse-2.01-problem-tp17150584s2369p17534981.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to