[Dspace-tech] [SPAM] SOLR cores are looking for a wrong lucene version

2014-05-15 Thread damanzano
Hello

I was reviewing the tomcat logs and a notice that when Tomcat start the the
dspace solr application it generate the following exception. Until now I
haven't  had problems with the SOLR app but it would be nice if we can
mantain the tomcat log as clean as possible.

may 15, 2014 9:13:53 AM org.apache.solr.core.SolrConfig initLibs
Información: Adding specified lib dirs to ClassLoader
may 15, 2014 9:13:53 AM org.apache.solr.common.SolrException log
Grave: org.apache.solr.common.SolrException: Invalid luceneMatchVersion
'4.4', valid values are: [LUCENE_20, LUCENE_21, LUCENE_22, LUCENE_23,
LUCENE_24, LUCENE_29, LUCENE_30, LUCENE_31, LUCENE_32, LUCENE_33, LUCENE_34,
LUCENE_35, LUCENE_CURRENT] or a string in format 'V.V'
at org.apache.solr.core.Config.parseLuceneVersionString(Config.java:353)
at org.apache.solr.core.Config.getLuceneVersion(Config.java:337)
at org.apache.solr.core.SolrConfig.(SolrConfig.java:133)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:207)
at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4797)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5473)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:634)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1230)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1876)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IllegalArgumentException: No enum constant
org.apache.lucene.util.Version.LUCENE_44
at java.lang.Enum.valueOf(Enum.java:236)
at org.apache.lucene.util.Version.valueOf(Version.java:32)
at org.apache.solr.core.Config.parseLuceneVersionString(Config.java:351)
... 23 more

may 15, 2014 9:13:53 AM org.apache.solr.core.SolrResourceLoader 
Información: Solr home set to '/home/dspace/bibdigital/solr/statistics/'
may 15, 2014 9:13:53 AM org.apache.solr.core.SolrConfig initLibs
Información: Adding specified lib dirs to ClassLoader
may 15, 2014 9:13:53 AM org.apache.solr.common.SolrException log
Grave: org.apache.solr.common.SolrException: Invalid luceneMatchVersion
'4.4', valid values are: [LUCENE_20, LUCENE_21, LUCENE_22, LUCENE_23,
LUCENE_24, LUCENE_29, LUCENE_30, LUCENE_31, LUCENE_32, LUCENE_33, LUCENE_34,
LUCENE_35, LUCENE_CURRENT] or a string in format 'V.V'
at org.apache.solr.core.Config.parseLuceneVersionString(Config.java:353)
at org.apache.solr.core.Config.getLuceneVersion(Config.java:337)
at org.apache.solr.core.SolrConfig.(SolrConfig.java:133)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:435)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:207)
at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4797)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5473)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at 
org.apache.catalina.core.ContainerBase.

[Dspace-tech] [SPAM] Error uploading files in item submission process

2014-05-14 Thread damanzano
Hello

I'm having problems with the item submission process, when i try to upload a
file (of any kind pdf, jpeg, etc) i got the following exception:


java.sql.SQLSyntaxErrorException: ORA-00904: "METS_BITSTREAM_ID":
identificador no válido

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3584)
at
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3685)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1376)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at
org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1281)
at
org.dspace.storage.rdbms.DatabaseManager.doInsertGeneric(DatabaseManager.java:1879)
at
org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675)
at
org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:447)
at org.dspace.content.Bundle.create(Bundle.java:199)
at org.dspace.content.Item.createBundle(Item.java:1272)
at org.dspace.content.Item.createSingleBitstream(Item.java:1417)
at 
org.dspace.submit.step.UploadStep.processUploadFile(UploadStep.java:502)
at org.dspace.submit.step.UploadStep.doProcessing(UploadStep.java:145)
at
org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:401)
at
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:252)
at
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:400)
at
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:336)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
at
org.apache.coyote.AbstractProt

[Dspace-tech] [SPAM] Re: [SPAM] Dspace 4.1 JSPUI Error displaying thumbnails

2014-04-01 Thread damanzano
Yes I did that when i was migrate the platform.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Dspace-4-1-JSPUI-Error-displaying-thumbnails-tp4672409p4672423.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [SPAM] Dspace 4.1 JSPUI Error displaying thumbnails

2014-03-31 Thread damanzano
JSPUI is not displaying thumbnails in browse or search results even when it
is enabled. I have found this error when only discovery is enable, debugging
the app i notice that the following methods always return null or "" even
when my items have a thumbnail bundle:

org.dspace.app.webui.jsptag.BrowseListTag.getThumbMarkup(HttpServletRequest
hrq, BrowseItem item) returns "" when a call to
org.dspace.content.service.ItemService.getThumbnail(Context context, int
itemId, boolean requireOriginal) returns null

I have tried changing ItemServices.getThumbnail(Context context, int itemId,
boolean requireOriginal) with
org.dspace.browse.BrowseItem.getThumbnail() but I got the same results.

Can anyone help me?

NOTE: I have found something weird in my logs and it is that there are any
call to a database query, it is whta you hope if you are using DISCOVERY and
SOLRDao, but i'm wondering if thumbnails bundles are being written to the
SOLR index.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Dspace-4-1-JSPUI-Error-displaying-thumbnails-tp4672409.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [SPAM] Re: dspace 4.1 OpenSearch is showing results out of scope

2014-03-27 Thread damanzano
reviewing and following the new OpenSearchServlet code i find out that now
besides the scope parameter it is expecting for the location parameter. I
set and send location = scope from my external service and it is working
fine now

I hope it could be userful for someone else. 



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/dspace-4-1-OpenSearch-is-showing-results-out-of-scope-tp4672372p4672373.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [SPAM] dspace 4.1 OpenSearch is showing results out of scope

2014-03-27 Thread damanzano
Hi everyone,

I am using the jspui open-search servlet in order to do show some dspace
content on an external service. The open search works very well when you
need results from all the repository. However, when you want to restrict the
search for a communty or collecction (using the scope parameter) then it
gives you result out of the selected scope. I find it weird because it was
working fine with dspace 1.7.2 version

This is an example of the way i'm querying the open-search servlet:
http://myrepository.com/open-search?format=atom&scope=10906/5698&query=cali&start=0&rpp=10&sort_by=0&order=DESC

Is there something i'm missing or another way to do this kind of search?



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/dspace-4-1-OpenSearch-is-showing-results-out-of-scope-tp4672372.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [SPAM] Dspace 4.1 Error with display-item.jsp

2014-03-13 Thread damanzano
I got the following exception when a try to see an item page in dspace 4.1

2014-03-13 10:54:19,739 WARN 
org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=FFFB752EDF5A907DC08DDBFE2B7FC91F:internal_error:-- URL Was:
http://192.168.220.228:8100/biblioteca_digital/handle/10906/43050
-- Method: GET
-- Parameters were:

org.apache.jasper.JasperException: Ha sucedido una excepción al procesar la
página JSP /display-item.jsp en línea 192

189: String displayStyle = (displayAll ? "full" : "");
190: %>
191: " />
192: " collections="<%=
collections %>" style="<%= displayStyle %>" />
193: 
194: <%
195: String locationLink = request.getContextPath() + "/handle/" +
handle;


Stacktrace:
at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
at
org.dspace.app.webui.servlet.HandleServlet.displayItem(HandleServlet.java:420)
at
org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:187)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: javax.servlet.ServletException: java.lang.NoClassDefFoundError:
Could not initialize class
org.dspace.app.webui.util.CollectionStyleSelection
at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)
at
org.apache.jasper.runtime.PageContextI

[Dspace-tech] [SPAM] DSpace 4.0 is not showing browse or search results

2014-01-27 Thread damanzano
I upgraded my DSpace platform to 4.0  but I'm having problems with the browse
search results, I have already done all the migration steps but whe I browse
my communities or collections by title, author, subject or any other index I
got no results, like in this link http://prntscr.com/2n1ics

I thought i was a SOLR problem but the OAI interface and the statistics are
working fine look at http://prntscr.com/2ltwmh and
http://prntscr.com/2ltwzh.

I have already executed the command dspace index-discovery -f several times
but the result is always the same. Then I decided to re-build all the search
index from scratch using the command  dspace index-discovery -b but even
with that i still did not get results 

You can find all the config files and the indexation process and solr logs
through the following link
https://www.dropbox.com/sh/xf2kb2jgoapgn1g/VeEv_QC1og

I have spent almost 2 weeks trying to solve this problem, 

Here are some features of our machine

SUSE Linux Enterprise Server 11 SP1  (x86_64)
virtualization with vmware esxi
8 GB RAM
500 GB Hard drive
Java version "1.7.0_45"
Tomcat version "7.0.50"
Oracle "11.2.0.3.0" database


Thanks for your help! 



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-4-0-is-not-showing-browse-or-search-results-tp4670673.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [SPAM] Re: GetRecord verb fails DSpace 3.2 OAI Server

2013-09-24 Thread damanzano
I realize that the error was originated by a misconfiguration  in the
oai.cfg,
tha key identifier.prefix = ${dspace.hostname} and dspace.hostname=
http://192.168.220.228, 
I replaced this variable to dspace.hostname=192.168.220.228 and the problem
was solved.

Now i can se the result for GetRecord but the  tag is generated
empty, view  http://prntscr.com/1ta46m and http://prntscr.com/1ta4bq. Here
it is the full trace in debug mode for this request:


2013-09-24 16:19:47,070 DEBUG org.dspace.xoai.DSpaceOAIDataProvider @
Handling OAI request
2013-09-24 16:19:47,070 DEBUG org.dspace.xoai.util.XOAICacheManager @ [XOAI]
Result not cached
2013-09-24 16:19:47,070 DEBUG com.lyncode.xoai.dataprovider.OAIDataProvider
@ Starting handling OAI request
2013-09-24 16:19:47,071 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'until'
undefined
2013-09-24 16:19:47,071 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'verb' =
'GetRecord'
2013-09-24 16:19:47,071 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'from'
undefined
2013-09-24 16:19:47,071 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'until'
undefined
2013-09-24 16:19:47,071 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter
'metadataPrefix' = 'oai_dc'
2013-09-24 16:19:47,071 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'set'
undefined
2013-09-24 16:19:47,071 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'identifier'
= 'oai:192.168.220.228:10906/2235'
2013-09-24 16:19:47,071 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter
'resumptionToken' undefined
2013-09-24 16:19:47,072 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter
'resumptionToken' undefined
2013-09-24 16:19:47,072 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'identifier'
= 'oai:192.168.220.228:10906/2235'
2013-09-24 16:19:47,072 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'from'
undefined
2013-09-24 16:19:47,072 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter
'metadataPrefix' = 'oai_dc'
2013-09-24 16:19:47,072 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter
'metadataPrefix' = 'oai_dc'
2013-09-24 16:19:47,072 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'set'
undefined
2013-09-24 16:19:47,072 DEBUG
com.lyncode.xoai.dataprovider.OAIRequestParameters @ Parameter 'until'
undefined
2013-09-24 16:19:47,073 DEBUG
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager @
HttpConnectionManager.getConnection:  config =
HostConfiguration[host=http://192.168.220.228:8100], timeout = 0
2013-09-24 16:19:47,073 DEBUG
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager @ Getting
free connection,
hostConfig=HostConfiguration[host=http://192.168.220.228:8100]
2013-09-24 16:19:47,073 DEBUG org.apache.commons.httpclient.HttpConnection @
Connection is stale, closing...
2013-09-24 16:19:47,074 DEBUG org.apache.commons.httpclient.HttpConnection @
Open connection to 192.168.220.228:8100
2013-09-24 16:19:47,074 DEBUG httpclient.wire.header @ >> "GET
/biblioteca_digital-solr/oai/select?q=item.handle%3A10906%2F2235&sort=item.id+asc&wt=javabin&version=2
HTTP/1.1[\r][\n]"
2013-09-24 16:19:47,074 DEBUG org.apache.commons.httpclient.HttpMethodBase @
Adding Host request header
2013-09-24 16:19:47,075 DEBUG httpclient.wire.header @ >> "User-Agent:
Solr[org.apache.solr.client.solrj.impl.CommonsHttpSolrServer] 1.0[\r][\n]"
2013-09-24 16:19:47,075 DEBUG httpclient.wire.header @ >> "Host:
192.168.220.228:8100[\r][\n]"
2013-09-24 16:19:47,075 DEBUG httpclient.wire.header @ >> "[\r][\n]"
2013-09-24 16:19:47,080 DEBUG httpclient.wire.header @ << "HTTP/1.1 200
OK[\r][\n]"
2013-09-24 16:19:47,080 DEBUG httpclient.wire.header @ << "HTTP/1.1 200
OK[\r][\n]"
2013-09-24 16:19:47,080 DEBUG httpclient.wire.header @ << "Server:
Apache-Coyote/1.1[\r][\n]"
2013-09-24 16:19:47,080 DEBUG httpclient.wire.header @ << "Last-Modified:
Tue, 24 Sep 2013 21:08:20 GMT[\r][\n]"
2013-09-24 16:19:47,081 DEBUG httpclient.wire.header @ << "ETag:
"ZGFjMWZiZWM4MjgwMDAwMFNvbHI="[\r][\n]"
2013-09-24 16:19:47,081 DEBUG httpclient.wire.header @ << "Content-Type:
application/octet-stream[\r][\n]"
2013-09-24 16:19:47,081 DEBUG httpclient.wire.header @ <<
"Transfer-Encoding: chunked[\r][\n]"
2013-09-24 16:19:47,081 DEBUG httpclient.wire.header @ << "Date: Tue, 24 Sep
2013 21:19:47 GMT[\r][\n]"
2013-09-24 16:19:47,081 DEBUG httpclient.wire.header @ << "[\r][\n]"
2013-09-24 16:19:47,082 DEBUG org.apache.commons.httpclient.HttpMethodBase @
Default charset used: ISO-8859-1
2013-09-24 16:19:47,082 DEBUG httpclient.wire.content @ << "2"
2013-09-24 16:19:47,082 DEBUG httpclient.wire.content @ << "0"
2013-09-24 16:19:47,082 DEBUG httpclient.wire.content @ << "0"
2013-09-24 16:19:47,082 DEBUG httpclient.wire.content @ << "0"
2013-09-24 16:19:47,082 DEBUG httpclient.wi

[Dspace-tech] [SPAM] GetRecord verb fails DSpace 3.2 OAI Server

2013-09-24 Thread damanzano
Hi 
I'm testing the OAI interface in Dspace 3.2 and i'm having problems with the
GetRecord verb.
I follow the OAI user interface instructions, 
1. I click the SETS link and it ok. 
2. Then i use the indentifiers button on the set i want, it also ok for
example http://prntscr.com/1t9aej.
3. The i try ton follow the Get Record link in the first identifier and
there is the error, it shows me an "The given id does not exist" error like
in http://prntscr.com/1t9c8h, how is this possible?

Whe i use the same verb with the equivalent identifier in my production
enviroment (Dspace 1.7.2) it does't fail, look at
http://bibliotecadigital.icesi.edu.co/biblioteca_digital-oai/request?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai:http://www.icesi.edu.co/biblioteca_digital:10906/2234
 

Here is my oai.cfg, i have disabled cache for testing purposes:

# Storage: solr | database 
storage=solr

# Base solr index
solr.url=http://192.168.220.228:8100/biblioteca_digital-solr/oai
# OAI persistent identifier prefix.
# Format - oai:PREFIX:HANDLE
identifier.prefix = http://192.168.220.228
# Base url for bitstreams
bitstream.baseUrl = http://192.168.220.228:8100/biblioteca_digital

# Base Configuration Directory
config.dir = /home/dspace/bibdigital/config/crosswalks/oai

# Description
description.file =
/home/dspace/bibdigital/config/crosswalks/oai/description.xml

# Cache enabled?
cache.enabled = false

# Base Cache Directory
cache.dir = /home/dspace/bibdigital/var/oai



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/GetRecord-verb-fails-DSpace-3-2-OAI-Server-tp4667547.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [SPAM] Re: [SPAM] Re: [SPAM] Re: [SPAM] DSpace 3.2 SOLR doesn't work with previous version index

2013-09-20 Thread damanzano
Hi Helix,

thank you very much for your help! 

Forcing the solr directory factory to NIOFS on each core solves the problem.
To answer your question, if it is useful  for you, the size of our search
index is 1.5Gb and the statistics index is 7.64Gb





--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-3-2-SOLR-doesn-t-work-with-previous-version-index-tp4667313p4667481.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [SPAM] Re: [SPAM] Re: [SPAM] DSpace 3.2 SOLR doesn't work with previous version index

2013-09-18 Thread damanzano
Hi helix,

I change the memory profile in the 
CATALINA_OPTS=-Xmx2048m -Xms512m and JAVA_OPTS=-Xmx2048m -Xms512m but i'm
still having the following exception initiating the solr app, some other
thing i should have in mind? 

GRAVE: java.lang.RuntimeException: java.io.IOException: Map failed
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1103)
at org.apache.solr.core.SolrCore.(SolrCore.java:587)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:463)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:316)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:207)
at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1276)
at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:625)
at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Map failed
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:748)
at
org.apache.lucene.store.MMapDirectory$MMapIndexInput.(MMapDirectory.java:265)
at 
org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:216)
at org.apache.lucene.index.FieldsReader.(FieldsReader.java:131)
at
org.apache.lucene.index.SegmentCoreReaders.openDocStores(SegmentCoreReaders.java:212)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:117)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:93)
at 
org.apache.lucene.index.DirectoryReader.(DirectoryReader.java:113)
at
org.apache.lucene.index.ReadOnlyDirectoryReader.(ReadOnlyDirectoryReader.java:29)
at
org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:81)
at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:754)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:75)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:462)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:405)
at
org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1092)
... 32 more
Caused by: java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745)
... 47 more 



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-3-2-SOLR-doesn-t-work-with-previous-version-index-tp4667313p4667380.html
Sent from the DSpace - Tech mailing list ar

[Dspace-tech] [SPAM] Re: [SPAM] DSpace 3.2 SOLR doesn't work with previous version index

2013-09-17 Thread damanzano
Hi Helix thanks for your advise, 

The index back up was done with the tomcat down, but in fact my solr
statistic core index was broken. I repair it using the lucene CheckIndex
utility with the -fix option but noe i'm getting and
java.lang.outOfMemoryException the complete stack trace is at the end of
this post. Our repository has around 67700 items, what should be the ideal
memory allocation for an dspace instance in order to get SOLR working fine?




Estado HTTP 500 - Severe errors in solr configuration. Check your log files
for more detailed information on what may be wrong. If you want solr to
continue after configuration errors, change:
false in solr.xml
-
java.lang.RuntimeException: java.io.IOException: Map failed at
org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1103) at
org.apache.solr.core.SolrCore.(SolrCore.java:587) at
org.apache.solr.core.CoreContainer.create(CoreContainer.java:463) at
org.apache.solr.core.CoreContainer.load(CoreContainer.java:316) at
org.apache.solr.core.CoreContainer.load(CoreContainer.java:207) at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:130)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at
org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at
org.apache.catalina.core.StandardService.start(StandardService.java:525) at
org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at
org.apache.catalina.startup.Catalina.start(Catalina.java:595) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by:
java.io.IOException: Map failed at
sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:748) at
org.apache.lucene.store.MMapDirectory$MMapIndexInput.(MMapDirectory.java:265)
at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:216)
at org.apache.lucene.index.FieldsReader.(FieldsReader.java:131) at
org.apache.lucene.index.SegmentCoreReaders.openDocStores(SegmentCoreReaders.java:212)
at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:117) at
org.apache.lucene.index.SegmentReader.get(SegmentReader.java:93) at
org.apache.lucene.index.DirectoryReader.(DirectoryReader.java:113) at
org.apache.lucene.index.ReadOnlyDirectoryReader.(ReadOnlyDirectoryReader.java:29)
at org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:81)
at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:754)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:75) at
org.apache.lucene.index.IndexReader.open(IndexReader.java:462) at
org.apache.lucene.index.IndexReader.open(IndexReader.java:405) at
org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1092) ... 33 more
Caused by: java.lang.OutOfMemoryError: Map failed at
sun.nio.ch.FileChannelImpl.map0(Native Method) at
sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745) ... 48 more







--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-3-2-SOLR-doesn-t-work-with-previous-version-index-tp4667313p4667333.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--

[Dspace-tech] [SPAM] DSpace 3.2 SOLR doesn't work with previous version index

2013-09-16 Thread damanzano
Hello i'm almost done migrating Dspace from 1.7.2 to 3.2.0 but i'm having
problems with the SOLR server, it simply doesnt work with the previous data
(from 1.7.2). When i left de index folder empy it works  but when i put in
the index files from previous versions it ahow me an exception.

For test purposes I commented the localhost restriction and i get this
http://prntscr.com/1rp9g2 when i execute
http://localhost:8080/solr/statistics/select?q=*:*

I checked the index with with both lucene-core-2.9.3.jar and
lucene-core-3.5.0 and i got a "No problem were detected with this index"
result.

Here the check result:

 java -cp /WEB-INF/lib/lucene-core-3.5.0.jar
-ea:org.apache.lucene... org.apache.lucene.index.CheckIndex
/dspace/solr/search/data/index

Opening index @ /dspace/solr/search/data/index

Segments file=segments_pyi numSegments=10 version=2.x
format=FORMAT_DIAGNOSTICS [Lucene 2.9]
  1 of 10: name=_ged docCount=58973
compound=false
hasProx=true
numFiles=9
size (MB)=850.235
diagnostics = {optimize=false, mergeFactor=10,
os.version=2.6.16.60-0.54.5-bigsmp, os=Linux,
mergeDocStores=true, lucene.version=2.9.3 951790 - 2010-06-06 0 
  
1:30:55, source=merge, os.arch=i386, java.version=1.6.0_24, java.vendor=Sun
Microsystems Inc.}
has deletions [delFileName=_ged_2xi.del]
test: open reader.OK [38762 deleted docs]
test: fields..OK [100 fields]
test: field norms.OK [73 fields]
test: terms, freq, prox...OK [1165228 terms; 65623665 terms/docs pairs;
55583646 tokens]
test: stored fields...OK [2816554 total field count; avg 139.357
fields per doc]
test: term vectorsOK [0 total vector count; avg 0 term/freq
vector fields per doc]

  2 of 10: name=_hfb docCount=13137
compound=false
hasProx=true
numFiles=9
size (MB)=189.339
diagnostics = {optimize=false, mergeFactor=10,
os.version=2.6.16.60-0.54.5-bigsmp, os=Linux, mergeDocStores=true,
lucene.version=2.9.3 951790 - 2010-06-06 01:30:55, source=merge,
os.arch=i386, java.version=1.6.0_24, java.vendor=Sun Microsystems Inc.}
has deletions [delFileName=_hfb_12.del]
test: open reader.OK [38 deleted docs]
test: fields..OK [79 fields]
test: field norms.OK [52 fields]
test: terms, freq, prox...OK [360654 terms; 14512992 terms/docs pairs;
36073449 tokens]
test: stored fields...OK [1829050 total field count; avg 139.633
fields per doc]
test: term vectorsOK [0 total vector count; avg 0 term/freq
vector fields per doc]

  3 of 10: name=_ie2 docCount=12676
compound=false
hasProx=true
numFiles=9
size (MB)=182.686
diagnostics = {optimize=false, mergeFactor=10,
os.version=2.6.16.60-0.54.5-bigsmp, os=Linux, mergeDocStores=true,
lucene.version=2.9.3 951790 - 2010-06-06 01:30:55, source=merge,
os.arch=i386, java.version=1.6.0_24, java.vendor=Sun Microsystems Inc.}
has deletions [delFileName=_ie2_l.del]
test: open reader.OK [21 deleted docs]
test: fields..OK [79 fields]
test: field norms.OK [52 fields]
test: terms, freq, prox...OK [340943 terms; 13970993 terms/docs pairs;
34816148 tokens]
test: stored fields...OK [1783668 total field count; avg 140.946
fields per doc]
test: term vectorsOK [0 total vector count; avg 0 term/freq
vector fields per doc]

  4 of 10: name=_jdn docCount=10591
compound=false
hasProx=true
numFiles=9
size (MB)=190.793
diagnostics = {optimize=false, mergeFactor=10,
os.version=2.6.16.60-0.54.5-bigsmp, os=Linux, mergeDocStores=true,
lucene.version=2.9.3 951790 - 2010-06-06 01:30:55, source=merge,
os.arch=i386, java.version=1.6.0_24, java.vendor=Sun Microsystems Inc.}
has deletions [delFileName=_jdn_1.del]
test: open reader.OK [1 deleted docs]
test: fields..OK [78 fields]
test: field norms.OK [51 fields]
test: terms, freq, prox...OK [294200 terms; 14297575 terms/docs pairs;
36267870 tokens]
test: stored fields...OK [1539466 total field count; avg 145.37
fields per doc]
test: term vectorsOK [0 total vector count; avg 0 term/freq
vector fields per doc]

  5 of 10: name=_rqi docCount=5239
compound=false
hasProx=true
numFiles=9
size (MB)=117.114
diagnostics = {optimize=false, mergeFactor=10,
os.version=2.6.32.12-0.7-default, os=Linux, mergeDocStores=true,
lucene.version=2.9.3 951790 - 2010-06-06 01:30:55, source=merge,
os.arch=amd64, java.version=1.6.0_37, java.vendor=Sun Microsystems Inc.}
has deletions [delFileName=_rqi_bl.del]
test: open reader.OK [419 deleted docs]
test: fields..OK [156 fields]
test: field norms.OK [125 fields]
test: terms, freq, prox...OK [800140 terms; 10058845 terms/docs pairs;
25766723 tokens]
test: stored fields...OK [639791 total field count; avg 132.737

[Dspace-tech] DSpace 3.2 index-init errors

2013-09-12 Thread damanzano
Hello, i'm migrating our dspace 1.7.2 to the 3.2 version,
I have followed al the instructions on
https://wiki.duraspace.org/display/DSDOC3x/Upgrading+a+DSpace+Installation
from 1.7.x to 1.8.x and  1.8.x to 3.x but i'm having problems with dspace
index-init command, for some items it's appearing the exception 1. Besides
at the beggining of the process others exceptions like the ones ad the end
of this post ocurred. I have DEBUG mode in my log4j

Exception 1
2013-09-12 09:40:21,892 DEBUG org.dspace.search.DSIndexer @ Building Item:
10906/235
2013-09-12 09:40:21,893 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT * FROM MetadataValue WHERE item_id= ? ORDER BY
metadata_field_id, place"  with parameters: 180
2013-09-12 09:40:21,896 DEBUG org.dspace.search.DSIndexer @   Added Metadata
2013-09-12 09:40:21,896 DEBUG org.dspace.search.DSIndexer @   Added Sorting
2013-09-12 09:40:21,896 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT bundle.* FROM bundle, item2bundle WHERE
item2bundle.bundle_id=bundle.bundle_id AND item2bundle.item_id= ? "  wi
th parameters: 180
2013-09-12 09:40:21,897 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT bitstream.*,bundle2bitstream.bitstream_order FROM
bitstream, bundle2bitstream WHERE bundle2bitstream.bitstream_
id=bitstream.bitstream_id AND bundle2bitstream.bundle_id= ? ORDER BY
sequence_is ASC"  with parameters: 178
2013-09-12 09:40:21,898 ERROR org.dspace.search.DSIndexer @ ORA-00904:
"SEQUENCE_IS": invalid identifier

java.sql.SQLSyntaxErrorException: ORA-00904: "SEQUENCE_IS": invalid
identifier

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:884)
at
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1167)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1289)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3584)
at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3628)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1493)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.dspace.storage.rdbms.DatabaseManager.query(DatabaseManager.java:280)
at org.dspace.content.Bundle.(Bundle.java:96)
at org.dspace.content.Item.getBundles(Item.java:1190)
at
org.dspace.search.DSIndexer.buildDocumentForItem(DSIndexer.java:1243)
at
org.dspace.search.DSIndexer.prepareIndexingTask(DSIndexer.java:671)
at org.dspace.search.DSIndexer.indexContent(DSIndexer.java:278)
at org.dspace.search.DSIndexer.indexContent(DSIndexer.java:260)
at org.dspace.search.DSIndexer.updateIndex(DSIndexer.java:540)
at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:372)
at org.dspace.search.DSIndexer.main(DSIndexer.java:486)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
2013-09-12 09:40:21,899 INFO  org.dspace.search.DSIndexer @ Wrote Item:
10906/235 to Index

Others Exceptions
2013-09-12 09:19:47,432 DEBUG net.sf.ehcache.config.DiskStoreConfiguration @
Disk Store Path: /tmp
2013-09-12 09:19:47,440 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No
CacheManagerEventListen
erFactory class specified. Skipping...
2013-09-12 09:19:47,449 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No
BootstrapCacheLoaderFac
tory class specified. Skipping...
2013-09-12 09:19:47,449 DEBUG net.sf.ehcache.config.ConfigurationHelper @ No
CacheExceptionHandlerFa
ctory class specified. Skipping...
2013-09-12 09:19:47,468 DEBUG net.sf.ehcache.util.UpdateChecker @ Checking
for update...
2013-09-12 09:19:48,849 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT * FRO
M bi_1 WH

[Dspace-tech] [SPAM] Re: [SPAM] Re: Dspace release 3.0 with Oracle???

2013-06-12 Thread damanzano
Hi Hardy,

Thanks for your help! In fact, whe i leave blank the db.schema property i
can run fresh_install. The problem with the bundle table was due to the way
my database user/schema was created. Now i'm running without problem. 

Attached is the script i use for database user creation, maybe it can help
someone else with the same problem:

CREATE USER DSPACE
  IDENTIFIED BY 
  DEFAULT TABLESPACE DSPACE1
  TEMPORARY TABLESPACE TEMP
  PROFILE ESPECIAL
  ACCOUNT UNLOCK;
  -- 3 Roles for DSPACE 
  GRANT CONNECT TO DSPACE;
  GRANT RESOURCE TO DSPACE;
  ALTER USER DSPACE DEFAULT ROLE ALL;
  -- 1 System Privilege for DSPACE 
  GRANT UNLIMITED TABLESPACE TO DSPACE;



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Dspace-release-3-0-with-Oracle-tp4660552p4664831.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] [SPAM] Re: Dspace release 3.0 with Oracle???

2013-06-07 Thread damanzano
Hi,

Has being this issue solved?

I'm have downloaded the dspace-3_X branch from Github and tried to install
into a windows 7 PC and using an oracle database. When i execute the ant
fresh_install comand it fails reporting the following error:

 [java] Error:
 [java]  - null
 [java] 2013-06-07 15:54:02,870 FATAL
org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries:
 [java] java.lang.NullPointerException
 [java] at
org.dspace.storage.rdbms.ColumnInfo.canonicalize(ColumnInfo.java:154)
 [java] at
org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:579)
 [java] at
org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:437)
 [java] at
org.dspace.storage.rdbms.DatabaseManager.doInsertGeneric(DatabaseManager.java:1834)
 [java] at
org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675)
 [java] at
org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:447)
 [java] at
org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:403)
 [java] at
org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:172)
 [java] at
org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:138)
 [java] at
org.dspace.administer.RegistryLoader.main(RegistryLoader.java:75)

I have already all the comments in the jira DS-1435 report 
https://jira.duraspace.org/browse/DS-1435
   and cheked the code match
with the file in Github but still have the problem.

I only get the error when i set the db.schema property in build.properties.
If i leave this property in blank ant fresh_install does not ocurre but then
i have problems submiting item to collections because i have several
database schemas for different dspace repositorioes (in different verisons).
for example i get :
ERROR org.dspace.app.webui.servlet.SubmissionController @ Error loading step
class'org.dspace.submit.step.UploadStep':
java.sql.SQLSyntaxErrorException: ORA-00904: "METS_BITSTREAM_ID":
identificador no válido

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3584)
at
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3685)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1376)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at
org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1281)
at
org.dspace.storage.rdbms.DatabaseManager.doInsertGeneric(DatabaseManager.java:1879)
at
org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675)
at
org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:447)
at org.dspace.content.Bundle.create(Bundle.java:199)
at org.dspace.content.Item.createBundle(Item.java:1258)
at org.dspace.content.Item.createSingleBitstream(Item.java:1403)
at 
org.dspace.submit.step.UploadStep.processUploadFile(UploadStep.java:500)
at org.dspace.submit.step.UploadStep.doProcessing(UploadStep.java:145)
at
org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:401)
at
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:252)
at
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:382)
at
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:318)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org

[Dspace-tech] Concurrent Modification Exception

2011-09-01 Thread damanzano
Hi, recently i update my dspace from 1.5.1 to 1.7.2. After the publication
the follwing exception start to apper in the logs i have not can reproduce
the error, so i don´t know what acction is triggering the exception. Can you
help me? 


java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$ValueIterator.next(HashMap.java:822)
at
org.dspace.services.sessions.SessionRequestServiceImpl$RequestHolder.get(SessionRequestServiceImpl.java:274)
at
org.dspace.services.sessions.SessionRequestServiceImpl.endRequest(SessionRequestServiceImpl.java:141)
at
org.dspace.services.sessions.SessionRequestServiceImpl.endRequest(SessionRequestServiceImpl.java:130)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)


--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Concurrent-Modification-Exception-tp3783987p3783987.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech