Re: [Dspace-tech] Dspace 1.8.2 -- solr index

2012-05-07 Thread Oriol Olivé

Hi Poulter,
You mayneedto rebuildthe index
[dspace]/bin/dspace update-discovery-index -b
Thenyou canoptimize
[dspace]/bin/dspace update-discovery-index -o


Best,

Al 04/05/2012 20:45, En/na Poulter, Dale ha escrit:


All,

We are upgrading to 1.8.2 and continue to get the error below when we 
run the ./dspace update-discovery-index.  I have confirmed that the 
schema is correct in the solr/search/conf directory and that the other 
conf files seem to be current.  If I attempt to access the index from 
the server directly http://localhost:8080/solr/search/select?q=*.* ,  
I get a 500 error.  Has anyone encountered this issue?


bash-3.00# ./dspace update-discovery-index

Exception: Error executing query

org.dspace.discovery.SearchServiceException: Error executing query

at 
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:376)


at org.dspace.discovery.IndexClient.main(IndexClient.java:119)

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)


Caused by: org.apache.solr.client.solrj.SolrServerException: Error 
executing query


at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)


at 
org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)


at 
org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:101)


at 
org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:349)


... 6 more

Caused by: org.apache.solr.common.SolrException: Internal Server Error

Internal Server Error

request: 
http://localhost:8080/solr/search/select?q=search.resourcetype:2 AND 
search.resourceid:1wt=javabinversion=2


at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)


at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)


at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)


... 9 more

--Dale

---
Dale Poulter

Coordinator, Search and Core Services

Library Digital Services
Vanderbilt University

419 21st Avenue South, Room 812
Nashville, TN  37203-2427
(615)343-5388
(615)207-9705 (cell)
dale.poul...@vanderbilt.edu mailto:dale.poul...@vanderbilt.edu


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] XMLWorkflow problem with claimaction

2012-05-07 Thread van Hoek, Wilko
Hello Claudia,

the group is defined on repository-level. I even tried a complete 
vanilla-version of dspace on two Ubuntu 10.04 instances and checked the 
submission process. When it is set to the original workflow, submission works. 
When I change to xmlworkflow with the default workflow.xml I receive the 
WorkflowConfigurationException. I made sure the tomcat and dspace user have all 
needed permissions. 
The problem persists...

Java stacktrace:

org.apache.cocoon.ProcessingException: Error calling continuation
at processPage - resource://aspects/Submission/submission.js:507
at doNextPage - resource://aspects/Submission/submission.js:443
at map:call - resource://aspects/Submission/sitemap.xmap:92:44
at map:match - resource://aspects/Submission/sitemap.xmap:91:61
at map:select type=AuthenticatedSelector - 
resource://aspects/Submission/sitemap.xmap:59:48
at map:mount - jndi:/localhost/intern/aspects/aspects.xmap:89:72
at map:select type=parameter - 
jndi:/localhost/intern/aspects/aspects.xmap:79:34
at map:match type=AspectMatcher - 
jndi:/localhost/intern/aspects/aspects.xmap:78:36
at map:mount - jndi:/localhost/intern/sitemap.xmap:427:100
at map:match - jndi:/localhost/intern/sitemap.xmap:426:49
at map:serialize type=xml - 
resource://aspects/XMLWorkflow/sitemap.xmap:151:48
at map:transform type=Navigation - 
resource://aspects/XMLWorkflow/sitemap.xmap:80:55
at map:generate - resource://aspects/XMLWorkflow/sitemap.xmap:78:36
at map:serialize type=xml - 
resource://aspects/Statistics/sitemap.xmap:77:31
at map:transform type=Navigation - 
resource://aspects/Statistics/sitemap.xmap:49:55
at map:generate - resource://aspects/Statistics/sitemap.xmap:30:19
at map:serialize type=xml - 
jndi:/localhost/intern/aspects/aspects.xmap:85:34
at map:transform type=PageNotFound - 
jndi:/localhost/intern/aspects/aspects.xmap:84:43
at map:generate - jndi:/localhost/intern/aspects/aspects.xmap:83:22
at map:serialize type=xhtml - 
jndi:/localhost/intern/themes/Reference/sitemap.xmap:154:62
at map:transform type=NamespaceFilter - 
jndi:/localhost/intern/themes/Reference/sitemap.xmap:151:112
at map:transform type=NamespaceFilter - 
jndi:/localhost/intern/themes/Reference/sitemap.xmap:150:106
at map:transform type=i18n - 
jndi:/localhost/intern/themes/Reference/sitemap.xmap:144:68
at map:transform - 
jndi:/localhost/intern/themes/Reference/sitemap.xmap:140:72
at map:transform type=IncludePageMeta - 
jndi:/localhost/intern/themes/Reference/sitemap.xmap:125:87
at map:generate type=file - 
jndi:/localhost/intern/themes/Reference/sitemap.xmap:101:83
at map:match - 
jndi:/localhost/intern/themes/Reference/sitemap.xmap:98:49
at map:mount - jndi:/localhost/intern/themes/themes.xmap:33:45
at map:match type=ThemeMatcher - 
jndi:/localhost/intern/themes/themes.xmap:32:35
at map:mount - jndi:/localhost/intern/sitemap.xmap:590:94
at 
org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:143)
at 
org.apache.cocoon.components.flow.javascript.LocationTrackingDebugger.getException(LocationTrackingDebugger.java:111)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:705)
at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:94)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107)
at 

[Dspace-tech] Build error

2012-05-07 Thread Priya S
Hi,

Suddenly while running mvn package, the following error has occurred.
Could you please tell me how to solve this?. Is there any way to tell the
maven to ignore the warning  build,deploy with the existing files?.


Thanks in advance
Priya

[INFO] --
--
[INFO] Building Dryad :: Customized API and Implementation
[INFO]task-segment: [package]
[INFO]

[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] snapshot com.atmire:atmire-workflow:1.6.2-SNAPSHOT: checking for
updates from maven.dspace.org-snapshot
[WARNING] repository metadata for: 'snapshot
com.atmire:atmire-workflow:1.6.2-SNAPSHOT' could not be retrieved from
repository: maven.dspace.org-snapshot due to an error: Error transferring
file: maven.dspace.org
[INFO] Repository 'maven.dspace.org-snapshot' will be blacklisted
[INFO] snapshot com.atmire:atmire-workflow:1.6.2-SNAPSHOT: checking for
updates from atmire.com-releases
[WARNING] repository metadata for: 'snapshot
com.atmire:atmire-workflow:1.6.2-SNAPSHOT' could not be retrieved from
repository: atmire.com-releases due to an error: Authorization failed:
Access denied to:
https://atmire.com/artifactory/atmire.com-releases/com/atmire/atmire-workflow/1.6.2-SNAPSHOT/maven-metadata.xml
[INFO] Repository 'atmire.com-releases' will be blacklisted
Downloading:
http://maven.dspace.org/snapshot/org/dspace/discovery/discovery-modules/0.9.4-SNAPSHOT/discovery-modules-0.9.4-SNAPSHOT.pom
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: org.dspace.discovery:discovery-solr-provider:jar:0.9.4-SNAPSHOT

Reason: Cannot find parent: org.dspace.discovery:discovery-modules for
project: org.dspace.discovery:discovery-solr-provider:jar:0.9.4-SNAPSHOT
for project org.dspace.discovery:discovery-solr-provider:jar:0.9.4-SNAPSHOT


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 8 seconds
[INFO] Finished at: Mon May 07 14:14:09 CEST 2012
[INFO] Final Memory: 30M/72M
[INFO]

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Execute Java Class Problem

2012-05-07 Thread Daniel Shin
Hi,

I created a simple Java Class for test in
[dspace-src]/dspace-api/src/main/java/org/dspace/test that print test.
I typed the command in [dspace]/bin: ./dspace dsrun
org.dspace.test.TestPrint

Follow the message error:  Error in launcher.xml: Invalid class name:
org.dspace.test.TestPrint.

I executed the maven to compile the class before.

Any suggestion?


Thanks,

Daniel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Execute Java Class Problem

2012-05-07 Thread Claudia Jürgen
Hello Daniel,

since 1.6 the DSpace Command Launcher is used.

You got to add the class to the configuration file
[dspace]/config/launcher.xml


Then you can execute it using
[dspace]/bin/dspace [Name as configured in launcher.xml]

For Details see the Documentation
https://wiki.duraspace.org/display/DSDOC18/Application+Layer#ApplicationLayer-DSpaceCommandLauncher

Hope this helps

Claudia Jürgen


Am 07.05.2012 18:12, schrieb Daniel Shin:
 Hi,

 I created a simple Java Class for test in
 [dspace-src]/dspace-api/src/main/java/org/dspace/test that print test.
 I typed the command in [dspace]/bin: ./dspace dsrun
 org.dspace.test.TestPrint

 Follow the message error:  Error in launcher.xml: Invalid class name:
 org.dspace.test.TestPrint.

 I executed the maven to compile the class before.

 Any suggestion?


 Thanks,

 Daniel




 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Execute Java Class Problem

2012-05-07 Thread Mark Diggory
His command should still be reasonable.  Where are you placing the
customized java class you are trying to add?

Regards,
Mark

On Monday, May 7, 2012, Claudia Jürgen wrote:

 Hello Daniel,

 since 1.6 the DSpace Command Launcher is used.

 You got to add the class to the configuration file
 [dspace]/config/launcher.xml


 Then you can execute it using
 [dspace]/bin/dspace [Name as configured in launcher.xml]

 For Details see the Documentation

 https://wiki.duraspace.org/display/DSDOC18/Application+Layer#ApplicationLayer-DSpaceCommandLauncher

 Hope this helps

 Claudia Jürgen


 Am 07.05.2012 18:12, schrieb Daniel Shin:
  Hi,
 
  I created a simple Java Class for test in
  [dspace-src]/dspace-api/src/main/java/org/dspace/test that print test.
  I typed the command in [dspace]/bin: ./dspace dsrun
  org.dspace.test.TestPrint
 
  Follow the message error:  Error in launcher.xml: Invalid class name:
  org.dspace.test.TestPrint.
 
  I executed the maven to compile the class before.
 
  Any suggestion?
 
 
  Thanks,
 
  Daniel
 
 
 
 
 
 --
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond. Discussions
  will include endpoint security, mobile security and the latest in malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 
 
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net javascript:;
  https://lists.sourceforge.net/lists/listinfo/dspace-tech

 --
 Claudia Juergen
 Universitaetsbibliothek Dortmund
 Eldorado
 0231/755-4043
 https://eldorado.tu-dortmund.de/


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net javascript:;
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



-- 
[image: @mire Inc.]
*Mark Diggory *(Schedule a Meeting https://tungle.me/markdiggory)
*2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
http://www.atmire.com
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech