myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1560) migration from trinidad 1.2.11 to 1.2.12
Date Sat, 19 Sep 2009 04:27:16 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757624#action_12757624
] 

Andrew Robinson commented on TRINIDAD-1560:
-------------------------------------------

There is some other GlobalConfiguratorImpl being loaded from somewhere

Looking into the stack trace and trying to debug the tagged 1.2.12 source code, line 202 of
the impl is the middle line of:
      if (!_isDisabled(ec))
      {
        // If this hasn't been initialized then please initialize

So obviously the curly brace can't call a method. So the question is how this is is happening?


> migration from trinidad 1.2.11 to 1.2.12
> ----------------------------------------
>
>                 Key: TRINIDAD-1560
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1560
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.2.12-core
>         Environment: glassfish v2, java ee 5, richfaces, trinidad , facelets , SUN RI
JSF 1.2,
>            Reporter: allan
>            Priority: Critical
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> I have a working project with trinidad 1.2.11, richfaces and facelets, it works perfectly
only
> with the annoying warning "Unable to set request character encoding to UTF-8 from context
 , because request parameters have already been read, or ServletRequest.getReader() has already
been called"
> but today i try to use the new trinidad 1.2.12, and it doesn't work at all,
> this is the exception that throws
> [#|2009-08-27T15:00:42.750-0600|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8081-1;_RequestID=a735ba9d-6527-4e38-b30b-2c7dcd842f30;|StandardWrapperValve[Faces
Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
> java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpConfigurator
cannot be cast to org.apache.myfaces.trinidad.config.Configurator
> 	at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:386)
> 	at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:202)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:142)
> 	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> 	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
> 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
> 	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
> 	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
> 	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
> 	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
> 	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
> 	at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
> 	at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
> 	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
> 	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
> |#]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message