myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (TRINIDAD-195) Two requests at the same time throw an exception when the server just started
Date Fri, 09 Sep 2011 16:49:09 GMT

     [ https://issues.apache.org/jira/browse/TRINIDAD-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Scott O'Bryan resolved TRINIDAD-195.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.1
                   1.2.15-core 

Added some locking

> 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
>    Affects Versions: 1.2.14-core , 2.0.0
>         Environment: Running OC4J as App server
>            Reporter: Chris Eidhof
>            Assignee: Scott O'Bryan
>            Priority: Minor
>             Fix For: 1.2.15-core , 2.0.1
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message