[Dspace-tech] help needed to connect tomcat to dspace: jspui fails to find dspace config

2008-11-26 Thread Andrew Marlow
hello DSpacers, I am having trouble installing dspace with tomcat. I followed the instructions in the dspace manual but there must be some important step/fact I am overlooking. I hope someone can shed some light please. In step 8 I tried adding the context directives to context.xml instead of

Re: [Dspace-tech] Authorization bug? Admin options show during submission

2008-11-26 Thread George Hamilton
Hi I reported this problem, and for me a work-around, to this list last month (22.10.2008): I had a look around and noticed that org.dspace.browse.BrowseConsumer was being fired when a new item was created. In its constructor context.setIgnoreAuthorization(true) was being called but there

[Dspace-tech] PSQLException: This statement has been closed

2008-11-26 Thread Fabian Smagghe
Hi, in September 2007 Mika Stenberg reported connection problems: PSQLException: This statement has been closed LOG: unexpected EOF on client connection We have the same problem (we use dspace 1.5.0 + customization) and MANY System Error with following message in the log : SQLException: This

Re: [Dspace-tech] PSQLException: This statement has been closed

2008-11-26 Thread Claudia Jürgen
Hi Fabian, afair Mika referred to situations where it is tried to rollback or close allready closed connections: see org.dspace.core.Context public void abort() { try { connection.rollback(); } catch (SQLException se) {

[Dspace-tech] Postgres won't work after violent shutdown

2008-11-26 Thread juuventud
Hi all I've been on this problem for two days! Would seriously appreciate some suggestions. My server went down unexpectedly, and since restarting, the Postgres db won't come back on. I'm running PostgreSQL8.1 on Windows Server 2003 with DSpace 1.4.2 I'm getting various error messages:

[Dspace-tech] URL Question

2008-11-26 Thread Jason Fowler
Hi, I need to create a dynamic link to the URL for the primary bitstream in my display-item.jsp. I know that if I use %= handle %, I can get the handle for the item. How would I get the rest of the URL. Lets say the url is http://myhost/bitstream/12345/33/1/myfile.flv I can hard code in the

Re: [Dspace-tech] Postgres won't work after violent shutdown

2008-11-26 Thread Mr Havercamp
juuventud wrote: Hi all I've been on this problem for two days! Would seriously appreciate some suggestions. My server went down unexpectedly, and since restarting, the Postgres db won't come back on. I'm running PostgreSQL8.1 on Windows Server 2003 with DSpace 1.4.2 I'm getting various

Re: [Dspace-tech] PSQLException: This statement has been closed

2008-11-26 Thread Flavio Botelho
Grave problem related to chooser.jsp (Or whatever code that calls it). The problem that caused the connection pool to get exhausted in our production site can be reproduced by taking Dspace's current Trunk and enabling at least 2 Autentication methods that have loginURLs (ie.:

Re: [Dspace-tech] URL Question

2008-11-26 Thread Allen Lam
There are no simple java variables containing the bitstream filenames in display-item.jsp. The bitstream list table you see is dynamically generated by ItemTag.java. You might need to customize this java file to add extra contents to the item display page. Regards, Allen Lam. HKU Hub

Re: [Dspace-tech] Postgres won't work after violent shutdown

2008-11-26 Thread juuventud
Thanks Mr Havercamp I've been trying to switch the service on by all the methods I can think of, but in Services it just goes on and then off again immediately. Postgres.exe is not in the Task Manager's list of Processes. My Server IP has not changed and the postgresql.conf is set to listen

Re: [Dspace-tech] Postgres won't work after violent shutdown

2008-11-26 Thread Allen Lam
Hi, I also have bad experience of using postgresql under windows. It is less stable than running in unix/linux. I would suggest: 1. Look into your event log to discover why postgres could not start. Then fix it accordingly. 2. If you cannot fix it, back up the data directory and then