[Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread Kai Bjørnenak
Hello

I just did a fresh install of dspace 1.8.2 on a test-server that used to 
run 1.7.x and I can't get xmlui to work. jspui seems to work fine. 
Apache says 404, requested resource is not available.

Looking through cocoon.log I see this:

2012-10-08 13:40:58,375 INFO 
org.apache.cocoon.components.store.impl.EHDefaultStore  - Disposing 
EHCache cache 'cocoon-ehcache'.
2012-10-08 13:40:58,428 ERROR 
org.springframework.web.context.ContextLoader  - Context initialization 
failed
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'dspace.eventService' defined in ServletContext resource 
[/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed; 
nested exception is 
org.springframework.beans.factory.BeanDefinitionStoreException: Factory 
method [public org.dspace.services.EventService 
org.dspace.utils.DSpace.getEventService()] threw exception; nested 
exception is java.lang.IllegalStateException: DSpace kernel cannot be null
 at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
 at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
 at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
 at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
 at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
 at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
 at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
 at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
 at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
 at 
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
 at 
org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
 at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
 at java.lang.Thread.run(Thread.java:679)
Caused by: 
org.springframework.beans.factory.BeanDefinitionStoreException: Factory 
method [public org.dspace.services.EventService 
org.dspace.utils.DSpace.getEventService()] threw exception; nested 
exception is java.lang.IllegalStateException: DSpace kernel cannot be null
 at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127)
 at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)
 ... 25 more
Caused by: java.lang.IllegalStateException: DSpace kernel cannot be null
 at org.dspace.utils.DSpace.getServiceManager(DSpace.java:63)
 at org.dspace.utils.DSpace.getEventService(DSpace.java:75)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at 

Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread helix84
Can you try replacing this file with its unmodified version and
restarting Tomcat?

[dspace]/config/spring/discovery/spring-dspace-addon-discovery-configuration-services.xml

You can find the unmodified file here:
https://raw.github.com/DSpace/DSpace/dspace-1_8_x/dspace/config/spring/discovery/spring-dspace-addon-discovery-configuration-services.xml

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread Kai Bjørnenak
Diff shows there are no differences between the two and a replace with 
restart made no difference, the only file I can think of that I have  
manually edited is the dspace.conf file.

Regards
Kai Bjørnenak

On 10/09/2012 09:41 AM, helix84 wrote:
 Can you try replacing this file with its unmodified version and
 restarting Tomcat?

 [dspace]/config/spring/discovery/spring-dspace-addon-discovery-configuration-services.xml

 You can find the unmodified file here:
 https://raw.github.com/DSpace/DSpace/dspace-1_8_x/dspace/config/spring/discovery/spring-dspace-addon-discovery-configuration-services.xml

 Regards,
 ~~helix84


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread helix84
On Tue, Oct 9, 2012 at 10:04 AM, Kai Bjørnenak kai.bjorne...@uit.no wrote:
 Diff shows there are no differences between the two and a replace with
 restart made no difference, the only file I can think of that I have
 manually edited is the dspace.conf file.

Can you double-check that you didn't leave out any of the steps listed
in here? Discovery configuration format changed sigificantly between
1.7 and 1.8.

https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-EnablingDiscovery

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread Kai Bjørnenak
Discovery is not enabled (by default on a fresh install it seems?).

Regards
Kai Bjørnenak

On 10/09/2012 09:37 AM, Hilton Gibson wrote:
 Hi Kai

 I suggest disable discovery and try again.
 If it works, then your discovery setup is the problem.
 This may help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery

 Cheers

 hg


 On 9 October 2012 09:32, Kai Bjørnenak kai.bjorne...@uit.no wrote:
 Hello

 I just did a fresh install of dspace 1.8.2 on a test-server that used to
 run 1.7.x and I can't get xmlui to work. jspui seems to work fine.
 Apache says 404, requested resource is not available.

 Looking through cocoon.log I see this:

 2012-10-08 13:40:58,375 INFO
 org.apache.cocoon.components.store.impl.EHDefaultStore  - Disposing
 EHCache cache 'cocoon-ehcache'.
 2012-10-08 13:40:58,428 ERROR
 org.springframework.web.context.ContextLoader  - Context initialization
 failed
 org.springframework.beans.factory.BeanCreationException: Error creating
 bean with name 'dspace.eventService' defined in ServletContext resource
 [/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed;
 nested exception is
 org.springframework.beans.factory.BeanDefinitionStoreException: Factory
 method [public org.dspace.services.EventService
 org.dspace.utils.DSpace.getEventService()] threw exception; nested
 exception is java.lang.IllegalStateException: DSpace kernel cannot be null
   at
 org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444)
   at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)
   at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)
   at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at
 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at
 org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at
 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at
 org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at
 org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at
 org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at
 org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
   at
 org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
   at
 org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
   at
 org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
   at
 org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
   at
 org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
   at
 org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
   at
 org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
   at
 org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
   at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:679)
 Caused by:
 org.springframework.beans.factory.BeanDefinitionStoreException: Factory
 method [public org.dspace.services.EventService
 org.dspace.utils.DSpace.getEventService()] threw exception; nested
 exception is java.lang.IllegalStateException: DSpace kernel cannot be null
   at
 org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127)
   at
 org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)
   ... 25 more
 Caused by: 

Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread helix84
On Tue, Oct 9, 2012 at 10:19 AM, Kai Bjørnenak kai.bjorne...@uit.no wrote:
 Discovery is not enabled (by default on a fresh install it seems?).

That's correct. It will be, starting from DSpace 3.0.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread Kai Bjørnenak
Discovery was not enabled, but I tried to enable it. When I got step 4. 
where I should run dspace update-discovery-index I got this error:


[dspace@dspace dspace]$ ./bin/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:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)
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: Not Found

Not Found

request: http://localhost/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


Not sure this is relevant though, since Lucene is not installed on this 
machine.



Regards

Kai Bjørnenak

||On 10/09/2012 10:14 AM, helix84 wrote:

On Tue, Oct 9, 2012 at 10:04 AM, Kai Bjørnenak kai.bjorne...@uit.no wrote:

Diff shows there are no differences between the two and a replace with
restart made no difference, the only file I can think of that I have
manually edited is the dspace.conf file.

Can you double-check that you didn't leave out any of the steps listed
in here? Discovery configuration format changed sigificantly between
1.7 and 1.8.

https://wiki.duraspace.org/display/DSDOC18/Discovery#Discovery-EnablingDiscovery

Regards,
~~helix84


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] java.lang.NullPointerException

2012-10-09 Thread helix84
On Tue, Oct 9, 2012 at 10:45 AM, Graziano Fiori grazianofi...@gmail.com wrote:
 I'm running Dspace 1.8.2 in my computer with linux system.I have problem
 with submission,using xmlui version,after I accept licence appear the below
 error message and I can't complete item submission.

It seems you don't have mail.server configured to your SMTP server
hostname in dspace.cfg. Add it, then restart Tomcat.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] JSPUI Community-list page collection in expand and collapse view

2012-10-09 Thread Umair Kayani
Dear All,

 

You all have seen the default collection view style in community-list page
of jspui folder i.e. like follow

 

· Main collection

o   Sub collection 

§  Collection

o   Collection

· Main collection

o   collection

 

Now what I want is the above style shall be in expand and collapse style
like with proper expand collapse behaviour: 

 

-  Main collection

­   Sub collection 

­   Collection

­   Collection

 

+   Main collection

 

Can anyone tell me if I can do it through CSS or do I have to change the
code line. If I have to change the code line then what shall be the change
(I mean code)

 

Please help urgently.

 

 

Thanks  Regards

 

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] JSPUI Community-list page collection in expand and collapse view

2012-10-09 Thread helix84
Oh, sorry, you were asking about JSPUI. Nevermind.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] JSPUI Community-list page collection in expand and collapse view

2012-10-09 Thread helix84
Hi Umair,

this is documented here:

https://wiki.duraspace.org/display/DSPACE/Add+expanding+and+collapsing+interface+to+community-list+hierarchy+%28Manakin%29

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread Kai Bjørnenak
[dspace@dspace dspace]$ pwd
/usr/local/dspace
[dspace@dspace dspace]$ ls -l
total 52
drwxrwxr-x. 2 dspace dspace 4096 Oct  8 13:22 assetstore
drwxrwxr-x. 2 dspace dspace 4096 Oct  9 09:14 bin
drwxrwxr-x. 9 dspace dspace 4096 Oct  9 10:21 config
drwxrwxr-x. 5 dspace dspace 4096 Oct  9 09:14 etc
drwxrwxr-x. 3 dspace dspace 4096 Oct  8 13:22 exports
drwxrwxr-x. 2 dspace dspace 4096 Oct  8 13:22 handle-server
drwxrwxr-x. 2 dspace dspace 4096 Oct  9 09:14 lib
drwxrwxr-x. 2 dspace dspace 4096 Oct  9 09:15 log
drwxrwxr-x. 2 dspace dspace 4096 Oct  8 13:22 reports
drwxrwxr-x. 2 dspace dspace 4096 Oct  9 09:14 search
drwxrwxr-x. 4 dspace dspace 4096 Oct  8 13:32 solr
drwxrwxr-x. 2 dspace dspace 4096 Oct  8 13:22 upload
drwxrwxr-x. 9 dspace dspace 4096 Oct  8 13:32 webapps

Seems ok.

Regards
Kai Bjørnenak

On 10/09/2012 10:56 AM, helix84 wrote:
 On Tue, Oct 9, 2012 at 10:44 AM, Kai Bjørnenak kai.bjorne...@uit.no wrote:
 Discovery was not enabled, but I tried to enable it. When I got step 4.
 OK, haven't mentioned that before. I assumed you did because the error
 says there's a problem with the Discovery configuration file. So it
 must be something else.

 Caused by: org.apache.solr.common.SolrException: Not Found
 OK, this may be a far cry, but try doing this:
 find out what user and group owns your dspace directory (replace
 /dspace with your actual directory):
 ls -l /dspace

 Make sure that all files in that directory are owned by this user ang
 group (replace YOURUSER, YOURGROUP and /dspace):
 chown -R YOURUSER:YOURGROUP /dspace

 Not sure this is relevant though, since Lucene is not installed on this
 machine.
 No matter, Solr is distributed as a part of DSpace.

 Regards,
 ~~helix84


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread helix84
Try running
chown -R dspace:dspace /usr/local/dspace

It changes permissions recursively, there might still be some
ownership problems down the tree. In any case, running it won't hurt.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread Hilton Gibson
See step 6.1 for an Ubuntu install:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S06

On 9 October 2012 11:10, Kai Bjørnenak kai.bjorne...@uit.no wrote:
 [dspace@dspace dspace]$ pwd
 /usr/local/dspace
 [dspace@dspace dspace]$ ls -l
 total 52
 drwxrwxr-x. 2 dspace dspace 4096 Oct  8 13:22 assetstore
 drwxrwxr-x. 2 dspace dspace 4096 Oct  9 09:14 bin
 drwxrwxr-x. 9 dspace dspace 4096 Oct  9 10:21 config
 drwxrwxr-x. 5 dspace dspace 4096 Oct  9 09:14 etc
 drwxrwxr-x. 3 dspace dspace 4096 Oct  8 13:22 exports
 drwxrwxr-x. 2 dspace dspace 4096 Oct  8 13:22 handle-server
 drwxrwxr-x. 2 dspace dspace 4096 Oct  9 09:14 lib
 drwxrwxr-x. 2 dspace dspace 4096 Oct  9 09:15 log
 drwxrwxr-x. 2 dspace dspace 4096 Oct  8 13:22 reports
 drwxrwxr-x. 2 dspace dspace 4096 Oct  9 09:14 search
 drwxrwxr-x. 4 dspace dspace 4096 Oct  8 13:32 solr
 drwxrwxr-x. 2 dspace dspace 4096 Oct  8 13:22 upload
 drwxrwxr-x. 9 dspace dspace 4096 Oct  8 13:32 webapps

 Seems ok.

 Regards
 Kai Bjørnenak

 On 10/09/2012 10:56 AM, helix84 wrote:
 On Tue, Oct 9, 2012 at 10:44 AM, Kai Bjørnenak kai.bjorne...@uit.no wrote:
 Discovery was not enabled, but I tried to enable it. When I got step 4.
 OK, haven't mentioned that before. I assumed you did because the error
 says there's a problem with the Discovery configuration file. So it
 must be something else.

 Caused by: org.apache.solr.common.SolrException: Not Found
 OK, this may be a far cry, but try doing this:
 find out what user and group owns your dspace directory (replace
 /dspace with your actual directory):
 ls -l /dspace

 Make sure that all files in that directory are owned by this user ang
 group (replace YOURUSER, YOURGROUP and /dspace):
 chown -R YOURUSER:YOURGROUP /dspace

 Not sure this is relevant though, since Lucene is not installed on this
 machine.
 No matter, Solr is distributed as a part of DSpace.

 Regards,
 ~~helix84


 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



-- 
Hilton Gibson
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] JSPUI Community-list page collection in expand and collapse view

2012-10-09 Thread Umair Kayani
How can we do it in JSP pages please help.


Thanks  Regards
Umair Kayani
+92 21 111-112-222 Ext 234

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Tuesday, October 09, 2012 1:59 PM
To: Umair Kayani
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] JSPUI Community-list page collection in expand and 
collapse view

Hi Umair,

this is documented here:

https://wiki.duraspace.org/display/DSPACE/Add+expanding+and+collapsing+interface+to+community-list+hierarchy+%28Manakin%29

Regards,
~~helix84


smime.p7s
Description: S/MIME cryptographic signature
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread Kai Bjørnenak
Ok, tried running chown on the dspace-folder, still same error-messages.

Regards
Kai Bjørnenak

On 10/09/2012 11:11 AM, helix84 wrote:
 Try running
 chown -R dspace:dspace /usr/local/dspace

 It changes permissions recursively, there might still be some
 ownership problems down the tree. In any case, running it won't hurt.

 Regards,
 ~~helix84


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] xmlui in dspace 1.8.2 not working

2012-10-09 Thread helix84
On Tue, Oct 9, 2012 at 12:30 PM, Kai Bjørnenak kai.bjorne...@uit.no wrote:
 Ok, tried running chown on the dspace-folder, still same error-messages.

OK, I said it was a far cry :)

I think the problem is that for some reason DSpace is not able to load
all configuration. How did you migrate your configuration when
upgrading from 1.7 to 1.8. Did you copy your 1.7 configuration over
the default 1.8 configuration? There have been many changes, so you
should instead take the default 1.8 installation and only change the
things you want to change in there. To find out what you actually
changed, you can take the default 1.7 configuration directory and do:
diff -ur /default/dspace1.7/config/ /your/dspace17/config/ | view -

Look at the diff and make your changes in the default 1.8 config
directory, then use that and restart Tomcat.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] dspace authorization

2012-10-09 Thread Sergio Belkin
Hi,

My user of dspace by mistake has received a task to process, I'd want
to delegate it to another user. Please could you help how to do that?

I use dspace 1.5.2

Thanks in advance




-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace authorization

2012-10-09 Thread Sergio Belkin
2012/10/9 Sean Carte sean.ca...@gmail.com:
 On 9 October 2012 14:39, Sergio Belkin seb...@gmail.com wrote:
 My user of dspace by mistake has received a task to process, I'd want
 to delegate it to another user. Please could you help how to do that?

 I use dspace 1.5.2

 Return the task to the pool, then the other user can take it.

 Sean
 --
 Sean Carte
 DUT E-Repository Administrator
 +27 72 898 8775
 +27 31 373 5761
 fax: +27 86 674 1254
 http://ir.dut.ac.za

But I have only 2 options: take submit or leave submit if I choose the
last one, the task still appears on my pool, am I doing something
wrong?

TIA

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace REST API Showcase

2012-10-09 Thread Michael Guthrie
Also to participate in the open source project that allows you to replace
the default DSpace UIs with a CMS, feel free to sign up here:
https://jspace.atlassian.net/

Michael



On 8 October 2012 16:17, Hayden Young haydenyo...@wijiti.com wrote:

 For anyone interested in integrating DSpace with other applications.

 A brief case study of an integration between Joomla and DSpace using the
 DSpace REST API (https://github.com/wijiti/dspace-rest-api):

 http://www.wijiti.com/saber

 Features include:
 - Full integration of DSpace communities/collections, items and assets
 using the OSS Joomla extension JSpace,
 - Index and search of DSpace items and assets using both the REST API
 and the OSS Joomla extension JSolr,
 - Latest Items / Most Popular Items using JSpace modules and the DSpace
 REST API,
 - Project portals for displaying related assets and items in the archive
 to site users.

 A link to the live site is available at the end of the above case study
 page.

 Cheers


 Hayden

 --
 Hayden Young
 Managing Director
 Wijiti Pty Ltd
 p. +61 (0) 8 6398 5010
 e. haydenyo...@wijiti.com
 w. www.wijiti.com
 vcard. www.wijiti.com/vcard/haydenyoung.vcf

 NOTICE
 This e-mail and any attachments are intended for the addressee(s) only and
 may be confidential. They may contain legally privileged or copyright
 material. You should not read, copy, use or disclose them without
 authorization. If you are not the intended recipient please contact the
 sender as soon as possible by return e-mail and then please delete both
 messages. This notice should not be removed.



 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] JSPUI adding new javascript file in page header

2012-10-09 Thread Umair Kayani
How can I add new javascript file on my page header. So that I can be available 
on my pages


Thanks  Regards



--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] JSPUI Community-list page collection in expand and collapse view

2012-10-09 Thread helix84
On Tue, Oct 9, 2012 at 12:16 PM, Umair Kayani ukay...@niftetrust.com wrote:
 How can we do it in JSP pages please help.

Maybe this will help you:

https://code.google.com/p/vnptlib/source/browse/#svn%2Ftrunk%2Fdspace-jspui%2Fdspace-jspui-webapp%2Fsrc%2Fmain%2Fwebapp

https://code.google.com/p/vnptlib/source/browse/trunk/dspace-jspui/dspace-jspui-webapp/src/main/webapp/community-list.jsp

I don't use JSPUI myself, so I can't give you any more details. But at
least it answers your question about adding javascript to .jsp.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] error with cwf_collectionrole

2012-10-09 Thread helix84
Thanks for reporting a solution. I don't use this particular DSpace
feature, so I'm unable to test it. I CCed Ian who originally reported
the problem, he should be able to report if it helps.

I don't believe this has been reported yet. Can you please report the
problem to Jira and also add your solution? You will thus be informed
when any progress on this is made. Thank you.

Regards,
~~helix84


On Tue, Oct 9, 2012 at 2:38 PM, Jesús Martín García jmar...@cesca.cat wrote:
 Hi,

 I've seen that other uses have reported the same error about
 cwf_collectionrole table with dspace 1.8.2, when you try to delete a
 collection workflow group.

 The xmlui.xconf is the default, so is using the old aspect:
 aspect name=Original Workflow path=resource://aspects/Workflow/ /

 After some research I've found that FlowContainerUtils.java is the class
 which is giving problems. In fact, these lines are in the
 processDeleteCollectionRole function:

  else{
  WorkflowUtils.deleteRoleGroup(context, collectionID, roleName);
  }
 //  else if (ROLE_WF_STEP1.equals(roleName))
 //  {
 //  collection.setWorkflowGroup(1, null);
 //  }
 //  else if (ROLE_WF_STEP2.equals(roleName))
 //  {
 //  collection.setWorkflowGroup(2, null);
 //  }
 //  else if (ROLE_WF_STEP3.equals(roleName))
 //  {
 //  collection.setWorkflowGroup(3, null);
 //
 //  }

 If you delete the else sentence and uncomment the other lines and
 finally recompile all the project it's working now ok

 But it's all these errors a known DSpace bug?

 Kind regards,

 Jesús

 --
 ...
__
  /   /   Jesús Martín García
 C E / S / C A   Tècnic de Projectes
/__ / Centre de Serveis Científics i Acadèmics de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
 T. 93 551 6213 · F. 93 205 6979 · jmar...@cesca.cat
 ...


 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace authorization

2012-10-09 Thread Sean Carte
On 9 October 2012 14:56, Sergio Belkin seb...@gmail.com wrote:
 On 9 October 2012 14:39, Sergio Belkin seb...@gmail.com wrote:
 My user of dspace by mistake has received a task to process, I'd want
 to delegate it to another user. Please could you help how to do that?

 I use dspace 1.5.2

 Return the task to the pool, then the other user can take it.

 Sean

 But I have only 2 options: take submit or leave submit if I choose the
 last one, the task still appears on my pool, am I doing something
 wrong?

Sorry, I assumed that 1.5.2 would have similar options to 1.8.
Hopefully someone more familiar with 1.5.2 will be able to give you
advice.

Sean
-- 
Sean Carte
DUT E-Repository Administrator
+27 72 898 8775
+27 31 373 5761
fax: +27 86 674 1254
http://ir.dut.ac.za

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Cann't access dspace

2012-10-09 Thread Tom Obrien
Hi all,
I successfully install dspace 1.8 on ubuntu server 12. However when i try
accessing it using http:url:8080/jspui or xmlui i get:
Not Found

The requested URL /xmlui was not found on this server.
--
Apache/2.2.17 (Ubuntu) Server at 192.168.1.172 Port 8080



Can somebody help me since i am stack.

Thank in advance
Tom
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace authorization

2012-10-09 Thread Sergio Belkin
2012/10/9 Sean Carte sean.ca...@gmail.com:
 On 9 October 2012 14:56, Sergio Belkin seb...@gmail.com wrote:
 On 9 October 2012 14:39, Sergio Belkin seb...@gmail.com wrote:
 My user of dspace by mistake has received a task to process, I'd want
 to delegate it to another user. Please could you help how to do that?

 I use dspace 1.5.2

 Return the task to the pool, then the other user can take it.

 Sean

 But I have only 2 options: take submit or leave submit if I choose the
 last one, the task still appears on my pool, am I doing something
 wrong?

 Sorry, I assumed that 1.5.2 would have similar options to 1.8.
 Hopefully someone more familiar with 1.5.2 will be able to give you
 advice.

 Sean
 --
 Sean Carte
 DUT E-Repository Administrator
 +27 72 898 8775
 +27 31 373 5761
 fax: +27 86 674 1254
 http://ir.dut.ac.za

I've found it ! Accepting the submit, then I have the option to return
the task to the pool :)

-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to export collection from dspace ver 1.4.1

2012-10-09 Thread Claudia Jürgen
Hello Atul,

the command would be
/dspace/bin/dspace dsrun org.dspace.app.itemexport.ItemExport

-t COLLECTION -i [ID or Handle of the collection] -d [path for the 
output] -n [number to start counting with]

Are you sure you got the proper ID or Handle of the collection 
specified? Note this works for collections not communities.

One other thing, in order to upgrade your instance to a new version, is 
it not necessary to migrate the data, just follow the upgrade steps in 
the documentation. One can move from e.g 1.6 to 1.8 directly, just make 
sure you have
- proper backup of all your data
- the prerequisites needed for the new version
- paid attention to all the new/changed config settings
- run the db upgrade steps
- run other scripts like index-init

Hope this helps

Claudia Jürgen



Am 09.10.2012 05:56, schrieb atul jaiswal:
 Hi everyone

 I m using dspace ver 1.4.1. i want to migrate my data to latest version of
 Dspace. I m usind export command  /dspace/bin/dspace dsrun
 org.dspace.app.itemexport.ItemExport -t COLLECTION -i handle -d /export -n
 123. But this command is not working. Please help me for right command.

 with regard
 Atul Jaiswal



 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev



 ___
 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/

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Cann't access dspace

2012-10-09 Thread Hilton Gibson
Hi Tom

Perhaps these links will help:

   - http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05
   - http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S08

Cheers

hg

On 9 October 2012 15:31, Tom Obrien tobri...@gmail.com wrote:
 Hi all,
 I successfully install dspace 1.8 on ubuntu server 12. However when i try
 accessing it using http:url:8080/jspui or xmlui i get:

 Not Found

 The requested URL /xmlui was not found on this server.

 
 Apache/2.2.17 (Ubuntu) Server at 192.168.1.172 Port 8080



 Can somebody help me since i am stack.

 Thank in advance
 Tom




--
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Hilton Gibson
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Cann't access dspace

2012-10-09 Thread helix84
On Tue, Oct 9, 2012 at 3:31 PM, Tom Obrien tobri...@gmail.com wrote:
 
 Apache/2.2.17 (Ubuntu) Server at 192.168.1.172 Port 8080

That's strange. Apache HTTPD normally wouldn't run on port 8080 as it
does in your case.

It's the usual setup that Apache Tomcat has connectors on ports 8080
and 8443, which are then proxied via Apache HTTPD to the low ports (80
and 443, respectively).

Step 8 here explains how to configure Tomcat connectors:
https://wiki.duraspace.org/display/DSDOC18/Installation#Installation-InstallationSteps

And here are several options for running/proxying DSpace to standard ports:
https://wiki.duraspace.org/display/DSPACE/DspaceOnStandardPorts

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to export collection from dspace ver 1.4.1

2012-10-09 Thread Hilton Gibson
Perhaps this will help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Import_and_Export

On 9 October 2012 15:38, Claudia Jürgen
claudia.juer...@ub.tu-dortmund.dewrote:

 Hello Atul,

 the command would be
 /dspace/bin/dspace dsrun org.dspace.app.itemexport.ItemExport

 -t COLLECTION -i [ID or Handle of the collection] -d [path for the
 output] -n [number to start counting with]

 Are you sure you got the proper ID or Handle of the collection
 specified? Note this works for collections not communities.

 One other thing, in order to upgrade your instance to a new version, is
 it not necessary to migrate the data, just follow the upgrade steps in
 the documentation. One can move from e.g 1.6 to 1.8 directly, just make
 sure you have
 - proper backup of all your data
 - the prerequisites needed for the new version
 - paid attention to all the new/changed config settings
 - run the db upgrade steps
 - run other scripts like index-init

 Hope this helps

 Claudia Jürgen



 Am 09.10.2012 05:56, schrieb atul jaiswal:
  Hi everyone
 
  I m using dspace ver 1.4.1. i want to migrate my data to latest version
 of
  Dspace. I m usind export command  /dspace/bin/dspace dsrun
  org.dspace.app.itemexport.ItemExport -t COLLECTION -i handle -d /export
 -n
  123. But this command is not working. Please help me for right command.
 
  with regard
  Atul Jaiswal
 
 
 
 
 --
  Don't let slow site performance ruin your business. Deploy New Relic APM
  Deploy New Relic app performance management and know exactly
  what is happening inside your Ruby, Python, PHP, Java, and .NET app
  Try New Relic at no cost today and get our sweet Data Nerd shirt too!
  http://p.sf.net/sfu/newrelic-dev2dev
 
 
 
  ___
  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/


 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace authorization

2012-10-09 Thread Claudia Jürgen
Hello Sergio,

if the other user is already belonging to the group assigned responsible 
for the workflow step, he can take the task from the task pool. It might 
be necessary for the wrong user to return the task to the pool, if 
already choosen.

If not, it will not work adding the other user to the group.
In that case you can achieve this only afaik on the database level.

The usual warning backup db, be sure what you are doing.

The command would be

update tasklistitem set eperson_id=[the eperson_id of the owner you want 
the item to be delegated to] where tasklist_id=[id of the tasklistitem];

Hope this helps

Claudia Jürgen


Am 09.10.2012 14:39, schrieb Sergio Belkin:
 Hi,

 My user of dspace by mistake has received a task to process, I'd want
 to delegate it to another user. Please could you help how to do that?

 I use dspace 1.5.2

 Thanks in advance





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

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to export collection from dspace ver 1.4.1

2012-10-09 Thread helix84
On Tue, Oct 9, 2012 at 3:42 PM, Hilton Gibson hilton.gib...@gmail.com wrote:
 Perhaps this will help:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Import_and_Export

Hilton, that wouldn't work on 1.4. Mainly because the launcher script
was a bit different there.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] When is an item considered to be updated

2012-10-09 Thread Brouns, Francis
Hi all,

We recently upgraded to Dspace 1.8.2 and noticed that users who subscribed now 
received a message about many items that supposedly have changed. We have 
configured Dspace to send out notifications when items are changed, because in 
our workflow some of the metadata fields are updated in a later stage. That 
refers to metadata fields that are visible to end-users.
The only change I can track done on the old items for which now notifications 
are being sent, are the extracted text files that are now created by the 
media-filter for Word and Powerpoint files. Somehow this causes an item to be 
changed and updated. In my opinion, this does not constitute a change to an 
item that is relevant for end-users. Is there someway to prevent these kind of 
changes to trigger the subscription emails?

Best wishes,
Francis Brouns

Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan 
en gebruik door anderen is niet toegestaan. Open Universiteit sluit iedere 
aansprakelijkheid uit die voortvloeit uit elektronische verzending. Aan de 
inhoud van deze e-mail en/of eventueel toegevoegde bijlagen kunnen geen rechten 
worden ontleend.

This e-mail is intended exclusively for the addressee(s), and may not be passed 
on to, or made available for use by any person other than the addressee(s). 
Open Universiteit rules out any and every liability resulting from any 
electronic transmission. No rights may be derived from the contents of this 
message.

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with Handle in Fedora 16

2012-10-09 Thread Carlos Walter Blandon Alvarez
Hi all.We don't access to repository through Handle in Fedora 16 and Dspace 1.8.2.We had already reported this problem in a previous post and we follow the recommendations without success. We reinstall Handle Server, review all necesary ports and it's OK. Logs aren't report problems.Someone suggested revising the public and private keys of Fedora (or Linux) to correct the access by handle, but we do not know how. Does anyone have knowledge of this procedure or anything we can do?Regards,Walter BlandónAnalista TécnicoCentro Cultural Biblioteca Luis Echavarría VillegasTel: (57) (4) 2619500, extensión 9365E-mail: cblan...@eafit.edu.coUniversidad EAFIT, Medellín, Colombia

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DCAT mtg notes for Oct 9

2012-10-09 Thread Valorie Hollister
Apologies for the cross posting -

Please find the notes from today's DSpace Community Advisory Team (DCAT) 
meeting here: 
https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+Notes+October+9%2C+2012

Due to the current work on the 3.0 release we will not be holding a 
Developer/DCAT overlap meeting tomorrow, October 10.

Our next DCAT meeting will be on November 13 at 10:00am Eastern/15:00 UTC. The 
next Developer/DCAT overlap meeting will be on Wednesday, November 14 at 4:00pm 
Eastern/ 21:00 UTC and last until 4:15 Eastern/21:15 UTC.  

Anyone from the community is welcome to attended both meetings.  Agendas are 
posted the day before the meetings. 

If you have questions, please contact me at vhollis...@duraspace.org.

Valorie Hollister
Director of Community Programs
DuraSpace
vhollis...@duraspace.org--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] java.lang.NullPointerException when submission hits the CC License Step

2012-10-09 Thread Martínez Zuñiga , Enrique
Hi  Helix84,

Apologize for omitting: The actual DSpace version is 1.8.2, installed from 
dspace-1.8.2-release.tar.gz, on Debian 6 (Squeeze) with Tomcat 6 behind Apache 
2.2.16, and PostgreSQL 8.4.12.

I have not modified the source code, but had previously examined these lines of 
code, and it leads nowhere.

I'm looking further...

Thank you!

Enrique.

-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: lunes, 08 de octubre de 2012 04:32 p.m.
Para: Martínez Zuñiga, Enrique
CC: dspace-tech@lists.sourceforge.net
Asunto: Re: [Dspace-tech] java.lang.NullPointerException when submission hits 
the CC License Step

Hi Enrique,

I'm assuming from your documentation link that you're using DSpace 1.8.

On Mon, Oct 8, 2012 at 10:48 PM, Martínez Zuñiga, Enrique enri...@iteso.mx 
wrote:
 java.lang.NullPointerException
 at 
 org.dspace.app.xmlui.aspect.submission.submit.CCLicenseStep.addBody(CC
 LicenseStep.java:121)

This is the relevant line of code:
https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-api/src/main/java/org/dspace/submit/step/CCLicenseStep.java#L121

I'm not sure why it says 121 and not 120 (did you change any code in this file? 
Can you confirm that the line has the same contents in your source?), but it 
seems to me that the only thing there that can be null is choiceButton. Does 
that help explain what's going on? I'm not very familiar with sumbission forms.

Regards,
~~helix84
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] from aspect to html

2012-10-09 Thread Jose Blanco
I would like to add to an aspect file the code to render this in the htlm:

label for=\sort_by\ style=\display:none\Sort By:/label

Could someone share the code that does that.

Thank you!
Jose
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] from aspect to html

2012-10-09 Thread helix84
On Tue, Oct 9, 2012 at 7:08 PM, Jose Blanco blan...@umich.edu wrote:
 I would like to add to an aspect file the code to render this in the htlm:

 label for=\sort_by\ style=\display:none\Sort By:/label

 Could someone share the code that does that.

Hi Jose,

I risk sounding like a broken record, but this is just so trivial to
do in XSLT as opposed to an Aspect.

Anyway, if you insist on putting things into DRI, here's an extensive
collection of examples:
https://github.com/DSpace/DSpace/tree/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmltest/

You have to remember that DRI is not HTML (even though it has some
elements with the same name, they're not the same, e.g. they don't
accept the same attributes). So I doubt that putting the label element
into DRI (even if there are methods to do that) will do what you think
it will.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Handle in Fedora 16

2012-10-09 Thread helix84
I'll reply in the original thread to keep context.

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Handle

2012-10-09 Thread helix84
Carlos, so is there a problem? Or is anything I wrote unclear?

Like I said, you don't need to run the handle server, so:
1) kill the running instance
2) make sure it's not launched at next startup (check init.d scripts)

Regards,
~~helix84

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech