[Dspace-tech] Problem with Tomcat

2009-11-18 Thread Geetha Rao
Hi,
   I have installed Dspace 1.5 on Redhat Linux. We have used Tomcat 6.It
worked properly earlier. Recently we have changed the hostname. Now we are
facing the problem with tomcat.  While shutting down the tomcat, it is
dispalying the following error.


java.net.UnknownHostException: localhost: localhost
  at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
  at java.net.InetAddress.getAllByName(InetAddress.java:1072)
  at java.net.InetAddress.getAllByName(InetAddress.java:1008)
  at java.net.InetAddress.getByName(InetAddress.java:958)
  at
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
  at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 18, 2009 12:41:00 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Nov 18, 2009 12:41:01 PM org.apache.catalina.core.StandardService stop

Do we need to change the hostname anywhere else.How can we resolve this
problem.
Thanks for any help.

Regards,
Geetha
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Display abstract field as hyperlink

2009-11-18 Thread Allen Lam
Hi, Ngamsritragul,

There are many folds of issues you might need to consider:

- Putting the abstract content in metadata can help searching because it 
usually contains useful keywords.
- You need to turn on indexing on this abstract tag to enable searching.
- Mixing abstract text with download link in the same tag do no good for 
indexing and searching.
- Some abstracts contain special chars and some are just too long that 
could not display well in the browser.
- adding too too many text contents in metadata can degrade indexing and 
searching speed. Your database may also grow in size in a speed you do 
not want to see.
- When people download a file by a link in metadata, it is difficult to 
make a statistics count.
- some more localized issues that only you know...

Hope it helps.

Best,
Allen Lam.
HKU Hub Administrator, http://hub.hku.hk

Panyarak Ngamsritragul wrote:

 Dear Allen,

 Thanks for your reply...  I am aware of what you have pointed out, and 
 that could be an option to consider.

 I would (or would not?) be better if one can put abstract file in the 
 corresponding field.  But I was also triggered last night that putting 
 hyperlink in abstract field might affect the search results... Any 
 suggestion ?

 Panyarak Ngamsritragul
 Prince of Songkla University.

 On Wed, 18 Nov 2009, Allen Lam wrote:

 Hi, Ngamsritragul,

 You need not adding and showing the abstract metadata field at all, if
 you don't want to.
 Add it as a bitstream file.

 An example in our IR:
 http://hub.hku.hk/handle/123456789/55221
 Is this a solution good for your case?

 Best,
 Allen Lam.
 HKU Hub Administrator, http://hub.hku.hk



 Panyarak Ngamsritragul wrote:
 Hi,

 In our batch (bulk) importing process, we would like to eliminate the
 process of inputting a large amount of abstracts.  This can be done 
 by put
 a hyperlink to existing abstract file instead.  By default, however, 
 the
 display of abstract field does not support html tags...  Can any of you
 suggest where I should modify to have DSpace support html tag in 
 abstract
 field ?

 Thanks.

 Panyarak Ngamsritragul
 Prince of Songkla University.



 --
  

 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day
 trial. Simplify your report design, integration and deployment - and 
 focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with Tomcat

2009-11-18 Thread Geetha Rao
   I have installed Dspace 1.5 on Redhat Linux. We have used Tomcat
6.It worked properly earlier. Recently we have changed the hostname. Now we
are facing the problem with tomcat.  While shutting down the tomcat, it
is dispalying the following error.
   java.net.UnknownHostException: localhost: localhost
 at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
 at java.net.InetAddress.getAllByName(InetAddress.java:1072)
 at java.net.InetAddress.getAllByName(InetAddress.java:1008)
 at java.net.InetAddress.getByName(InetAddress.java:958)
 at
   org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
 at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at

 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
   Nov 18, 2009 12:41:00 PM org.apache.coyote.http11.Http11Protocol pause

- Ignored:
   INFO: Pausing Coyote HTTP/1.1 on http-8080
   Nov 18, 2009 12:41:01 PM org.apache.catalina.core.StandardService stop

   Do we need to change the hostname anywhere else.How can we resolve this
   problem.
   Thanks for any help.

   Regards,
   Geetha
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] java.net.UnknownHostException: localhost: localhost

2009-11-18 Thread Hardik Mishra
Hello Geetha

Backup /etc/hosts file

Then sure that the following line appears in your /etc/hosts file:

127.0.0.1localhost

Change the above line , it might work

Then reboot to get rid of your running instances and try it all again.


*--
Best Regards
Hardik Mishra
Software Engineer

http://bit.ly/uJ60P - Join Us on Facebook
http://www.twitter.com/webinito - Follow us on Twitter

Give a man a fish, and you feed him for a day. Teach a man to catch fish and
you feed him for a lifetime.*



Message: 4
Date: Wed, 18 Nov 2009 14:33:07 +0530
From: Geetha Rao iictdsp...@gmail.com
Subject: [Dspace-tech] Problem with Tomcat
To: dspace-tech-requ...@lists.sourceforge.net,
   dspace-tech@lists.sourceforge.net
Message-ID:
   a034a240911180103j7dec2046rb0802fb6681b5...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Hi,
  I have installed Dspace 1.5 on Redhat Linux. We have used Tomcat 6.It
worked properly earlier. Recently we have changed the hostname. Now we are
facing the problem with tomcat.  While shutting down the tomcat, it is
dispalying the following error.


java.net.UnknownHostException: localhost: localhost
 at java.net.InetAddress.
getAllByName0(InetAddress.java:1145)
 at java.net.InetAddress.getAllByName(InetAddress.java:1072)
 at java.net.InetAddress.getAllByName(InetAddress.java:1008)
 at java.net.InetAddress.getByName(InetAddress.java:958)
 at
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
 at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 18, 2009 12:41:00 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Nov 18, 2009 12:41:01 PM org.apache.catalina.core.StandardService stop

Do we need to change the hostname anywhere else.How can we resolve this
problem.
Thanks for any help.

Regards,
Geetha
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] handle help please

2009-11-18 Thread Kantargis, Susan
We needed to go back to the handle service and make config.dct changes and 
create a sitebndl again.
(Our installation is on a windows server).

This is from the handle-server error.log.

log4j:WARN Please initialize the log4j system properly.
2009/11/18 09:48:53 EST 50 unspecified max_handlers count, using default: 200
2009/11/18 09:48:53 EST 50 unspecified max_handlers count, using default: 200
2009/11/18 09:48:53 EST 50 unspecified max_handlers count, using default: 200
2009/11/18 09:48:53 EST 100 class net.handle.server.HdlUdpInterface: Error 
setting up server socket: java.net.BindException: Cannot assign requested 
address: Cannot bind
2009/11/18 09:48:53 EST 100 class net.handle.server.HdlUdpInterface: Error 
setting up server socket: java.net.BindException: Cannot assign requested 
address: Cannot bind
2009/11/18 09:48:53 EST 100 class net.handle.server.HdlTcpInterface: Error 
setting up server socket: java.net.BindException: Cannot assign requested 
address: JVM_Bind
2009/11/18 09:48:53 EST 100 class net.handle.server.HdlTcpInterface: Error 
setting up server socket: java.net.BindException: Cannot assign requested 
address: JVM_Bind
2009/11/18 09:48:53 EST 100 class net.handle.server.HdlHttpInterface: Error 
setting up server socket: java.net.BindException: Cannot assign requested 
address: JVM_Bind
2009/11/18 09:48:53 EST 100 class net.handle.server.HdlHttpInterface: Error 
setting up server socket: java.net.BindException: Cannot assign requested 
address: JVM_Bind
Saving global values to: C:\Documents and Settings\me\.handle\root_info
2009/11/18 09:49:45 EST 25 Shutting down server at Wed Nov 18 09:49:45 EST 
2009
2009/11/18 09:49:45 EST 100 Error sleeping!: java.lang.ThreadDeath
2009/11/18 09:49:45 EST 100 Error sleeping!: java.lang.ThreadDeath

Another debug log shows wrong ips and ports (debug for the Tanuki wrapper using 
CNRI handle server).

E:\dspace\binE:\dspace\bin\wrapper.exe -c E:\dspace\config\wrapper.conf
wrapper  | -- Wrapper Started as Console
wrapper  | Java Service Wrapper Community Edition 32-bit 3.3.6
wrapper  |   Copyright (C) 1999-2009 Tanuki Software, Ltd.  All Rights Reserved.

wrapper  | http://wrapper.tanukisoftware.org
wrapper  |
wrapper  | Release time: 2009/08/28 00:00:00
wrapper  | Build time:   2009/08/28 17:43:00
wrapper  | Using tick timer.
wrapperp | server listening on port 32000.
wrapper  | Ping settings: wrapper.ping.interval=5, 
wrapper.ping.interval.logged=1, wrapper.ping.timeout=30
wrapper  | Launching a JVM...
wrapper  | JVM started (PID=432)
jvm 1| WrapperManager Debug: WrapperManager class initialized by thread: 
main  Using classloader: sun.misc.launcher$appclassloa...@11b86e7
jvm 1| WrapperManager: Initializing...
jvm 1| WrapperManager Debug: JVM #1
jvm 1| WrapperManager Debug: Running a 32-bit JVM.
jvm 1| WrapperManager Debug: Registering shutdown hook
jvm 1| WrapperManager Debug: Using wrapper

  continues ...

jvm 1| WrapperManager Debug: Startup runner thread started.
jvm 1| WrapperManager Debug: WrapperManager.start(org.tanukisoftware.wrapper
.wrappersimple...@3a6727, args[E:/handle-server]) called by thread: main
jvm 1| WrapperManager Debug: Communications runner thread started.
jvm 1| WrapperManager Debug: Open socket to wrapper...Wrapper-Connection
jvm 1| WrapperManager Debug: Opened Socket from 31000 to 32000
jvm 1| WrapperManager Debug: Send a packet KEY : v4n8jFV7HAVdWzUg
jvm 1| WrapperManager Debug: handleSocket(Socket[addr=/127.0.0.1,port=32000,
localport=31000])
wrapperp | accepted a socket from 127.0.0.1 on port 31000
wrapperp | read a packet KEY : v4n8jFV7HAVdWzUg
wrapper  | Got key from JVM: v4n8jFV7HAVdWzUg
wrapperp | send a packet LOW_LOG_LEVEL : 1
wrapperp | send a packet PING_TIMEOUT : 30
wrapperp | send a packet PROPERTIES : (Property Values)
wrapper  | Start Application.

Thanks for taking the time.

Sue Kantargis

Programmer Analyst
Department of Computing Resources
Southern New Hampshire University
2500 North River Road
Manchester, NH 03106

Phone: 603-668-2211 ext. 2337
Fax: 603-645-9775




Please consider the environment before printing this e-mail.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace Logs

2009-11-18 Thread Jeffrey Trimble
I know that the DSpace logs are used for the building of statistics.   
When I migrated from

the previous server, I may have not copied those files over just right.

Is there a logic used in the automatic naming of the log files?

For example, I have dspace.log
dspace.log.0  through dspapce.log.500

They aren't in chronological order.

Would this affect as to why I'm not getting a complete reading of the  
logs for building the statistics?  I'm
only getting statistics since January of 2009 and I have three years  
before that in log files.


I've checked my dstat.cfg file to make sure the date was set correctly.

Is there something else I can do to get a complete reset and/or get  
the statistics to read them completely?


Thanks in advance,

Jeff
Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jtrim...@cc.ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
I must not fear.  Fear is the mind-killer.
I will permit it to pass over me and through me...
--Litany against fear

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Errors during vacuuming postgres

2009-11-18 Thread Stuart Lewis
Hi Tushar,

 We are running dspace 1.4.2 on RHEL 5.0 with postgresql 8.1.9-1.el5  as 
 database.
 These are the warning messages I am getting during vacuuming postgres
  
 WARNING:  skipping pg_authid --- only table or database owner can vacuum it
 WARNING:  skipping pg_database --- only table or database owner can vacuum 
 it
  
 How can they be handled

These are possibly caused because you are running the vacuum as a user that 
only has access to the dspace database, and not to the main system database. 
Therefore the dspace database will be getting vacuumed, but not the postgres 
internal database.

 Also it takes a lng time to grant license while subscribing to a 
 collection

There could be many reasons for this. It probably isn't the 'grant licence' 
step as such, but the ingesting of the item into the repository that occurs 
once the licence has  been granted. If you enable 'DUBUG' on your dspace.log 
files 
(http://wiki.dspace.org/index.php/TechnicalFaq#Setting_logging_level_up_to_DEBUG)
 then you will see what steps are being taken, and where the slowness is 
occurring. It could be writing the file to the asset store, adding the metadata 
to the browse indexes, updating lucene etc.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] HELP with Implementing SRB or an alternative in DSpace 1.5.1

2009-11-18 Thread Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi,
 We have some unique collection access/authorization issues and we're 
trying to figure out if there's a way to implement the basic scenario depicted 
in the diagram below.  What we're trying to avoid is having to implement the 
DSpace application on two servers, and having to deal with loading documents 
and metadata onto two separate servers.  ***Note:  We cannot store these 
documents on the same server.

1.   Is implementing SRB in DSpace simply a matter of correctly 
configuring the dspace.cfg file?  Is there any separate software you need to 
install on your server?
2.   Has anyone actually implemented SRB in DSpace and, if so I 
would like to see a real example of how you configured all the 
srb.*.assetstore# parameters in dspace.cfg?  The documentation does not say 
much about how these parameters should be configured, for example I have no 
idea what to use for srb.mcatzone, srb.mdasdomainname, or 
srb.defaultstorageresource??
3.   Is there any plan to configure a future release of dspace 
so that you can control which assetstore an Item/Document get written to based 
on Collection id?  Ultimately we'd like to do this so we wouldn't have to keep 
manipulating assetstore.incoming based on which Collection was being loaded.
4.   Can anyone suggest any alternatives?  We've also looked at 
registration, but that also duplicates metadata in two separate instances of 
DSpace from what I understand.

Thanks in advance,
Sue

[cid:image001.jpg@01CA687C.B99C1D90]


Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application  Database Administrator
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074
Fax:(757) 224-4001
Pager: (757) 988-2547
Email:  susan.m.thorn...@nasa.govmailto:susan.m.thorn...@nasa.gov

inline: image001.jpg--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech