Re: [Dspace-tech] ldap dspace

2007-04-18 Thread Stuart Lewis [sdl]
Hi Susan,

 I started receiving the following messages in my dspace log today:
 
 2007-04-17 15:29:25,244 WARN  org.dspace.app.webui.servlet.LDAPServlet @
 anonymous:session_id=7EFF45148568493C0EB81D2E82FDCF62:ip_addr=128.172.144.44:l
 dap_authentication:type=failed_auth
 javax.naming.AuthenticationException: [LDAP: error code 49 - NDS error:
 failed authentication (-669)]

I'm guessing you are authenticating against Novell? The standard LDAP error
code 49, and Novell's error code -669 just mean bad username or password,
so aren't very helpful.

One little tool that is very useful in debugging LDAP problems is the 'LDAP
Browser'.

http://www-unix.mcs.anl.gov/~gawor/ldap/

You can give this the same information that you used to configure LDAP in
DSpace, and see if it lets you in. If it does, the problem will be with
DSpace (although you say you have changed anything so hopefully it is fine),
or if it doesn't, the problem will be with the LDAP service.

If it does also fail, it gives you a nice tool to take to the LDAP
administrators to show that connections are not working. They should be able
to turn on tracing to watch authentication attempts to their LDAP service to
see what is happening.

Good luck!


Stuart
_

Datblygydd Cymwysiadau'r WeWeb Applications Developer
Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Adding items without bitstreams

2007-04-18 Thread Zhiwu Xie
I had the same problem. My work around is to upload an html file that simply
does a redirect to the full-text source.

Zhiwu Xie



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stuart Lewis
[sdl]
Sent: Tuesday, April 17, 2007 11:53 PM
To: BEAZLEY, Robert; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Adding items without bitstreams

Hi Robert,

 Is it possible to add items to DSpace without uploading a file? We have a
need
 to add citations to our repository where we may not have the right to
 distribute the actual article itself. At the moment we're just using a
 placeholder text file but we'd like to be able to do away with this if
it's at
 all possible.

At present it is not possible - but will be in the next major release of
DSpace (1.5) which will include what is known as the 'configurable
submission system' (CSS).

In the mean time, you could look at installing just that functionality:

http://sourceforge.net/tracker/index.php?func=detailaid=1370187group_id=19
984atid=319984

Or you could install the whole of the configurable submission system:

http://sourceforge.net/tracker/index.php?func=detailaid=1532695group_id=19
984atid=319984

I hope this helps,


Stuart
_

Datblygydd Cymwysiadau'r WeWeb Applications Developer
Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Cannot get a connection, pool exhausted

2007-04-18 Thread Filbert Minj
Hi Stuart,

Thanks very much for the prompt reply.
Recently we have upgraded it to Dspace 1.4.1 on RHEL 4 using postgres 
database.
I made the change in db.maxconnections and I think this should solve the 
problem.

I had forgotten, earlier we had the same problem and did exactly what you 
suggested.

Cheers,

--
Filbert

- Original Message - 
From: Stuart Lewis [sdl] [EMAIL PROTECTED]
To: Filbert Minj [EMAIL PROTECTED]; 
dspace-tech@lists.sourceforge.net
Sent: Wednesday, April 18, 2007 11:32 AM
Subject: Re: [Dspace-tech] Cannot get a connection, pool exhausted


 Hi Filbert,

 Has any one faced similar problem.

  WARN  org.dspace.app.webui.servlet.DSpaceServlet @
 anonymous:no_context:database_error:org.apache.commons.dbcp.SQLNestedException
 :
 Cannot get a connection, pool exhausted

 What is solution of this problem.

 DSpace holds a 'pool' of connections to the database which it reuses. This
 means it doesn't have the overhead of creating a connection to the 
 database
 each time it needs to talk to the database.

 The error message suggests that all of these connections are in use, and 
 it
 has reached the number of connections that you have said it can have. The
 default set in [connections]/config/dspace.cfg is:

 db.maxconnections = 30

 There are two reasons that you might be reaching this limit -

 1) Your DSpace is very busy (lots of visitors) and there are not enough
 connections to cope. If your hardware is large enough to cope with number 
 of
 connections, you could think about increasing the number of connections in
 the pool. (change the number, restart Tomcat).

 2) For some reason, DSpace might not be letting go of some old 
 connections,
 or they might be stuck in some way. If you are using UNIX and postgres, 
 you
 should be able to see the connections, and what they are doing, by running 
 a
 'ps' on them  (make sure you're screen is wide to see what comes at the 
 end
 of the line). This might show that the connections are stuck - typical 
 state
 might be 'idle in transaction'. This can also happen if connections to the
 database are not closed properly by DSpace.

 Which version / operating system / database do you use?

 I hope this helps,


 Stuart
 _

 Datblygydd Cymwysiadau'r WeWeb Applications Developer
 Gwasanaethau Gwybodaeth  Information Services
 Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
 _


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



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Large files and DSpace

2007-04-18 Thread Zhiwu Xie
Most large files are audio/video files. Downloading the whole file may not
be a good solution here. Maybe adapting the large files to suit the users'
needs, e.g., if the user's bandwidth or usage environment is limited, then
adapting the audio/video files into lower quality streams, would be a more
sustainable approach?

Besides, DSpace does not necessarily just give whatever it holds to the
users. The dissemination can be adaptive based on various factors.

Building such an adaptive dissemination framework shall be very interesting.

Zhiwu Xie



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cory Snavely
Sent: Tuesday, April 17, 2007 6:55 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Large files and DSpace

Interesting thought, but using bittorrent would require the setup of
several peer sites in order to do its thing. Probably a good idea from a
preservation standpoint but I would suspect not practical for many, and
there are of course easier ways to support large transfer demands.

I've thought that if a need emerged for us to handle this type of media,
the DAS we use for the assetstore would be just fine, as of course would
a SAN or NAS arrangement, but submissions would probably need to come on
removable media and be loaded by staff, and distribution would probably
need to be via streaming, which I know has been discussed on this list.
To me those are the indicated approaches for this issue.

c

On Mon, 2007-04-16 at 22:30 -0300, Afonso Comba de Araujo Neto wrote:
 The problem is very intriguing and I felt like giving my 2 cents.
 
 I don't even think the problem is where you'll put it or how you'll  
 integrate such files to DSpace. The main problem is how a regular user  
 would download such a gigantic file.
 
 My first try would be to use another technology which is focused on  
 handling such downloads. The best technology I can think of for this  
 kind of thing is  bit torrent. If I had to do that, I would include on  
 DSpace just a .torrent file and instruct the users how to download  
 using the bit torrent protocol (links to free clients, etc.). Not only  
 it would be way better than a simple http download, but it could  
 alleviate the strain on your server, which certainly would build up  
 with such lengthy downloads.
 
 
 Regards,
 Afonso Araujo Neto
 
 
 
 
 
 Citando Gary Browne [EMAIL PROTECTED]:
 
  We have an assetstore residing on a SAN which solves the capacity
  issues, but as Cory says it is more the logistics of getting items into
  and out of the assetstore which is the problem.
 
  Regards
  Gary
 
 
  Gary Browne
  Development Programmer
  Library IT Services
  University of Sydney
  Australia
  ph: 61-2-9351 5946
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Cory
  Snavely
  Sent: Tuesday, 17 April 2007 10:55 AM
  To: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] Large files and DSpace
 
  I'd be interested to know how using SRB addresses the problem, which I
  understand to be the logistics of handling such a large file in both the
 
  user interface and the back end. Does it?
 
  Cory Snavely
  University of Michigan Library IT Core Services
 
  - Original Message -
  From: Ekaterina Pechekhonova [EMAIL PROTECTED]
  To: Gary Browne [EMAIL PROTECTED]
  Cc: dspace-tech@lists.sourceforge.net
  Sent: Monday, April 16, 2007 8:12 PM
  Subject: Re: [Dspace-tech] Large files and DSpace
 
 
  Hi Gary,
  you can configure Dspace to use SRB instead of regular assetstore.
  Some
  basic information can be found in the docs which come
  with Dspace.Also you can check this link:
  http://wiki.dspace.org/index.php//DspaceSrbIntegration
 
  Kate
 
  Ekaterina Pechekhonova
  Digital Library Programmer/Analyst
  New York University
  Libraries
  email: [EMAIL PROTECTED]
  phone: 212-992-9993
 
  - Original Message -
  From: Gary Browne [EMAIL PROTECTED]
  Date: Monday, April 16, 2007 7:41 pm
  Subject: [Dspace-tech] Large files and DSpace
  To: dspace-tech@lists.sourceforge.net
 
  Hello All
 
 
 
  I think I posted a question like this last year but I've just become
  a
  dad for the first time and have a bit of brain meltdown. I tried
  searching for answers on the annoying sourceforge list archive
  (should
  I
  start a separate thread about this...?) but didn't find much.
 
 
 
  My question is a general one in that I'm wondering how people are
  handling large files in DSpace (getting them onto the server,
  submissions and publication/access)? Is the SymLink stuff the only
  option at this point? For example, we have (and will be getting lots
  more of) a 12GB video file to be used in one of our collections. I'd
  like to nut out what the possible options are before I try anything.
 
 
 
  Thanks and kind regards
 
  Gary
 
 
 
 
 
  Gary Browne
  Development Programmer
  Library IT Services
  University of Sydney
  Australia
  ph: 

[Dspace-tech] Dspace Help

2007-04-18 Thread sbbharathi

Hi All,Has any one faced similar problem.Whilerunning ant fresh_ install get these errors 
[EMAIL PROTECTED] dspace-1.4.1-source]# ant fresh_installBuildfile: build.xmlBUILD FAILEDfile:/dspace/dspace-1.4.1-source/build.xml:88: Unexpected element "loadproperties"
What is solution of this problem.Shri.S.Balabharathi Librarian Variable Energy Cyclotron Centre Library  Information Services 1/AF, Bidhan Nagar, Kolkata - 700 064 West Bengal, India Phone +91-033-2337 1230 (Ext.No.4238) 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace a memory hog?

2007-04-18 Thread Pan Family

Hi,

There is a rumor that says DSpace is a memory hog.
I don't know where this is from but it may not be that
important.  What is important is that it makes my
management nerves.  So I'd like to hear from those
who know anything about this issue.  Is it really
a memory hog?  Under what circumstances it
might become a memory hog?  Or there should
be no worry about memory usage at all?

Thanks a lot in advance!

-Pan
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Adding items without bitstreams

2007-04-18 Thread Graham Triggs
On Wed, 2007-04-18 at 06:52 +0100, Stuart Lewis [sdl] wrote:
 At present it is not possible - but will be in the next major release of
 DSpace (1.5) which will include what is known as the 'configurable
 submission system' (CSS).

Hi Stuart,

This is very good news for us, as we already have similar functionality
hacked in to our 1.3.2 installation(s), and I was hoping that we could
replace it with the configurable submission system in our 1.4.x upgrade.

Although, can we please agree not abbreviate it to 'CSS', otherwise
things are going to get very confusing around here! (Maybe it should be
rebranded to the 'configurable submission process').

G
This email has been scanned by Postini.
For more information please visit http://www.postini.com


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem creating collection on 1.4.1

2007-04-18 Thread Didit DR
Hi,
I'm already build dspace 1.4.1 on ubuntu with tomcat5.5 and sun-jdk-1.5.
After creating administrator user with create admin and fire up the tomcat,
dspace displayed wonderfuly on my web browser. But after login on
dspace-admin and try to create top level collection, I got internal system
error and the logfiles show me this :

2007-04-17 17:27:47,436 WARN
org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=46440903D8D77EFCEA1E7CC5EAE30778:internal_error:-- URL Was: htt$
-- Method: POST
-- Parameters were:
-- copyright_text: 
-- action: 7
-- submit: Create
-- parent_community_id: -1
-- create: true
-- short_description: ini hanya test
-- side_bar_text: 
-- introductory_text: 
-- name: test comm

java.lang.NullPointerException
at org.dspace.handle.HandleManager.createId(HandleManager.java:395)
at
org.dspace.handle.HandleManager.createHandle(HandleManager.java:160)
at org.dspace.content.Community.create(Community.java:189)
at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEdit
Community(EditCommunitiesServlet.java:375)
at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommu
nitiesServlet.java:230)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
:147)
at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter.java:10
3)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)


Any directions to get rid this problem 


Thanks


Didit

ITC Universitas Widyatama


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Help

2007-04-18 Thread Claudia Jürgen
Hi Shri,

which version of ant are you using?

You should use 1.6.2 or higher.

Claudia


[EMAIL PROTECTED] schrieb:
  Hi All,
 
  Has any one faced similar problem. 
 
 While  running ant fresh_ install  get these errors
 
 
 [EMAIL PROTECTED] dspace-1.4.1-source]# ant fresh_install
 Buildfile: build.xml
  
 BUILD FAILED
 file:/dspace/dspace-1.4.1-source/build.xml:88: Unexpected element 
 loadproperties
 
  What is solution of this problem.
 
 Shri.S.Balabharathi
 Librarian
 Variable Energy Cyclotron Centre
 Library  Information Services
 1/AF, Bidhan Nagar,
 Kolkata - 700 064
 West Bengal, India
 Phone +91-033-2337 1230 (Ext.No.4238)
 
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Cannot get a connection, pool exhausted

2007-04-18 Thread Cory Snavely
In our experience, this problem appears to be due to a bug somewhere in
freeing connections back to the pool--we tend to see steady linear
growth in the number of 'idle in transaction' connections until we get
this error. These are visible with ps.

Increasing the number of connections in the pool, for us, only delayed
the occurrence of the problem. Ultimately the number of 'idle in
transaction' connections would climb to the max.

We put a workaround in place. This is a root crontab entry:

# kill old 'idle in transaction' postgres processes, leaving up to 10
* * * * * while /usr/bin/test `/usr/bin/pgrep -f 'idle in transaction'
| /usr/bin/wc -l` -gt 10; do /usr/bin/pkill -o -f 'idle in transaction';
done

At one point I was entertaining a theory that the Apache connection pool
manager delivered with DSpace was a stale version. To date, the
workaround has worked so well that I'm not sure that theory has been
fully explored.

Also, FWIW, there have been lengthy discussions on this list about this
topic already. You would probably find the previous thread useful as I'm
quite sure I'm not retelling everything here.

Cory Snavely
University of Michigan Library IT Core Services

On Wed, 2007-04-18 at 12:13 +0530, Filbert Minj wrote:
 Hi Stuart,
 
 Thanks very much for the prompt reply.
 Recently we have upgraded it to Dspace 1.4.1 on RHEL 4 using postgres 
 database.
 I made the change in db.maxconnections and I think this should solve the 
 problem.
 
 I had forgotten, earlier we had the same problem and did exactly what you 
 suggested.
 
 Cheers,
 
 --
 Filbert
 
 - Original Message - 
 From: Stuart Lewis [sdl] [EMAIL PROTECTED]
 To: Filbert Minj [EMAIL PROTECTED]; 
 dspace-tech@lists.sourceforge.net
 Sent: Wednesday, April 18, 2007 11:32 AM
 Subject: Re: [Dspace-tech] Cannot get a connection, pool exhausted
 
 
  Hi Filbert,
 
  Has any one faced similar problem.
 
   WARN  org.dspace.app.webui.servlet.DSpaceServlet @
  anonymous:no_context:database_error:org.apache.commons.dbcp.SQLNestedException
  :
  Cannot get a connection, pool exhausted
 
  What is solution of this problem.
 
  DSpace holds a 'pool' of connections to the database which it reuses. This
  means it doesn't have the overhead of creating a connection to the 
  database
  each time it needs to talk to the database.
 
  The error message suggests that all of these connections are in use, and 
  it
  has reached the number of connections that you have said it can have. The
  default set in [connections]/config/dspace.cfg is:
 
  db.maxconnections = 30
 
  There are two reasons that you might be reaching this limit -
 
  1) Your DSpace is very busy (lots of visitors) and there are not enough
  connections to cope. If your hardware is large enough to cope with number 
  of
  connections, you could think about increasing the number of connections in
  the pool. (change the number, restart Tomcat).
 
  2) For some reason, DSpace might not be letting go of some old 
  connections,
  or they might be stuck in some way. If you are using UNIX and postgres, 
  you
  should be able to see the connections, and what they are doing, by running 
  a
  'ps' on them  (make sure you're screen is wide to see what comes at the 
  end
  of the line). This might show that the connections are stuck - typical 
  state
  might be 'idle in transaction'. This can also happen if connections to the
  database are not closed properly by DSpace.
 
  Which version / operating system / database do you use?
 
  I hope this helps,
 
 
  Stuart
  _
 
  Datblygydd Cymwysiadau'r WeWeb Applications Developer
  Gwasanaethau Gwybodaeth  Information Services
  Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth
 
 E-bost / E-mail: [EMAIL PROTECTED]
  Ffon / Tel: (01970) 622860
  _
 
 
  -- 
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
  
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

Re: [Dspace-tech] DSpace a memory hog?

2007-04-18 Thread Cory Snavely
This depends on your definition of a memory hog.

We run a relatively large instance of DSpace and we allocate 512MB to
Tomcat, about 100MB to Postgres, and 256MB for daily indexing runs (via
the dsrun script).

In earlier versions of DSpace the indexing routine needed to be patched
to work around a poor implementation that caused memory allocation to be
linear with repository size. Without that, we were running out of memory
during indexing. I believe that patch is now part of the base.

We run comfortably inside 2G of physical memory. I may have considered
that a memory hog 5 years ago, but today I consider it light.

Cory Snavely
University of Michigan Library IT Core Services

On Wed, 2007-04-18 at 01:01 -0700, Pan Family wrote:
 Hi,
 
 There is a rumor that says DSpace is a memory hog.
 I don't know where this is from but it may not be that
 important.  What is important is that it makes my
 management nerves.  So I'd like to hear from those
 who know anything about this issue.  Is it really
 a memory hog?  Under what circumstances it
 might become a memory hog?  Or there should
 be no worry about memory usage at all?
 
 Thanks a lot in advance!
 
 -Pan 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___ DSpace-tech mailing list 
 DSpace-tech@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace a memory hog?

2007-04-18 Thread mnora
Pan

In comparison to applications which run on inferior Operating Systems such
as Microsoft (2000 - vista) this is not abnormal memory usage. Generally I
dedicate a server to dspace or any of the archival software which I use.
Such rumors are either started by people with insufficient technical
knowledge or the purveyors of proprietary software who are trying to scare
people away from adopting software which they cannot extort exhorbitatnt
fees from.

Gerry

Gerry Arthus
Systems Administrator:
Long Island Library Resources Council
SUNY at Stony Brook
Stony Brook, New York
US  11794-3399
Phone: 1-631-632-6652
FAX: 631-632-6662
Home: 631-289-7565
Email: [EMAIL PROTECTED]
Professor: Departments of: Graduate Computer Engineering, Earth and
Environmental Science, and Engineering Management
C.W. Post Campus of Long Island University
720 Northern Boulevard
Brookville, New York US 11548-1300
Phone: 516-299-2293




 Hi,

 There is a rumor that says DSpace is a memory hog.
 I don't know where this is from but it may not be that
 important.  What is important is that it makes my
 management nerves.  So I'd like to hear from those
 who know anything about this issue.  Is it really
 a memory hog?  Under what circumstances it
 might become a memory hog?  Or there should
 be no worry about memory usage at all?

 Thanks a lot in advance!

 -Pan
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech





-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace on-site Assistance -- reposting with location

2007-04-18 Thread Strongin-Garry, Ilene (IHG)
We are looking for a DSpace expert that can come to our offices for one
- two weeks (as long as the job takes) to assist us with upgrading our
DSpace, ensuring everything is running optimally, adding any new feature
add-ons that we don't currently have, etc.  Our office is in Atlanta,
GA.

 

Please let me know if you are interested and the cost for this work.

 

Ilene R. Strongin-Garry

IHG

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Cannot get a connection, pool exhausted

2007-04-18 Thread Graham Triggs
On Wed, 2007-04-18 at 13:33 +0100, Richard Jones wrote:
 I just put a page on the wiki with some thoughts and possible ways of 
 debugging this, as it happens:
 
 http://wiki.dspace.org/index.php/Idle_In_Transaction_Problem
 
 If you can have a look at the results of the query that this page 
 suggests and post it to the list or the wiki, perhaps we can start to 
 tighten up the database connections.

Hmmm... in theory, whilst transactions can 'fail', they should always
rollback or commit. If we assume something really obscure isn't
happening for now, it leaves us with two possibilities:

1) The Context has dropped out of scope without being cleaned up

2) A thread is still executing, and is still using it's Context / transaction.

A few obvious things here spring to mind:

1) Check the logs for Exceptions - one being thrown without a finally
to clean up the Context would be a likely (if not only) suspect for a
Context being lost.

2) Launch Tomcat under JDK 1.5 with the JMX interface enabled, and
attach JConsole to it (JMX adds little overhead to the server, and you
don't need to attach JConsole until the problem arises). From JConsole,
you can see how many Threads Tomcat is currently using, what status
they are in and often a stack trace - so you can see where in the code
that Thread is being blocked.

(As an aside, we had a problem with a different application, where
sooner or later - and often sooner - Tomcat would suddenly grind to a
halt and stop serving requests. Using JConsole showed that the Threads
were all blocked (and increasing  in number with every request), and
the point at which most of them was blocked was in trying to obtain a
database connection from a custom built pool - and it actually came
back to a background thread that was trying to close unwanted
connections at the same time the business logic was trying to close the
same connection. Both Threads got hung up on each other, and everything
else blocked as the pool couldn't give new connections whilst the clean
up was in progress.)

Also note that JConsole has a button to force garbage collection - this
may help in determining if there are dangling Contexts. If they (and
therefore the transactions) disappear after forcing the garbage
collection, then something was dangling - although that wouldn't tell you why).

G

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ldap dspace

2007-04-18 Thread Susan Teague Rector
Thanks Stuart,

I ended up writing a php script to connect to the ldap server from our 
dspace server. Worked.

Long story short. There were about 3 changes going on at the same time. 
The only one I had control over was a stupid error on my part - through 
the course of the past few weeks, the config file was clobbered (only on 
1 line) and one letter was changed in the ldap object context.
I guess no one noticed as there are only 3 people testing; I was able to 
log in, but no one else was.

Alas. Thanks for the tool tip - We use softerra on windows, but I don't 
have anything loaded on linux.

Thanks again,
Susan


Stuart Lewis [sdl] wrote:
 Hi Susan,

   
 I started receiving the following messages in my dspace log today:

 2007-04-17 15:29:25,244 WARN  org.dspace.app.webui.servlet.LDAPServlet @
 anonymous:session_id=7EFF45148568493C0EB81D2E82FDCF62:ip_addr=128.172.144.44:l
 dap_authentication:type=failed_auth
 javax.naming.AuthenticationException: [LDAP: error code 49 - NDS error:
 failed authentication (-669)]
 

 I'm guessing you are authenticating against Novell? The standard LDAP error
 code 49, and Novell's error code -669 just mean bad username or password,
 so aren't very helpful.

 One little tool that is very useful in debugging LDAP problems is the 'LDAP
 Browser'.

 http://www-unix.mcs.anl.gov/~gawor/ldap/

 You can give this the same information that you used to configure LDAP in
 DSpace, and see if it lets you in. If it does, the problem will be with
 DSpace (although you say you have changed anything so hopefully it is fine),
 or if it doesn't, the problem will be with the LDAP service.

 If it does also fail, it gives you a nice tool to take to the LDAP
 administrators to show that connections are not working. They should be able
 to turn on tracing to watch authentication attempts to their LDAP service to
 see what is happening.

 Good luck!


 Stuart
 _

 Datblygydd Cymwysiadau'r WeWeb Applications Developer
 Gwasanaethau Gwybodaeth  Information Services
 Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

 E-bost / E-mail: [EMAIL PROTECTED]
  Ffon / Tel: (01970) 622860
 _
   

-- 
Susan Teague Rector
Web Applications Manager
Library Information Systems, VCU Libraries
804.827.3554 | [EMAIL PROTECTED]



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] dspace.log file owned by root

2007-04-18 Thread Jose Blanco
I'm finding that my dspace.log file is sometimes, not always, owned by root.
I think what is happening is that when it is time to roll the file, some how
root becomes the owner sometimes.  Any ideas what could be causing this, or
where I should look?  I've checked the log4j.properties file and it looks
fine, not any different from what it has been since we installed DSpace a
few years ago.  I'm also seeing the handle-plugin.log is always owned by
root.

 

Thanks!
Jose

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Assetstore physical storage (Amazon's Simple Storage Service: S3)

2007-04-18 Thread Richard Rodgers
Richard:

I'm putting up a prototype implementation of (inter alia) an S3 backend
on the DSpace wiki. (see 'PluggableStorage' page). Would love volunteers
to vet it (not ready for production).

Thanks,

Richard R.

 

On Thu, 2007-04-12 at 09:49 +1200, Richard MAHONEY wrote:
 Dear Robert et al.,
 
 On Thu, 2007-04-12 at 07:15, Robert Tansley wrote:
  We considered this way back when (2001); we decided on using the
  filesystem because some files might be very very large, there might be
  lots of them and in general it's easier to split filesystem-based
  asset stores across multiple drives/machines than a big relational
  database.
  
  That said, the intention was that storage would be made pluggable --
  so you could have RDBMS, SRB/iRODs, open-source GoogleFileSystem,
  LOCKSS-ish etc. storage.  That pluggability ended up being one of the
  many non-critical-for-version-1 features we had to drop to get DSpace
  1.0 finished :-)  There are some projects (e.g. the MIT ones) looking
  at how to really accomplish this.
 
 Over the past few weeks I've been using Amazon's Simple Storage Service
 (S3):
 
  http://www.amazon.com/gp/browse.html?node=16427261
 
 At this point I've merely been using it to backup web servers and
 development directories. This has involved the simple upload of
 compressed tarballs (using the Java app. jSh3ll) but also the
 synchronising of file systems (using the Ruby app. s3sync).
 
 In all, I've been pleasantly surprised by the results. It would seem
 that the S3 storage system promises to be more resilient than anything
 I could build at a reasonable cost.
 
 Although I've only been using S3 for remote backup, it seems that it
 can also be used as a live file system for storing and retrieving data
 for web apps. I am wondering then, if anyone, may be able to suggest
 how it might be possible to configure (cajole) DSpace-1.4 into using S3
 as an assetstore. The Amazon blurb says that S3:
 
 `Uses standards-based REST and SOAP interfaces designed to work with any
 Internet-development toolkit.'
 
 
 Best regards,
 
  Richard MAHONEY
 
 
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Metadata Schemas

2007-04-18 Thread Jeffrey Trimble
Has anyone created a schema for VRA Core 4.0?  Or for that matter, a 
different Schema
from DC.  If so, I have the following questions.

1.  Is it limited to Element and Qualifier only?
2.  Do I follow the examples in dspace.cfg to configure the indexing 
of VRA into Dspace?
3.  Do I follow examples for the display of VRA into Dspace?

TIA,


Jeffrey A. Trimble
Systems Librarian
Youngstown State University
Youngstown, OH
[EMAIL PROTECTED]
(330) 941-2483
http://digital.maag.ysu.edu
http://www.maag.ysu.edu
http://jupiter.ysu.edu




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace a memory hog?

2007-04-18 Thread Brad Teale
Pan,

Dspace is a memory hog considering the functionality the application
provides.  This is mainly due to the technological choices made by the
founders of the Dspace project, and not the functional requirements the
Dspace project fulfills.

Application and memory bloat are pervasive in the IT industry.  Each
individual organization should look at their requirements whether they
are hardware, software or both.  Having to dedicate a machine to an
application, especially a relatively simple application like Dspace, is
wasteful for hardware resources and people resources.

Web applications should _not_ need 2G of memory to run comfortably.

-- 
Brad TealeWeb Application Developer
Digital Library Development Lab   University of Minnesota Libraries
[EMAIL PROTECTED]

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace a memory hog?

2007-04-18 Thread Cory Snavely
Well, as I said at first, it all depends on your definition of what a
memory hog is. Today's hog fits in tomorrow's pocket. We better all
already be used to that.

Also, I don't think for a *minute* that the original developers of
DSpace made a casual choice about their development environment--in
fact, I think they made a responsible choice given the alternatives.
Let's give our colleagues credit that's due. Their choice permits
scaling and fits well for an open-source project. Putting the general
problem of memory bloat in their laps seems pretty angsty to me.

Lastly, dedicating a server to DSpace is a choice, not a necessity. We
as implementors have complete freedom to separate out the database and
storage tiers, and mechanisms exist for scaling Tomcat horizontally as
well. In the other direction, I suspect people are running DSpace on
VMware or xen virtual machines, too.

Cory Snavely
University of Michigan Library IT Core Services

On Wed, 2007-04-18 at 13:40 -0500, Brad Teale wrote:
 Pan,
 
 Dspace is a memory hog considering the functionality the application
 provides.  This is mainly due to the technological choices made by the
 founders of the Dspace project, and not the functional requirements the
 Dspace project fulfills.
 
 Application and memory bloat are pervasive in the IT industry.  Each
 individual organization should look at their requirements whether they
 are hardware, software or both.  Having to dedicate a machine to an
 application, especially a relatively simple application like Dspace, is
 wasteful for hardware resources and people resources.
 
 Web applications should _not_ need 2G of memory to run comfortably.
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace: Internal Server Error

2007-04-18 Thread David Marcinkowski

Hello, 

We are receiving a internal server error when trying to start our
install of dspaceso I uncommentedthe 'alert.recipient' field in
dspace.cfg, restarted Tomcat and received the following email

Can you guide me in the right direction to fix thisit looks like it
might be a database error

Please advise


__
David Marcinkowski
Associate Director
Academic Computing
Manhattan Campus
Pratt Institute

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 6:36 PM
To: [EMAIL PROTECTED]
Subject: DSpace: Internal Server Error


An internal server error occurred on http://pmc.pratt.edu:8080/dspace:

Date:   4/18/07 6:35 PM
Session ID: 2B64F05DFB2961649AE2153B41FC6596

-- URL Was: http://pmc.pratt.edu:8180/dspace/
-- Method: GET
-- Parameters were:


Exception:
org.postgresql.util.PSQLException: Connection refused. Check that the
hostname and port are correct and that the postmaster is accepting
TCP/IP connections.
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connecti
onFactoryImpl.java:122)
at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.j
ava:65)
at
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connect
ion.java:116)
at
org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connect
ion.java:30)
at
org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:369)
at org.postgresql.Driver.connect(Driver.java:245)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(
DriverManagerConnectionFactory.java:48)
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableCon
nectionFactory.java:290)
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjec
tPool.java:771)
at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.j
ava:717)
at org.dspace.core.Context.init(Context.java:105)
at
org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:93)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:78)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
at

[Dspace-tech] modify jsp but don't work

2007-04-18 Thread 唐兆琦
hi,I modifyed some jsp pages, then put them in the Tomcat/Webapps/dspace/jsp, 
replace the old files. I restart the Tomcat server, but it displays the 
original page. I don't know why?Please help me. evan -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Large files and DSpace

2007-04-18 Thread Gary Browne
Thanks to all those who replied to this question - looks like people
have varying opinions and implementations.

I might start with SRB/registration and see how that goes.

Regards
Gary

Gary Browne
Development Programmer
Library IT Services
University of Sydney
Australia
ph: 61-2-9351 5946 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace a memory hog?

2007-04-18 Thread Pan Family

Thank you all for giving your opinion!

Technically, is it the web application or the indexer that requires
most of the memory?  What data is kept in memory all the time
(even when nobody is searching)?  Is the memory usage proportional
to the number of concurrent sessions?

Thanks again,

Pan




On 4/18/07, Cory Snavely [EMAIL PROTECTED] wrote:


Well, as I said at first, it all depends on your definition of what a
memory hog is. Today's hog fits in tomorrow's pocket. We better all
already be used to that.

Also, I don't think for a *minute* that the original developers of
DSpace made a casual choice about their development environment--in
fact, I think they made a responsible choice given the alternatives.
Let's give our colleagues credit that's due. Their choice permits
scaling and fits well for an open-source project. Putting the general
problem of memory bloat in their laps seems pretty angsty to me.

Lastly, dedicating a server to DSpace is a choice, not a necessity. We
as implementors have complete freedom to separate out the database and
storage tiers, and mechanisms exist for scaling Tomcat horizontally as
well. In the other direction, I suspect people are running DSpace on
VMware or xen virtual machines, too.

Cory Snavely
University of Michigan Library IT Core Services

On Wed, 2007-04-18 at 13:40 -0500, Brad Teale wrote:
 Pan,

 Dspace is a memory hog considering the functionality the application
 provides.  This is mainly due to the technological choices made by the
 founders of the Dspace project, and not the functional requirements the
 Dspace project fulfills.

 Application and memory bloat are pervasive in the IT industry.  Each
 individual organization should look at their requirements whether they
 are hardware, software or both.  Having to dedicate a machine to an
 application, especially a relatively simple application like Dspace, is
 wasteful for hardware resources and people resources.

 Web applications should _not_ need 2G of memory to run comfortably.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] the URI handle: what is it supposed to represent?

2007-04-18 Thread Pan Family

*Please use this identifier to cite or link to this item:
http://hdl.handle.net/123456789/545
*URI: http://hdl.handle.net/123456789/545

What's up with the URI handle? It is a broken link for me, but what is it
supposed to represent?
Is there a way to customize it out, if my users don't care about this info.?

Thanks,

Pan
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] the URI handle: what is it supposed to represent?

2007-04-18 Thread Mark Diggory

Please review the handle information in the documentation

http://www.dspace.org/technology/system-docs/install.html

you'll find that the default handles are just 123456789/ because  
you do not have a configured and registered a handle system. The  
handle server, which runs as a separate process on your machine  
provides a means to expose persistent urls for your items that  
resolve via the handle.net's global handle resolving service.


( Note, theres a small fee to register and maintain a handle prefix  
for your dspace each year. )


Cheers,
Mark



On Apr 18, 2007, at 9:26 PM, Pan Family wrote:

Please use this identifier to cite or link to this item: http:// 
hdl.handle.net/123456789/545

URI: http://hdl.handle.net/123456789/545

What's up with the URI handle? It is a broken link for me, but what  
is it supposed to represent?
Is there a way to customize it out, if my users don't care about  
this info.?


Thanks,

Pan
-- 
---

This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/ 
___

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


~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology
Office: E25-131
Phone: (617) 253-1096


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] modify jsp but don't work

2007-04-18 Thread Jayan Chirayath Kurian
Hi!

 

Can you try opening your file and save changes and then restart tomcat after 
clearing Tools- Internet options �C clear history in IE menu.

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ???
Sent: Thursday, April 19, 2007 8:49 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] modify jsp but don't work

 

hi,

I modifyed some jsp pages, then put them in the Tomcat/Webapps/dspace/jsp, 
replace the old files. I restart the Tomcat server, but it displays the 
original page. I don't know why? 

Please help me.

 

evan

 







抢注!网易隆重推出新一代免费邮箱  http://www.126.com/ 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace: Internal Server Error

2007-04-18 Thread Jayan Chirayath Kurian
Please check in pg_hba of postgresql, you have

hostall all 127.0.0.1/32  md5 

and in postgresql file you have

listen_addresses = 'localhost'  OR listen_addresses = '*'

After making modification you need to save and reload postgresql
configuration.

You can also check at DOS telnet IPaddress 5432 to test that server is
accepting connections.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Marcinkowski
Sent: Thursday, April 19, 2007 6:50 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] DSpace: Internal Server Error


Hello, 

We are receiving a internal server error when trying to start our
install of dspaceso I uncommentedthe 'alert.recipient' field in
dspace.cfg, restarted Tomcat and received the following email

Can you guide me in the right direction to fix thisit looks like it
might be a database error

Please advise


__
David Marcinkowski
Associate Director
Academic Computing
Manhattan Campus
Pratt Institute

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 6:36 PM
To: [EMAIL PROTECTED]
Subject: DSpace: Internal Server Error


An internal server error occurred on http://pmc.pratt.edu:8080/dspace:

Date:   4/18/07 6:35 PM
Session ID: 2B64F05DFB2961649AE2153B41FC6596

-- URL Was: http://pmc.pratt.edu:8180/dspace/
-- Method: GET
-- Parameters were:


Exception:
org.postgresql.util.PSQLException: Connection refused. Check that the
hostname and port are correct and that the postmaster is accepting
TCP/IP connections.
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Connecti
onFactoryImpl.java:122)
at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.j
ava:65)
at
org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connect
ion.java:116)
at
org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connect
ion.java:30)
at
org.postgresql.jdbc3.Jdbc3Connection.init(Jdbc3Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:369)
at org.postgresql.Driver.connect(Driver.java:245)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(
DriverManagerConnectionFactory.java:48)
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableCon
nectionFactory.java:290)
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjec
tPool.java:771)
at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.j
ava:717)
at org.dspace.core.Context.init(Context.java:105)
at
org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:93)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:78)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
at