Re: [Dspace-tech] Sword Dspace 5.1 fails

2015-04-24 Thread Domingo Iglesias
Bender,

did you try
curl -i --data-binary @/home/dspace/test-sword/example.zip -H
Content-Disposition: filename=example.zip -H Content-Type:
application/zip -H X-Packaging:
http://purl.org/net/sword-types/METSDSpaceSIP; -H X-No-Op: true -H
X-Verbose: true http://X.X.X.X/sword/deposit/123456789/31872
http://x.x.x.x/sword/deposit/123456789/31872 --user dspace:dspace

?


2015-04-22 17:53 GMT+02:00 bender bender.bending.1...@gmail.com:

 Hi,

 I'm testing the sword service in dspace 5.1.

 When I execute the command to deposit an example file:

 curl -i --data-binary /home/dspace/test-sword/example.zip -H
 Content-Disposition: filename=example.zip -H Content-Type:
 application/zip -H X-Packaging:
 http://purl.org/net/sword-types/METSDSpaceSIP; -H X-No-Op: true -H
 X-Verbose: true http://X.X.X.X/sword/deposit/123456789/31872 --user
 dspace:dspace

 The process fails and it shows the following error:

 HTTP/1.1 500 Internal Server Error
 Date: Wed, 22 Apr 2015 15:30:38 GMT
 Server: Apache/2.2.3 (Red Hat)
 Content-Language: en
 Content-Length: 1040
 Connection: close
 Content-Type: text/html;charset=utf-8

 !DOCTYPE htmlhtmlheadtitleApache Tomcat/8.0.11 - Error
 report/titlestyle type=text/cssH1
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY
 {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
 P
 {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}.line {height: 1px;
 background-color: #525D76; border: none;}/style /headbodyh1HTTP
 Status 500 - /h1div class=line/divpbtype/b Status
 report/ppbmessage/b u/u/ppbdescription/b uThe server
 encountered an internal error that prevented it from fulfilling this
 request./u/phr class=lineh3Apache
 Tomcat/8.0.11/h3/body/html[


 Dspace log shows the following:

 2015-04-22 12:29:41,151 ERROR org.purl.sword.server.DepositServlet @
 org.purl.sword.base.SWORDException: There was a problem depositing the item
 2015-04-22 12:30:38,445 ERROR org.purl.sword.server.DepositServlet @
 X_NO_OP value is true
 2015-04-22 12:30:38,464 ERROR org.dspace.sword.SWORDMETSIngester @ caught
 exception:
 java.util.zip.ZipException: error in opening zip file
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(ZipFile.java:215)
 at java.util.zip.ZipFile.init(ZipFile.java:145)
 at java.util.zip.ZipFile.init(ZipFile.java:159)
 at
 org.dspace.content.packager.AbstractMETSIngester.parsePackage(AbstractMETSIngester.java:327)
 at
 org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:201)
 at
 org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:93)
 at
 org.dspace.sword.CollectionDepositor.doDeposit(CollectionDepositor.java:111)
 at org.dspace.sword.DepositManager.deposit(DepositManager.java:148)
 at
 org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:120)
 at
 org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:299)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
 at
 org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)
 at
 org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:827)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)

[Dspace-tech] Fw: ##Urgent## Emergency## Technical Problem in DSpace- using it for my Masters Thesis of Computer Science ## Student of HUNAN UNIVERSITY, CHANGSHA, HUNAN, CHINA.

2015-04-24 Thread Usman
.


  On Friday, April 24, 2015 4:22 PM, Usman usman_ma...@yahoo.com wrote:
   

 Dear all,
Let me introduce myself first. 
I am currently doing Masters in Computer Science and Application Technology in 
Hunan University. Our University is located in Changsha City, Hunan Province, 
China.
My topic for my Masters Thesis is :  Analyzing User Log Files of Online 
Digital Library using Searching and Recommending.
The Digital Library  that I have chosen is Dspace. Everything seems OK.
However,there is a very big technical issue and question.
I want to analyze, filter and work on the 'User log files' of Dspace. That 
means those log files which contain user's information about their interactions 
with the system,their searches (content searched for) etc. 
Can anyone please tell me that where are these user log files? In which folder 
? On which path? 
And if these log files are not generated by the system, then can anyone please 
send me a release compiled build of DSpace; which can generate these kind of 
logs.
Please its URGENT. !!!
Thank you for anyone's help!!!


  --
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Assistance

2015-04-24 Thread Daniel Francis

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


--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Assistance

2015-04-24 Thread Daniel Francis

Hi Hilton,

[netstat -tpln] has:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State 
 PID/Program name
tcp0  0 127.0.0.1:631   0.0.0.0:*   LISTEN
 -
tcp0  0 127.0.0.1:5432  0.0.0.0:*   LISTEN
 -
tcp0  0 127.0.1.1:530.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.




--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Assistance

2015-04-24 Thread Mark H. Wood
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.

 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]

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.

 java.util.concurrent.ExecutionException:
 org.apache.catalina.LifecycleException: Failed to start component
 

Re: [Dspace-tech] ##Urgent## Emergency## Technical Problem in DSpace- using it for my Masters Thesis of Computer Science ## Student of HUNAN UNIVERSITY, CHANGSHA, HUNAN, CHINA.

2015-04-24 Thread Usman
Hello Everyone!Thank you so much for all your help and support. 
I think that my question has been greatly misunderstood . Talking about those 
log files which contains user queries or their specific search requests.For 
instance if :User 1 searches for a specific item;then it should be logged in 
the file.User 2 searches for another itemetcAll their user 
interactions and activities with the system. 
DSpace.log only contains program related debug output. 
Hope that can help ; to make  my question  rightly understandable.

 


 On Friday, April 24, 2015 4:22 PM, Usman usman_ma...@yahoo.com wrote:
   

 Dear all,
Let me introduce myself first. 
I am currently doing Masters in Computer Science and Application Technology in 
Hunan University. Our University is located in Changsha City, Hunan Province, 
China.
My topic for my Masters Thesis is :  Analyzing User Log Files of Online 
Digital Library using Searching and Recommending.
The Digital Library  that I have chosen is Dspace. Everything seems OK.
However,there is a very big technical issue and question.
I want to analyze, filter and work on the 'User log files' of Dspace. That 
means those log files which contain user's information about their interactions 
with the system,their searches (content searched for) etc. 
Can anyone please tell me that where are these user log files? In which folder 
? On which path? 
And if these log files are not generated by the system, then can anyone please 
send me a release compiled build of DSpace; which can generate these kind of 
logs.
Please its URGENT. !!!
Thank you for anyone's help!!!



  --
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Assistance

2015-04-24 Thread Daniel Francis

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

Re: [Dspace-tech] Sword Dspace 5.1 fails

2015-04-24 Thread bender
Hi Domingo,

Yes I did, but it didn't worked.



2015-04-24 2:36 GMT-04:00 Domingo Iglesias digles...@ub.edu:

 Bender,

 did you try
 curl -i --data-binary @/home/dspace/test-sword/example.zip -H
 Content-Disposition: filename=example.zip -H Content-Type:
 application/zip -H X-Packaging:
 http://purl.org/net/sword-types/METSDSpaceSIP; -H X-No-Op: true -H
 X-Verbose: true http://X.X.X.X/sword/deposit/123456789/31872
 http://x.x.x.x/sword/deposit/123456789/31872 --user dspace:dspace

 ?


 2015-04-22 17:53 GMT+02:00 bender bender.bending.1...@gmail.com:

 Hi,

 I'm testing the sword service in dspace 5.1.

 When I execute the command to deposit an example file:

 curl -i --data-binary /home/dspace/test-sword/example.zip -H
 Content-Disposition: filename=example.zip -H Content-Type:
 application/zip -H X-Packaging:
 http://purl.org/net/sword-types/METSDSpaceSIP; -H X-No-Op: true -H
 X-Verbose: true http://X.X.X.X/sword/deposit/123456789/31872 --user
 dspace:dspace

 The process fails and it shows the following error:

 HTTP/1.1 500 Internal Server Error
 Date: Wed, 22 Apr 2015 15:30:38 GMT
 Server: Apache/2.2.3 (Red Hat)
 Content-Language: en
 Content-Length: 1040
 Connection: close
 Content-Type: text/html;charset=utf-8

 !DOCTYPE htmlhtmlheadtitleApache Tomcat/8.0.11 - Error
 report/titlestyle type=text/cssH1
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY
 {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
 P
 {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}.line {height: 1px;
 background-color: #525D76; border: none;}/style /headbodyh1HTTP
 Status 500 - /h1div class=line/divpbtype/b Status
 report/ppbmessage/b u/u/ppbdescription/b uThe server
 encountered an internal error that prevented it from fulfilling this
 request./u/phr class=lineh3Apache
 Tomcat/8.0.11/h3/body/html[


 Dspace log shows the following:

 2015-04-22 12:29:41,151 ERROR org.purl.sword.server.DepositServlet @
 org.purl.sword.base.SWORDException: There was a problem depositing the item
 2015-04-22 12:30:38,445 ERROR org.purl.sword.server.DepositServlet @
 X_NO_OP value is true
 2015-04-22 12:30:38,464 ERROR org.dspace.sword.SWORDMETSIngester @ caught
 exception:
 java.util.zip.ZipException: error in opening zip file
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(ZipFile.java:215)
 at java.util.zip.ZipFile.init(ZipFile.java:145)
 at java.util.zip.ZipFile.init(ZipFile.java:159)
 at
 org.dspace.content.packager.AbstractMETSIngester.parsePackage(AbstractMETSIngester.java:327)
 at
 org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:201)
 at
 org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:93)
 at
 org.dspace.sword.CollectionDepositor.doDeposit(CollectionDepositor.java:111)
 at
 org.dspace.sword.DepositManager.deposit(DepositManager.java:148)
 at
 org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:120)
 at
 org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:299)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
 at
 org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)
 at
 

Re: [Dspace-tech] Fw: ##Urgent## Emergency## Technical Problem in DSpace- using it for my Masters Thesis of Computer Science ## Student of HUNAN UNIVERSITY, CHANGSHA, HUNAN, CHINA.

2015-04-24 Thread Luiz dos Santos
Are you using xmlui or jspui? I am face up the same problem here, in our
case we are using xmlui, but we have a apache http server in front of
Dspace, so in actually I'm looking at access log, because over there I can
see the ip of the request that are coming, but if you just want see the
trafic, the cocoon log could be an option.

regards
Luiz

On Fri, Apr 24, 2015 at 9:00 AM, Mark H. Wood mw...@iupui.edu wrote:

 On Fri, Apr 24, 2015 at 08:32:04AM +, Usman wrote:
  I want to analyze, filter and work on the 'User log files' of
 Dspace. That means those log files which contain user's information about
 their interactions with the system,their searches (content searched for)
 etc.
  Can anyone please tell me that where are these user log files? In which
 folder ? On which path?

 Wherever you installed DSpace, you should find a subdirectory named
 'log'.  log/dspace.log.* should contain such information.

 It is possible to configure DSpace to write its logs elsewhere.  Find
 the value of 'log.dir' in config/dspace.cfg to see where the logs have
 been directed.

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


 --
 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
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] spider ip recognition

2015-04-24 Thread Mark H. Wood
On Thu, Apr 23, 2015 at 05:39:01PM +, Monika C. Mevenkamp wrote:
 I found a couple of really suspicious numbers in my solr stats, aka lots of 
 entries were marked as isBot=false although the probably should has been 
 isBot=true.
 
 In the config file  I use
 
 spiderips.urls = http://iplists.com/google.txt, \
  http://iplists.com/inktomi.txt, \
  http://iplists.com/lycos.txt, \
  http://iplists.com/infoseek.txt, \
  http://iplists.com/altavista.txt, \
  http://iplists.com/excite.txt, \
  http://iplists.com/northernlight.txt, \
  http://iplists.com/misc.txt, \
  http://iplists.com/non_engines.txt
 
 
 I could not find downloadable lists for Bing, Baidu, Yahoo.
 The best I saw was:   
 http://myip.ms/info/bots/Google_Bing_Yahoo_Facebook_etc_Bot_IP_Addresses.html
 Is that reliable  ?
 
 Does anybody out there have lists / sources that they can share ?

What version of DSpace are you running?  Recent versions can also
recognize spiders by regular expression matching of the domain name or
UserAgent: string.  (However, that only works for new entries.  I've
recently found that some of the tools for loading and grooming the
stat.s core don't use SpiderDetector and are oblivious of these newer
patterns.)

 Also: does the dspace code gracefully deal with IP address patterns ?

That depends on what is considered graceful.  The code (in
org.dspace.statistics.util.IPTable) accepts patterns in three forms:

  11.22.33.44-11.22.33.55
  11.22.33.44
  11.22.33

Addresses in the first form may be suffixed with a CIDR mask-length,
but it is currently ignored.

If I've understood the code, a range (the first form) is assumed to
differ only in the fourth octet.  It will match all addresses between
44 and 55 within the /24 containing the start of the range.

The second form is an exact match of a single address.

The third form is a match of the first 24 bits -- an entire Class C
subnet.

There is no provision for IPv6.

-- 
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
Description: Digital signature
--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Adding a METS / MODS Metadata Schema

2015-04-24 Thread Robert Linz
We are evaluating Dspace for use as our institutional repository.  We need to 
use the METS / MODS metadata scheme.  On the Dspace demo site, I see there is a 
way to add a new schema in the metadata registry.  Using the form provided, I 
include URI to namespace for these schemas.  While Dspace reports it was 
successfully created, when I look at the schema, there are no fields.  Is that 
all Dspace doe; create a placeholder for me to manually enter the fields?  Or 
is it supposed to import all of those fields automatically from the namespace 
URI?  Or is this just a function of the demo and it works in a production 
environment?  Any help is greatly appreciated.

Thanks!


--

Robert Linz

Associate Director  Head of Public Services

William A. Wise Law Library

University of Colorado Law School

402 UCB, 2450 Kittredge Loop Dr., Rm. 215B

Boulder, CO  80309-0402

Phone: 303-492-2504tel:303-492-2504  Fax: 303-492-2707tel:303-492-2707

robert.l...@colorado.edumailto:robert.l...@colorado.edu

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=2194633



[cid:image003.png@01D07E71.58ABE950]

--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Assistance

2015-04-24 Thread Hilton Gibson
Hi Daniel

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

Try the following:
1. http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu
2. http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_DSpace

Cheers

hg

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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 24 April 2015 at 15:59, Daniel Francis dan...@admin.udsm.ac.tz wrote:


 Hi Hilton,

 [netstat -tpln] has:

 Active Internet connections (only servers)
 Proto Recv-Q Send-Q Local Address   Foreign Address State
  PID/Program name
 tcp0  0 127.0.0.1:631   0.0.0.0:*   LISTEN
  -
 tcp0  0 127.0.0.1:5432  0.0.0.0:*   LISTEN
  -
 tcp0  0 127.0.1.1:530.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.




--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] ##Urgent## Emergency## Technical Problem in DSpace- using it for my Masters Thesis of Computer Science ## Student of HUNAN UNIVERSITY, CHANGSHA, HUNAN, CHINA.

2015-04-24 Thread Usman
Yes. Thank you. That really helped. Next time, no bolds. Maybe I used bolds 
because of being nervous.  


 On Saturday, April 25, 2015 4:00 AM, Bruno Zanette 
brunonzane...@gmail.com wrote:
   

 Usman,
Dspace.log do contains those infos.

For instance, filtering for anonymous on my dspace.log files i get things 
like:
dspace.log.2015-03-23:2015-03-23 16:57:18,072 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/583
dspace.log.2015-03-23:2015-03-23 16:57:18,082 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/578
dspace.log.2015-03-23:2015-03-23 16:57:18,092 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/597
dspace.log.2015-03-23:2015-03-23 16:57:18,102 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/584
dspace.log.2015-03-23:2015-03-23 16:57:18,112 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/585
dspace.log.2015-03-23:2015-03-23 16:57:18,122 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/586
dspace.log.2015-03-23:2015-03-23 16:57:18,132 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/587
dspace.log.2015-03-23:2015-03-23 16:57:18,141 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/544
dspace.log.2015-03-23:2015-03-23 16:57:18,151 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_item:handle=123456789/523
dspace.log.2015-03-23:2015-03-23 16:57:26,344 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_collection:collection_id=72
dspace.log.2015-03-23:2015-03-23 16:57:43,958 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_collection:collection_id=72
dspace.log.2015-03-23:2015-03-23 16:57:56,416 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_community:community_id=2
dspace.log.2015-03-23:2015-03-23 16:57:56,433 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_community:community_id=8
dspace.log.2015-03-23:2015-03-23 16:57:56,447 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_community:community_id=9
dspace.log.2015-03-23:2015-03-23 16:57:56,460 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_community:community_id=13
dspace.log.2015-03-23:2015-03-23 16:57:56,472 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_community:community_id=15
dspace.log.2015-03-23:2015-03-23 16:57:56,485 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_community:community_id=11
dspace.log.2015-03-23:2015-03-23 16:57:56,497 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_community:community_id=14
dspace.log.2015-03-23:2015-03-23 16:57:56,511 INFO  
org.dspace.usage.LoggerUsageEventListener @ 
anonymous::view_community:community_id=12

Filtering by an specific person:
2015-04-24 12:09:26,296 INFO  org.dspace.usage.LoggerUsageEventListener @ 
ad...@dspace.com:session_id=E1CB8F85AD7EAD8F62B3B501C48B2538:ip_addr=X.X.X.X:view_bitstream:bitstream_id=375
2015-04-24 16:56:44,859 INFO  org.dspace.authenticate.PasswordAuthentication @ 
anonymous:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:authenticate:attempting
 password auth of user=ad...@dspace.com
2015-04-24 16:56:44,875 INFO  org.dspace.authenticate.PasswordAuthentication @ 
ad...@dspace.com:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:authenticate:type=PasswordAuthentication
2015-04-24 16:56:44,877 INFO  org.dspace.eperson.EPerson @ 
ad...@dspace.com:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:update_eperson:eperson_id=1
2015-04-24 16:56:44,880 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil @ 
ad...@dspace.com:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:login:type=explicit
2015-04-24 16:56:45,391 INFO  
org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @ 
ad...@dspace.com:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_community_list:
2015-04-24 16:56:54,184 INFO  org.dspace.usage.LoggerUsageEventListener @ 
ad...@dspace.com:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_community:community_id=8
2015-04-24 16:56:55,323 INFO  org.dspace.usage.LoggerUsageEventListener @ 
ad...@dspace.com:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_bitstream:bitstream_id=375
2015-04-24 16:56:56,664 INFO  org.dspace.usage.LoggerUsageEventListener @ 
ad...@dspace.com:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_collection:collection_id=32
2015-04-24 16:56:58,291 INFO  org.dspace.usage.LoggerUsageEventListener @ 
ad...@dspace.com:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_item:handle=123456789/195

And looking for search:query:
2015-04-24 16:37:42,532 INFO  

[Dspace-tech] SWORD METS ingest -- specify primary dmdSec

2015-04-24 Thread Joseph Greene
Hi,

I've seen in the documentation that it's possible to specify which metadata
section in the METS file gets used in a sword ingest  (in
org.dspace.content.packagerDSpaceMETSIngester). I also came across this,
which describes its genesis:

https://jira.duraspace.org/browse/DS-386

I've seen calls to getProperty(dmd) but I don't know where that 'dmd'
property resides -- dspace.cfg? another class calling DSpaceMETSIngester?
Psychic waves?

Does anyone know how to set the primary dmdSec?

On DSpace 1.8.2, SWORD server 1.0.

Many thanks,
Joseph


Joseph Greene
Research Repository Librarian
James Joyce Library
University College Dublin
(353 0)1 716 7398
joseph.gre...@ucd.ie
http://researchrepository.ucd.ie





--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] SWORD METS ingest -- specify primary dmdSec

2015-04-24 Thread Tim Donohue
Hi Joseph,

That dmd param can be passed via the commandline using the 'dspace 
packager' command (e.g. './dspace packager -t METS -o dmd=MODS').  You 
can see this parameter as an option if you type this on the commandline:

./dspace packager -t METS -h

It can also be specified programmatically using the PackageParameters 
class. That's what the .getProperty(dmd) call is referencing in 
DSpaceMETSIngester here:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/packager/DSpaceMETSIngester.java#L93

Unfortunately though, it looks like there's no way to currently tweak 
this via SWORD.  SWORD initializes its own PackageParameter settings 
here but doesn't include anything for dmd:
https://github.com/DSpace/DSpace/blob/master/dspace-sword/src/main/java/org/dspace/sword/SWORDMETSIngester.java#L77

So, the only way (that I can see) to tweak this for SWORD, would be to 
add some custom Java code to the SWORDMETSIngester.  Something along the 
lines of:

params.addProperty(dmd,[value]);

The only other option would be to change the 
mets-ingester.package-ingester for SWORD to use AIP format as the 
ingester (though I'm not sure how well that'd work). The AIP ingester 
defaults to using DIM first, then MODS, while the METS ingester looks 
for MODS first, then simple Dublin Core.

- Tim


On 4/24/2015 11:40 AM, Joseph Greene wrote:
 Hi,

 I've seen in the documentation that it's possible to specify which metadata
 section in the METS file gets used in a sword ingest  (in
 org.dspace.content.packagerDSpaceMETSIngester). I also came across this,
 which describes its genesis:

 https://jira.duraspace.org/browse/DS-386

 I've seen calls to getProperty(dmd) but I don't know where that 'dmd'
 property resides -- dspace.cfg? another class calling DSpaceMETSIngester?
 Psychic waves?

 Does anyone know how to set the primary dmdSec?

 On DSpace 1.8.2, SWORD server 1.0.

 Many thanks,
 Joseph


 Joseph Greene
 Research Repository Librarian
 James Joyce Library
 University College Dublin
 (353 0)1 716 7398
 joseph.gre...@ucd.ie
 http://researchrepository.ucd.ie





 --
 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
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] problem when multiple db.schema are used

2015-04-24 Thread Fabian Smagghe

Hi,

We use dspace with some customizations.
We also use additional tables that are set in another schema than public 
(e.g.:myshema).


In the fix Fix DS-2427 for 5.1, the name of the schema is given by 
DatabaseUtils.getSchemaName(connection);
When we use Postgresql and the default configuration, the schema 
returned by this function is always public.


In our customized classes, the usage of DatabaseManager.queryTable() 
gives systematically an error because TablerowIterator.columnNames is null :
= in the function DabaseManager.retrieveColumnInfo(myshema.mytable) 
the catalog is set to myshema but the shema is set to public 
(instead of myshema I think) and metadata.getColumns(catalog, schema, 
tname, null) give null because the table mytable doesn't exists in the 
public schema!


Can we have something like this to patch this problem ?:
[DatabaseManager - line 1250]

// Get current database schema name
String schema;
if (catalog != null) schema = catalog;
else schema = DatabaseUtils.getSchemaName(connection);

Thanks,

Fabian Smagghe
University of Liege - Belgium



--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about statistics and Mirage2

2015-04-24 Thread George Stanley Kozak
Thanks, Hilton:

I’m not sure if that addresses my issue.  I have the statistics set up 
properly, but in the Mirage2 theme, I don’t see any method for displaying them. 
 I can get them to appear if I type:
http://myhttp://%3cmy test server/handle/prefix/id/statistics
but I don’t see anything in the Mirage2 nav bars or elsewhere that invokes this 
function.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: Friday, April 24, 2015 3:43 PM
To: George Stanley Kozak
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question about statistics and Mirage2

Hi George

Perhaps this will help: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Statistics
Also see: http://scholar.sun.ac.za/handle/10019.1/1/stats

Cheers

hg


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

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 24 April 2015 at 21:36, George Stanley Kozak 
g...@cornell.edumailto:g...@cornell.edu wrote:
Hi…

We are gearing up to cut over our production DSpace 1.8.2 JSPUI system to 
DSpace 5.1 XMLUI (using Mirage2 theme).
In our DSpace 1.8.2 JSPUI system, we had a “view Statistics” button  that was 
available on the Community, Collection and Item pages.  I do not see a 
comparable function in Mirage2.  Am I missing something, or does that feature 
not exist for Mirage2?

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924



--
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
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Question about statistics and Mirage2

2015-04-24 Thread Bram Luyten
Hi George,

the button should be on the lower right in the right nav bar, as shown here:

http://demo.dspace.org/xmlui/handle/10673/130

If the button is not there in your interface, check this property in your
config, as the view might be restricted to admins only
https://github.com/DSpace/DSpace/blob/master/dspace/config/modules/usage-statistics.cfg#L17

cheers,

Bram

-- 
[image: logo]
*Bram Luyten*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com
http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On 24 April 2015 at 22:44, George Stanley Kozak g...@cornell.edu wrote:

  Thanks, Hilton:



 I’m not sure if that addresses my issue.  I have the statistics set up
 properly, but in the Mirage2 theme, I don’t see any method for displaying
 them.  I can get them to appear if I type:

 http://my test server/handle/prefix/id/statistics

 but I don’t see anything in the Mirage2 nav bars or elsewhere that invokes
 this function.



 George Kozak

 Digital Library Specialist

 Cornell University Library Information Technologies (CUL-IT)

 218 Olin Library

 Cornell University

 Ithaca, NY 14853

 607-255-8924



 *From:* Hilton Gibson [mailto:hilton.gib...@gmail.com]
 *Sent:* Friday, April 24, 2015 3:43 PM
 *To:* George Stanley Kozak
 *Cc:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] Question about statistics and Mirage2



 Hi George



 Perhaps this will help:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Statistics

 Also see: http://scholar.sun.ac.za/handle/10019.1/1/stats



 Cheers



 hg




*Hilton Gibson*

 Ubuntu Linux Systems Administrator

 JS Gericke Library

 Room 1025C

 Stellenbosch University

 Private Bag X5036

 Stellenbosch

 7599

 South Africa



 Tel: +27 21 808 4100 | Cell: +27 84 646 4758



 On 24 April 2015 at 21:36, George Stanley Kozak g...@cornell.edu wrote:

  Hi…



 We are gearing up to cut over our production DSpace 1.8.2 JSPUI system to
 DSpace 5.1 XMLUI (using Mirage2 theme).

 In our DSpace 1.8.2 JSPUI system, we had a “view Statistics” button  that
 was available on the Community, Collection and Item pages.  I do not see a
 comparable function in Mirage2.  Am I missing something, or does that
 feature not exist for Mirage2?



 George Kozak

 Digital Library Specialist

 Cornell University Library Information Technologies (CUL-IT)

 218 Olin Library

 Cornell University

 Ithaca, NY 14853

 607-255-8924







 --
 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
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 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
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] ##Urgent## Emergency## Technical Problem in DSpace- using it for my Masters Thesis of Computer Science ## Student of HUNAN UNIVERSITY, CHANGSHA, HUNAN, CHINA.

2015-04-24 Thread Bruno Zanette
Usman,
Dspace.log do contains those infos.

For instance, filtering for anonymous on my dspace.log files i get things
like:
dspace.log.2015-03-23:2015-03-23 16:57:18,072 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/583
dspace.log.2015-03-23:2015-03-23 16:57:18,082 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/578
dspace.log.2015-03-23:2015-03-23 16:57:18,092 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/597
dspace.log.2015-03-23:2015-03-23 16:57:18,102 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/584
dspace.log.2015-03-23:2015-03-23 16:57:18,112 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/585
dspace.log.2015-03-23:2015-03-23 16:57:18,122 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/586
dspace.log.2015-03-23:2015-03-23 16:57:18,132 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/587
dspace.log.2015-03-23:2015-03-23 16:57:18,141 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/544
dspace.log.2015-03-23:2015-03-23 16:57:18,151 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_item:handle=123456789/523
dspace.log.2015-03-23:2015-03-23 16:57:26,344 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_collection:collection_id=72
dspace.log.2015-03-23:2015-03-23 16:57:43,958 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_collection:collection_id=72
dspace.log.2015-03-23:2015-03-23 16:57:56,416 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_community:community_id=2
dspace.log.2015-03-23:2015-03-23 16:57:56,433 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_community:community_id=8
dspace.log.2015-03-23:2015-03-23 16:57:56,447 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_community:community_id=9
dspace.log.2015-03-23:2015-03-23 16:57:56,460 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_community:community_id=13
dspace.log.2015-03-23:2015-03-23 16:57:56,472 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_community:community_id=15
dspace.log.2015-03-23:2015-03-23 16:57:56,485 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_community:community_id=11
dspace.log.2015-03-23:2015-03-23 16:57:56,497 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_community:community_id=14
dspace.log.2015-03-23:2015-03-23 16:57:56,511 INFO
org.dspace.usage.LoggerUsageEventListener @
anonymous::view_community:community_id=12

Filtering by an specific person:
2015-04-24 12:09:26,296 INFO  org.dspace.usage.LoggerUsageEventListener @
ad...@dspace.com:
session_id=E1CB8F85AD7EAD8F62B3B501C48B2538:ip_addr=X.X.X.X:view_bitstream:bitstream_id=375
2015-04-24 16:56:44,859 INFO
org.dspace.authenticate.PasswordAuthentication @
anonymous:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:authenticate:attempting
password auth of user=ad...@dspace.com
2015-04-24 16:56:44,875 INFO
org.dspace.authenticate.PasswordAuthentication @ ad...@dspace.com:
session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:authenticate:type=PasswordAuthentication
2015-04-24 16:56:44,877 INFO  org.dspace.eperson.EPerson @ ad...@dspace.com:
session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:update_eperson:eperson_id=1
2015-04-24 16:56:44,880 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil
@ ad...@dspace.com:
session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:login:type=explicit
2015-04-24 16:56:45,391 INFO
org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
ad...@dspace.com:
session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_community_list:
2015-04-24 16:56:54,184 INFO  org.dspace.usage.LoggerUsageEventListener @
ad...@dspace.com:
session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_community:community_id=8
2015-04-24 16:56:55,323 INFO  org.dspace.usage.LoggerUsageEventListener @
ad...@dspace.com:
session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_bitstream:bitstream_id=375
2015-04-24 16:56:56,664 INFO  org.dspace.usage.LoggerUsageEventListener @
ad...@dspace.com:
session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_collection:collection_id=32
2015-04-24 16:56:58,291 INFO  org.dspace.usage.LoggerUsageEventListener @
ad...@dspace.com:
session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:view_item:handle=123456789/195

And looking for search:query:
2015-04-24 16:37:42,532 INFO
org.dspace.app.xmlui.aspect.discovery.AbstractSearch @
anonymous:session_id=A17B5C0C2A22718B5A1C8358CAEFB2CA:ip_addr=X.X.X.X:search:query=Testing
Log,results=(0,0,0)
2015-04-24 16:37:46,467 INFO
org.dspace.app.xmlui.aspect.discovery.AbstractSearch @