You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Vaclav Tregner (JIRA)" <de...@myfaces.apache.org> on 2010/09/08 17:17:33 UTC

[jira] Commented: (TRINIDAD-195) Two requests at the same time throw an exception when the server just started

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

Vaclav Tregner commented on TRINIDAD-195:
-----------------------------------------

Bug can be still reproduced in Trinidad 1.2.13. Where can I find the patch?
Thanks

> Two requests at the same time throw an exception when the server just started
> -----------------------------------------------------------------------------
>
>                 Key: TRINIDAD-195
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-195
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>         Environment: Running OC4J as App server
>            Reporter: Chris Eidhof
>            Priority: Minor
>
> 1. Stop your current server
> 2. Run a page. Make sure to do two request a the same time the first time you request a page from the server
> 3. See the error message:
> 500 Internal Server Error
> java.lang.IllegalStateException: Factory already available for this class loader.
>     at org.apache.myfaces.trinidad.context.RequestContextFactory.setFactory(RequestContextFactory.java:53)
>     at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:376)
>     at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:213)
>     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:124)
>     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
>     at oracle.adfdemo.view.webapp.rich.RedirectFilter.doFilter(RedirectFilter.java:84)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:882)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:790)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:600)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:369)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:160)
>     at com.evermind[Oracle Containers for J2EE 10g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:141)
>     at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>     at java.lang.Thread.run(Thread.java:613) 

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