myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Andersson" <mail.mi...@gmail.com>
Subject Re: rcfaces with myfaces
Date Fri, 19 Jan 2007 15:06:41 GMT
I go most of my configuration from the facelets kick-start app.

faces-config.xml :
<faces-config>


    <application>
         <view-handler>
              org.rcfaces.core.internal.facelets.FaceletViewHandler
        </view-handler>

        <variable-resolver>
            org.springframework.web.jsf.DelegatingVariableResolver
        </variable-resolver>
        <locale-config>
            <default-locale>en</default-locale>
        </locale-config>
    </application>
</faces-config>

web.xml (complete):
<web-app  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"
        version="2.4">

    <context-param>
        <param-name>facelets.REFRESH_PERIOD</param-name>
        <param-value>2</param-value>
    </context-param>
    <context-param>
        <param-name>facelets.LIBRARIES</param-name>
        <param-value>
            /WEB-INF/tomahawk.taglib.xml
        </param-value>
    </context-param>
    <context-param>
        <param-name>facelets.DEVELOPMENT</param-name>
        <param-value>true</param-value>
    </context-param>

    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
        <!--param-value>server</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>javax.faces.CONFIG_FILES</param-name>
        <!-- /WEB-INF/faces-config.xml loaded by default -->
        <param-value>
            /WEB-INF/faces-beans.xml,/WEB-INF/faces-nav.xml
        </param-value>
    </context-param>

    <!-- Listener necessary for MyFaces -->
    <listener>
        <listener-class>
org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>


    <!--  Spring related -->
    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/springxml/applicationContext.xml</param-value>
    </context-param>
    <listener>
        <listener-class>
org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

    <!-- Tomahawk stuff -->
    <filter>
        <filter-name>extensionsFilter</filter-name>
        <!-- Old: org.apache.myfaces.component.html.util.ExtensionsFilter-->
        <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
        <init-param>
            <description>Set the size limit for uploaded files.
                Format: 10 - 10 bytes
                        10k - 10 KB
                        10m - 10 MB
                        1g - 1 GB
            </description>
            <param-name>maxFileSize</param-name>
            <param-value>2m</param-value>
        </init-param>
        <init-param>
            <param-name>uploadThresholdSize</param-name>
               <param-value>100k</param-value>
           </init-param>
    </filter>

    <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>

    <!-- Faces Servlet -->
    <servlet>
        <servlet-name>faces</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <!-- Faces Servlet Mappings -->
    <servlet-mapping>
        <servlet-name>faces</servlet-name>
        <url-pattern>*.html</url-pattern>
    </servlet-mapping>

    <!--  RCFaces specific stuff -->

        <servlet>
        <servlet-name>Rcfaces Framework Contents</servlet-name>
        <servlet-class>
org.rcfaces.renderkit.html.internal.resource.ResourcesServlet
</servlet-class>
        <init-param>
            <param-name>org.rcfaces.renderkit.html.javascript.sets.CORE
</param-name>
            <param-value>
                basicComponent
            </param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>
            Rcfaces Application Contents
        </servlet-name>
        <servlet-class>
            org.rcfaces.core.internal.contentStorage.ContentStorageServlet
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>
            Rcfaces Application version
        </servlet-name>
        <servlet-class>
            org.rcfaces.core.internal.version.ApplicationVersionServlet
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>
            Rcfaces Client bundle
        </servlet-name>
        <servlet-class>

org.rcfaces.renderkit.html.internal.clientBundle.ClientResourceBundleServlet
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

        <servlet-mapping>
        <servlet-name>
            Rcfaces Framework Contents
        </servlet-name>
        <url-pattern>/rc-fwk/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>
            Rcfaces Application Contents
        </servlet-name>
        <url-pattern>/rc-content/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>
            Rcfaces Application version
        </servlet-name>
        <url-pattern>/rc-av/*</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>
            Rcfaces Client bundle
        </servlet-name>
        <url-pattern>/rc-cb/*</url-pattern>
    </servlet-mapping>

        <security-constraint>
        <display-name>Restrict XHTML Documents</display-name>
        <web-resource-collection>
          <web-resource-name>XHTML</web-resource-name>
          <url-pattern>*.xhtml</url-pattern>
        </web-resource-collection>

        <auth-constraint>
          <description>Only Let 'developer's access XHTML
pages</description>
          <role-name>developer</role-name>
        </auth-constraint>
    </security-constraint>

    <security-role>
        <role-name>guest</role-name>
        <role-name>developer</role-name>
    </security-role>

    <welcome-file-list>
        <welcome-file>index.jsf</welcome-file>
    </welcome-file-list>
</web-app>


On 19/01/07, Madhav Bhargava <unmarshall@gmail.com> wrote:
>
> Unfortunately no. What is the configuration that you have used?
>
> On 1/19/07, Mikael Andersson <mail.micke@gmail.com> wrote:
> >
> > Hi
> >
> > any success which getting rcfaces to work with myfaces yet?
> >
> > I've tried to create a simple webapp using myfaces (and facelets)
> > myself, but without success.
> >
> > My stack trace:
> >
> > SEVERE: Error Rendering View[/index.xhtml]
> > org.rcfaces.core.internal.renderkit.WriterException: RuntimeException
> >         at
> > org.rcfaces.core.internal.renderkit.AbstractCameliaRenderer.encodeEnd (
> > AbstractCameliaRenderer.java:138)
> >         at javax.faces.component.UIComponentBase.encodeEnd (
> > UIComponentBase.java:536)
> >         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(
> > ComponentSupport.java:242)
> >         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(
> > ComponentSupport.java:239)
> >         at com.sun.facelets.FaceletViewHandler.renderView(
> > FaceletViewHandler.java:580)
> >         at org.apache.myfaces.lifecycle.LifecycleImpl.render (
> > LifecycleImpl.java:384)
> >         at javax.faces.webapp.FacesServlet.service (FacesServlet.java
> > :138)
> >         at org.mortbay.jetty.servlet.ServletHolder.handle(
> > ServletHolder.java:445)
> >         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
> > ServletHandler.java:1049)
> >         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> > ExtensionsFilter.java:144)
> >         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> > (ServletHandler.java :1040)
> >         at org.mortbay.jetty.servlet.ServletHandler.handle (
> > ServletHandler.java:352)
> >         at org.mortbay.jetty.security.SecurityHandler.handle(
> > SecurityHandler.java:185)
> >         at org.mortbay.jetty.servlet.SessionHandler.handle (
> > SessionHandler.java:230)
> >         at org.mortbay.jetty.handler.ContextHandler.handle (
> > ContextHandler.java:627)
> >         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
> > ContextHandlerCollection.java:149)
> >         at org.mortbay.jetty.handler.HandlerCollection.handle(
> > HandlerCollection.java:123)
> >         at org.mortbay.jetty.handler.HandlerWrapper.handle(
> > HandlerWrapper.java:141)
> >         at org.mortbay.jetty.Server.handle (Server.java:286)
> >         at org.mortbay.jetty.HttpConnection.handleRequest(
> > HttpConnection.java :444)
> >         at
> > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
> > HttpConnection.java:701)
> >         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
> >         at org.mortbay.jetty.HttpParser.parseAvailable (HttpParser.java
> > :203)
> >         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java
> > :340)
> >         at org.mortbay.jetty.nio.HttpChannelEndPoint.run(
> > HttpChannelEndPoint.java:270)
> >         at org.mortbay.thread.BoundedThreadPool$PoolThread.run (
> > BoundedThreadPool.java:475)
> > Caused by: java.lang.NullPointerException : Unknown class 'f_ruler'.
> >         at
> > org.rcfaces.renderkit.html.internal.javascript.JavaScriptRepository.convertType
> > (JavaScriptRepository.java :94)
> >         at
> > org.rcfaces.core.internal.webapp.AbstractHierarchicalRepository.computeFiles(
> > AbstractHierarchicalRepository.java:297)
> >         at
> > org.rcfaces.renderkit.html.internal.JavaScriptRenderContext.isRequiresPending(
> > JavaScriptRenderContext.java:172)
> >         at
> > org.rcfaces.renderkit.html.internal.AbstractJavaScriptRenderer.encodeEndJavaScript(
> > AbstractJavaScriptRenderer.java:417)
> >         at
> > org.rcfaces.renderkit.html.internal.AbstractJavaScriptRenderer.encodeEnd(
> > AbstractJavaScriptRenderer.java:376)
> >         at
> > org.rcfaces.renderkit.html.internal.renderer.RulerRenderer.encodeEnd (
> > RulerRenderer.java:32)
> >         at
> > org.rcfaces.core.internal.renderkit.AbstractCameliaRenderer.encodeEnd (
> > AbstractCameliaRenderer.java:135)
> >         ... 25 more
> >
> > - Mike
> >
> > On 18/01/07, Madhav Bhargava <unmarshall@gmail.com > wrote:
> > >
> > > Hi Veit,
> > >
> > > Sorry the delay in response. Since rcfaces was not working so i
> > > shifted to other alternatives as we had time constraints. I now want to make
> > > rcfaces work as it seems to be a promising set of JSF components.
> > >
> > > I have done the following set up for rcfaces:
> > >
> > > 1. Added rcfaces-htmlc.jar and rcfaces-core.jar to WEB-INF/lib
> > > 2. Made the following entries into web.xml:
> > > <servlet>
> > >  <servlet-name>Rcfaces Framework Contents</servlet-name>
> > >  <servlet-class>
> > >   org.rcfaces.renderkit.html.internal.resource.ResourcesServlet
> > >  </servlet-class>
> > >  <init-param>
> > >   <param-name>
> > >    org.rcfaces.renderkit.html.javascript.sets.CORE
> > >   </param-name>
> > >   <param-value>basicComponent,message,fieldSet,ajax,service,extraButton,log,
> > > consoleLog</param-value>
> > >  </init-param>
> > >  <load-on-startup>4</load-on-startup>
> > > </servlet>
> > > <servlet>
> > >  <servlet-name>Rcfaces Application Contents</servlet-name>
> > >  <servlet-class>
> > >    org.rcfaces.core.internal.contentStorage.ContentStorageServlet
> > >  </servlet-class>
> > >  <load-on-startup>5</load-on-startup>
> > > </servlet>
> > >
> > >  Just to test i included the following in the JSP:
> > >
> > > <%@
> > > taglib uri=" http://rcfaces.org/core " prefix="v"%>
> > > and
> > >
> > > <
> > > h:panelGroup>
> > >
> > > <v:dateEntry id="entry11" autoCompletion="false"/>
> > >
> > > <v:dateChooser id="date11" for="entry11"/>
> > >
> > > </h:panelGroup>
> > > When the ear file for the application is deployed then an exception is
> > > thrown by rcfaces. Following is the exception:
> > >  *x--  cut -- x*
> > >
> > > 179542 DEBUG [ScannerThread]
> > > org.rcfaces.core.internal.util.URLContentProvider - URL
> > > 'jar:file:/D:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp10242ehr-
> > > app.ear-contents/ehr-web-exp.war/WEB-INF/lib/rcfaces-htmlc_symbols.jar!/org/rcfaces/renderkit/html/internal/javascript/symbols'
> > > does not exist !
> > >
> > > java.util.zip.ZipException: The system cannot find the file specified
> > >
> > > at java.util.zip.ZipFile.open(Native Method)
> > > *x--  cut -- x*
> > > **
> > > *[[Madhav]] The file "symbols" is very much present in the jar.*
> > > **
> > > *x--  cut -- x*
> > >
> > > 235103 DEBUG [http-0.0.0.0-8080-1]
> > > org.rcfaces.core.internal.config.ProvidersRegistry - Can not get
> > > constructor with provider parameter for class '
> > > org.rcfaces.core.internal.adapter.AdapterManagerImpl ' specified by
> > > provider id='null' (providerId=' org.rcfaces.core.ADAPTER_MANAGER').
> > >
> > > java.lang.NoSuchMethodException:
> > > org.rcfaces.core.internal.adapter.AdapterManagerImpl.<init>(
> > > org.rcfaces.core.provider.IProvider)
> > >
> > > at java.lang.Class.getConstructor0(Class.java:2647)
> > > *x--  cut -- x*
> > > **
> > >
> > > 235650 DEBUG [http-0.0.0.0-8080-1]
> > > org.rcfaces.renderkit.html.internal.HtmlProcessContextImpl -
> > > Initialize htmlRenderExternalContext useMetaContentScriptType=true,
> > > useScriptCData=true, useFlatIdentifier=false, separatorChar='null'.
> > >
> > > 235650 DEBUG [http-0.0.0.0-8080-1]
> > > org.rcfaces.core.internal.renderkit.AbstractRenderContext - Push
> > > component. stack= / frmLogin:entry11
> > > 235728 ERROR [http-0.0.0.0-8080-1]
> > > org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ehr].[jsp]
> > > - Servlet.service() for servlet jsp threw exception
> > >  org.rcfaces.core.internal.renderkit.WriterException :
> > > RuntimeException
> > >  at
> > > org.rcfaces.core.internal.renderkit.AbstractCameliaRenderer.encodeBegin
> > > (AbstractCameliaRenderer.java:48)
> > >  at javax.faces.component.UIComponentBase.encodeBegin(
> > > UIComponentBase.java:515)
> > >  at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild
> > > (RendererUtils.java:411)
> > >  at
> > > org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(
> > > RendererUtils.java:399)
> > >  at
> > > org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(
> > > HtmlGroupRendererBase.java:78)
> > >  at javax.faces.component.UIComponentBase.encodeEnd(
> > > UIComponentBase.java:539)
> > >  at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild
> > > (RendererUtils.java:418)
> > >  at
> > > org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(
> > > HtmlGridRendererBase.java:229)
> > >  at
> > > org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd
> > > (HtmlGridRendererBase.java:101)
> > >  at javax.faces.component.UIComponentBase.encodeEnd(
> > > UIComponentBase.java :539)
> > >  at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java
> > > :498)
> > >  at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java
> > > :366)
> > >  at
> > > org.apache.myfaces.shared_impl.taglib.UIComponentBodyTagBase.doEndTag(
> > > UIComponentBodyTagBase.java:57)
> > >  at org.apache.jsp.index_jsp._jspx_meth_h_panelGrid_0(
> > > org.apache.jsp.index_jsp:454)
> > >  at org.apache.jsp.index_jsp._jspx_meth_h_form_0(
> > > org.apache.jsp.index_jsp:326)
> > >  at org.apache.jsp.index_jsp._jspx_meth_t_documentBody_0 (
> > > org.apache.jsp.index_jsp:288)
> > >  at org.apache.jsp.index_jsp._jspx_meth_t_document_0(
> > > org.apache.jsp.index_jsp:201)
> > >  at org.apache.jsp.index_jsp._jspx_meth_f_view_0(
> > > org.apache.jsp.index_jsp:166)
> > >  at org.apache.jsp.index_jsp._jspService (org.apache.jsp.index_jsp:130
> > > )
> > >  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> > >  at org.apache.jasper.servlet.JspServletWrapper.service (
> > > JspServletWrapper.java:322)
> > >  at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > JspServlet.java:314)
> > >  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> > >  at javax.servlet.http.HttpServlet.service (HttpServlet.java:810)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:252)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:173)
> > >  at org.apache.catalina.core.ApplicationDispatcher.invoke(
> > > ApplicationDispatcher.java:672)
> > >  at org.apache.catalina.core.ApplicationDispatcher.processRequest(
> > > ApplicationDispatcher.java:463)
> > >  at org.apache.catalina.core.ApplicationDispatcher.doForward (
> > > ApplicationDispatcher.java:398)
> > >  at org.apache.catalina.core.ApplicationDispatcher.forward(
> > > ApplicationDispatcher.java:301)
> > >  at
> > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch
> > > (ServletExternalContextImpl.java :419)
> > >  at
> > > org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch
> > > (JspTilesViewHandlerImpl.java:236)
> > >  at
> > > org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView
> > > (JspTilesViewHandlerImpl.java :222)
> > >  at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(
> > > RenderResponseExecutor.java:41)
> > >  at org.apache.myfaces.lifecycle.LifecycleImpl.render(
> > > LifecycleImpl.java:132)
> > >  at javax.faces.webapp.FacesServlet.service (FacesServlet.java:140)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:252)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java :173)
> > >  at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> > > ExtensionsFilter.java:100)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:202)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter (
> > > ApplicationFilterChain.java:173)
> > >  at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> > > ExtensionsFilter.java:190)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java :202)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:173)
> > >  at com.infosys.ehr.web.filter.SessionExpiryCheckFilter.doFilter(
> > > SessionExpiryCheckFilter.java:77)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> > > ApplicationFilterChain.java:202)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:173)
> > >  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> > > ReplyHeaderFilter.java:81)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:202)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:173)
> > >  at org.apache.catalina.core.StandardWrapperValve.invoke (
> > > StandardWrapperValve.java:213)
> > >  at org.apache.catalina.core.StandardContextValve.invoke(
> > > StandardContextValve.java:178)
> > >  at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(
> > > CustomPrincipalValve.java:39)
> > >  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
> > > SecurityAssociationValve.java:159)
> > >  at org.jboss.web.tomcat.security.JaccContextValve.invoke(
> > > JaccContextValve.java:59)
> > >  at org.apache.catalina.core.StandardHostValve.invoke (
> > > StandardHostValve.java:126)
> > >  at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > ErrorReportValve.java:105)
> > >  at org.apache.catalina.core.StandardEngineValve.invoke(
> > > StandardEngineValve.java:107)
> > >  at org.apache.catalina.connector.CoyoteAdapter.service (
> > > CoyoteAdapter.java:148)
> > >  at org.apache.coyote.http11.Http11Processor.process(
> > > Http11Processor.java:856)
> > >  at
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> > > (Http11Protocol.java:744)
> > >  at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> > > PoolTcpEndpoint.java:527)
> > >  at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
> > > MasterSlaveWorkerThread.java:112)
> > >  at java.lang.Thread.run(Thread.java :595)
> > > Caused by: javax.faces.FacesException: You must specify a default
> > > locale for attributes !
> > >  at
> > > org.rcfaces.core.internal.tools.PageConfiguration.getAttributesLocale(
> > > PageConfiguration.java:181)
> > >  at
> > > org.rcfaces.core.internal.tools.CalendarTools.getAttributesCalendar (
> > > CalendarTools.java:235)
> > >  at
> > > org.rcfaces.renderkit.html.internal.AbstractCalendarRenderer.createComponentDecorator
> > > (AbstractCalendarRenderer.java:259)
> > >  at
> > > org.rcfaces.renderkit.html.internal.AbstractHtmlRenderer.getComponentDecorator(
> > > AbstractHtmlRenderer.java:855)
> > >  at
> > > org.rcfaces.renderkit.html.internal.AbstractHtmlRenderer.encodeBegin(
> > > AbstractHtmlRenderer.java:299)
> > >  at
> > > org.rcfaces.core.internal.renderkit.AbstractCameliaRenderer.encodeBegin
> > > (AbstractCameliaRenderer.java :45)
> > >  ... 64 more
> > > 235728 INFO  [http-0.0.0.0-8080-1]
> > > STDOUT       - EHR afterPhase(RENDER_RESPONSE(6))
> > >  235869 ERROR [http-0.0.0.0-8080-1]
> > > org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ehr].[Faces
Servlet]       -
> > > Servlet.service() for servlet Faces Servlet threw exception
> > >  javax.faces.FacesException: javax.servlet.jsp.JspException:
> > > RuntimeException
> > >  at
> > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
> > > ServletExternalContextImpl.java:425)
> > >  at
> > > org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch
> > > (JspTilesViewHandlerImpl.java:236)
> > >  at
> > > org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(
> > > JspTilesViewHandlerImpl.java:222)
> > >  at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(
> > > RenderResponseExecutor.java:41)
> > >  at org.apache.myfaces.lifecycle.LifecycleImpl.render(
> > > LifecycleImpl.java:132)
> > >  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:252)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter (
> > > ApplicationFilterChain.java:173)
> > >  at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> > > ExtensionsFilter.java:100)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java :202)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:173)
> > >  at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> > > ExtensionsFilter.java:190)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (
> > > ApplicationFilterChain.java:202)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:173)
> > >  at com.infosys.ehr.web.filter.SessionExpiryCheckFilter.doFilter(
> > > SessionExpiryCheckFilter.java :77)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:202)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:173)
> > >  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (
> > > ReplyHeaderFilter.java:81)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:202)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java :173)
> > >  at org.apache.catalina.core.StandardWrapperValve.invoke(
> > > StandardWrapperValve.java:213)
> > >  at org.apache.catalina.core.StandardContextValve.invoke(
> > > StandardContextValve.java:178)
> > >  at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke (
> > > CustomPrincipalValve.java:39)
> > >  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
> > > SecurityAssociationValve.java:159)
> > >  at org.jboss.web.tomcat.security.JaccContextValve.invoke(
> > > JaccContextValve.java:59)
> > >  at org.apache.catalina.core.StandardHostValve.invoke(
> > > StandardHostValve.java:126)
> > >  at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > ErrorReportValve.java:105)
> > >  at org.apache.catalina.core.StandardEngineValve.invoke (
> > > StandardEngineValve.java:107)
> > >  at org.apache.catalina.connector.CoyoteAdapter.service(
> > > CoyoteAdapter.java:148)
> > >  at org.apache.coyote.http11.Http11Processor.process(
> > > Http11Processor.java:856)
> > >  at
> > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(
> > > Http11Protocol.java:744)
> > >  at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> > > PoolTcpEndpoint.java:527)
> > >  at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
> > > MasterSlaveWorkerThread.java:112)
> > >  at java.lang.Thread.run (Thread.java:595)
> > > Caused by: javax.servlet.ServletException:
> > > javax.servlet.jsp.JspException: RuntimeException
> > >  at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
> > > PageContextImpl.java:844)
> > >  at org.apache.jasper.runtime.PageContextImpl.handlePageException (
> > > PageContextImpl.java:781)
> > >  at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:139)
> > >  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > >  at javax.servlet.http.HttpServlet.service ( HttpServlet.java:810)
> > >  at org.apache.jasper.servlet.JspServletWrapper.service(
> > > JspServletWrapper.java:322)
> > >  at org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > JspServlet.java:314)
> > >  at org.apache.jasper.servlet.JspServlet.service (JspServlet.java:264)
> > >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> > >  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:252)
> > >  at org.apache.catalina.core.ApplicationFilterChain.doFilter (
> > > ApplicationFilterChain.java:173)
> > >  at org.apache.catalina.core.ApplicationDispatcher.invoke(
> > > ApplicationDispatcher.java:672)
> > >  at org.apache.catalina.core.ApplicationDispatcher.processRequest(
> > > ApplicationDispatcher.java :463)
> > >  at org.apache.catalina.core.ApplicationDispatcher.doForward(
> > > ApplicationDispatcher.java:398)
> > >  at org.apache.catalina.core.ApplicationDispatcher.forward(
> > > ApplicationDispatcher.java:301)
> > >  at
> > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
> > > ServletExternalContextImpl.java:419)
> > >  ... 33 more
> > >
> > > It will be great if you could help me out with configuring rcfaces
> > > properly.
> > >
> > > Thanks,
> > > Madhav
> > >
> > >
> > >  On 1/9/07, Veit Guna <Veit.Guna@gmx.de> wrote:
> > > >
> > > > Hi.
> > > >
> > > > I'm evaluating rcfaces for use with myfaces. For me it's the other
> > > > way around :).
> > > > There are some problems, I'm stuck with certain rcfaces components
> > > > and behavior's (css, ajax...) but basically it work's quite well. If you've
> > > > a running myfaces app, it's not a real problem to integrate rcfaces into
it.
> > > > There are some integration builds of rcfaces available, that you can try.
> > > > They fix some problems in combination with myfaces. Also there's an example
> > > > app available you can take a look at. I'm using rcfaces/mxfaces together
> > > > with facelets. Make sure, you use the StreamAddResource of myfaces - the
> > > > "normal" ExtensionFilter mechanism didn't work out for me.
> > > >
> > > > Configuration of myfaces is documented quite well in the wiki and
> > > > should be no problem. rcfaces is more a problem. But you can ask questions
> > > > in the forum on sourceforge. What problems do you have exactly?
> > > >
> > > > regards,
> > > > Veit
> > > >
> > > >
> > > >
> > > > -------- Original-Nachricht --------
> > > > Datum: Tue, 9 Jan 2007 10:57:11 +0530
> > > > Von: "Madhav Bhargava" < Madhav_Bhargava@infosys.com>
> > > > An: "MyFaces Discussion" <users@myfaces.apache.org >
> > > > Betreff: rcfaces with myfaces
> > > >
> > > > >
> > > > > Hi All,
> > > > >
> > > > >
> > > > >
> > > > > I tried to use rcfaces with myfaces and I ran into a lot of
> > > > problem. I
> > > > > have been trying to search for some document that will help me
> > > > configure
> > > > > rcfaces to be used with myfaces.
> > > > >
> > > > >
> > > > >
> > > > > Is there any document that will help me configure myfaces?
> > > > >
> > > > >
> > > > >
> > > > > ~madhav
> > > > >
> > > > >
> > > > >
> > > > > **************** CAUTION - Disclaimer *****************
> > > > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION
> > > > intended
> > > > > solely for the use of the addressee(s). If you are not the
> > > > intended recipient,
> > > > > please notify the sender by e-mail and delete the original
> > > > message.
> > > > > Further, you are not to copy, disclose, or distribute this e-mail
> > > > or its contents
> > > > > to any other person and any such actions are unlawful. This e-mail
> > > > may
> > > > > contain viruses. Infosys has taken every reasonable precaution to
> > > > minimize this
> > > > > risk, but is not liable for any damage you may sustain as a result
> > > > of any
> > > > > virus in this e-mail. You should carry out your own virus checks
> > > > before
> > > > > opening the e-mail or attachment. Infosys reserves the right to
> > > > monitor and
> > > > > review the content of all messages sent to or from this e-mail
> > > > address.
> > > > > Messages sent to or from this e-mail address may be stored on the
> > > > Infosys e-mail
> > > > > system.
> > > > > ***INFOSYS******** End of Disclaimer ********INFOSYS***
> > > >
> > > > --
> > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > > > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> > > >
> > >
> > >
> > >
> > > --
> > > When I tell the truth, it is not for the sake of convincing those who
> > > do not know it, but for the sake of defending those that do
> >
> >
> >
>
>
> --
> When I tell the truth, it is not for the sake of convincing those who do
> not know it, but for the sake of defending those that do
>

Mime
View raw message