Re: [Dspace-tech] Assistance

95 views
Skip to first unread message

Daniel Francis

unread,
Aug 25, 2015, 2:04:16 PM8/25/15
to dspac...@lists.sourceforge.net

Hi All,

Please can anyone help on how to prevent anonymous users so that they
won't download the materials.

Regards,

Daniel Francis.

Claudia Jürgen

unread,
Aug 25, 2015, 2:04:22 PM8/25/15
to dspac...@lists.sourceforge.net
Hello Daniel,

in DSpace it is possible to define policies for the item view and the
bitstream view (and some more).

During ingest the item derives its policies from the settings
DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ of the owning collection.
Per default this is set to anonymous read.

During collection creation there is an initial question "New items
should be publicly readable " already checked. If you uncheck it, you
will be asked to select the eperson/group who will be permitted to read.
This will affect both settings DEFAULT_ITEM_READ and
DEFAULT_BITSTREAM_READ at once. After having created a collection you
can change these settings via Edit Collection -> Authorization.

So in order for future items in your repository to not be publically
available make sure the collections got the proper defaults.
Note, changing the DEFAULT_X_READ settings of a collection will NOT
change the authorizations for already submitted items.

In order to change these you got to change the authorizations of the
item/bitstream as admin. There is an advanced authorization/wildcard
tool in the administrative section.

Hope that helps

Claudia Jürgen
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> DSpace-tech mailing list
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Mit freundlichen Gruessen

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

Daniel Francis

unread,
Aug 25, 2015, 4:25:43 PM8/25/15
to dspac...@lists.sourceforge.net

Dear all I'm trying to install dspace 1.6.2 on ubuntu 9.10, but when i run
the ant fresh_install i'm getting the following error message:

BUILD FAILED
/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir/build.xml:542:
Directory /dspace/bin creation was not successful for an unknown reason

could anyone help!

Daniel.

Thornton, Susan M. (LARC-B702)[LITES]

unread,
Aug 25, 2015, 4:25:45 PM8/25/15
to Daniel Francis, dspac...@lists.sourceforge.net
Check your permissions.



Sue Walker-Thornton
Software Developer/Database Administrator
NASA Langley Research Center|LITES Contract
(757) 224-4074
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl

Daniel Francis

unread,
Aug 26, 2015, 2:26:45 PM8/26/15
to dspac...@lists.sourceforge.net

Dear All,

Can someone assist, i have installed Dspace 5.1 on Ubuntu linux 14.04 lts,
with openjdk-7-jdk and Tomcat 7 and everything was successful but when i
try to load;

http://localhost:8080/xmlui
http://localhost:8080/jspui

I am getting the following message:

Server not found

Firefox can't find the server at www.locahohost.com.

Check the address for typing errors such as ww.example.com instead of
www.example.com
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make
sure that Firefox is permitted to access the Web.

The following is the error log file:

Apr 24, 2015 2:35:02 PM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/usr/share/tomcat7/common/classes],
exists: [false], isDirectory: [false], canRead: [false]
Apr 24, 2015 2:35:02 PM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/usr/share/tomcat7/common], exists:
[false], isDirectory: [false], canRead: [false]
Apr 24, 2015 2:35:02 PM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/usr/share/tomcat7/server/classes],
exists: [false], isDirectory: [false], canRead: [false]
Apr 24, 2015 2:35:02 PM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/usr/share/tomcat7/server], exists:
[false], isDirectory: [false], canRead: [false]
Apr 24, 2015 2:35:02 PM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/usr/share/tomcat7/shared/classes],
exists: [false], isDirectory: [false], canRead: [false]
Apr 24, 2015 2:35:02 PM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory [/usr/share/tomcat7/shared], exists:
[false], isDirectory: [false], canRead: [false]
Apr 24, 2015 2:35:03 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Apr 24, 2015 2:35:03 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 817 ms
Apr 24, 2015 2:35:03 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Apr 24, 2015 2:35:03 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Apr 24, 2015 2:35:03 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(/dspace/webapps/sword/WEB-INF/lib/servlet-api-2.5-20081211.jar)
- jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class:
javax/servlet/Servlet.class
log4j:WARN No appenders could be found for logger
(org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
INFO: Loading provided config file: /dspace/config/dspace.cfg
INFO: Using dspace provided log configuration (log.init.config)
INFO: Loading: /dspace/config/log4j.properties
Apr 24, 2015 2:35:14 PM org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /dspace/webapps/lni does
not exist or is not a readable directory
at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)
at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5089)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
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:745)

Apr 24, 2015 2:35:14 PM org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/lni]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:799)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
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:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start
component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/lni]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 6 more
Caused by: org.apache.catalina.LifecycleException: Error in resourceStart()
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5270)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 more

Apr 24, 2015 2:35:14 PM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO:
validateJarFile(/dspace/webapps/xmlui/WEB-INF/lib/servlet-api-2.5-20081211.jar)
- jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class:
javax/servlet/Servlet.class
INFO [org.dspace.servicemanager.DSpaceKernelInit] Created new kernel:
DSpaceKernel:org.dspace:name=33f4ac76-47ef-4b08-8b20-68a696f830b0,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService] Loaded
5 config properties from resource: class path resource
[config/dspace-defaults.cfg]
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded14 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded1 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded0 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded1 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded3 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded3 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded1 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded91 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded2 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded0 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded4 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded5 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded6 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded13 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded1 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded5 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded0 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded2 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded0 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded6 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded2 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded1 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded2 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded30 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded0 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded14 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded0 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded0 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Loaded1 config properties from stream
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService] Loaded
247 config properties from file: /dspace/config/dspace.cfg
INFO [org.dspace.servicemanager.config.DSpaceConfigurationService]
Started up configuration service and loaded 462 settings
INFO [org.springframework.context.support.ClassPathXmlApplicationContext]
Refreshing
org.springframework.context.support.ClassPathXmlApplicationContext@6b2cca79:
startup date [Fri Apr 24 14:35:24 EAT 2015]; root of context hierarchy
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from class path resource
[spring/spring-dspace-applicationContext.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/additions-5.1.jar!/spring/spring-dspace-addon-example-services.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-5.1.jar!/spring/spring-dspace-addon-requestitem-services.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-5.1.jar!/spring/spring-dspace-addon-sherpa-configuration-services.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-5.1.jar!/spring/spring-dspace-addon-discovery-services.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-5.1.jar!/spring/spring-dspace-addon-sherpa-services.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-5.1.jar!/spring/spring-dspace-core-services.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-services-5.1.jar!/spring/spring-dspace-core-services.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/discovery.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/workflow-actions.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/identifier-service.xml]
INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
Overriding bean definition for bean
'org.dspace.identifier.IdentifierService': replacing [Generic bean: class
[org.dspace.identifier.IdentifierServiceImpl]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=2; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-5.1.jar!/spring/spring-dspace-core-services.xml]]
with [Generic bean: class [org.dspace.identifier.IdentifierServiceImpl];
scope=singleton; abstract=false; lazyInit=false; autowireMode=2;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null; defined in file
[/dspace/config/spring/api/identifier-service.xml]]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/sherpa.xml]
INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
Overriding bean definition for bean
'org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService':
replacing [Generic bean: class
[org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService]; scope=;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-5.1.jar!/spring/spring-dspace-addon-sherpa-configuration-services.xml]]
with [Generic bean: class
[org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService]; scope=;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in file [/dspace/config/spring/api/sherpa.xml]]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/discovery-solr.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/orcid-authority-services.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/requestitem.xml]
INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
Overriding bean definition for bean
'org.dspace.app.requestitem.RequestItemAuthorExtractor': replacing
[Generic bean: class
[org.dspace.app.requestitem.RequestItemMetadataStrategy]; scope=;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=false; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in URL
[jar:file:/dspace/webapps/xmlui/WEB-INF/lib/dspace-api-5.1.jar!/spring/spring-dspace-addon-requestitem-services.xml]]
with [Generic bean: class
[org.dspace.app.requestitem.RequestItemMetadataStrategy]; scope=;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=false; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null;
defined in file [/dspace/config/spring/api/requestitem.xml]]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/versioning-service.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/bte.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/api/item-marking.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
Loading XML bean definitions from file
[/dspace/config/spring/xmlui/workflow-actions-xmlui.xml]
INFO
[org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]
JSR-330 'javax.inject.Inject' annotation found and supported for
autowiring
INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@6ebe882b:
defining beans
[org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0,org.dspace.example.Example,org.dspace.app.requestitem.RequestItemAuthorExtractor,org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService,org.dspace.discovery.SearchService,org.dspace.app.sherpa.SHERPAService,org.dspace.app.sherpa.submit.SHERPASubmitService,org.dspace.identifier.IdentifierService,org.dspace.identifier.VersionedHandleIdentifierProvider,org.dspace.services.CachingService,org.dspace.caching.ehcache.CacheManager,org.dspace.services.SessionService,org.dspace.services.EventService,org.dspace.services.email.EmailServiceImpl,solrServiceResourceIndexPlugin,SolrServiceSpellIndexingPlugin,solrBrowseIndexer,o
rg.dspace.discovery.configuration.DiscoveryConfigurationService,defaultConfiguration,homepageConfiguration,homepageTagCloudFacetConfiguration,defaultTagCloudFacetConfiguration,tagCloudConfiguration,browseTagCloudConfiguration,searchFilterTitle,searchFilterAuthor,searchFilterSubject,searchFilterIssued,sortTitle,sortDateIssued,claimactionAPI,reviewactionAPI,editactionAPI,finaleditactionAPI,singleuserreviewactionAPI,selectrevieweractionAPI,scorereviewactionAPI,evaluationactionAPI,autoassignactionAPI,noUserSelectionActionAPI,assignoriginalsubmitteractionAPI,reviewaction,editaction,finaleditaction,selectrevieweraction,singleuserreviewaction,scorereviewaction,evaluationaction,claimaction,autoassignAction,noUserSelectionAction,originalSubmitterAssignAction,org.dspace.util.MultiFormatDateParser,org.dspace.authority.AuthoritySearchService,dspace.DSpaceAuthorityIndexer,AuthorityTypes,OrcidSource,org.dspace.versioning.VersioningService,org.dspace.app.itemimport.BTEBatchImportService,ba
tchImportTransformationEngine,batchImportLinearWorkflow,org.!
dspace.submit.lookup.SubmissionLookupService,phase1TransformationEngine,multipleDataLoader,org.dspace.submit.lookup.SubmissionLookupOutputGenerator,phase1LinearWorkflow,mapConverter_arxivSubject,mapConverter_pubstatusPubmed,removeLastDot,phase2TransformationEngine,submissionItemDataLoader,phase2linearWorkflow,fieldMergeModifier,valueConcatenationModifier,languageCodeModifier,org.dspace.submit.lookup.DSpaceWorkspaceItemOutputGenerator,bibTeXDataLoader,csvDataLoader,tsvDataLoader,risDataLoader,endnoteDataLoader,oaipmhDataLoader,pubmedOnlineDataLoader,pubmedFileDataLoader,pubmedInputMap,arXivOnlineDataLoader,arXivFileDataLoader,arxivInputMap,crossRefOnlineDataLoader,crossRefFileDataLoader,crossrefInputMap,ciniiOnlineDataLoader,ciniiFileDataLoader,ciniiInputMap,outputMap,org.dspace.app.itemmarking.ItemMarkingExtractor.type,org.dspace.app.itemmarking.ItemMarkingExtractor.availability,typeMap,collectionMap,claimaction_xmlui,reviewaction_xmlui,editaction_xmlui,finaleditaction_xmlui
,selectrevieweraction_xmlui,singleuserreviewaction_xmlui,scorereviewaction_xmlui,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
root of factory hierarchy
INFO [org.dspace.services.sessions.SessionRequestServiceImpl] init
INFO [org.springframework.cache.ehcache.EhCacheManagerFactoryBean]
Initializing EHCache CacheManager
INFO [org.dspace.services.caching.CachingServiceImpl] init()
INFO [org.dspace.services.caching.CachingServiceImpl] Caching service
initialized:
** Memory report
freeMemory: 65007336
totalMemory: 108003328
maxMemory: 129761280

** Full report of all known caches (0):

WARN [org.dspace.services.email.EmailServiceImpl] Couldn't get an email
session from environment: Name [mail/Session] is not bound in this
Context. Unable to find [mail].
INFO [org.dspace.services.email.EmailServiceImpl] Initializing an email
session from configuration.
INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@6ebe882b:
defining beans
[org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.dspace.servicemanager.spring.DSpaceBeanPostProcessor#0,org.dspace.example.Example,org.dspace.app.requestitem.RequestItemAuthorExtractor,org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService,org.dspace.discovery.SearchService,org.dspace.app.sherpa.SHERPAService,org.dspace.app.sherpa.submit.SHERPASubmitService,org.dspace.identifier.IdentifierService,org.dspace.identifier.VersionedHandleIdentifierProvider,org.dspace.services.CachingService,org.dspace.caching.ehcache.CacheManager,org.dspace.services.SessionService,org.dspace.services.EventService,org.dspace.services.email.EmailServiceImpl,solrServiceResourceIndexPlugin,SolrServiceSpellIndexingPlugin,solrBrowseIndexer,o
rg.dspace.discovery.configuration.DiscoveryConfigurationService,defaultConfiguration,homepageConfiguration,homepageTagCloudFacetConfiguration,defaultTagCloudFacetConfiguration,tagCloudConfiguration,browseTagCloudConfiguration,searchFilterTitle,searchFilterAuthor,searchFilterSubject,searchFilterIssued,sortTitle,sortDateIssued,claimactionAPI,reviewactionAPI,editactionAPI,finaleditactionAPI,singleuserreviewactionAPI,selectrevieweractionAPI,scorereviewactionAPI,evaluationactionAPI,autoassignactionAPI,noUserSelectionActionAPI,assignoriginalsubmitteractionAPI,reviewaction,editaction,finaleditaction,selectrevieweraction,singleuserreviewaction,scorereviewaction,evaluationaction,claimaction,autoassignAction,noUserSelectionAction,originalSubmitterAssignAction,org.dspace.util.MultiFormatDateParser,org.dspace.authority.AuthoritySearchService,dspace.DSpaceAuthorityIndexer,AuthorityTypes,OrcidSource,org.dspace.versioning.VersioningService,org.dspace.app.itemimport.BTEBatchImportService,ba
tchImportTransformationEngine,batchImportLinearWorkflow,org.!
dspace.submit.lookup.SubmissionLookupService,phase1TransformationEngine,multipleDataLoader,org.dspace.submit.lookup.SubmissionLookupOutputGenerator,phase1LinearWorkflow,mapConverter_arxivSubject,mapConverter_pubstatusPubmed,removeLastDot,phase2TransformationEngine,submissionItemDataLoader,phase2linearWorkflow,fieldMergeModifier,valueConcatenationModifier,languageCodeModifier,org.dspace.submit.lookup.DSpaceWorkspaceItemOutputGenerator,bibTeXDataLoader,csvDataLoader,tsvDataLoader,risDataLoader,endnoteDataLoader,oaipmhDataLoader,pubmedOnlineDataLoader,pubmedFileDataLoader,pubmedInputMap,arXivOnlineDataLoader,arXivFileDataLoader,arxivInputMap,crossRefOnlineDataLoader,crossRefFileDataLoader,crossrefInputMap,ciniiOnlineDataLoader,ciniiFileDataLoader,ciniiInputMap,outputMap,org.dspace.app.itemmarking.ItemMarkingExtractor.type,org.dspace.app.itemmarking.ItemMarkingExtractor.availability,typeMap,collectionMap,claimaction_xmlui,reviewaction_xmlui,editaction_xmlui,finaleditaction_xmlui
,selectrevieweraction_xmlui,singleuserreviewaction_xmlui,scorereviewaction_xmlui,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0];
root of factory hierarchy
INFO [org.dspace.servicemanager.spring.SpringServiceManager] Spring
Service Manager started up in 2611 ms with 111 services...
INFO [org.dspace.servicemanager.DSpaceKernelImpl] DSpace kernel startup
completed in 2685 ms and registered as MBean:
org.dspace:name=33f4ac76-47ef-4b08-8b20-68a696f830b0,type=DSpaceKernel
INFO [org.dspace.core.ConfigurationManager] Loading provided config file:
/dspace/config/dspace.cfg
INFO [org.dspace.core.ConfigurationManager] Using dspace provided log
configuration (log.init.config)
INFO [org.dspace.core.ConfigurationManager] Loading:
/dspace/config/log4j.properties
Loading catalog:
file:/var/lib/tomcat7/work/Catalina/localhost/xmlui/cocoon_xml_resolver_entities/catalog

Now what is the problem.

Mark H. Wood

unread,
Aug 26, 2015, 2:26:46 PM8/26/15
to dspac...@lists.sourceforge.net
On Fri, Apr 24, 2015 at 02:50:10PM +0300, Daniel Francis wrote:
> Can someone assist, i have installed Dspace 5.1 on Ubuntu linux 14.04 lts,
> with openjdk-7-jdk and Tomcat 7 and everything was successful but when i
> try to load;
>
> http://localhost:8080/xmlui
> http://localhost:8080/jspui
>
> I am getting the following message:
>
> Server not found
>
> Firefox can't find the server at www.locahohost.com.
^^
I presume that this is a simple transcription error, and you didn't
actually ask Firefox for 'localhohost'.

That is not a problem with DSpace, but with name resolution on your
host. It could be as simple as not having:

127.0.0.1 localhost

in your 'hosts' file. (/etc/hosts on Unix-like OSes, somewhere I've
forgotten on Windows.)

Until you fix that, you won't know for sure whether you have further
immediate problems.
Tomcat is trying to read directories in /usr/share/tomcat7 but
apparently has no permission to do so. It may be a mismatch of
ownership between the process and the directories.

> Apr 24, 2015 2:35:03 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Apr 24, 2015 2:35:03 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 817 ms
> Apr 24, 2015 2:35:03 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Apr 24, 2015 2:35:03 PM org.apache.catalina.core.StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
> Apr 24, 2015 2:35:03 PM org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO:
> validateJarFile(/dspace/webapps/sword/WEB-INF/lib/servlet-api-2.5-20081211.jar)
> - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class:
> javax/servlet/Servlet.class
> log4j:WARN No appenders could be found for logger
> (org.dspace.servicemanager.DSpaceKernelInit).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.

Not an immediate problem.

> INFO: Loading provided config file: /dspace/config/dspace.cfg
> INFO: Using dspace provided log configuration (log.init.config)
> INFO: Loading: /dspace/config/log4j.properties
> Apr 24, 2015 2:35:14 PM org.apache.catalina.core.StandardContext
> resourcesStart
> SEVERE: Error starting static Resources

This is only a problem if you wanted to use LNI.

> java.lang.IllegalArgumentException: Document base /dspace/webapps/lni does
> not exist or is not a readable directory
> at
> org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:136)
> at
> org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5089)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> 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:745)
>
> Apr 24, 2015 2:35:14 PM org.apache.catalina.core.ContainerBase startInternal
> SEVERE: A child container failed during start

LNI again.
Not a problem unless you are trying to supply a preconfigured email
session through JNDI, which is quite rare.
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> DSpace-tech mailing list
> DSpac...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc

Daniel Francis

unread,
Aug 26, 2015, 2:26:51 PM8/26/15
to dspac...@lists.sourceforge.net

This is what I requested on firefox:

http://localhost:8080/xmlui

[/etc/hosts] has the following:

127.0.0.1 localhost
127.0.1.1 ally

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

And [/etc/host.conf] has:

# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on


Hilton Gibson

unread,
Aug 26, 2015, 2:26:52 PM8/26/15
to Daniel Francis, dspace-tech
Hi Daniel

Please check the following:
1. Type netstat -tpln to see which ports are listening.
2. Type ls -l /var/lib/tomcat7/webapps to see which webapps have been deployed.

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa


Daniel Francis

unread,
Aug 26, 2015, 2:26:54 PM8/26/15
to Hilton Gibson, dspace-tech

Hi Hilton,

[netstat -tpln] has:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
-
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
-
tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN
-
tcp6 0 0 ::1:631 :::* LISTEN
-

And [ls -l /var/lib/tomcat7/webapps] results to;

total 4
drwxr-xr-x 3 root root 4096 Apr 24 07:52 ROOT


Regars,

Daniel.




Hilton Gibson

unread,
Aug 26, 2015, 2:26:55 PM8/26/15
to Daniel Francis, dspace-tech
Hi Daniel

As I suspected.
Nothing is listening on port 8080 and no webapps are deployed in the Tomcat folder.

Try the following:

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa


Daniel Francis

unread,
Aug 26, 2015, 2:44:36 PM8/26/15
to dspac...@lists.sourceforge.net

Dear all,

We want to implement DSPACE but can we know if DSPACE can do the following:


Can we connect several documents to one documentgroup?
Can we make a selection to browse by selecting a label?
Can we use the Google document viewer?

Regards,

Daniel.



Reply all
Reply to author
Forward
0 new messages