[Dspace-tech] Collection authorizations: cant upload new bitstreams

2008-09-22 Thread Mika Stenberg
Im struggling with collection authorizations in DSpace 1.5.1. It seems 
that collection admins cannot upload or delete bitstreams when editing 
items. Not even if they have ADD, WRITE  REMOVE privileges. Any 
suggestions how to get around this are welcome.

Thanks,
Mika




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Anonymous or IP based submitters

2008-09-08 Thread Mika Stenberg
Im experimenting two things with DSPace 1.5.1 beta.

1) Allow anonymous submission on certain collections
1) Allow IP based submission on certain collections ( no need to log in)

I couldnt make either one work. It seems I have to log in in order to 
submit items, even I have set collection submitter to anonymous or to 
specific group to which I have specified IP's .
For the second case I created a group, which I configured to certain 
ip-space (in dspace.cfg) and added ip authentication to my 
authentication stack. Still I am not able to submit.

Can this be done in DSpace? Any help would be appreciated.

Thanks,
Mika



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Antw: Re: DSpace 1.5.1 beta, encoding

2008-09-04 Thread Mika Stenberg
Just noticed that the encoding issues occur also when editing metadata;
special (say, scandinavian accented characters), get messed up after 
updating edited metadata.

-Mika

 Hi Mark,


 after setting the container-encoding to IS0-8859-1 the display of 
 characters was ok, but still browsing on special characters dis not work .
   
 - set the container-encoding in the web.xml to ISO-8859-1
 - set the form-encoding for Browse to ISO-8859-1 in

   
 [dspace-source]/dspace-xmlui/dspace-xmlui-api/src/main/resources/ 
 aspects/ArtifactBrowser/sitemap.xmap
   
 Claudia, Can you post how you set this?
 

 Thus I did 2 changes to
 dspace-1_5_1-beta/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/ArtifactBrowser/sitemap.xmap

 added the action set-encoding to the actions

 map:actions
 map:action name=SendFeedbackAction 
 src=org.dspace.app.xmlui.aspect.artifactbrowser.SendFeedbackAction/
 map:action name=set-encoding 
 src=org.apache.cocoon.acting.SetCharacterEncodingAction/
 /map:actions

 and set the form-encoding for Browse to IS0-8859-1

 !-- Browse (by anything) --
 map:match pattern=browse
map:transform type=ConfigurableBrowse/
map:act type=set-encoding
  map:parameter name=form-encoding value=ISO-8859-1/
/map:act 
map:serialize type=xml/
 /map:match


 Now there remain 2 issues with special characters

 1) The provenance information inserted into the license
 It contains the name of the submitter which might contain special 
 characters, see 
 https://eldorado2.uni-dortmund.de/dspace151betaxmlui/bitstream/handle/123456789/12/license.txt?sequence=2

 2) the secondary search
 Searching for special characters works ok unless you do a secondary 
 search, i.e. doing a search from the results page.


 Have a good start to the week

 Claudia




 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] WYSIWYG HTML editor in DSpace

2008-09-04 Thread Mika Stenberg
We've been experiencing JavaScript WYSIWYG HTML editor in DSpace, and it 
seems to work quite nice.The need rose from the lack of will and time 
for collection admins to learn HTML when editing collection/community 
descriptions and news. Maybe an open source JavaScript editor like 
TinyMCE could be integrated in the future releases as a default?

See screenshot at: 
http://otto.terkko.helsinki.fi/utils/html-editor-in-dspace.JPG

The integration is very simple, basicly just importing a script-file in 
page headers and defining the textareas in which the editor will be used.
Other techinal details can be obtained from me.

The homepage of TinyMCE is:  http://tinymce.moxiecode.com

Cheers,
Mika


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] DSpace 1.5.1 beta

2008-08-27 Thread Mika Stenberg
I tried this both on Tomcat 6 and Jetty 6, but still the front page 
search doesnt handle chars right. The navigation search works fine though.
Any ideas?

-Mika

 Hi Mika @all,

 we just did some tests with 1.5.1 beta. Using Tomcat (6.0.13) these 
 are the changes we had to make:

 - set the container-encoding in the web.xml to ISO-8859-1
 - set the form-encoding for Browse to ISO-8859-1 in 
 [dspace-source]/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/ArtifactBrowser/sitemap.xmap
  


 The only issue left at this point is the provenance information in the 
 license, if the user name holds special characters.

 You can try it at: https://eldorado2.uni-dortmund.de/dspace151betaxmlui/
 If you find anything else, let me know.

 Sunny greetings

 Claudia



 Mika Stenberg schrieb:
 Strangely with Jetty  DSpace 1.5.1 only the other search works fine.
 I tried different combinations, where the first line means 
 container-encoding, and the second line form-encoding.
 In wedefault.xml i set locale-encoding-mapping to utf-8. In Jetty 
 there seems to be no URIEncoding.

 It also seems, that when editing Community/Collection descriptions, 
 scandinavian characters are not handled correctly, but saved as 
 'garbage'.

 Results below:
 

 utf-8
 utf-8

 Navigation search: does not work correctly
 Full text search: does work correctly

 utf-8
 iso-8859-1

 Neither works correctly

 iso-8859-1
 utf-8

 Navigation search: does work correctly
 Full text search: does not work


 iso-8859-1
 iso-8859-1

 Navigation search: does not work
 Full text search: does work correctly


 -Mika


 Great!  This seems to work !!

 It doesn't seem to matter if you set URIEncoding in server.xml to 
 ISO or UTF-8. Our linux is also running UTF-8.

 On our testserver we now have :

 server.xml : URIEncoding=UTF-8
 web.xml : container-encoding=ISO-8859-1
 web.xml : form-encoding=UTF-8


 /Klaus



 Mark Diggory wrote:
  
 Our production configuration appears to be working on scandinavian
 character searches:

 http://dspace.mit.edu/search?scope=%2Fquery=Astri+Jæger+Sweetman

 We have a difference in our production configuration and what is in
 SF where in the web.xml we have ISO-8859-1 rather than UTF-8. This
 was to stop dspace from double escaping the UTF-8 characters.

  
 !--
 Set encoding used by the container. If not set the
 ISO-8859-1 encoding
 will be assumed.
 Since the servlet specification requires that the
 ISO-8859-1 encoding
 is used (by default), you should never change this
 value unless
 you have a buggy servlet container.
 --
 init-param
 param-namecontainer-encoding/param-name
 param-valueISO-8859-1/param-value
 /init-param
   
 We also do not set our tomcat server.xml URIEncoding to be UTF-8,
 however, we change the whole native encoding of the linux platform we
 are running on to be UTF-8. So you may have to verify your doing one
 of these.

 -Mark


 On Aug 22, 2008, at 5:02 AM, KlausDK wrote:

  
 We are experincing the same problem in dspace 1.5 and dspace 1.4.2 in
 manakin. Jspui seems to work fine.

 http://www.nabble.com/utf8-problems.-Some-chars-are-stored-
 correctly-others-are-not.-tp18709026p18709026.html



 mica78 wrote:
  
 It seems that scandinavian characters are not working in searches in
 DSpace 1.5.1 beta.
 Hopefully this can be fixed in stable release?

 Thanks,
 Mika


 - 

 
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in 
 the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


   
 -- 
 View this message in context: http://www.nabble.com/DSpace-1.5.1-
 beta-tp19083313p19105912.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 -- 

 ---
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   
   

 - 

 This SF.Net email is sponsored by the Moblin Your Move Developer's 
 challenge
 Build the coolest Linux based

Re: [Dspace-tech] DSpace 1.5.1 beta

2008-08-26 Thread Mika Stenberg
Strangely with Jetty  DSpace 1.5.1 only the other search works fine.
I tried different combinations, where the first line means 
container-encoding, and the second line form-encoding.
In wedefault.xml i set locale-encoding-mapping to utf-8. In Jetty there 
seems to be no URIEncoding.

It also seems, that when editing Community/Collection descriptions, 
scandinavian characters are not handled correctly, but saved as 'garbage'.

Results below:


utf-8
utf-8

Navigation search: does not work correctly
Full text search: does work correctly

utf-8
iso-8859-1

Neither works correctly

iso-8859-1
utf-8

Navigation search: does work correctly
Full text search: does not work


iso-8859-1
iso-8859-1

Navigation search: does not work
Full text search: does work correctly


-Mika


 Great!  This seems to work !!

 It doesn't seem to matter if you set URIEncoding in server.xml to ISO or 
 UTF-8. Our linux is also running UTF-8.

 On our testserver we now have :

 server.xml : URIEncoding=UTF-8
 web.xml : container-encoding=ISO-8859-1
 web.xml : form-encoding=UTF-8


 /Klaus



 Mark Diggory wrote:
   
 Our production configuration appears to be working on scandinavian
 character searches:

 http://dspace.mit.edu/search?scope=%2Fquery=Astri+Jæger+Sweetman

 We have a difference in our production configuration and what is in
 SF where in the web.xml we have ISO-8859-1 rather than UTF-8. This
 was to stop dspace from double escaping the UTF-8 characters.

   
 
 !--
 Set encoding used by the container. If not set the
 ISO-8859-1 encoding
 will be assumed.
 Since the servlet specification requires that the
 ISO-8859-1 encoding
 is used (by default), you should never change this
 value unless
 you have a buggy servlet container.
 --
 init-param
 param-namecontainer-encoding/param-name
 param-valueISO-8859-1/param-value
 /init-param
 
   
 We also do not set our tomcat server.xml URIEncoding to be UTF-8,
 however, we change the whole native encoding of the linux platform we
 are running on to be UTF-8. So you may have to verify your doing one
 of these.

 -Mark


 On Aug 22, 2008, at 5:02 AM, KlausDK wrote:

   
 
 We are experincing the same problem in dspace 1.5 and dspace 1.4.2 in
 manakin. Jspui seems to work fine.

 http://www.nabble.com/utf8-problems.-Some-chars-are-stored-
 correctly-others-are-not.-tp18709026p18709026.html



 mica78 wrote:
 
   
 It seems that scandinavian characters are not working in searches in
 DSpace 1.5.1 beta.
 Hopefully this can be fixed in stable release?

 Thanks,
 Mika


 -
 
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


   
 
 --
 View this message in context: http://www.nabble.com/DSpace-1.5.1-
 beta-tp19083313p19105912.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 ---
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
   

   
 


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list

[Dspace-tech] DSpace 1.5.1 beta

2008-08-21 Thread Mika Stenberg
It seems that scandinavian characters are not working in searches in 
DSpace 1.5.1 beta.
Hopefully this can be fixed in stable release?

Thanks,
Mika


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Postgres / cocoon optimization for DSpace

2008-06-13 Thread Mika Stenberg
Im hoping to gather some information on Postgres and Cocoon optimization 
for DSpace. We have 8 Gb's of memory on our server, but are still 
encountering occasional Postgres errors thrown to users on weekly 
(sometimes even daily) basis.

Particularily I'd like to know what values DSpace users have in their 
postgresql.conf for shared_buffers and max_fsm_pages. Any other 
optimization hints are welcome too.

We have also tried to change the Cocoon memory settings in cocoon.xconf, 
but with little results so far. There seems to be some default values 
set for freememory and heapsize. Also garbage collection sounds 
interesting but seems to be set off as default. Does anyone have 
in-depth knowledge on how to set these to optimize DSpace?

Thanks,
Mika

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Metadata language in submission forms

2008-06-11 Thread Mika Stenberg
Im trying to add metadata fields with different language codes on 
submission form. For example I would need to be able to define dc.title 
both in finnish and english on the same form. What would be the way to 
do this?

Thanks,
Mika

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Export / Import of Community/Collection-structure

2008-06-09 Thread Mika Stenberg
I remember seeing discussion / utilities for exporting / importing 
collection/community structure in DSpace. Could someone point me to the 
right way or share one's experiences in the issue?

Thanks,
Mika

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Error on DSpace 1.5 install

2008-06-05 Thread Mika Stenberg
I have succesfully installed DSpace 1.5 for couple of times now. Two 
days ago I started from scratch and began installing an instance again. 
Build is succesfull, but when running create-administrator I get the 
following error:
--

Is the above data correct? (y or n): y
Exception in thread main java.lang.IllegalArgumentException: No such 
column language
 at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:442)
 at org.dspace.eperson.EPerson.setLanguage(EPerson.java:525)
 at 
org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdministrator.java:255)
 at 
org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails(CreateAdministrator.java:209)
 at 
org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:113)
LOG:  unexpected EOF on client connection

--

When I log on to see the eperson table the language column is there, 
like it is supposed to. Any idea whats wrong?

Thanks,
Mika

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.5 xmlui questions

2008-05-30 Thread Mika Stenberg
Im trying to configure xmlui on DSpace 1.5.
I followed theme creation instruction on DSpace System Documentation_ 
V1.5 - May 2008.pdf.

It says:

To start your new theme simply copy the theme template into your locally 
  defined modules directory, 
[dspacesource]/dspace/modules/xmlui/src/main/webbapp/themes/[your 
theme's directory]/.

I did this and configured my new theme. After rebuilding and restarting 
Tomcati my new theme is not included in the build. If I copy it manually 
to tomcat/webapps/ under themes it works fine. Whats wrong here?

Another thing I noticed, is that the headers in front page are huge. The 
source shows it has font-size 242%.

h1 class=ds-div-head style=font-size: 242%;Repository Full Text 
Preprints  Postprints/h1

Where is this size coming from? I couldnt find it from the source?


Thanks for the tips,
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Customised jsp pages not loading (1.5)

2008-05-28 Thread Mika Stenberg
Mark,

What is this dspace-src/configs/ -directory you are referring to?
In my dspace-src I have only the following dirs:

dspacedspace-oaipom.xml
dspace-apidspace-sword  README
dspace-jspui  dspace-xmlui
dspace-lniLICENSING_NOTICE.txt


Thanks,
Mika



   So to modify the dspace.cfg I do the following
 
 1.) edit [dspace-source]/configs/dspace.cfg
 
 2.) mvn clean package (in [dspace-source/dspace)
 
 3) ant init_configs  (in [dspace-source]/dspace/target/dspace...)
 
 This will update all the configuration files in [dspace]/configs
 
 Cheers,
 Mark
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] File type information in Dspace 1.5 xmlui

2008-05-28 Thread Mika Stenberg
Hi,

Im trying to dig out the file type information for items listed when 
browsing collections. I did this in Manakin 1.1 like:

xsl:when 
test=//mets:fileSec/mets:[EMAIL PROTECTED]'CONTENT']/mets:file/@MIMETYPE 
='application/pdf'

and so forth. In DSpace 1.5 I cannot seem to access the data anymore.

Whats wrong here?

Thanks,
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] dspace_migrate

2008-05-20 Thread Mika Stenberg
Im trying to use dspace_migrate on a set of exported dspace data.
I tried dspace_migrate scripts from 1.4.2 and from 1.5 but both seem to 
leave identifier.uri field in dublin_core.xml? According to 
documentation it should be removed as well. Now if I import the items, 
identifier.uri will have two values, the old and the new one.

Whats the catch and how could I fix this?

Thanks,
Mika

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LDAP in DSpace 1.5

2008-04-23 Thread Mika Stenberg
What Im getting in dspace.log is:below. System cant seem to find the 
class file?


-Mika

---


Caused by: java.lang.ExceptionInInitializerError
 at org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:138)
 at org.apache.jsp.index_jsp._jspService(index_jsp.java:101)
 ... 20 more
Caused by: org.dspace.core.PluginInstantiationException: Cannot load 
plugin class: java.lang.ClassNotFoundException: 
org.dspace.eperson.LDAPAuthentication
 at 
org.dspace.core.PluginManager.getAnonymousPlugin(PluginManager.java:236)
 at 
org.dspace.core.PluginManager.getPluginSequence(PluginManager.java:205)
 at 
org.dspace.authenticate.AuthenticationManager.clinit(AuthenticationManager.java:95)
 ... 22 more
Caused by: java.lang.ClassNotFoundException: 
org.dspace.eperson.LDAPAuthentication
 at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
 at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:164)
 at 
org.dspace.core.PluginManager.getAnonymousPlugin(PluginManager.java:220)


 Hi Mika
 
 You should set as below;
 
 plugin.sequence.org.dspace.eperson.AuthenticationMethod = 
 org.dspace.eperson.LDAPAuthentication
 
 webui.ldap.autoregister =true
 
 ldap.enable = true
 
 Update the following according to your directory setup.
 
 ldap.id_field = uid
 ldap.object_context = ou=???,o=???,c=???
 ldap.search_context = ou=people
 ldap.email_field = mail
 ldap.givenname_field = givenname
 ldap.provider_url =ldap://edir.YOURHOST:389
 
 Regards
 Nilani
 
 Nilani Ganeshwaran
 Institutional Repository Technical Support and Software Developer
  
 Tel: +44 (0)161 275 8728 (internal x58728)
 Email: [EMAIL PROTECTED]
 Web: http://www.manchester.ac.uk/institutionalrepositoryproject
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mika Stenberg
 Sent: 22 April 2008 13:25
 To: 'dspace-tech@lists.sourceforge.net'
 Subject: [Dspace-tech] LDAP in DSpace 1.5
 
 I cannot seem to enable LDAP authentication in DSPace 1.5?
 
 I set:
 
 # Stack of authentication methods
 #  (See org.dspace.authenticate.AuthenticationManager)
 plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
  org.dspace.authenticate.PasswordAuthentication
  org.dspace.eperson.LDAPAuthentication, \
  org.dspace.eperson.X509Authentication
 
 
 And ldap.enable = true.
 
 and restarted tomcat.
 
 However, JSPUI or XMLUI wont offer LDAP login.
 Whats the catch?
 
 
 -Mika
 
 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problems after DSpace upgrade 1.42 - 1.5

2008-04-22 Thread Mika Stenberg
I created a copy of our DSpace instance and upgraded it from 1.4.2 to 
1.5. Initially all went well. After a short test I found the following:

1) Scandinavian characters did not work in search. I had to change the 
container encoding to ISO-8859-1 in web.xml to enable them. (Tomcat is 
set to UTF-8).

2) I ran index-init, index-update  filter-media. When using the quick 
search (search field on the left bar) the system returns different set 
of results than our live DSpace 1.4.2. It seems that the quick search 
only searches from item fulltext on 1.5, on 1.4.2 it seems to search the 
metadatafields as well. Has this changed on 1.5 or what might be wrong here?

Cheers,
Mika


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] LDAP in DSpace 1.5

2008-04-22 Thread Mika Stenberg
I cannot seem to enable LDAP authentication in DSPace 1.5?

I set:

# Stack of authentication methods
#  (See org.dspace.authenticate.AuthenticationManager)
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
 org.dspace.authenticate.PasswordAuthentication
 org.dspace.eperson.LDAPAuthentication, \
 org.dspace.eperson.X509Authentication


And ldap.enable = true.

and restarted tomcat.

However, JSPUI or XMLUI wont offer LDAP login.
Whats the catch?


-Mika

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DC metadata for citation info

2008-04-17 Thread Mika Stenberg
We are in the process of converting large amounts of metadata from MARC 
to DSpace. We already have implemented a crosswalk for this, but are 
still wondering how to encode citation data.

One option would be to store the entire citation in 
dc.identifier.citation field. This would be the easy way, but we prefer 
to maintain separate datafields and build the citation info on the fly 
depending on the item type.

So the problem is, in which fields would one store journal name, page 
and volume info, place of publication etc. in DC? Has anyone dealt with 
this before?

-Mika


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Hardware used in DSpace repositories

2008-04-08 Thread Mika Stenberg
We are planning to centralize all DSpace instances used in our 
University into one server. Eventually a total of 5-6 individual DSpace 
instances would end up running on the same platform, either on 
virtualized OS's or simply distributed on different ports.

What I'd be interested in, is to learn the your experiences on the issue 
and acquire the following info from other members of the community:

1)  How many instances of DSpace does your institution run and
what kind of hardware (CPU, memory, disk space  OS) are they
running on?

2)  How many items are stored in your repository?

3)  Have you experienced any performance issues with your
repositories using the hardware described above?


You can reply directly to me by e-mail at mika.stenberg(at)helsinki.fi. 
If other parties are interested on summary, I will be happy to provide it.

Thanks for the input,

Mika Stenberg
University of Helsinki
Finland

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Export Bibliographic Citation

2008-04-03 Thread Mika Stenberg
We have implemented a simple RIS export to RefWorks.
For example see http://tds.terkko.helsinki.fi/dspace/handle/10250/3 and 
click on the Export to refworks button.

-Mika

 
 Does anyone  implemented  in the repository a service for export 
 bibliographic citation?
 - to a bibliographic software, or
 - by a xslt to make a bibliographic list in a web page.
 I have seen the project Google Summer of Code: Portable Citations, but 
 it seems that this project is not yet developed.
 
 Thanks in advanced.
 -
 Victoria Rasero
 Gestión de Recursos de Información
 Biblioteca de la Universidad Carlos III de Madrid
 Tfno: 91 624 90 76
 Correo-e: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 -
 
 
 
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin error - cant delete a collection

2008-03-19 Thread Mika Stenberg
When trying to delete a collection in Manakin 1.1a (DSpace 1.4.2) I get the
following. Whats wrong? Deletion works fine in JSPUI.

-Mika


--
An error has occured

org.apache.xpath.XPathException: Can not convert #BOOLEAN to a NodeList!

Cocoon stacktrace [hide]
Failed to process pipeline
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/aspects.xmap
- 132:31map:serialize type=xml
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/aspects.xmap
- 131:49map:transform type=DSpaceResourceManager
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/aspects.xmap
- 130:55map:generate type=file
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/ArtifactBrowser/sitemap.xmap
- 323:31map:serialize type=xml
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/ArtifactBrowser/sitemap.xmap
- 107:38map:transform type=Navigation
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/ArtifactBrowser/sitemap.xmap
- 95:19 map:generate
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/EPerson/sitemap.xmap
- 320:31map:serialize type=xml
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/EPerson/sitemap.xmap
- 136:38map:transform type=Navigation
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/EPerson/sitemap.xmap
- 125:19map:generate
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/Submission/sitemap.xmap
- 369:38map:serialize type=xml
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/Submission/sitemap.xmap
- 145:45map:transform type=Navigation
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/Submission/sitemap.xmap
- 142:26map:generate
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/Administrative/sitemap.xmap
- 797:31map:serialize type=xml
context:/file:/tmp/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/Administrative/sitemap.xmap
- 632:60map:transform type=DeleteCollectionConfirm

Re: [Dspace-tech] LDAP on dspace

2008-03-14 Thread Mika Stenberg
Thanks for the tips, Robin. It doesnt seem to fix this for me. I have 
already imported my certificate with keytool. I also tried creating a 
new cacerts file, which you can do only by specifying a location on the 
command file (if file doesnt exist, new will be created) and specifying 
this on dspace.cfg.

Any other ideas what might be wrong?

-Mika







 Sorry, previous answer was a bit crap. You can find the keystore in
 $JAVA_HOME/jre/lib/security/cacerts. The default password is 'changeit'.
 Import your certificate using the 'keytool' command
 http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html.
 
 If you do find out how to store the keystore in a different location I would
 be glad to know how !
 
 Cheers, Robin.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mika
 Stenberg
 Sent: 13 March 2008 14:15
 To: 'dspace-tech@lists.sourceforge.net'
 Subject: [Dspace-tech] LDAP on dspace
 
 Im trying to use LDAP on DSpace login. I edited dspace.cfg for the required
 properties and am in fact getting an option to choose LDAP username and
 password on login. When trying to login, however, I get login failed.
 
 On Dspace.log I have the following, which suggests that I need to install my
 intitutions certificate somewhere (using ldaps:// instead of plain ldap). I
 also tried configuring these in dspace.cfg but still I get the same message.
 
 So, what Im wondering is where to configure the certificate required to use
 ldaps?
 
 --
 2008-03-13 16:07:09,958 WARN  org.dspace.app.webui.servlet.LDAPServlet @
 anonymous:session_id=0914729BD4A6F96B069F3F11F283E723:ip_addr=128.214.60.16:
 ldap_authentication:type=failed_auth
 javax.naming.CommunicationException: simple bind failed: 
 ldap-internal.it.helsinki.fi:636 [Root exception is
 javax.net.ssl.SSLHandshakeException: 
 sun.security.validator.ValidatorException: PKIX path building failed: 
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find
 valid certification path to requested target]
 
 --
 
 Thanks,
 Mika
 
 -
 This SF.net email is sponsored by: Microsoft Defy all challenges.
 Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LDAP on dspace

2008-03-14 Thread Mika Stenberg
I got it working!

I added org.dspace.eperson.X509Authentication
to my authentication stack and defined keystores via:

## method 1, using keystore
#authentication.x509.keystore.path = ${dspace.dir}/config/keystore
#authentication.x509.keystore.password = dspace

## method 2, using CA certificate
#authentication.x509.ca.cert = ${dspace.dir}/config/HY-CA.pem

Even if the user is authenticated from LDAP it seems that he has to 
create a userid in DSpace. Is this really the case? Is there a way to 
automatically place LDAP user to a specific group etc?

-Mika

 No idea I'm afraid. With regards to specifying a location - you can write
 your own code that requires a keystore file and in that case you could
 specify the location in the web.xml. However, in this case the code should
 look for it in the default location so I can't explain the error. Are you
 confident that the certificate was imported ok ? You can check with 'keytool
 -v -list -keystore cacerts'.
 
 Cheers, Robin.
   
 
 -Original Message-
 From: Mika Stenberg [mailto:[EMAIL PROTECTED] 
 Sent: 14 March 2008 08:49
 To: [EMAIL PROTECTED]
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] LDAP on dspace
 
 Thanks for the tips, Robin. It doesnt seem to fix this for me. I have
 already imported my certificate with keytool. I also tried creating a new
 cacerts file, which you can do only by specifying a location on the command
 file (if file doesnt exist, new will be created) and specifying this on
 dspace.cfg.
 
 Any other ideas what might be wrong?
 
 -Mika
 
 
 
 
 
 
 
 Sorry, previous answer was a bit crap. You can find the keystore in 
 $JAVA_HOME/jre/lib/security/cacerts. The default password is 'changeit'.
 Import your certificate using the 'keytool' command 
 http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html.

 If you do find out how to store the keystore in a different location I 
 would be glad to know how !

 Cheers, Robin.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mika 
 Stenberg
 Sent: 13 March 2008 14:15
 To: 'dspace-tech@lists.sourceforge.net'
 Subject: [Dspace-tech] LDAP on dspace

 Im trying to use LDAP on DSpace login. I edited dspace.cfg for the 
 required properties and am in fact getting an option to choose LDAP 
 username and password on login. When trying to login, however, I get login
 failed.
 On Dspace.log I have the following, which suggests that I need to 
 install my intitutions certificate somewhere (using ldaps:// instead 
 of plain ldap). I also tried configuring these in dspace.cfg but still I
 get the same message.
 So, what Im wondering is where to configure the certificate required 
 to use ldaps?

 --
 2008-03-13 16:07:09,958 WARN  org.dspace.app.webui.servlet.LDAPServlet 
 @

 anonymous:session_id=0914729BD4A6F96B069F3F11F283E723:ip_addr=128.214.60.16:
 ldap_authentication:type=failed_auth
 javax.naming.CommunicationException: simple bind failed: 
 ldap-internal.it.helsinki.fi:636 [Root exception is
 javax.net.ssl.SSLHandshakeException: 
 sun.security.validator.ValidatorException: PKIX path building failed: 
 sun.security.provider.certpath.SunCertPathBuilderException: unable to 
 find valid certification path to requested target]

 --

 Thanks,
 Mika

 --
 --- This SF.net email is sponsored by: Microsoft Defy all challenges.
 Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



 
 
 
 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] LDAP on dspace / Manakin

2008-03-14 Thread Mika Stenberg
I just managed to enable LDAP on DSpace 1.4.2. However I get error below 
when trying to use it with Manakin 1.1a. What might be causing this?


-Mika

--

java.lang.NullPointerException
at 
org.dspace.eperson.LDAPAuthentication.authenticate(LDAPAuthentication.java:155)
at 
org.dspace.eperson.AuthenticationManager.authenticateInternal(AuthenticationManager.java:200)
at 
org.dspace.eperson.AuthenticationManager.authenticate(AuthenticationManager.java:137)
at org.dspace.app.xmlui.utils.AuthenticationUtil.Authenticate(Unknown 
Source)
at 
org.dspace.app.xmlui.aspect.eperson.LDAPAuthenticateAction.act(Unknown 
Source)
at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:124)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:192)
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:265)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:110)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:102)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:107)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:192)
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:265)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:110)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:192)
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:265)
at 
org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:331)
at 
org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:213)
at 
org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:64)
at 
org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
at 
org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:541)
at 

[Dspace-tech] Customizing news.xml

2008-03-13 Thread Mika Stenberg
I wrote a custom XSL to render news.xml. Im trying to integrate this XSL 
into Manakin, but cant seem to find where news.xml is processed. Could 
someone point me to the right direction?

Thanks,
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] LDAP on dspace

2008-03-13 Thread Mika Stenberg
Im trying to use LDAP on DSpace login. I edited dspace.cfg for the 
required properties and am in fact getting an option to choose LDAP 
username and password on login. When trying to login, however, I get 
login failed.

On Dspace.log I have the following, which suggests that I need to 
install my intitutions certificate somewhere (using ldaps:// instead of 
plain ldap). I also tried configuring these in dspace.cfg but still I 
get the same message.

So, what Im wondering is where to configure the certificate required to 
use ldaps?

--
2008-03-13 16:07:09,958 WARN  org.dspace.app.webui.servlet.LDAPServlet @ 
anonymous:session_id=0914729BD4A6F96B069F3F11F283E723:ip_addr=128.214.60.16:ldap_authentication:type=failed_auth
 
javax.naming.CommunicationException: simple bind failed: 
ldap-internal.it.helsinki.fi:636 [Root exception is 
javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target]

--

Thanks,
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] javascript.evaluator.exception

2008-03-03 Thread Mika Stenberg
This fixed it! Thanks a lot!

-Mika

 Hi Mika,
 
 line 47-49 in eperson.js
 
 should read:
 
 importClass(Packages.org.dspace.eperson.EPerson);
 importClass(Packages.org.dspace.eperson.AccountManager);
 importClass(Packages.org.dspace.eperson.Subscribe);
 
 instead of
 
 importClass(Packages.org.dspace.aspect.eperson.EPerson);
 importClass(Packages.org.dspace.aspect.eperson.AccountManager);
 importClass(Packages.org.dspace.aspect.eperson.Subscribe);
 
 This works for me!
 
 --Andi
 
 
 [Dspace-tech] javascript.evaluator.exception
 From: Mika Stenberg [EMAIL PROTECTED] - 2008-01-10 12:59
 
 Im trying this again. Running Manakin 1.1a and DSpace 1.4.2. Im getting
 error below when clicking forgot password or trying to register as new
 user. Whats going on?
 
 -Mika
 
 org.mozilla.javascript.EvaluatorException:
 file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/
 Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/webapp/aspects/EPerson/eperson.js,
 line 47: Not a Java class: [JavaPackage org.dspace.aspect.eperson.EPerson]
 
 
   
Re: [Dspace-tech] javascript.evaluator.exception
From: Dorothea Salo [EMAIL PROTECTED] - 2008-01-10 14:19
On Jan 10, 2008 6:59 AM, Mika Stenberg [EMAIL PROTECTED] wrote:
 Im trying this again. Running Manakin 1.1a and DSpace 1.4.2. Im 
 getting
 error below when clicking forgot password or trying to 
 register as new
 user. Whats going on?
 
I've gotten this one too. Anybody know what it is?
 
Dorothea
 
--
Dorothea Salo [EMAIL PROTECTED]
Digital Repository Librarian AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493
 
   
Re: [Dspace-tech] javascript.evaluator.exception
From: Mika Stenberg [EMAIL PROTECTED] - 2008-01-11 11:45
Im also getting this:
 
org.mozilla.javascript.EcmaError: ContextUtil is not defined.
ReferenceError - 
 context:/file://webapp/aspects/EPerson/eperson.js -
75:0
 
This seems to be the case for many other users as well. Hopefully
someone will come up with a solution.
 
-Mika
 
 

 Mika Stenberg wrote:
 Im trying this again. Running Manakin 1.1a and DSpace 1.4.2. Im
 getting error below when clicking forgot password or trying to
 register as new user. Whats going on?

 -Mika


 org.mozilla.javascript.EvaluatorException:
 
 file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/

 
 Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/webapp/aspects/EPerson/eperson.js,
 line 47: Not a Java class: [JavaPackage
 org.dspace.aspect.eperson.EPerson]

 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

 ___
 DSpace-tech mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace 1.5 beta - send feedback does not work

2008-02-28 Thread Mika Stenberg
On both UI's when trying to send feedback it results to error. Something 
  might be wrong here? smtp server is set correctly in dspace.cfg.

On JSPUI as an Admin I get:
You do not have permission to perform the action you just attempted.

On XMLUI as an Admin I get:

---

An error has occured

java.io.FileNotFoundException: feedback (No such file or directory)


Cocoon stacktrace [hide]
Sitemap: error when calling sub-sitemap
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/aspects.xmap
 
- 119:72map:mount
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/sitemap.xmap
 
- 276:80map:mount
context:/resource://aspects/Administrative/sitemap.xmap - 813:31 
map:serialize type=xml
context:/resource://aspects/Administrative/sitemap.xmap - 266:38 
map:transform type=Navigation
context:/resource://aspects/Administrative/sitemap.xmap - 265:44 
map:transform type=SystemwideAlerts
context:/resource://aspects/Administrative/sitemap.xmap - 264:19 
map:generate
context:/resource://aspects/EPerson/sitemap.xmap - 320:31 
map:serialize type=xml
context:/resource://aspects/EPerson/sitemap.xmap - 136:38 
map:transform type=Navigation
context:/resource://aspects/EPerson/sitemap.xmap - 125:19   map:generate
context:/resource://aspects/Submission/sitemap.xmap - 296:38 
map:serialize type=xml
context:/resource://aspects/Submission/sitemap.xmap - 139:45 
map:transform type=Navigation
context:/resource://aspects/Submission/sitemap.xmap - 136:26map:generate
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/aspects.xmap
 
- 115:34map:serialize type=xml
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/aspects.xmap
 
- 114:43map:transform type=PageNotFound
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/aspects/aspects.xmap
 
- 113:22map:generate
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/themes/Reference/sitemap.xmap
 
- 171:34map:serialize type=xhtml
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/themes/Reference/sitemap.xmap
 
- 168:84map:transform type=NamespaceFilter
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/themes/Reference/sitemap.xmap
 
- 167:78map:transform type=NamespaceFilter
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/themes/Reference/sitemap.xmap
 
- 161:33map:transform type=i18n
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/themes/Reference/sitemap.xmap
 
- 157:44map:transform
context:/file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/cocoon-files/Jetty_0_0_0_0_8048_neuroweb.war__neuroweb__-o4ci37/webapp/themes/Reference/sitemap.xmap
 
- 142:45map:transform type=IncludePageMeta

[Dspace-tech] DSpace 1.5 - Manakin Source files?

2008-02-27 Thread Mika Stenberg
Im trying to customize DSpace 1.5 xmlui (Manakin that is). I can do it 
on the live site, but I cant find the source files on the dspace-source 
directory? Where should I place the changed XSL etc. files in the source 
tree for them to be included in the build process again?

Thanks,
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace 1.5 submission bug?

2008-02-26 Thread Mika Stenberg
I am encountering strange behaviour with DSpace 1.5 beta submission process.

I have a collection which has read and collection_admin policy to to 
Administrators. When Im trying to submit a document in this collection I 
get the following error at the end of submission process. However the 
submitted item appears fine in the collection.

Is this a feature, bug or is there something wrong with my policy settings?

-Mika
--

An error has occured

java.sql.SQLException: Collection 2 has no default item READ policies

Cocoon stacktrace [hide]
Error calling continuation
context:/resource://aspects/Submission/submission.js - 509:-1   
context:/resource://aspects/Submission/submission.js - 445:-1   
context:/resource://aspects/Submission/submission.js - 305:-1   
context:/resource://aspects/Submission/submission.js - 0:-1 
context:/resource://aspects/Submission/sitemap.xmap - 120:45map:call
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/aspects/aspects.xmap
 
- 119:72map:mount
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/sitemap.xmap 
- 276:80map:mount
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/aspects/aspects.xmap
 
- 115:34map:serialize type=xml
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/aspects/aspects.xmap
 
- 114:43map:transform type=PageNotFound
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/aspects/aspects.xmap
 
- 113:22map:generate
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/themes/Reference/sitemap.xmap
 
- 171:34map:serialize type=xhtml
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/themes/Reference/sitemap.xmap
 
- 168:84map:transform type=NamespaceFilter
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/themes/Reference/sitemap.xmap
 
- 167:78map:transform type=NamespaceFilter
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/themes/Reference/sitemap.xmap
 
- 161:33map:transform type=i18n
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/themes/Reference/sitemap.xmap
 
- 157:44map:transform
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/themes/Reference/sitemap.xmap
 
- 142:45map:transform type=IncludePageMeta
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/themes/Reference/sitemap.xmap
 
- 118:55map:generate type=file
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/themes/themes.xmap
 
- 63:45 map:mount
context:/file:/usr/local/apache-tomcat-6.0.14/webapps/neuroweb2/sitemap.xmap 
- 340:73map:mount

Java stacktrace [hide]

java.sql.SQLException: Collection 2 has no default item READ policies
at 
org.dspace.content.Item.inheritCollectionDefaultPolicies(Item.java:2050)
at org.dspace.content.InstallItem.installItem(InstallItem.java:152)
at org.dspace.content.InstallItem.installItem(InstallItem.java:72)
at org.dspace.workflow.WorkflowManager.archive(WorkflowManager.java:650)
at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:604)
at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:580)
at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:544)
at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:504)
at org.dspace.workflow.WorkflowManager.start(WorkflowManager.java:201)
at 
org.dspace.submit.step.CompleteStep.doProcessing(CompleteStep.java:115)
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.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
at 
org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:852)
at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:123)
at 

[Dspace-tech] Include a file in structural.xsl

2008-02-25 Thread Mika Stenberg
Hi,

Im hoping to include a newsfeed file as a part of our repository 
frontpage. I was thinking of using xsl:include but it seems that its not 
really working. So how should I do a simple html-file include in Manakin 
XSL files?

Thanks,
Mika


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Untr

2008-02-25 Thread Mika Stenberg
I found some phrases on CollectionViewer.java which arent fetced using 
i18 tags. Maybe these could be fixed on stable?

Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two instances on one server - solved

2008-02-08 Thread Mika Stenberg
Just to for the record,

Robins solution worked. By assigning different ports to each handle 
server they can run on the same server smoothly.

Thanks for the tips.
Mika


 We do have more than one handle server running on the same machine. Cant
 rememebr the details of what we did but looking at the
 handle-server/config.dct file I can see that we are using different ports
 for the server_type = server entry in each installation.
 
 Hope that is some help.
 
 Cheers, Robin.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mika
 Stenberg
 Sent: 06 February 2008 07:45
 To: Jeffrey Trimble
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Two instances on one server
 
 Just repeat the normal install process but place the files on another
 directory and name the db for the second installation as dspace2 for
 example.
 
 Running two instances is not a problem. However it seems you cant run two
 handle servers on a same server so the other instance would have to be left
 without working handles.
 
 If someone has a solution for the handle problem, please let me know.
 
 -Mika
 I know this has been done before and I've ignore those references, but 
 does someone have a brief set of directions to add additional 
 instances of Dspace? Specifically:

 1. Tomcat configurations

 2.  Postgresql  database

 3.  Dspace config


 TIA,

 Jeff

 Jeffrey Trimble
 Systems Librarian
 Maag Library
 Youngstown State University
 330-941-2483 (Office)
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 http://www.maag.ysu.edu http://digital.maag.ysu.edu




 --
 --

 --
 --- This SF.net email is sponsored by: Microsoft Defy all challenges. 
 Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


 --
 --

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 -
 This SF.net email is sponsored by: Microsoft Defy all challenges.
 Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Browse by date in DSpace

2008-02-07 Thread Mika Stenberg
We're about to store a large number of historical items in DSpace. The 
preferable way of browsing these items would be to sort them by their 
original creation date / year. However it seems that Dspace always sorts 
the items by their import date when using browse by date. Is there a way 
to override this?

Thanks,
-Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Browse by date in DSpace

2008-02-07 Thread Mika Stenberg
Thanks for the info. Does this work also in Manakin interface?

Thanks,
Mika
 Hi Mika,
 
 We're about to store a large number of historical items in DSpace. The
 preferable way of browsing these items would be to sort them by their
 original creation date / year. However it seems that Dspace always sorts
 the items by their import date when using browse by date. Is there a way
 to override this?
   
 
 In DSpace 1.5 the browse options are completely configurable to your 
 requirements (see the substantial browse section in dspace.cfg, and let 
 us know if something doesn't make sense). In DSpace 1.4.x you can change 
 the bindings of the 4 given indices to the ones that you want to use. If 
 you look in dspace.cfg you should find something like:
 
 # webui.browse.index.date = dc.date.issued
 # webui.browse.index.author = dc.contributor.*
 # webui.browse.index.title = dc.title
 # webui.browse.index.subject = dc.subject.*
 
 
 If you uncomment these lines, and set the first line equal to the date 
 field you really want to browse by and re-index, that should do the job 
 for you.
 
 Cheers,
 
 Richard
 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two instances on one server

2008-02-05 Thread Mika Stenberg
Just repeat the normal install process but place the files on another 
directory and name the db for the second installation as dspace2 for 
example.

Running two instances is not a problem. However it seems you cant run 
two handle servers on a same server so the other instance would have to 
be left without working handles.

If someone has a solution for the handle problem, please let me know.

-Mika
 I know this has been done before and I've ignore those references, but 
 does someone have a
 brief set of directions to add additional instances of Dspace? Specifically:
 
 1. Tomcat configurations 
 
 2.  Postgresql  database
 
 3.  Dspace config
 
 
 TIA,
 
 Jeff
 
 Jeffrey Trimble
 Systems Librarian
 Maag Library
 Youngstown State University
 330-941-2483 (Office)
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu
 
 
 
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Software to support crosswalk from MARC to Dublin Core

2008-02-04 Thread Mika Stenberg
You can try Marcedit, found at: 
http://oregonstate.edu/~reeset/marcedit/html/index.php

-Mika

 We have taken the baby steps to get started with dspace and are working 
 out the details of the metadata. We believe that it will be best to move 
 from MARC to Dublin Core (rather than DC to MARC) and wondered if there 
 is software already out there to support that work.
 
  
 
 Thanks.
 
  
 
 Linda
 
 Linda Hulbert, Associate Director 
 Collection Management and Services
 O’Shaughnessy-Frey Library #5004
 University of Saint Thomas
 2115 Summit Avenue
 St. Paul, MN 55105
 Phone: (651) 962-5016 Fax: (651) 962-5486email: 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 
 /But I do not feel obliged to believe that the same God who has endowed 
 us with senses, reason and intellect has intended us to forego their 
 use… /—Gallileo Galilei  (1615) 
 
  
 
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] javascript.evaluator.exception

2008-01-11 Thread Mika Stenberg
Im also getting this:

org.mozilla.javascript.EcmaError: ContextUtil is not defined.
ReferenceError - context:/file://webapp/aspects/EPerson/eperson.js - 
75:0

This seems to be the case for many other users as well. Hopefully 
someone will come up with a solution.

-Mika


 
 Mika Stenberg wrote:
 Im trying this again. Running Manakin 1.1a and DSpace 1.4.2. Im 
 getting error below when clicking forgot password or trying to 
 register as new user. Whats going on?

 -Mika


 org.mozilla.javascript.EvaluatorException: 
 file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/
  

 Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/webapp/aspects/EPerson/eperson.js,
  
 line 47: Not a Java class: [JavaPackage 
 org.dspace.aspect.eperson.EPerson]

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace 

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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] javascript.evaluator.exception

2008-01-10 Thread Mika Stenberg
Im trying this again. Running Manakin 1.1a and DSpace 1.4.2. Im getting 
error below when clicking forgot password or trying to register as new 
user. Whats going on?

-Mika


org.mozilla.javascript.EvaluatorException: 
file:/tmp/Jetty_0_0_0_0_8048_dspace.war__dspace__n8dysb/cocoon-files/Jetty_0_0_0_0_8048_dikk.war__dikk__-ajb4mj/cocoon-files/
Jetty_0_0_0_0_8048_neuroportti.war__neuroportti__-uqjxql/webapp/aspects/EPerson/eperson.js,
 
line 47: Not a Java class: [JavaPackage org.dspace.aspect.eperson.EPerson]

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Eperson is not defined- error

2008-01-08 Thread Mika Stenberg
)
at org.dspace.app.xmlui.cocoon.DSpaceCocoonServlet.service(Unknown 
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at 
org.mortbay.jetty.ajp.Ajp13Connection.access$2800(Ajp13Connection.java:42)
at 
org.mortbay.jetty.ajp.Ajp13Connection$RequestHandler.content(Ajp13Connection.java:238)
at org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:592)
at 
org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:148)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450


Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.5 customizable submission

2008-01-06 Thread Mika Stenberg
Im still hoping to get rid of a separate file upload page on submission
process. At the moment there doesn’t seem to be a way to include file upload
dialog as a part of the metadata description steps? Do you think this could
be implemented in the near future?

-Mika

-Alkuperäinen viesti-
Lähettäjä: Tim Donohue [mailto:[EMAIL PROTECTED] 
Lähetetty: 4. tammikuuta 2008 17:11
Vastaanottaja: Scott Phillips
Kopio: Claudia Juergen; dspace-tech@lists.sourceforge.net; Mika Stenberg
Aihe: Re: [Dspace-tech] Dspace 1.5 customizable submission

Scott,

There's still unfortunately two XML files, since the step definitions 
for both the JSPUI and XMLUI differ quite a bit.  Take for example the 
Describe step definitions:

'Describe' for JSPUI:

step
headingjsp.submit.progressbar.describe/heading   
processing-classorg.dspace.app.webui.submit.step.JSPDescribeStep/processi
ng-class
review-jsp/submit/review-metadata.jsp/review-jsp
workflow-editabletrue/workflow-editable
/step

'Describe' for XMLUI:

step
headingxmlui.Submission.general.progress.describe/heading 
processing-classorg.dspace.submit.step.DescribeStep/processing-class 
 
xml-ui-classorg.dspace.app.xmlui.aspect.submission.submit.DescribeStep/xm
l-ui-class
workflow-editabletrue/workflow-editable
/step


You'll notice they are almost entirely different...there are a few 
things going on here:

(1) The JSPUI and XMLUI use different I18N, so they need to have 
differently specified heading tags (which correspond to the 
appropriate I18N key)

(2) The JSPUI requires a special JSP processing class, which 
implements JSPStep to do appropriate pre/post-processing in order to 
pass appropriate parameters to the JSPs for display.   The JSPUI also 
needs a special review-jsp, which is loaded by the Review step to 
allow it to be dynamic enough to review all steps in the proper order.

(3) The XMLUI has an xml-ui-class which acts as the Step Transformer 
necessary for Manakin, and builds the display for that interface.

Believe me, I've tried to figure out a simple way to merge these two 
XMLs.  But, unfortunately, since the differences between the JSPUI and 
XMLUI are too great, I haven't been able to come up with an easy 
resolution to the issue.   If someone else has an extra pair of eyes to 
look more closely at this before the final 1.5 version, maybe there's a 
resolution that I'm overlooking.

My only other thought has been to actually put both configurations in 
one gigantic configuration file, and mark a submission-process as 
being either interface=xmlui or interface=jspui.  But, I haven't had 
the time to rework the API to support this (although, I may be able to 
free up time to do so, if everyone else thinks this is the better way of 
doing things).

-Tim


Scott Phillips wrote:
 Mika + Tim,
 
 I was under the impression that the two xml files had been merged  
 together so you only need one supported by either XMLUI or JSPUI? The  
 XMLUI only adds an extra tag in it for which presentation class to use.
 
 Tim can you shed any light on this?
 
 Scott--
 
 
 On Jan 3, 2008, at 8:07 AM, Claudia Juergen wrote:
 
 Hi Mika,

 the configuration files for the submission process are:

 [dspace]/config/item-submission-JSPUI.xml
 and
 [dspace]/config/item-submission-XMLUI.xml

 As for the metadata elements, they are still configured via the
 input-forms.xml

 see [dspace]/docs/submission.html for details

 hope that helps

 Claudia

 This fixed it. I had copied my old dspace.cfg on top of the old  
 one. Now
 it seems to work.

 I understood that the configurable submission patch was included in  
 1.5.
 How can I use it and customize the submission process? I couldnt find
 any tools for it in the WebUI?

 Thanks,
 Mika



 Mika,

 That looks like there was not an filtering of the db properties  
 that get
 added to the dspace.cfg during the mvn build process.

 just to verify, you ran just 'mvn clean package' prior to the ant  
 build?

 -Mark



-
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 __
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https

Re: [Dspace-tech] Dspace 1.5 customizable submission

2008-01-03 Thread Mika Stenberg
This fixed it. I had copied my old dspace.cfg on top of the old one. Now 
it seems to work.

I understood that the configurable submission patch was included in 1.5. 
How can I use it and customize the submission process? I couldnt find 
any tools for it in the WebUI?

Thanks,
Mika



 Mika,
 
 That looks like there was not an filtering of the db properties that get 
 added to the dspace.cfg during the mvn build process.
 
 just to verify, you ran just 'mvn clean package' prior to the ant build?
 
 -Mark
 
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace 1.5 alpha fresh_install

2008-01-02 Thread Mika Stenberg
How can I do fresh_install in Dspace 1.5-alpha. When running mvn 
install the db I created remains empty and I get internal system 
error on web ui?

Thanks,
-Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Allowing access to Postgres

2007-12-03 Thread Mika Stenberg
Im hoping to allow remote access to our postgres running with DSpace 
1.4.2. Im having problems with this though. Has anyone managed to 
configure Postgres to accept incoming connections from other than 
localhost as well?

on postgres.conf I have added the following:

listen_addresses = 'localhost, otto.terkko.helsinki.fi'

and on pg_hba.conf i added host to listen :

hostall USERNAMEmd5

I also opened up the firewall for for 5432. Still I get a message:

Is the server running on host tds.terkko.helsinki.fi and accepting
 TCP/IP connections on port 5432?

Any ideas, what could be causing this?

Thanks,
-Mika



-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Allowing access to Postgres

2007-12-03 Thread Mika Stenberg
 On the local machine (as root) try running either
 
 lsof -i tcp:5432

This gives me a list of postgres processes, so I guess its working fine?


 or
 
 telnet localhost 5432

This one leaves me hanging, though since it does not fail I think there 
is someone listening on 5432, right?

 
 If either of those shows that postgres is indeed listening on that port,
 try running the telnet command from the remote machine (something like
 telnet otto.terkko.helsinki.fi 5432).

Trying telnet on another machine however, gives me:
telnet: connect to address 128.214.167.212: Connection refused

Am I missing a setting somewhere ?

-Mika

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Importer error

2007-11-27 Thread Mika Stenberg
Would someone know what might be causing the importer to throw error 
like below. All the files are there. Is this a permission issue?


Thanks,
Mika

Processing contents file: /var/www/tds_submit/dc/674/0/contents
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
at 
org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332)
at org.dspace.content.Bitstream.create(Bitstream.java:184)
at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
at 
org.dspace.app.itemimport.ItemImport.processContentFileEntry(ItemImport.java:)
at 
org.dspace.app.itemimport.ItemImport.processContentsFile(ItemImport.java:1038)
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:639)
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
java.io.IOException: No such file or directory

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Manakin error

2007-11-20 Thread Mika Stenberg
Manakin 1.1a with DSpace 1.4.2 produces the following when trying to 
access profile or submissions menu items with Reference theme. Any idea 
whats wrong?

-Mika

--

An error has occured

org.mozilla.javascript.EvaluatorException: 
file:/home/dspace/tomcat/webapps/manakin/aspects/EPerson/eperson.js, 
line 47: Not a Java class: [JavaPackage org.dspace.aspect.eperson.EPerson]

Cocoon stacktrace [hide]
Sitemap: error calling function 'doUpdateProfile'
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/EPerson/sitemap.xmap 
- 117:45map:call
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/aspects.xmap - 
124:72  map:mount
context:/file:/home/dspace/tomcat/webapps/manakin/sitemap.xmap - 
274:80  map:mount
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/Submission/sitemap.xmap
 
- 369:38map:serialize type=xml
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/Submission/sitemap.xmap
 
- 145:45map:transform type=Navigation
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/Submission/sitemap.xmap
 
- 142:26map:generate
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/Administrative/sitemap.xmap
 
- 797:31map:serialize type=xml
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/Administrative/sitemap.xmap
 
- 265:38map:transform type=Navigation
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/Administrative/sitemap.xmap
 
- 264:44map:transform type=SystemwideAlerts
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/Administrative/sitemap.xmap
 
- 263:19map:generate
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/aspects.xmap - 
120:34  map:serialize type=xml
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/aspects.xmap - 
119:43  map:transform type=PageNotFound
context:/file:/home/dspace/tomcat/webapps/manakin/aspects/aspects.xmap - 
118:22  map:generate
context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/sitemap.xmap 
- 171:34map:serialize type=xhtml
context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/sitemap.xmap 
- 168:84map:transform type=NamespaceFilter
context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/sitemap.xmap 
- 167:78map:transform type=NamespaceFilter
context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/sitemap.xmap 
- 161:33map:transform type=i18n
context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/sitemap.xmap 
- 157:44map:transform
context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/sitemap.xmap 
- 142:45map:transform type=IncludePageMeta
context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/sitemap.xmap 
- 118:55map:generate type=file
context:/file:/home/dspace/tomcat/webapps/manakin/themes/themes.xmap - 
63:45   map:mount
context:/file:/home/dspace/tomcat/webapps/manakin/sitemap.xmap - 
338:73  map:mount

Java stacktrace [hide]

org.mozilla.javascript.EvaluatorException: 
file:/home/dspace/tomcat/webapps/manakin/aspects/EPerson/eperson.js, 
line 47: Not a Java class: [JavaPackage org.dspace.aspect.eperson.EPerson]
at 
org.apache.cocoon.components.flow.javascript.JSErrorReporter.runtimeError(JSErrorReporter.java:66)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:588)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:627)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter$ThreadScope.importClass(FOM_JavaScriptInterpreter.java:490)
at inv1.invoke()
at 
org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:523)
at 
org.mozilla.javascript.FunctionObject.callVarargs(FunctionObject.java:538)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:403)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
at 
org.mozilla.javascript.continuations.InterpretedScriptImpl.call(InterpretedScriptImpl.java:137)
at 
org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:59)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:611)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:717)
at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:138)
at 

Re: [Dspace-tech] Manakin error

2007-11-20 Thread Mika Stenberg
This seems strange, since I get this when using the latest stable (1.1a)
version.

If I use version 1.0 I get another error below - whats it about?

--
Internal Server Error
Message: null

Description: No details available.

Sender: org.dspace.app.xmlui.DSpaceCocoonServlet

Source: Cocoon Servlet

Request URI

submit

cause

null

request-uri

/manakin/submit

Apache Cocoon 2.1.9
--


-Mika


-Alkuperäinen viesti-
Lähettäjä: Paulo Jobim [mailto:[EMAIL PROTECTED] 
Lähetetty: 20. marraskuuta 2007 18:12
Vastaanottaja: Mika Stenberg
Kopio: 'dspace-tech@lists.sourceforge.net'
Aihe: Re: [Dspace-tech] Manakin error

Hi Mika
There was a point where this eperson.js pointed to a class that has  
been modified.
try geting a more recent code or modify the java script to point to  
the right class
I hope this helps
Paulo
Em Nov 20, 2007, às 11:56 AM, Mika Stenberg escreveu:

 Manakin 1.1a with DSpace 1.4.2 produces the following when trying to
 access profile or submissions menu items with Reference theme. Any  
 idea
 whats wrong?

 -Mika

 --

 An error has occured

 org.mozilla.javascript.EvaluatorException:
 file:/home/dspace/tomcat/webapps/manakin/aspects/EPerson/eperson.js,
 line 47: Not a Java class: [JavaPackage  
 org.dspace.aspect.eperson.EPerson]

 Cocoon stacktrace [hide]
 Sitemap: error calling function 'doUpdateProfile'
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/EPerson/ 
 sitemap.xmap
 - 117:45  map:call
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 aspects.xmap -
 124:72map:mount
 context:/file:/home/dspace/tomcat/webapps/manakin/sitemap.xmap -
 274:80map:mount
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 Submission/sitemap.xmap
 - 369:38  map:serialize type=xml
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 Submission/sitemap.xmap
 - 145:45  map:transform type=Navigation
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 Submission/sitemap.xmap
 - 142:26  map:generate
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 Administrative/sitemap.xmap
 - 797:31  map:serialize type=xml
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 Administrative/sitemap.xmap
 - 265:38  map:transform type=Navigation
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 Administrative/sitemap.xmap
 - 264:44  map:transform type=SystemwideAlerts
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 Administrative/sitemap.xmap
 - 263:19  map:generate
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 aspects.xmap -
 120:34map:serialize type=xml
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 aspects.xmap -
 119:43map:transform type=PageNotFound
 context:/file:/home/dspace/tomcat/webapps/manakin/aspects/ 
 aspects.xmap -
 118:22map:generate
 context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/ 
 sitemap.xmap
 - 171:34  map:serialize type=xhtml
 context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/ 
 sitemap.xmap
 - 168:84  map:transform type=NamespaceFilter
 context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/ 
 sitemap.xmap
 - 167:78  map:transform type=NamespaceFilter
 context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/ 
 sitemap.xmap
 - 161:33  map:transform type=i18n
 context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/ 
 sitemap.xmap
 - 157:44  map:transform
 context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/ 
 sitemap.xmap
 - 142:45  map:transform type=IncludePageMeta
 context:/file:/home/dspace/tomcat/webapps/manakin/themes/Reference/ 
 sitemap.xmap
 - 118:55  map:generate type=file
 context:/file:/home/dspace/tomcat/webapps/manakin/themes/themes.xmap -
 63:45 map:mount
 context:/file:/home/dspace/tomcat/webapps/manakin/sitemap.xmap -
 338:73map:mount

 Java stacktrace [hide]

 org.mozilla.javascript.EvaluatorException:
 file:/home/dspace/tomcat/webapps/manakin/aspects/EPerson/eperson.js,
 line 47: Not a Java class: [JavaPackage  
 org.dspace.aspect.eperson.EPerson]
   at
 org.apache.cocoon.components.flow.javascript.JSErrorReporter.runtimeEr 
 ror(JSErrorReporter.java:66)
   at org.mozilla.javascript.Context.reportRuntimeError(Context.java: 
 588)
   at org.mozilla.javascript.Context.reportRuntimeError(Context.java: 
 627)
   at
 org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpr 
 eter$ThreadScope.importClass(FOM_JavaScriptInterpreter.java:490)
   at inv1.invoke()
   at org.mozilla.javascript.FunctionObject.doInvoke 
 (FunctionObject.java:523)
   at
 org.mozilla.javascript.FunctionObject.callVarargs 
 (FunctionObject.java:538)
   at org.mozilla.javascript.FunctionObject.call(FunctionObject.java: 
 403)
   at
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244

Re: [Dspace-tech] Getting error RSS feed missing channel description

2007-11-15 Thread Mika Stenberg
Richard,

We've had the same problem for quite some time now. It seems that when 
the number of items in a collection gets rather large, the RSS feeds 
cannot be generated. I posted a message about this on the list some time 
ago, but havent received any hints on fixing it. If you get any, please 
let me know.

Is there a feature request / bug reporting system for DSpace anyways? 
Putting issues like this up on display somewhere might be more efficient 
than throwing it on the message archive. It might prevent devepment of 
overlapping features / add-ons as well.

Mika


 Hi
 
 We're running 1.4 and getting a stream of errors on the RSS feeds (1 and 
 2) for one particular collection. Does anyone know a quick fix - is 
 there simply a metadata field that's missing, or maybe a database hack 
 that will do the trick?
 
 Hope you can help!
 
 Richard Davis
 University of London
 
 
  Original Message 
 Subject: SAS-SPACE: Internal Server Error
 Date: Thu, 15 Nov 2007 09:59:58 + (GMT)
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
 An internal server error occurred on http://sas-space.sas.ac.uk/dspace:
 
 Date:   15/11/07 09:59
 Session ID: 8C7415E7AD6E219400655DF71DC35695
 
 -- URL Was: http://sas-space.sas.ac.uk/dspace/feed/rss_2.0/10065/580
 -- Method: GET
 -- Parameters were:
 
 
 Exception:
 java.io.IOException: Invalid rss_2.0 feed, missing channel description
   at 
 org.dspace.app.webui.servlet.FeedServlet.doDSGet(FeedServlet.java:227)
   at 
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151)
   at 
 org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
   at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at 
 org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
   at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
   at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
   at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
   at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
   at 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at 
 org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
   at 
 org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
   at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
   at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
   at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
   at 
 org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
   at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
   at 
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:534)
 
 
 
 


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
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] Import Metadata Dspace

2007-11-14 Thread Mika Stenberg
 ./dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c
 collectionID -s items_dir -m mapfile

collection id refers to handle number of a collection, for example 2455/21.
Items_dir is the directory where you have you XML metadata you want to
import is located. Mapfile is a sort of a log file created by importer, you
can specify the name for it.

Try something like:

/dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c
2455/21 -s ./metadata_files/ -m mapfile.map

-Alkuperäinen viesti-
Lähettäjä: Kalyan Upadhyaya [mailto:[EMAIL PROTECTED] 
Lähetetty: 14. marraskuuta 2007 21:59
Vastaanottaja: Rodrigo Castro Artigas
Kopio: Mika Stenberg; dspace-tech@lists.sourceforge.net
Aihe: Re: [Dspace-tech] Import Metadata Dspace

I have also been struggling with importing metadata into DSpace. Is
there any step by step example that I can learn from ?

- Kalyan

On Nov 14, 2007 11:46 AM, Rodrigo Castro Artigas [EMAIL PROTECTED] wrote:
 Thanks, i you can send example the follow:

 ./dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c
 collectionID -s items_dir -m mapfile

 I need know the value collectionID, items_dir, mapfile ???


 -Mensaje original-
 De: Mika Stenberg [mailto:[EMAIL PROTECTED]
 Enviado el: Martes, 13 de Noviembre de 2007 9:54
 Para: Rodrigo Castro Artigas
 CC: dspace-tech@lists.sourceforge.net
 Asunto: Re: [Dspace-tech] Import Metadata Dspace


 You need to import the xml files with DSpace's import tool (see
 documentation). However, you you first need to parse the XML to a format
 which is understood by the importer. I think you need to do this
 yourself with XSLT, PHP, perl or similar.

 -Mika


  I need import metadata in DSPACE. I have a file in XML with format
Dublin
  Core.
  I Need Load the is Metadata in Dspace.
 
 
 
 
 
-
  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
 


 -
 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




-
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] Import Metadata Dspace

2007-11-13 Thread Mika Stenberg
You need to import the xml files with DSpace's import tool (see 
documentation). However, you you first need to parse the XML to a format 
which is understood by the importer. I think you need to do this 
yourself with XSLT, PHP, perl or similar.

-Mika


 I need import metadata in DSPACE. I have a file in XML with format Dublin
 Core.
 I Need Load the is Metadata in Dspace.
 
 
 
 
 -
 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
 

-
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] Uploading video collections in DSpace

2007-11-12 Thread Mika Stenberg
You can set the maximun file size in dspace.cfg:

# Maximum size of uploaded files in bytes, negative setting will result 
# in no limit being set
# 512Mb
upload.max = 536870912

Changing this might solve your problem.

-Mika


 We are trying to create a collection of video talks in DSpace.
 
 The talks are available in DAT file format. To upload these files in
 DSpace, we tried to convert these DAT files into mpg format using vcdgear
 command as DSpace supports mpg file formats. The size of each mpg file is
 around 650 MB. While uploading these files in DSpace it doesnot allow to
 upload these files in DSpace as it exceeds the allowed file size in DSpace.
 
 If we convert these files into mov format/avi format the size of the file
 is around 230 MB/23 MB but MOV is not open format.
 
 We would like to know has anybody explored this and what could be the
 solution?
 
 with regards,
 
 sincerely,
 
 Sunita Barve
 Library-In-Charge
 National Centre for Radio Astrophysics
 Post Bag No. 3, Pune Univ. Campus
 Pune 411 007, INDIA
 Phone : 91-20-25679211
 FAX   : 91-20-25697257 ; 25692149
 Email :[EMAIL PROTECTED]
 
 
 -
 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
 


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
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-Manakin] Jetty

2007-11-12 Thread Mika Stenberg
Hi,

I was actually referring to web.xml in Manakin. Since Im using mod/jk in 
Apache before Jetty I have specified dspace-config there. I guess with 
Dspace you could use something similar to Manakins web.xml:


web-app

   !-- Context Configuration == --

   !--+
   | Set a context property useful to allow you to ProxyPass your
   | web application mounted to a different URI without loosing the
   | ability to do cookie-based sessions.
   | WARNING: this is Jetty specific!
   +--
   context-param
 param-namedspace-config/param-name
 param-value/usr/local/dspace/config/dspace.cfg/param-value
 descriptionAn override of the session cookie path/description
/context-param

...

Hope this helps,

-Mika


 Hi Mika,
 
 Thanks for this...
 
 I don't actually see the commented line for dspace-config in the web.xml
 file though (I even downloaded the latest svn version in case it was
 there). The only thing I see for Jetty is for the ProxyPass. Did I miss
 something in there?
 
 Wayne
 
 Mika Stenberg wrote:
 Just add the dspace-config to Manakins own web.xml file. That'll do the
 trick. There's already a commented line for it.

 We've been using Jetty 6.1.6rc0 for couple of months now and it works like a
 dream; there's no going back to Tomcat. :)

 -Mika


 Hi,

 I'm attempting to set up Manakin using Jetty...could someone share how
 they configured the dspace-config parameter? I tried

 Configure class=org.mortbay.jetty.webapp.WebAppContext
 Set name=dspace-config/path/to/dspace.cfg/Set
 /Configure

 but it's throwing an exception...

 Thanks for any help!

 Wayne

 -- 
 /**
  * Wayne Graham
  * Earl Gregg Swem Library
  * PO Box 8794
  * Williamsburg, VA 23188
  * 757.221.3112
  * http://swem.wm.edu/blogs/waynegraham/
  */


 -
 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-manakin mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/dspace-manakin



 


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
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] PSQL error

2007-11-05 Thread Mika Stenberg

I started having these out of nowhere when trying to submit files to 
DSpace. Any ideas how can I fix this. Restaring, re-indexing or 
vacuuming the db doesnt help. My guess is that some item is maliciously 
left hanging and thus blocking the way for other items.

-Mika





org.postgresql.util.PSQLException: ERROR: current transaction is 
aborted, commands ignored until end of transaction block
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1525)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1309)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:308)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at 
org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1492)
at 
org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:853)
at org.dspace.content.Item.update(Item.java:1420)
at org.dspace.content.Item.create(Item.java:247)
at org.dspace.content.WorkspaceItem.create(WorkspaceItem.java:173)
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.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
at 
org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:852)
at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:123)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:107)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:116)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:192)
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:265)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:110)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:102)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)

[Dspace-tech] Running two prefixes with one handle server

2007-11-01 Thread Mika Stenberg
Im running two Dspace instances on one machine. I registered another 
handle prefix for the second one, but am little confused on how to 
configure the handle server for two prefixes. Has anyone done this 
before? How should I go on about it?

Thanks,
Mika

-
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] customizing Dspace and future updates

2007-10-26 Thread Mika Stenberg
Robin,

 

Adding one or more location fields on the input form is done by editing one
configuration file (input-forms.xml). Once you update your dspace to a new
version you must either update the new input-forms.xml or replace it with
your old one (assuming the old file is still working in new version). The
update doesn’t affect on the data saved in DB with earlier version,
ofcourse.

 

Hope this helps,

Mika

 

  _  

Lähettäjä: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Puolesta Henry, Roberta
Lähetetty: 26. lokakuuta 2007 18:35
Vastaanottaja: dspace-tech@lists.sourceforge.net
Aihe: [Dspace-tech] customizing Dspace and future updates

 

Hello all,

 

We would like to customize our Dspace to include a location field in the
upload form by editing the XML.  If we do, will our customization be wiped
out by future updates.  A local library has had this problem, so we thought
we'd ask.

 

Robin Henry

Library Technical Services Specialist

Sam White Library

[EMAIL PROTECTED]

x9117

 

 

-
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] One handle server for two dspace instances

2007-10-25 Thread Mika Stenberg
We decided to split our DSpace instance into two. Im trying to have them 
use the same Handle server, though. Is this possible, or do I need to 
register another prefix for the new intance? Right now it seems, that I 
cant find a way to do this.

Thanks,

Mika


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
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] changes in the message properties is not working.

2007-10-23 Thread Mika Stenberg
Sometimes deleting tomcat/work/localhost/* helps as well.

-Mika

 You may remove the previous dspace folder in C:\Program Files\Apache 
 Software Foundation\Tomcat 6.0\webapps\dspace after bringing down 
 tomcat. Copy the .war files again from C:\DSPace141\build and restart 
 tomcat.
 
  
 
 Hope this helps.
 
  
 
 Jayan
 
 
 
 *From:* [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] *On Behalf Of *roopal 
 oswal
 *Sent:* Tuesday, October 23, 2007 1:47 PM
 *To:* DSpace-tech@lists.sourceforge.net
 *Subject:* [Dspace-tech] changes in the message properties is not working.
 
  
 
 Hi All,
 
 I wanted to customize the Dspace, so i changed the entries in the 
 message properties as per my need.. but the changes are not getting 
 reflected even after  i rebuilt Dspace...and word wrap was initially ON 
 but later i turned it OFF and saved it.
 
 Regards,
 
 Roopal
 
   
 
 
 
 Unlimited freedom, unlimited storage. Get it now 
 http://in.rd.yahoo.com/tagline_mail_2/*http:/help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
 
 
 
 
 -
 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


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
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] About import items

2007-10-19 Thread Mika Stenberg
We've done similar tasks using our PHP Excel/CSV importer which can be found
at: http://tds.terkko.helsinki.fi/utils/. It can do all the work for you and
by running the script you can have metadata and files imported in your system. 

-Mika


 I need to import a 
 big volume of items (around a thousand) from 
 a excel file.
 
 What do you suggest for this job?
 Is it a good idea to 
 convert the excel file in files to use the 
 ItemImport class? Or is there a better 
 solution?
 
 
 thank you in advanced
 
 
 Daniel
 
 
 
 
  


 ¡Sé un mejor ambientalista!
 Encuentra consejos para cuidar el lugar donde vivimos.   

 http://telemundo.yahoo.com/promos/mejorambientalista.html



-
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-Manakin] Manakin over Jetty

2007-09-27 Thread Mika Stenberg
Just briefly reporting that my experiments with Dspace  Manakin over 
Jetty has been a success. It seems that DSpace runs significantly faster 
on Jetty v6 than Tomcat v5. We've also gotten rid of nasty crashes that 
occurred occasionally when the system was under heavy load with lots of 
user activity.

If someone is interested, I can provide more information.

Cheers,
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Multiple Dspace instances on same DB

2007-09-24 Thread Mika Stenberg
Im hoping to use two Dspace instances on same DB. I understood this 
could be possible simply by configuring them to use DBs with different 
names.

Next to my working Dspace installation I created another instance by 
copying the source files, editing dspace.cfg to point to another DB, 
changed the userid and pass and building the source. However, when I 
deploy the war DSpace displays the content from my original dspace db, 
not from the one Im telling it to.

So my question is, where is Dspace reading the DB info other than 
dspace.cfg? How could I implement this parallel setup accordingly?

Thanks,
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Exporting an entire community

2007-09-24 Thread Mika Stenberg
Is there a way to export an entire community with all subcommunities and 
subcollections? The exporter only seems to support Collections or items.

Thanks
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Pdf problems

2007-09-20 Thread Mika Stenberg
Hi,

We are experiencing increasing difficulties in opening pdf- files via 
Dspace / Manakin.  This is beginning to look like a serious problem 
which affects the overall usability of the software. The problem exists 
both in Manakin UI and Dspace UI.

If someone has any suggestions how to make pdf files open in browser, 
please let me know.

You can see a demo of such problem at:
http://hdl.handle.net/2455/131898

Thanks,
Mika

-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Item import in SQL

2007-09-14 Thread Mika Stenberg
 Huh? What is this good for? What is wrong with the existing
 importer?

The importer itself seems to work fine. Its the DSpace web forms that lack 
the customization and flexibility that we need. And implementing a direct 
import from my own web forms would be prettier than saving the collected 
data on server and then running it through importer.

 Why not enhancing it if you are missing some
 functionality? Why mix in another technology?

Well thats an option, but since the development of PHP applications is much 
faster than with Java and we already have an existing architechture built on 
it, it presents itself as a tempting option.

 PHP tends to require a serious adinistrative overhead for security
 updates every other week or so.

Somewhat true, but so far, we've managed to update the system painlessly 
every time it has been relevant. And like said, since we already have 
working PHP applications, it has to be done anyway.

 When talking about web forms, authorization is another issue. How to 
 integrate
 with existing account system in DSpace.

I dont see it that way. One could use a pre-defined administrator/submitter 
account to do the actual upload and have the web form log the actual user 
info (if needed). Via LDAP University's user accounts can easily be fetched 
or the forms can be placed under restricted IP's or relevant subnets. So its 
actually not that big of a problem.

To me DSpace's restrictions in customizing the input-forms presents a bigger 
issue.

-Mika




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace OAI

2007-09-11 Thread Mika Stenberg
If I restrict access to a collection / community in DSpace, does the 
restrictions also apply on the data that can be accessed through OAI?

Thanks,
Mika

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Psql error

2007-09-05 Thread Mika Stenberg
Im getting a whole lot of errors in my log file (Dspace 1.4.2, Manakin 
1.1 (trunk)) . The one Im worried about is this. Has anyone experienced 
this and perhaps solved it?

Thanks,
Mika


LOG:  unexpected EOF on client connection
org.postgresql.util.PSQLException: An I/O error occured while sending to 
the backend.
 at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:214)
 at 
org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(AbstractJdbc2Connection.java:617)
 at 
org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:654)
 at 
org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:265)
 at 
org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:265)
 at 
org.apache.commons.dbcp.PoolingDriver$PoolGuardConnectionWrapper.rollback(PoolingDriver.java:348)
 at org.dspace.core.Context.abort(Context.java:251)
 at org.dspace.core.Context.finalize(Context.java:384)
 at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
 at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
 at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
 at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
Caused by: java.net.SocketException: Socket closed
 at 
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
 at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
 at 
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
 at org.postgresql.core.PGStream.flush(PGStream.java:532)
 at 
org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:672)
 at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:187)
 ... 11 more
java.sql.SQLException: Already closed.
 at 
org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:77)
 at 
org.apache.commons.dbcp.PoolingDriver$PoolGuardConnectionWrapper.close(PoolingDriver.java:240)
 at 
org.dspace.storage.rdbms.DatabaseManager.freeConnection(DatabaseManager.java:733)
 at org.dspace.core.Context.abort(Context.java:260)
 at org.dspace.core.Context.finalize(Context.java:384)
 at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
 at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
 at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
 at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
LOG:  unexpected EOF on client connection

-
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] Submission forms

2007-08-24 Thread Mika Stenberg
Is there a way to get rid of the initial questions page on 
submissions? I would also like to include the upload file dialog on 
the first page, is this currently possible?

Thanks,
Mika

-
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 with opening pdf-files

2007-08-21 Thread Mika Stenberg
Im having problems when opening some pdf-files. Mainly this occurs with 
Mozilla browser, but it seems that the attribute 'sequence=1' causes the 
browser to hang or at least stop loading the pdf. Some items open fine 
when I remove the sequence=1 part of the url, but some dont even with 
that. Has anyone experienced the same and figured out a workaround?

Thanks,
Mika


-
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 and Z39.50

2007-08-17 Thread Mika Stenberg
I tried to see the URL you sent but the site was down this morning?

In my server.xml I have already set URIencoding as follows:

   Connector port=8080 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false redirectPort=8443 acceptCount=100
connectionTimeout=2 disableUploadTimeout=true 
URIEncoding=UTF-8/


What else might be wrong?

-Mika



 I tried a search for the author Siikamäki and got a bad result back.  My 
 guess is that you haven't set the URIEncoding in your tomcat.  See this page 
 for information on how to do that:
 http://confluence.atlassian.com/display/DOC/Configuring+Tomcat's+URI+encoding
 
 Ralph
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LeVan,Ralph
 Sent: Thursday, August 16, 2007 9:30 AM
 To: Mika Stenberg
 Cc: dspace-tech@lists.sourceforge.net; Peter Cliff
 Subject: Re: [Dspace-tech] DSpace and Z39.50
 
 The word test in that URL is in the position where the database name 
 occurs.  If you want to search DSpace, replace test with DSpace.
 
 Here's a search in your database:
 http://otto.terkko.helsinki.fi:8080/SRW/search/DSpace?query=dc.creator%20=%20Aalto,%20AnumaximumRecords=1
 
 
 Ralph
 
 -Original Message-
 From: Mika Stenberg [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 15, 2007 3:36 AM
 To: LeVan,Ralph
 Cc: Peter Cliff; dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] DSpace and Z39.50
 
 I tried this one but have hard time making it work. The installation 
 seems to be succesful, but I cant figure out how to make queries to my 
 own Dspace database?
 
 The test query is built like this:
 http://otto.terkko.helsinki.fi:8080/SRW/search/test?query=cancermaximumRecords=1
 
 So how should I change it to search my Dspace instance? Removing the 
 test part results to error.
 
 Thanks,
 Mika
 
 
 OCLC provides an SRW/U interface to DSpace.  See
 http://www.oclc.org/research/software/srw/

 Ralph

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Peter
 Cliff
 Sent: Tuesday, August 14, 2007 10:47 AM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] DSpace and Z39.50

 Hello!

 I've been trawling through the DSpace mailing list archives and also the

 documentation, and while I've found a few references - notably an email 
 stating that there was a task to add Z39.50 and SRU to DSpace in 2003 - 
 I've not found any concrete evidence that would suggest DSpace supports 
 either protocol.

 Am I right in thinking that DSpace does not ship with a Z39.50 and/or 
 SRU (or even SRW) interface?

 I realise adding one would be pretty straight forward for an 
 implementor, either by indexing the output of an OAI-PMH request for 
 everything (using, say, IndexData's Zebra) or using the DSpace search 
 API and something like JZKit 
 (http://developer.k-int.com/projects.php?page=dspace for example).

 Thanks,

 Pete Cliff
 Research Officer, Repositories Support Project,
 UKOLN, University of Bath




 
 -
 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

 -
 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

 
 


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
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] DSpace RSS feeds

2007-08-17 Thread Mika Stenberg

It seems that DSpace DOES create RSS feeds for some communities, but not 
all. One Community that hold more than 40 000 records gives me internal 
system error and another one with no collections at all does the same. 
Im wondering if the number of items are causing this?

-Mika



 I am using the latest version. All other RSS feeds appear ok but 
 community wide feeds give me Internal System error.

On dpsace.log I have:

java.io.IOException: Invalid rss_1.0 feed, missing channel description
 at 
org.dspace.app.webui.servlet.FeedServlet.doDSGet(FeedServlet.java:259)
 at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151)
 at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
 at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
 at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
 at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
 at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
 at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)



  On Wed, Aug 15, 2007 at 02:50:10PM +0300, Mika Stenberg wrote:
  DSpace doesnt seem to provide RSS feeds for communities, but only 
for collections - is this a feature or a bug? I think community wide RSS 
would be very useful in trying to keep up with new submissions on 
specific subjects.
 
  Which version of DSpace are you using. Certainly with 1.4.2 RSS feeds
  appear for Communities and Collecitons, and I'm pretty sure this was
  always the case.
 
  cheers,
 
  Jim
 



-
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] Different metadata for different collections/communities

2007-08-16 Thread Mika Stenberg
What are the possibilities to customize different metadata-sets on each 
collection / community on dspace? Should I just create different web 
submit forms for each?

-Mika

-
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 and Z39.50

2007-08-15 Thread Mika Stenberg
I tried this one but have hard time making it work. The installation 
seems to be succesful, but I cant figure out how to make queries to my 
own Dspace database?

The test query is built like this:
http://otto.terkko.helsinki.fi:8080/SRW/search/test?query=cancermaximumRecords=1

So how should I change it to search my Dspace instance? Removing the 
test part results to error.

Thanks,
Mika


 OCLC provides an SRW/U interface to DSpace.  See
 http://www.oclc.org/research/software/srw/
 
 Ralph
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Peter
 Cliff
 Sent: Tuesday, August 14, 2007 10:47 AM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] DSpace and Z39.50
 
 Hello!
 
 I've been trawling through the DSpace mailing list archives and also the
 
 documentation, and while I've found a few references - notably an email 
 stating that there was a task to add Z39.50 and SRU to DSpace in 2003 - 
 I've not found any concrete evidence that would suggest DSpace supports 
 either protocol.
 
 Am I right in thinking that DSpace does not ship with a Z39.50 and/or 
 SRU (or even SRW) interface?
 
 I realise adding one would be pretty straight forward for an 
 implementor, either by indexing the output of an OAI-PMH request for 
 everything (using, say, IndexData's Zebra) or using the DSpace search 
 API and something like JZKit 
 (http://developer.k-int.com/projects.php?page=dspace for example).
 
 Thanks,
 
 Pete Cliff
 Research Officer, Repositories Support Project,
 UKOLN, University of Bath
 
 
 
 
 
 -
 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
 
 -
 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
 


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
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] DSpace RSS feeds

2007-08-15 Thread Mika Stenberg
DSpace doesnt seem to provide RSS feeds for communities, but only for 
collections - is this a feature or a bug? I think community wide RSS 
would be very useful in trying to keep up with new submissions on 
specific subjects.

-Mika

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

2007-08-15 Thread Mika Stenberg
I am using the latest version. All other RSS feeds appear ok but 
community wide feeds give me Internal System error.

On dpsace.log I have:

java.io.IOException: Invalid rss_1.0 feed, missing channel description
 at 
org.dspace.app.webui.servlet.FeedServlet.doDSGet(FeedServlet.java:259)
 at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151)
 at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
 at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
 at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
 at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
 at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
 at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)



 On Wed, Aug 15, 2007 at 02:50:10PM +0300, Mika Stenberg wrote:
 DSpace doesnt seem to provide RSS feeds for communities, but only for 
 collections - is this a feature or a bug? I think community wide RSS 
 would be very useful in trying to keep up with new submissions on 
 specific subjects.
 
 Which version of DSpace are you using. Certainly with 1.4.2 RSS feeds
 appear for Communities and Collecitons, and I'm pretty sure this was
 always the case.
 
 cheers,
 
 Jim
 

-
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] Moving DSpace instance

2007-06-26 Thread Mika Stenberg
 What are the details of the error? The most likely candidates are either
 the permissions on the files in the assetstore (make sure they are the
 same as before) and the configured path to the asset store in dspace.cfg

I grant all the permissions and double-checked the assetstore path. They
should be fine. I still get Internal Server Error.

On dspace.log I get:

2007-06-26 14:04:22,207 ERROR net.sf.ehcache.store.DiskStore @ IOException
reading index. Creating new index.

Thanks for help,
Mika

-
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] Index-all error

2007-06-21 Thread Mika Stenberg
Im trying to run index-all on brand new Dspace 1.4.2 installation with 
only few test items in it. I get this error when running, what could be 
causing it?

Creating browse index
Indexing all Items in DSpace ... Done
Creating search index
Exception in thread main java.lang.NullPointerException: value cannot 
be null
at org.apache.lucene.document.Field.init(Field.java:188)
at org.apache.lucene.document.Field.init(Field.java:164)
at org.dspace.search.DSIndexer.buildDocument(DSIndexer.java:890)
at org.dspace.search.DSIndexer.createIndex(DSIndexer.java:383)
at org.dspace.search.DSIndexer.main(DSIndexer.java:547)

-Mika


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

2007-06-20 Thread Mika Stenberg
Has anyone managed to run DSpace on Sun Sparc servers? I was hoping to, 
but it seems there is no Java available for Linux on SPARC 
architechture. Any experience on this?

-Mika

-
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] collection id and collection name

2007-06-11 Thread Mika Stenberg
If I understood you correctly, you can try something like this from the 
command line:

su postgres -c psql dspace -c 'select name, collection_id from 
collection;'

-Mika

 Hi!
 
  
 
 Is there a way to find out collection id and collection name from 
 postgresql. From dspace-admin we can find this out, but requires 
 searching for each collection and corresponding id. Is there an easy way 
 to find this for batch importing?
 
  
 
 I searched HANDLE table and COLLECTION table but couldn’t succeed.
 
  
 
 Thanks,
 
 Jayan
 
  
 
 
 
 
 -
 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


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

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

2007-06-01 Thread Mika Stenberg
Since our repository has been getting increasingly slow Ive come to 
think of creating static pages of views that are time consuming to 
produce. This would greatly speed up the system. Something like this 
could be rather easy to implement and the pages could be kept up to date 
with periodic runs via cron. Something similar is done on E-prints, I think.

Maybe a feature like this could be added to DSpace in the future, what 
do you think?

-Mika

-
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] Postgres optimizations

2007-05-29 Thread Mika Stenberg
Im hoping to get some hints for postgres performance optimization. Our 
DSpace (1.4.1) has started to run really slow after the number of items 
exceeded 40 000 (mainly metadata, few full texts only).

I tried increasing work_memory and max_fsm_pages in postgres.conf but 
with little help. Im also running regular vacuum and reindex for the db.

Any help would be appreaciated,
-Mika

-
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] Media filter error

2007-05-23 Thread Mika Stenberg
What could be causing this?

ERROR filtering, skipping bitstream #536 java.io.IOException: Error: 
Header is corrupt ''
java.io.IOException: Error: Header is corrupt ''
at org.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:143)
at 
org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:109)
at 
org.dspace.app.mediafilter.MediaFilter.processBitstream(MediaFilter.java:155)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:327)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:296)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:266)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:234)
at 
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:185)
ERROR filtering, skipping bitstream #537 java.io.IOException: Error: 
Header is corrupt ''

Any help would be appreciated?
Mika


-
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] Batch import from Excel / Open Office CSV file

2007-05-07 Thread Mika Stenberg
My new php script allowing easy import of metadata and files via CSV 
files created from Excel, OpenOffice etc. is now available at:

http://tds.terkko.helsinki.fi/utils/

Frankly, I find this the easiest way to import large sets of data to our 
Dspace.

The script requires PHP to work (old versions would propably do, Im 
using 4 and 5 though) and wget or similar if you want to submit files 
directly from the Internet.

Let me know what you think, any comments and suggestion are appreciated.

-Mika

-
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] Problem importing items

2007-04-12 Thread Mika Stenberg
I've written a php script to allow easy import of items catalogued in 
CSV format from Excel of OpenOffice. It can handle file uploads from 
local or remote locations.

If this might help you, I can put a brand new version of it online?

-Mika

 Krishna:
 
 The way I do is by writing a perl script that prepares the data as specified
 in the following documentation:
 
 http://dspace.org/technology/system-docs/application.html#itemimporter
 
 -Jose
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Krishna
 Sent: Wednesday, April 11, 2007 12:39 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: [Dspace-tech] Problem importing items
 
 Hi everyone,
 
 I have a directory with more than 10,000 ppt files. I need to import
 them in to the DSpace. I have used ItemImport but before that i need
 to create a DSpace simple archive format and i have no idea how to
 create a archive so that i can import them.
 
 Please give me your suggestions
 
 thanking you all,
 
 Krishna
 University Of Memphis
 TN
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 DSpace-tech mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 DSpace-tech mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-- 
Mika Stenberg
IT-asiantuntija

Terveystieteiden Keskuskirjasto
Lääketieteellinen tdk
PL 61 (Haartmaninkatu 4)
Helsingin Yliopisto
00290 Helsinki

puh. +358-9-191 26807

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Deleting items

2007-04-05 Thread Mika Stenberg
Im creating a Java code for deleting all items under a collection. 
Sometimes when deleting an item I get a message saying:

Exception: IndexReader out of date and no longer valid for delete, 
undelete, or setNorm operations

Does Anyone know what is causing? I guess it is Lucene related?

Thanks,
-Mika

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Institutional repositories in educational context

2007-03-07 Thread Mika Stenberg
Im trying to find articles on institutional repositories in educational 
context for my thesis. If you know any, please let me know.

Thanks,
Mika

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Exporter error

2007-03-05 Thread Mika Stenberg
Im trying to export a collection with about 40 000 items in it. At some 
point the exporter crashes to an error. Im thinking this might be 
related to the huge amount of subdirs created. Is it even possible to 
export large collection?

Exception in thread main java.lang.Exception: Error, can't make dir 
./julki_test/31999

  at org.dspace.app.itemexport.ItemExport.exportItem(ItemExport.java:302)
 at 
org.dspace.app.itemexport.ItemExport.exportItem(ItemExport.java:269)
 at org.dspace.app.itemexport.ItemExport.main(ItemExport.java:253)

/Mika

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace with Resin 3.1

2007-01-25 Thread Mika Stenberg
Has anyone tried running Dspace  / Manakin on Caucho Resin 3.1? Has one 
noticed any significant improve in performance etc?

Im currently testing it, allthough having problems with setting 
dspace-config- variable. Where should I define it?

Now Im getting:

DSpace has failed to initialize. This has likely occurred because it was 
unable to determine where the dspace.cfg file is located. The path to 
the configuration file is stored in a context variable, 'dspace-config', 
in either the local servlet or global context.
25.1.2007 12:54:05 com.caucho.boot.ResinWatchdog run
INFO: Watchdog[] stopping Resin


Thanks,
Mika

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech