Re: [Dspace-tech] Trouble upgrading Solr stats from 1.6.2 to 1.7.1

2011-07-29 Thread Mark Diggory
Wally,

Something is clearly wrong with solr, maybe look to make sure your getting a
clean build of the war in deployment (IE verify the list of jars is right in
WEB-INF/lib and look at your DSpace/solr config compared the original in
source. also review you solr pom in your dspace/modules/solr to make sure
it's identical to source.

Mark

On Thursday, July 28, 2011, wally grotophorst wal...@gmu.edu wrote:
 Trying to sort out a SOLR stats issue that remains after our otherwise
 successful upgrade from 1.6.2 to 1.7.1

 When running 1.6.2, the Solr stats service worked perfectly.  Once we
 upgraded, I see this if I go to
 http://localhost:8080/solr/admin:

 org.apache.jasper.JasperException: Unable to compile class for JSP:

 An error occurred at line: 32 in the jsp file: /admin/index.jsp
 The method getRequestHandlers() in the type SolrCore is not applicable
 for the arguments (ClassReplicationHandler)
 29:%-- jsp:include page=header.jsp/ --%
 30:%-- do a verbatim include so we can use the local vars --%
 31:%@include file=header.jsp %
 32:%boolean replicationhandler =
 !core.getRequestHandlers(ReplicationHandler.class).isEmpty();%
 33:br clear=all
 34:table
 35:


 Stacktrace:

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)

org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:295)

org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:60)

 Does this ring a bell with anyone?  The only change we made to solr
 configuration was adding this line to dspace.cfg:

 solr.resolver.timeout = 200

 I see 1.7.1 added other files that appear to be related to stats (e.g.,
 /dspace/config/dspace-solr-search.cfg) but I haven't touched those...


 Platform:  Mac OSX  Server 10.6.8
 java version 1.6.0_26
 Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
 Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)


 - Wally

 Wally Grotophorst
 Associate University Librarian
 Digital Programs and Systems
 University Libraries
 George Mason University
 Fairfax, Virginia 22030
 (703) 993-9005





--
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Esperantolaan 4 - Heverlee 3001 - Belgium
--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Trouble upgrading Solr stats from 1.6.2 to 1.7.1

2011-07-28 Thread wally grotophorst
Trying to sort out a SOLR stats issue that remains after our otherwise 
successful upgrade from 1.6.2 to 1.7.1

When running 1.6.2, the Solr stats service worked perfectly.  Once we 
upgraded, I see this if I go to
http://localhost:8080/solr/admin:

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 32 in the jsp file: /admin/index.jsp
The method getRequestHandlers() in the type SolrCore is not applicable 
for the arguments (ClassReplicationHandler)
29:%-- jsp:include page=header.jsp/ --%
30:%-- do a verbatim include so we can use the local vars --%
31:%@include file=header.jsp %
32:%boolean replicationhandler = 
!core.getRequestHandlers(ReplicationHandler.class).isEmpty();%
33:br clear=all
34:table
35:


Stacktrace:
 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:295)
 
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:60)

Does this ring a bell with anyone?  The only change we made to solr 
configuration was adding this line to dspace.cfg:

solr.resolver.timeout = 200

I see 1.7.1 added other files that appear to be related to stats (e.g., 
/dspace/config/dspace-solr-search.cfg) but I haven't touched those...


Platform:  Mac OSX  Server 10.6.8
java version 1.6.0_26
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)


- Wally

Wally Grotophorst
Associate University Librarian
Digital Programs and Systems
University Libraries
George Mason University
Fairfax, Virginia 22030
(703) 993-9005




--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech