Re: [Dspace-tech] ConfigurableSubmissionPatch compile error

2007-07-27 Thread Christian Voelker
Hello,

Am 27.07.2007 um 06:18 schrieb Gary Browne:
 I'm trying to apply the said patch to 1.4.1.

 I'm using SF patch #1532695 (should I be using SF patch #1691345?)  
 and I get compile errors.
 .
 .

 All of the exceptions are 'class' or 'interface' expected. Can  
 anyone offer advice here?
This patch doesnt fit the version you are using.
There were conflicting changes made to this file
in the meantime. You have to merge manually.
Which version was current or under development
at the time the patch was sent in? You may
downlaod this version, patch it then diff it
with your current version, probably using a
three way diff tool (wonderful: FileMerge on
MacOS X, comes as a utility with the developer
tools). Or, you just read the patch, try to
understand, then reimplement it for the current
version. This approach might be easier in some
cases. You should use a decent editor that
helps you in highlighting java syntax and
jump to the apropriate section where the
methods are implemented. The same is true
for classes although it takes me wonder that
it even messes up with them as there is usually
only one per file. You are not a programmer?
Me not either. But you can come to an under-
standing by reading after a short kickstart.
You could also vote and promote your favourite
patches so that they get in with the next
release.

Bye, Christian


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [vote] Do we want to assign external identifiers (Handles) to files?

2007-07-27 Thread James Rutherford
On Fri, Jul 27, 2007 at 12:20:55AM -0400, Ekaterina Pechekhonova wrote:
 I meant to say that building a flexible ExternalIdentifier service is a
 challenging task (as James himself has said), so I am concerned that at
 some point the configuration options will be dropped (because of lack of
 time, etc.) and the bitstream identifier assignment will be turned on and
 difficult to disable.
  
 This is less likely to happen if, instead of one ExternalIdentifier 
 implementation, Dspace will have a mechanism to plug-in different
 implementations (and the default implementation will replicate current
 functionality)

I have actually already done this. What I'm having trouble with is
working through the code and figuring out what to use now where DSpace
used to use Handles (ie: strings of various forms). It is much more
appropriate in most of these places to use internal identifiers, and in
the places where this information is exposed externally (eg OAI-PMH), we
need to figure out how best to fall back if no external identifiers
are available, and to make this mechanism consistent throughout the
application. I should emphasise that (in my opinion) I've done the hard
bit; now we need to decide what on earth to do with it. I can't follow
the model that is currently employed both because it is broken, and
because it no longer applies. I would like to see some kind of
identifier task force emerge post 1.5 to properly sort this out before
the 1.6 release when I hope to include it. The discussions on the
mailing lists have been informative, but they don't get code written ;)

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ant fresh_install problem, setup database

2007-07-27 Thread Li Yuan

Hi, Christian

Thanks very much for you help. the problems is solved. the
pg_hba file is fine now.

However, there is another problem when I compile the dspace.
 Please have a look. Cheers

PS: There is several database under postgresql which is used
by other softwere. I did not initialize new data for the
dspce, I only created a new databsed called dspace for it.
Is it ok?


In the build.xml file, the error is popped up in line 293.
error
init_configs:
 [copy] Copying 1 file to /usr/local/share/dspace/config

setup_database:
 [java] 2007-07-27 16:36:39,934 INFO 
org.dspace.storage.rdbms.InitializeDatabase @ Initializing
Database

BUILD FAILED
/usr/local/share/dspace-1.4.2-source/build.xml:293: Java
returned: 1

/build.xml
file


!--
=
--
  !-- Create the database tables   
--
  !--
=
--

  !-- We execute InitializeDatabase, passing in the simple
log4j properties
-  file in etc/ and the DSpace configuration file using
system
-  properties --
  target name=setup_database
  depends=compile
  description=Create database tables
java
classname=org.dspace.storage.rdbms.InitializeDatabase
  classpathref=build.class.path
  fork=yes
  failonerror=yesLine 293
  sysproperty key=log4j.configuration
value=file:etc/log4j.build.properties/
  sysproperty key=dspace.configuration
value=${config}/
  arg value=etc/database_schema.sql/
/java
  /target

///




- Original Message Follows -
From: Christian Voelker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] ant fresh_install problem, setup
database
Date: Thu, 26 Jul 2007 09:44:22 +0200

 Hello,
 
 Am 26.07.2007 um 09:19 schrieb Li Yuan:
 
  org.dspace.storage.rdbms.InitializeDatabase @ Caught
  exception:
   [java] org.postgresql.util.PSQLException: FATAL:
  missing or erroneous pg_hba.conf file
 
 This is the culprit. Your postgres database
 was not initializd propoerly or the rights
 setting on the postgres data directory is
 not in proper state. Follow the steps from
 your postgres install package or the postgres
 docs.
 
 http://www.postgresql.org/docs/8.1/interactive/installati
 on.html
 
 I guess you missed something in step 14.6.
 The pg_hba.conf resides in the data directory
 of postgres and manages the access socket
 through which your can reach the db. Before
 starting the DSpace install, you should be
 able to access your database on the command
 line using psql. Did you modify this file?
 Why? Can you send it to the list?
 
 Then  start over with Step 3.ii from the
 DSpace Quick Install. You might also check
 your dspace.cfg as a last step.
 
 Yours, Christian
 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ConfigurableSubmissionPatch compile error

2007-07-27 Thread Tim Donohue
Gary,

Christian is correct.  That older Configurable Submission patch was 
specifically for DSpace 1.4 (and not 1.4.1 or 1.4.2).  So, it would take 
some manual merging to try and get it working on 1.4.1 or 1.4.2.

In fact, I'd actually discourage anyone from installing that old 
Configurable Submission patch (SF #1532695), as it's now considered 
out-of-date.  An updated and more stable version of the Configurable 
Submission is already committed to be released as part of DSpace 1.5, 
and I'd encourage you to wait for that if you can.  (DSpace 1.5 should 
hopefully be released in the next few months).  I'm actually going to go 
into the Patch Queue right now and mark that older patch as out of date.

In addition, since I'm only one person supporting this patch, there is 
unlikely to be a migration path between that old Configurable Submission 
patch and DSpace 1.5.  So, before upgrading to the eventual DSpace 1.5, 
you'd likely need to completely uninstall this old Configurable 
Submission patch anyways.

Feel free to let me know if you have further questions on this!

- Tim

Christian Voelker wrote:
 Hello,
 
 Am 27.07.2007 um 06:18 schrieb Gary Browne:
 I'm trying to apply the said patch to 1.4.1.

 I'm using SF patch #1532695 (should I be using SF patch #1691345?)  
 and I get compile errors.
 .
 .

 All of the exceptions are 'class' or 'interface' expected. Can  
 anyone offer advice here?
 This patch doesnt fit the version you are using.
 There were conflicting changes made to this file
 in the meantime. You have to merge manually.
 Which version was current or under development
 at the time the patch was sent in? You may
 downlaod this version, patch it then diff it
 with your current version, probably using a
 three way diff tool (wonderful: FileMerge on
 MacOS X, comes as a utility with the developer
 tools). Or, you just read the patch, try to
 understand, then reimplement it for the current
 version. This approach might be easier in some
 cases. You should use a decent editor that
 helps you in highlighting java syntax and
 jump to the apropriate section where the
 methods are implemented. The same is true
 for classes although it takes me wonder that
 it even messes up with them as there is usually
 only one per file. You are not a programmer?
 Me not either. But you can come to an under-
 standing by reading after a short kickstart.
 You could also vote and promote your favourite
 patches so that they get in with the next
 release.
 
 Bye, Christian
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 

-- 


Tim Donohue
Research Programmer, Illinois Digital Environment for
Access to Learning and Scholarship (IDEALS)
135 Grainger Engineering Library
University of Illinois at Urbana-Champaign

email: [EMAIL PROTECTED]
web:   http://www.ideals.uiuc.edu
phone: (217) 333-4648
fax:   (217) 244-7764


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] New Submission Notification

2007-07-27 Thread James Rutherford
On Fri, Jul 27, 2007 at 07:09:46PM +0530, Sahil Dave wrote:
 How do i configure dspace to automatically send a notification e-mail to all
 registered users whenever a new submission takes place..?
 Right now, the mail only goes to the user who submits.

This may sound like a silly question, but are you sure that's what you
want? That could end up generating a lot of email traffic for a lot of
people. Currently, users can subscribe to individual collections for
submission notifications, but I don't know of an easy way of doing this
in bulk either for the user or administrator. Another way of receiving
notifications of site-wide submissions would be to enable RSS feeds and
offer them instead.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] problem in eclipse and dspace...

2007-07-27 Thread Christos Berberidis
Hi,  i am new in DSpace world and i need some help in a problem.

I want to apply a patch in DSpace using Eclipse. I installed SVN and TOMcat
plugins
in eclipse and I encountered a ploblem when I was trying to check out DSpace
as a
Tomcat project.Particylarly when the dspace-svn project was created the *
.cvsignore* and *.tomcatplugin* couldn't appear in the tree although
they were stored in the source directory
of the dspace-svn.Furthermore the lib subdirectory was not created.
What is the problem and let me know if there is another way to apply a patch
inDSpace.

Thanks in advance..
Leandros Nanos

(I am using DSpace 1.4.2,  Tomcat 6.0,  PostgreSQL 8.2,   j2sdk1.4.2_13,
Apache Ant 1.7.0
in Windows XP version 2002 Service Pack 2)
(I followed the instuctions in he following url:
http://wiki.dspace.org/index.php/IDE_Integration:_DSpace,_Eclipse_and_Tomcat#SysDeo_Tomcat_Plugin
 )
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] problem in eclipse and dspace...

2007-07-27 Thread Christian Voelker
Hello,

Am 27.07.2007 um 11:30 schrieb Christos Berberidis:

 (I am using DSpace 1.4.2,  Tomcat 6.0,  PostgreSQL 8.2,
 j2sdk1.4.2_13,

http://tomcat.apache.org/migration.html

Apache Tomcat 6.0.x requires Java 5 ...

I am also the kind to use always the latest and greatest,
but I havent heard of anybody who has moved to tomcat 6
yet and I cant see why it would be worthwile. On the
other hand, Java 5 is fine.

Bye, Christian


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] installation help

2007-07-27 Thread Christian Voelker
Hello,

Am 27.07.2007 um 11:05 schrieb Shali 9846303531:

 After completing the installation of dspace,when i am
 trying to access the url http://localhost:8080/dspace
 the following error will appear on screen

 HTTP Status 500 -

Does any other of the examples that come with tomcat work?
I am sure they dont. Check the tomcat docs if you have
trouble at that point. I guess nobody can help you much
with this on the dspace list. The error message itself
points you to the tomcat logs for further investigation.

The tomcat manager app works (set up tomcat-users.xml)?
You might reload dspace using the manager or remove
dpace.war and dspace directory from webapps, restart
tomcat deploy a fresh .war file.

You have not had any errors during ant fresh_install?
You have your jdbc connector placed in lib? The config
is fine? Dont care for the db running at this point,
you will see soon enough if there are more problems
to come.

 Dspace-general mailing list
 [EMAIL PROTECTED]
 http://mailman.mit.edu/mailman/listinfo/dspace-general

Leave this to be discussed on dspace-tech.
You wont get answers on general most likely.

Bye, Christian


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech