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

Alexandre Rafalovitch closed SOLR-4762.
---------------------------------------
       Resolution: Won't Fix
    Fix Version/s:     (was: 6.0)
                       (was: 4.9)

We no longer support deploying war files to Weblogic or other containers.

> Deploying on weblogic: java.lang.NoSuchMethodError: replaceEach
> ---------------------------------------------------------------
>
>                 Key: SOLR-4762
>                 URL: https://issues.apache.org/jira/browse/SOLR-4762
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.2
>            Reporter: Shawn Heisey
>            Assignee: Shawn Heisey
>         Attachments: SOLR-4762.patch
>
>
> When a user tried to deploy on weblogic 10.3, they got this exception:
> {noformat}
> Error 500--Internal Server Error
> java.lang.NoSuchMethodError: replaceEach
> at 
> org.apache.solr.servlet.LoadAdminUiServlet.doGet(LoadAdminUiServlet.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
> at 
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
> at 
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
> at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)
> at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:142)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
> at 
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
> at 
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs(Unknown Source)
> at 
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
> at 
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
> at 
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
> at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
> {noformat}
> The solution to this problem appears to be adding the following to 
> weblogic.xml in WEB-INF:
> {noformat}
>     <container-descriptor>
>       <prefer-web-inf-classes>true</prefer-web-inf-classes>
>     </container-descriptor>
> {noformat}
> Since Solr's WEB-INF directory already contains this file and it already has 
> the container-descriptor tag, I'm hoping this is a benign change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to