Re: [Dspace-tech] LNI/WebDAV : GET returns 501

2008-06-03 Thread Rick Runyan
Thanks a million.  I got lookup and get working today after fooling
around with wget.  I'm glad you told me about not following the
redirects, or I'd have been scratching my head over 400 errors still.

I'm not using PERL; I am using C#.

- Rick

-Original Message-
From: Larry Stone [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 03, 2008 1:00 AM
To: Rick Runyan
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] LNI/WebDAV : GET returns 501

You can see how the lookup feature works by using a simple HTTP client
like the GNU "wget" application to do a GET, and reading its diagnostic
output.. for example, this does a lookup of handle 123456789/1
using HTTP Basic authentication to login (assuming you have
username/password
login on your server):

wget [EMAIL PROTECTED] --http-password=PASSWORD -S
http://MYDSPACE.mit.edu:8080/lni/dav/lookup/handle/123456789/1

Now, watch the headers -- the request as a whole will fail because
"wget"
is aggressive about responding to the HTTP 302 status with another GET
on
the real resource, but that GET probably isn't allowed or is missing
some
option.  Anyway, just look for the Location: header in the first
response:

Connecting to rotarran.mit.edu|18.42.4.43|:8080... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 302 These are not the droids you are looking for.
  Set-Cookie:
DSpaceDavAuth=1212468843785!1!18.42.4.8!ac52bf780d4bb6eb486b810a7d
5c4f24; Path=/lni
  Location: http://rotarran.mit.edu:8080/lni/dav/dso_123456789%241
  ^^

  Content-Length: 0
  Date: Tue, 03 Jun 2008 04:54:03 GMT
  Server: Apache-Coyote/1.1
  Connection: Keep-Alive

{Here's the second try, which fails.. ignore it, we've got what we
need.}

Location: http://rotarran.mit.edu:8080/lni/dav/dso_123456789%241
[following]
--00:54:03--  http://rotarran.mit.edu:8080/lni/dav/dso_123456789%241
   => `dso_123456789$1'
Reusing existing connection to rotarran.mit.edu:8080.
HTTP request sent, awaiting response...
  HTTP/1.1 501 GET method not implemented for Community.
  Content-Type: text/html;charset=utf-8
  Content-Length: 1112
  Date: Tue, 03 Jun 2008 04:54:03 GMT
  Server: Apache-Coyote/1.1
  Connection: close
00:54:03 ERROR 501: GET method not implemented for Community..

This ought to show how to implement what you need with Apache HTTPClient
or something like that.

You're not using Perl, are you?  The WebDAV library on CPAN was horribly
broken last I looked, not really usable for this at all.

Also, note that you don't *need* to go through the hierarchy to get at
any Handle in the archive.  If you already have the Handle of the
resource
you're looking for, just do a "lookup" to get its URL and use that.
Traversing the hierarchy is just for exploring, and because it's the
model of HTTP and WebDAV.

-- Larry

> Thanks for the helpful response.  I've still been unable to do a
lookup
> or a get, but I'm concentrating right now on walking through the
> hierarchy to learn what turns up and what kind of properties I'll
find.
> When I get comfortable with that, I'll re-read your message and try
> again.
>
> - Rick
>


-
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] jspui pages unresponsive

2008-06-03 Thread Thomas A McGee
Our Manakin pages (/xmlui/) come up right away, but the /jspui/ interface 
hangs. It's not a consistent problem, but frequently enough to be 
annoying. Has anyone seen this before, and is there a place we should be 
looking for a solution? The default Tomcat home page also comes right up. 

Using version 1.5 w/Oracle (which is why we need the JSP pages, for 
administration).

_
Tom McGee
Seton Hall University TLTC
973 761 9000 x5021-
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] Can't log onto Admin - Follow Up

2008-06-03 Thread Keith Gilbertson
The install instructions for 1.5 are quite different from the 
instructions from 1.4.2.  The DSpace website may not have been updated 
yet, but the new install directions are included with the 1.5 download.

I can't see if this problem has been fixed with the 1.5 version of 
DSpace, so you might have the right idea in pulling postgres down to 8.2 
until we know.

-- keith


Paul Jordan wrote:
> Ah, I see. Yep, that's the same problem I've been encountering. Good to
> know it's not unique.
>
> Regarding DSpace 1.5, the install directions I've been able to find
> (from the DSpace website) are for 1.4.2 and include things that aren't
> in 1.5, specifically some of the file paths are differen't/aren't there.
> Would any of that make a difference? If not, I'll install DSpace 1.5.
> Otherwise, I'll pull postgres down to 8.2.
>
> Thanks,
>
> Paul
>
> -Original Message-
> From: Keith Gilbertson [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 03, 2008 9:25 AM
> To: Paul Jordan
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Can't log onto Admin - Follow Up
>
> Paul,
>
> There are some problems with DSpace 1.4.2 and Postgres 8.3.  There are 
> threads about that here:
> http://www.nabble.com/Error-with-DSpace-administrator%27s-account-td1599
> 4473.html#a16005789
> and here:
> http://www.nabble.com/-Fwd%3A-Re%3A-Error-with-DSpace-administrator%27s-
> account--td16008564.html#a16008564
>
> Does anyone out there know if this has been fixed with DSpace 1.5?  
> Paul, if that's the case, would you be able to use DSpace 1.5?
>
>
> Paul Jordan wrote:
>   
>> Certainly. Here is the complete sequence.
>>
>> Sincerely,
>>
>> Paul Jordan
>>
>>
>> C:\Program Files\PostgreSQL\8.3\bin>c:\dspace\bin\dsrun
>> org.dspace.administer.Cr
>> eateAdministrator
>> Using DSpace installation in: C:\dspace
>> Creating an initial administrator account
>> E-mail address: [EMAIL PROTECTED]
>> First name: Paul
>> Last name: Jordan
>> WARNING: Password will appear on-screen.
>> Password: dspace
>> Again to confirm: dspace
>> Is the above data correct? (y or n): y
>> Exception occurred:org.postgresql.util.PSQLException: ERROR: operator
>> does not e
>> xist: integer = character varying
>> org.postgresql.util.PSQLException: ERROR: operator does not exist:
>> integer = cha
>> racter varying
>> at
>> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
>> ecutorImpl.java:1592)
>> at
>> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
>> Impl.java:1327)
>> at
>> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
>> va:192)
>> at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
>> ement.java:451)
>> at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
>> Jdbc2Statement.java:350)
>> at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
>> 2Statement.java:254)
>> at
>> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
>> gatingPreparedStatement.java:92)
>> at
>> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
>> gatingPreparedStatement.java:92)
>> at
>> org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.j
>> ava:159)
>> at
>> org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
>> ager.java:447)
>> at
>> org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
>> ager.java:465)
>> at
>> org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager
>> .java:647)
>> at
>> org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:61
>> 2)
>> at org.dspace.eperson.Group.find(Group.java:635)
>> at
>> org.dspace.administer.CreateAdministrator.main(CreateAdministrator.ja
>> va:142)
>>
>> --
>>
>> Message: 5
>> Date: Tue, 03 Jun 2008 11:41:45 -0400
>> From: Keith Gilbertson <[EMAIL PROTECTED]>
>> Subject: Re: [Dspace-tech] Can't log onto admin - follow up
>> To: Paul Jordan <[EMAIL PROTECTED]>
>> Cc: dspace-tech@lists.sourceforge.net
>> Message-ID: <[EMAIL PROTECTED]>
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>
>> Paul,
>>
>> Can you post some of the scrolling code that you see when trying to 
>> create the administrator?
>> I think this will help us to figure out what the problem is -  the 
>> CreateAdministrator command is somewhat quiet when it runs normally.
>>
>>   
>> 
>
>
>   



-
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] Error in Dspace account registration.

2008-06-03 Thread Flemion Shafeeq

Dear All,
This is about an error or wrong port number getting populated on the Verify 
email link , which is sent to an email address on registering to the dspace.

Details:
The dspace.cfg file was set up with the url(with port number), host name 
etc, but the URL in the verify email points to a different port number and 
clicking the link would take the user to an error page.If we manually 
corrects the url and then copy paste on the browser address bar, the email 
address is getting verified.

eg: Te dspace url is http://x.x.edu:38080/xmlui
the verify email url is 
http://x.x.edu:68080/xmlui/register?token=044beef183ad1c0e66e3c6665cb2835c 



when i change 68080 to 38080 manually, it works.
Any idea how this port no is getting generated?



The emails folder in dspace/config has the verify email with the place 
holder {0}

I am wondering how this gets replaced and from where.
Any idea about why this link is getting constructed wrongly.


Thanks and Regards,
Flemion.
OIS-Harvard University Library. -
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] Can't log onto Admin - Follow Up

2008-06-03 Thread Paul Jordan
Ah, I see. Yep, that's the same problem I've been encountering. Good to
know it's not unique.

Regarding DSpace 1.5, the install directions I've been able to find
(from the DSpace website) are for 1.4.2 and include things that aren't
in 1.5, specifically some of the file paths are differen't/aren't there.
Would any of that make a difference? If not, I'll install DSpace 1.5.
Otherwise, I'll pull postgres down to 8.2.

Thanks,

Paul

-Original Message-
From: Keith Gilbertson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 03, 2008 9:25 AM
To: Paul Jordan
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Can't log onto Admin - Follow Up

Paul,

There are some problems with DSpace 1.4.2 and Postgres 8.3.  There are 
threads about that here:
http://www.nabble.com/Error-with-DSpace-administrator%27s-account-td1599
4473.html#a16005789
and here:
http://www.nabble.com/-Fwd%3A-Re%3A-Error-with-DSpace-administrator%27s-
account--td16008564.html#a16008564

Does anyone out there know if this has been fixed with DSpace 1.5?  
Paul, if that's the case, would you be able to use DSpace 1.5?


Paul Jordan wrote:
> Certainly. Here is the complete sequence.
>
> Sincerely,
>
> Paul Jordan
>
>
> C:\Program Files\PostgreSQL\8.3\bin>c:\dspace\bin\dsrun
> org.dspace.administer.Cr
> eateAdministrator
> Using DSpace installation in: C:\dspace
> Creating an initial administrator account
> E-mail address: [EMAIL PROTECTED]
> First name: Paul
> Last name: Jordan
> WARNING: Password will appear on-screen.
> Password: dspace
> Again to confirm: dspace
> Is the above data correct? (y or n): y
> Exception occurred:org.postgresql.util.PSQLException: ERROR: operator
> does not e
> xist: integer = character varying
> org.postgresql.util.PSQLException: ERROR: operator does not exist:
> integer = cha
> racter varying
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
> ecutorImpl.java:1592)
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
> Impl.java:1327)
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
> va:192)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
> ement.java:451)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
> Jdbc2Statement.java:350)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
> 2Statement.java:254)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
> gatingPreparedStatement.java:92)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
> gatingPreparedStatement.java:92)
> at
> org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.j
> ava:159)
> at
> org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
> ager.java:447)
> at
> org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
> ager.java:465)
> at
> org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager
> .java:647)
> at
> org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:61
> 2)
> at org.dspace.eperson.Group.find(Group.java:635)
> at
> org.dspace.administer.CreateAdministrator.main(CreateAdministrator.ja
> va:142)
>
> --
>
> Message: 5
> Date: Tue, 03 Jun 2008 11:41:45 -0400
> From: Keith Gilbertson <[EMAIL PROTECTED]>
> Subject: Re: [Dspace-tech] Can't log onto admin - follow up
> To: Paul Jordan <[EMAIL PROTECTED]>
> Cc: dspace-tech@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Paul,
>
> Can you post some of the scrolling code that you see when trying to 
> create the administrator?
> I think this will help us to figure out what the problem is -  the 
> CreateAdministrator command is somewhat quiet when it runs normally.
>
>   



-
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] Can't log onto Admin - Follow Up

2008-06-03 Thread Christophe Dupriez
You are using PostgreSQL 8.3 which introduces a more rigid type casting 
between characters and integers.


I suggest you install PostgreSQL 8.2 !

Have a nice day!

Christophe

Paul Jordan a écrit :

Certainly. Here is the complete sequence.

Sincerely,

Paul Jordan


C:\Program Files\PostgreSQL\8.3\bin>c:\dspace\bin\dsrun
org.dspace.administer.Cr
eateAdministrator
Using DSpace installation in: C:\dspace
Creating an initial administrator account
E-mail address: [EMAIL PROTECTED]
First name: Paul
Last name: Jordan
WARNING: Password will appear on-screen.
Password: dspace
Again to confirm: dspace
Is the above data correct? (y or n): y
Exception occurred:org.postgresql.util.PSQLException: ERROR: operator
does not e
xist: integer = character varying
org.postgresql.util.PSQLException: ERROR: operator does not exist:
integer = cha
racter varying
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:1592)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1327)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:192)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:451)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:350)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
2Statement.java:254)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:92)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:92)
at
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.j
ava:159)
at
org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
ager.java:447)
at
org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
ager.java:465)
at
org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager
.java:647)
at
org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:61
2)
at org.dspace.eperson.Group.find(Group.java:635)
at
org.dspace.administer.CreateAdministrator.main(CreateAdministrator.ja
va:142)

--

Message: 5
Date: Tue, 03 Jun 2008 11:41:45 -0400
From: Keith Gilbertson <[EMAIL PROTECTED]>
Subject: Re: [Dspace-tech] Can't log onto admin - follow up
To: Paul Jordan <[EMAIL PROTECTED]>
Cc: dspace-tech@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Paul,

Can you post some of the scrolling code that you see when trying to 
create the administrator?
I think this will help us to figure out what the problem is -  the 
CreateAdministrator command is somewhat quiet when it runs normally.


  


begin:vcard
fn:Christophe Dupriez
n:Dupriez;Christophe
org:DESTIN inc. SSEB
adr;quoted-printable:;;rue des Palais 44, bo=C3=AEte 1;Bruxelles;;B-1030;Belgique
email;internet:[EMAIL PROTECTED]
title:Informaticien
tel;work:+32/2/216.66.15
tel;fax:+32/2/242.97.25
tel;cell:+32/475.77.62.11
note;quoted-printable:D=C3=A9veloppement de Syst=C3=A8mes de Traitement de l'Information
x-mozilla-html:TRUE
url:http://www.destin.be
version:2.1
end:vcard

-
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] Can't log onto Admin - Follow Up

2008-06-03 Thread Keith Gilbertson
Paul,

There are some problems with DSpace 1.4.2 and Postgres 8.3.  There are 
threads about that here:
http://www.nabble.com/Error-with-DSpace-administrator%27s-account-td15994473.html#a16005789
and here:
http://www.nabble.com/-Fwd%3A-Re%3A-Error-with-DSpace-administrator%27s-account--td16008564.html#a16008564

Does anyone out there know if this has been fixed with DSpace 1.5?  
Paul, if that's the case, would you be able to use DSpace 1.5?


Paul Jordan wrote:
> Certainly. Here is the complete sequence.
>
> Sincerely,
>
> Paul Jordan
>
>
> C:\Program Files\PostgreSQL\8.3\bin>c:\dspace\bin\dsrun
> org.dspace.administer.Cr
> eateAdministrator
> Using DSpace installation in: C:\dspace
> Creating an initial administrator account
> E-mail address: [EMAIL PROTECTED]
> First name: Paul
> Last name: Jordan
> WARNING: Password will appear on-screen.
> Password: dspace
> Again to confirm: dspace
> Is the above data correct? (y or n): y
> Exception occurred:org.postgresql.util.PSQLException: ERROR: operator
> does not e
> xist: integer = character varying
> org.postgresql.util.PSQLException: ERROR: operator does not exist:
> integer = cha
> racter varying
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
> ecutorImpl.java:1592)
> at
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
> Impl.java:1327)
> at
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
> va:192)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
> ement.java:451)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
> Jdbc2Statement.java:350)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
> 2Statement.java:254)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
> gatingPreparedStatement.java:92)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
> gatingPreparedStatement.java:92)
> at
> org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.j
> ava:159)
> at
> org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
> ager.java:447)
> at
> org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
> ager.java:465)
> at
> org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager
> .java:647)
> at
> org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:61
> 2)
> at org.dspace.eperson.Group.find(Group.java:635)
> at
> org.dspace.administer.CreateAdministrator.main(CreateAdministrator.ja
> va:142)
>
> --
>
> Message: 5
> Date: Tue, 03 Jun 2008 11:41:45 -0400
> From: Keith Gilbertson <[EMAIL PROTECTED]>
> Subject: Re: [Dspace-tech] Can't log onto admin - follow up
> To: Paul Jordan <[EMAIL PROTECTED]>
> Cc: dspace-tech@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Paul,
>
> Can you post some of the scrolling code that you see when trying to 
> create the administrator?
> I think this will help us to figure out what the problem is -  the 
> CreateAdministrator command is somewhat quiet when it runs normally.
>
>   



-
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] Can't log onto Admin - Follow Up

2008-06-03 Thread Paul Jordan
Certainly. Here is the complete sequence.

Sincerely,

Paul Jordan


C:\Program Files\PostgreSQL\8.3\bin>c:\dspace\bin\dsrun
org.dspace.administer.Cr
eateAdministrator
Using DSpace installation in: C:\dspace
Creating an initial administrator account
E-mail address: [EMAIL PROTECTED]
First name: Paul
Last name: Jordan
WARNING: Password will appear on-screen.
Password: dspace
Again to confirm: dspace
Is the above data correct? (y or n): y
Exception occurred:org.postgresql.util.PSQLException: ERROR: operator
does not e
xist: integer = character varying
org.postgresql.util.PSQLException: ERROR: operator does not exist:
integer = cha
racter varying
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:1592)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1327)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:192)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:451)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:350)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
2Statement.java:254)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:92)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Dele
gatingPreparedStatement.java:92)
at
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.j
ava:159)
at
org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
ager.java:447)
at
org.dspace.storage.rdbms.DatabaseManager.querySingleTable(DatabaseMan
ager.java:465)
at
org.dspace.storage.rdbms.DatabaseManager.findByUnique(DatabaseManager
.java:647)
at
org.dspace.storage.rdbms.DatabaseManager.find(DatabaseManager.java:61
2)
at org.dspace.eperson.Group.find(Group.java:635)
at
org.dspace.administer.CreateAdministrator.main(CreateAdministrator.ja
va:142)

--

Message: 5
Date: Tue, 03 Jun 2008 11:41:45 -0400
From: Keith Gilbertson <[EMAIL PROTECTED]>
Subject: Re: [Dspace-tech] Can't log onto admin - follow up
To: Paul Jordan <[EMAIL PROTECTED]>
Cc: dspace-tech@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Paul,

Can you post some of the scrolling code that you see when trying to 
create the administrator?
I think this will help us to figure out what the problem is -  the 
CreateAdministrator command is somewhat quiet when it runs normally.

-- 
Keith

Paul Jordan wrote:
> Thanks for the support, I didn't realize that the proper url was 
> .../dspace/dspace-admin. I'm still having connection issues, but I've 
> played around with it a bit and think I've found the problem: DSpace 
> isn't recognizing the Admin users I'm creating.
>  
> As per the install instructions, I'm using the command prompt
>  
> C:\dspace\bin\dsrun org.dspace.administer.CreateAdministrator
> to try and create an admin account. I get prompted for name, email, 
> and password, then get a bunch of scrolling code that I can't decipher

> but which makes it look like it works. I then restart (just in case 
> something needs to reset), but DSpace still tells me it doesn't 
> recognize the email address or account. I've tried with multiple names

> and email addresses, but get the same result. Any ideas?
>  
> Many thanks for all your patience as I wrestle with DSpace,
>  
> Sincerely,
>  
> Paul Jordan
> Digital Archivist
> Occidental College
>

>
>

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


End of DSpace-tech Digest, Vol 26, Issue 11
***

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

Re: [Dspace-tech] Can't log onto admin - follow up

2008-06-03 Thread Keith Gilbertson
Paul,

Can you post some of the scrolling code that you see when trying to 
create the administrator?
I think this will help us to figure out what the problem is -  the 
CreateAdministrator command is somewhat quiet when it runs normally.

-- 
Keith

Paul Jordan wrote:
> Thanks for the support, I didn't realize that the proper url was 
> .../dspace/dspace-admin. I'm still having connection issues, but I've 
> played around with it a bit and think I've found the problem: DSpace 
> isn't recognizing the Admin users I'm creating.
>  
> As per the install instructions, I'm using the command prompt
>  
> C:\dspace\bin\dsrun org.dspace.administer.CreateAdministrator
> to try and create an admin account. I get prompted for name, email, 
> and password, then get a bunch of scrolling code that I can't decipher 
> but which makes it look like it works. I then restart (just in case 
> something needs to reset), but DSpace still tells me it doesn't 
> recognize the email address or account. I've tried with multiple names 
> and email addresses, but get the same result. Any ideas?
>  
> Many thanks for all your patience as I wrestle with DSpace,
>  
> Sincerely,
>  
> Paul Jordan
> Digital Archivist
> Occidental College
> 
>
> -
> 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] Antw: RE: umlaute in dspace xmlui 1.5

2008-06-03 Thread Claudia Jürgen
Hi Michael,

the i18n file is fetched from the repo. The latest from google code 
dspace-sandbox should be ok. The one tagged was just an initial draft of 
translation.

Claudia


Michael Steck schrieb:
> Hi George,
> 
> everything works fine now. thanks a lot.
> there have been 2 problem. one was the context encoding like you
> explained (fixed in sourcecode since 1.5-alpha). the other was a bad
> i18n-file. the messages_de.xml was wrong encoded. after solving the
> first problem i did not notice it, because i was looking at the
> misspelled text out of the i18n.
> 
> i wonder where messages_de.xml comes from. it was not in the source but
> shows up after packaging with maven. hmm?
> did i treat that file somehow wrong or is it buggy from the beginning?
> can anyone tell me where how i can get/keep a correct one?
> 
> michael 
> 
> --
> Dipl.- Ing. Michael Steck
> FfE - Forschungsstelle für Energiewirtschaft e.V.
> Am Blütenanger 71
> 80995 München
> Tel.: 089/158121-22
> Fax: 089/158121-10
> [EMAIL PROTECTED]
> www.ffe.de
> --
> 
> 
 George Hamilton <[EMAIL PROTECTED]> 06/03/08 3:15  >>>
> Michael,
> 
> Its strange, because I had the same thing - it working in JSP and not
> in 
> XML - and changing the container-encoding worked for me.
> 
> Just to be sure, check that the web.xml in tomcat is the same: 
> /webapps/xmlui/WEB-INF/web.xml
> 
> Remember values that have been inserted before the configuration change
> 
> have not been stored in unicode, so try inserting something new (if you
> 
> haven't already done so).
> 
> George
> 
> 
> Michael Steck wrote:
>> Thanks George and Sri,
>>
>> i have experimented a bit but could not fix it. 
>> I am pretty sure it has nothing to do with the database as the
> problem
>> also occurs in text that was not in touch with the db.
>> i looked in web.xml (that of
>> dspace-xmlui\dspace-xmlui-webapp\src\main\webapp\WEB-INF\web.xml)
> but
>> the code there was already  like George suggested:
>>
>> 
>> 
>> container-encoding
>> ISO-8859-1
>> 
>>
>> 
>> 
>> form-encoding
>> UTF-8
>> 
>>
>> i also tried newer versions from svn (1.5.0 beta1 and beta2) but
>> without success...
>>
>> thanks so far,
>> michael
>>
>>
>>
>>
>>
>> --
>> Dipl.- Ing. Michael Steck
>> FfE - Forschungsstelle für Energiewirtschaft e.V.
>> Am Blütenanger 71
>> 80995 München
>> Tel.: 089/158121-22
>> Fax: 089/158121-10
>> [EMAIL PROTECTED] 
>> www.ffe.de 
>> --
>>
>>
>>   
> "Kasthuri, Sriram" <[EMAIL PROTECTED]> 06/03/08 11:01 
> 
>> Hi there,
>>
>> If the database is postgresql, then the below link will help in
>> characterset support at Database level
>>
>> http://www.postgresql.org/docs/8.1/interactive/multibyte.html 
>>
>> As the form encoding is UTF-8 (presentation layer), the data storage
> in
>> the DB should also be UTF-8 encoded. I didn't try this in Dspace but
> in
>> one of my previous project we had similar situation of supporting
>> Japanese language where we made the DB encoding as UTF-8 and also
>> specified the page encoding as UTF-8 (in jsp) which resolved the
> issue.
>> This might be of help as scenario is the same.
>>
>> Sri
>>
>>
>>
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] 
>> [mailto:[EMAIL PROTECTED] On Behalf Of
>> George Hamilton
>> Sent: 03 June 2008 09:22
>> To: Michael Steck
>> Cc: dspace-tech@lists.sourceforge.net 
>> Subject: Re: [Dspace-tech] umlaute in dspace xmlui 1.5
>>
>> Hi Michael
>>
>> Try the following setup in your web.xml:
>>
>> 
>>   container-encoding
>>   ISO-8859-1
>> 
>> 
>>   form-encoding
>>   UTF-8
>> 
>>
>>
>> George
>>
>> Michael Steck wrote:
>>   
>>> Hi folks,
>>>
>>> at first i want to thank you for the great job you did with dspace.
>>> 
>> i
>>   
>>> like it more everyday i am working with and we have plans to use it
>>> 
>> at
>>   
>>> our institute.
>>>
>>> but i have a little question concerning the german special
>>> 
>> characters
>>   
>>> (such as umlaute üöä). it works fine in jspui but doesnt show up
>>> 
>> correct
>>   
>>> in xmlui. must be a problem with the encoding, but i have set
> tomcat
>>> 
>> to
>>   
>>> utf-8 as recommended. what was my mistake? i am using dspace 1.5.0
>>> release and tomcat 6.
>>> it also appears wrong encoded in the database.
>>>
>>> thanks for your help
>>> michael
>>>
>>>
>>>
>>>
>>> --
>>> Dipl.- Ing. Michael Steck
>>> FfE - Forschungsstelle für Energiewirtschaft e.V.
>>> Am Blütenanger 71
>>> 80995 München
>>> Tel.: 089/158121-22
>>> Fax: 089/158121-10
>>> [EMAIL PROTECTED] 
>>> www.ffe.de 
>>> 

[Dspace-tech] Can't log onto admin - follow up

2008-06-03 Thread Paul Jordan
Thanks for the support, I didn't realize that the proper url was
.../dspace/dspace-admin. I'm still having connection issues, but I've
played around with it a bit and think I've found the problem: DSpace
isn't recognizing the Admin users I'm creating.
 
As per the install instructions, I'm using the command prompt 
 
C:\dspace\bin\dsrun org.dspace.administer.CreateAdministrator

to try and create an admin account. I get prompted for name, email, and
password, then get a bunch of scrolling code that I can't decipher but
which makes it look like it works. I then restart (just in case
something needs to reset), but DSpace still tells me it doesn't
recognize the email address or account. I've tried with multiple names
and email addresses, but get the same result. Any ideas?
 
Many thanks for all your patience as I wrestle with DSpace,
 
Sincerely,
 
Paul Jordan
Digital Archivist
Occidental College
-
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] Antw: RE: umlaute in dspace xmlui 1.5

2008-06-03 Thread Michael Steck
Hi George,

everything works fine now. thanks a lot.
there have been 2 problem. one was the context encoding like you
explained (fixed in sourcecode since 1.5-alpha). the other was a bad
i18n-file. the messages_de.xml was wrong encoded. after solving the
first problem i did not notice it, because i was looking at the
misspelled text out of the i18n.

i wonder where messages_de.xml comes from. it was not in the source but
shows up after packaging with maven. hmm?
did i treat that file somehow wrong or is it buggy from the beginning?
can anyone tell me where how i can get/keep a correct one?

michael 

--
Dipl.- Ing. Michael Steck
FfE - Forschungsstelle für Energiewirtschaft e.V.
Am Blütenanger 71
80995 München
Tel.: 089/158121-22
Fax: 089/158121-10
[EMAIL PROTECTED]
www.ffe.de
--


>>> George Hamilton <[EMAIL PROTECTED]> 06/03/08 3:15  >>>
Michael,

Its strange, because I had the same thing - it working in JSP and not
in 
XML - and changing the container-encoding worked for me.

Just to be sure, check that the web.xml in tomcat is the same: 
/webapps/xmlui/WEB-INF/web.xml

Remember values that have been inserted before the configuration change

have not been stored in unicode, so try inserting something new (if you

haven't already done so).

George


Michael Steck wrote:
> Thanks George and Sri,
>
> i have experimented a bit but could not fix it. 
> I am pretty sure it has nothing to do with the database as the
problem
> also occurs in text that was not in touch with the db.
> i looked in web.xml (that of
> dspace-xmlui\dspace-xmlui-webapp\src\main\webapp\WEB-INF\web.xml)
but
> the code there was already  like George suggested:
>
> 
> 
> container-encoding
> ISO-8859-1
> 
>
> 
> 
> form-encoding
> UTF-8
> 
>
> i also tried newer versions from svn (1.5.0 beta1 and beta2) but
> without success...
>
> thanks so far,
> michael
>
>
>
>
>
> --
> Dipl.- Ing. Michael Steck
> FfE - Forschungsstelle für Energiewirtschaft e.V.
> Am Blütenanger 71
> 80995 München
> Tel.: 089/158121-22
> Fax: 089/158121-10
> [EMAIL PROTECTED] 
> www.ffe.de 
> --
>
>
>   
 "Kasthuri, Sriram" <[EMAIL PROTECTED]> 06/03/08 11:01 
>>>
 
> Hi there,
>
> If the database is postgresql, then the below link will help in
> characterset support at Database level
>
> http://www.postgresql.org/docs/8.1/interactive/multibyte.html 
>
> As the form encoding is UTF-8 (presentation layer), the data storage
in
> the DB should also be UTF-8 encoded. I didn't try this in Dspace but
in
> one of my previous project we had similar situation of supporting
> Japanese language where we made the DB encoding as UTF-8 and also
> specified the page encoding as UTF-8 (in jsp) which resolved the
issue.
>
> This might be of help as scenario is the same.
>
> Sri
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of
> George Hamilton
> Sent: 03 June 2008 09:22
> To: Michael Steck
> Cc: dspace-tech@lists.sourceforge.net 
> Subject: Re: [Dspace-tech] umlaute in dspace xmlui 1.5
>
> Hi Michael
>
> Try the following setup in your web.xml:
>
> 
>   container-encoding
>   ISO-8859-1
> 
> 
>   form-encoding
>   UTF-8
> 
>
>
> George
>
> Michael Steck wrote:
>   
>> Hi folks,
>>
>> at first i want to thank you for the great job you did with dspace.
>> 
> i
>   
>> like it more everyday i am working with and we have plans to use it
>> 
> at
>   
>> our institute.
>>
>> but i have a little question concerning the german special
>> 
> characters
>   
>> (such as umlaute üöä). it works fine in jspui but doesnt show up
>> 
> correct
>   
>> in xmlui. must be a problem with the encoding, but i have set
tomcat
>> 
> to
>   
>> utf-8 as recommended. what was my mistake? i am using dspace 1.5.0
>> release and tomcat 6.
>> it also appears wrong encoded in the database.
>>
>> thanks for your help
>> michael
>>
>>
>>
>>
>> --
>> Dipl.- Ing. Michael Steck
>> FfE - Forschungsstelle für Energiewirtschaft e.V.
>> Am Blütenanger 71
>> 80995 München
>> Tel.: 089/158121-22
>> Fax: 089/158121-10
>> [EMAIL PROTECTED] 
>> www.ffe.de 
>> --
>>
>>
>>
>> 
>
-
>   
>> 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/

[Dspace-tech] XML inside dim:field

2008-06-03 Thread Vlastimil Krejcir
   Hi,

   I would like to know if it is possible to do transformation of XML 
elements stored in dim:field element in DRI.

   For example - I have such XML in collection's introductory_text field 
(dim:field element="description" in DRI).


test


Is it possible to access tag "something" druring XSL transformation of DRI 
document? Like



It seems to me it is not possible. Am I right?

Thanks a lot

Vlastik


-
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] Antw: RE: umlaute in dspace xmlui 1.5

2008-06-03 Thread Michael Steck
Thanks George and Sri,

i have experimented a bit but could not fix it. 
I am pretty sure it has nothing to do with the database as the problem
also occurs in text that was not in touch with the db.
i looked in web.xml (that of
dspace-xmlui\dspace-xmlui-webapp\src\main\webapp\WEB-INF\web.xml) but
the code there was already  like George suggested:



container-encoding
ISO-8859-1




form-encoding
UTF-8


i also tried newer versions from svn (1.5.0 beta1 and beta2) but
without success...

thanks so far,
michael





--
Dipl.- Ing. Michael Steck
FfE - Forschungsstelle für Energiewirtschaft e.V.
Am Blütenanger 71
80995 München
Tel.: 089/158121-22
Fax: 089/158121-10
[EMAIL PROTECTED]
www.ffe.de
--


>>> "Kasthuri, Sriram" <[EMAIL PROTECTED]> 06/03/08 11:01  >>>
Hi there,

If the database is postgresql, then the below link will help in
characterset support at Database level

http://www.postgresql.org/docs/8.1/interactive/multibyte.html 

As the form encoding is UTF-8 (presentation layer), the data storage in
the DB should also be UTF-8 encoded. I didn't try this in Dspace but in
one of my previous project we had similar situation of supporting
Japanese language where we made the DB encoding as UTF-8 and also
specified the page encoding as UTF-8 (in jsp) which resolved the issue.

This might be of help as scenario is the same.

Sri




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
George Hamilton
Sent: 03 June 2008 09:22
To: Michael Steck
Cc: dspace-tech@lists.sourceforge.net 
Subject: Re: [Dspace-tech] umlaute in dspace xmlui 1.5

Hi Michael

Try the following setup in your web.xml:


  container-encoding
  ISO-8859-1


  form-encoding
  UTF-8



George

Michael Steck wrote:
> Hi folks,
>
> at first i want to thank you for the great job you did with dspace.
i
> like it more everyday i am working with and we have plans to use it
at
> our institute.
>
> but i have a little question concerning the german special
characters
> (such as umlaute üöä). it works fine in jspui but doesnt show up
correct
> in xmlui. must be a problem with the encoding, but i have set tomcat
to
> utf-8 as recommended. what was my mistake? i am using dspace 1.5.0
> release and tomcat 6.
> it also appears wrong encoded in the database.
>
> thanks for your help
> michael
>
>
>
>
> --
> Dipl.- Ing. Michael Steck
> FfE - Forschungsstelle für Energiewirtschaft e.V.
> Am Blütenanger 71
> 80995 München
> Tel.: 089/158121-22
> Fax: 089/158121-10
> [EMAIL PROTECTED] 
> www.ffe.de 
> --
>
>
>
-
> 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 
>   


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-
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] Best Practices for Journal Articles

2008-06-03 Thread Dorothea Salo
> I think DC.Relation.isPartOf (and the inverse relation
> DC.Relation.hasPart) is a good idea, but why would you use "dumb
> string-matching"? Why not use the (handle) URI of the items? e.g. the
> DSpace item representing the issue would have dc.relation.haspart fields
> each equal to the handle of an article, and each article could have an
> ispartof field equal to the handle of the issue record.

Because we weren't wanting to have a separate record for the issue; we
just wanted to be able to group articles..

Dorothea

-- 
Dorothea Salo [EMAIL PROTECTED]
Digital Repository Librarian AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

-
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] i18n in 1.5 is not working with xmlui

2008-06-03 Thread Claudia Jürgen
Hi Jesus,

I'll try to look into it as soon as I got some time, but there might be 
others allready working on it.

Claudia


Jesus Martin schrieb:
> Thanks Claudia, do you know the future plans of including this option 
> with DSpace xmlui.
> 
> cheers
> 
> Jesús
> 
> Claudia Jürgen wrote:
>> Hi Jesus,
>>
>> not all features are available in both jspui and xmlui, the language 
>> switch only works for jspui at the moment.
>>
>> cheers
>>
>> Claudia
>>
>>
>> Jesus Martin schrieb:
>>> Hi, I've already installed DSpace 1.5 but i18n is not working with 
>>> xmlui. I've changed the value parameters of dspace.cfg as:
>>>
>>> default.locale = ca, es
>>> webui.supported.locales = ca, es
>>> default.language = ca, es
>>>
>>> xmlui.supportedLocales = ca, es
>>> xmlui.supported.locales = ca, es (I've added this later because I've 
>>> seen that the DSpaceLocaleAction.java uses this parameter instead the 
>>> first one)
>>>
>>> And I've copied the messages.xml to 
>>> .../dspace-1.5.0-src-release/dspace/modules/xmlui/src/main/webapp/i18n/messages_ca.xml
>>>  
>>> and 
>>> .../dspace-1.5.0-src-release/dspace/modules/xmlui/src/main/webapp/i18n/messages_es.xml,
>>>  
>>> and I've changed some text.
>>>
>>> Then I've done: mvn package; ant update; ant init_configs, but the 
>>> messages are not being displayed in other languages, although I've 
>>> tried http://localhost:8080/xmlui/?locale=ca or locale=es
>>> I've tried to follow the trace inside the java code to localize the 
>>> source of the problem but the i18n is done by cocoon.
>>>
>>> In the xmlui.xconf there is this Theme configuration:
>>>
>>> 
>>> 
>>> >> path="Reference/" />
>>>
>>> I haven't changed anything of themes, and the catalina.out is not 
>>> showing any error.
>>>
>>> Could you help me with this problem?
>>>
>>> Thanks in advance
>>>
>>> Jesús
>>>
>>
> 
> 

-
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] i18n in 1.5 is not working with xmlui

2008-06-03 Thread Jesus Martin
Thanks Claudia, do you know the future plans of including this option 
with DSpace xmlui.

cheers

Jesús

Claudia Jürgen wrote:
> Hi Jesus,
>
> not all features are available in both jspui and xmlui, the language 
> switch only works for jspui at the moment.
>
> cheers
>
> Claudia
>
>
> Jesus Martin schrieb:
>> Hi, I've already installed DSpace 1.5 but i18n is not working with 
>> xmlui. I've changed the value parameters of dspace.cfg as:
>>
>> default.locale = ca, es
>> webui.supported.locales = ca, es
>> default.language = ca, es
>>
>> xmlui.supportedLocales = ca, es
>> xmlui.supported.locales = ca, es (I've added this later because I've 
>> seen that the DSpaceLocaleAction.java uses this parameter instead the 
>> first one)
>>
>> And I've copied the messages.xml to 
>> .../dspace-1.5.0-src-release/dspace/modules/xmlui/src/main/webapp/i18n/messages_ca.xml
>>  
>> and 
>> .../dspace-1.5.0-src-release/dspace/modules/xmlui/src/main/webapp/i18n/messages_es.xml,
>>  
>> and I've changed some text.
>>
>> Then I've done: mvn package; ant update; ant init_configs, but the 
>> messages are not being displayed in other languages, although I've 
>> tried http://localhost:8080/xmlui/?locale=ca or locale=es
>> I've tried to follow the trace inside the java code to localize the 
>> source of the problem but the i18n is done by cocoon.
>>
>> In the xmlui.xconf there is this Theme configuration:
>>
>> 
>> 
>> > path="Reference/" />
>>
>> I haven't changed anything of themes, and the catalina.out is not 
>> showing any error.
>>
>> Could you help me with this problem?
>>
>> Thanks in advance
>>
>> Jesús
>>
>
>


-- 

..
 __
/ /  Jesús Martín García
  C E / S / C A  Tècnic en Sistemes
  /_/Centre de Supercomputació de Catalunya

  Gran Capità 2-4 (Edifici Nexus)  08034 Barcelona
  T. 93 205 6464  F.  93 205 6979  [EMAIL PROTECTED]
.. 


-
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] i18n in 1.5 is not working with xmlui

2008-06-03 Thread Claudia Jürgen
Hi Jesus,

not all features are available in both jspui and xmlui, the language 
switch only works for jspui at the moment.

cheers

Claudia


Jesus Martin schrieb:
> Hi, I've already installed DSpace 1.5 but i18n is not working with 
> xmlui. I've changed the value parameters of dspace.cfg as:
> 
> default.locale = ca, es
> webui.supported.locales = ca, es
> default.language = ca, es
> 
> xmlui.supportedLocales = ca, es
> xmlui.supported.locales = ca, es (I've added this later because I've 
> seen that the DSpaceLocaleAction.java uses this parameter instead the 
> first one)
> 
> And I've copied the messages.xml to 
> .../dspace-1.5.0-src-release/dspace/modules/xmlui/src/main/webapp/i18n/messages_ca.xml
>  
> and 
> .../dspace-1.5.0-src-release/dspace/modules/xmlui/src/main/webapp/i18n/messages_es.xml,
>  
> and I've changed some text.
> 
> Then I've done: mvn package; ant update; ant init_configs, but the 
> messages are not being displayed in other languages, although I've tried 
> http://localhost:8080/xmlui/?locale=ca or locale=es
> I've tried to follow the trace inside the java code to localize the 
> source of the problem but the i18n is done by cocoon.
> 
> In the xmlui.xconf there is this Theme configuration:
> 
> 
> 
>  path="Reference/" />
> 
> I haven't changed anything of themes, and the catalina.out is not 
> showing any error.
> 
> Could you help me with this problem?
> 
> Thanks in advance
> 
> Jesús
> 

-
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] i18n in 1.5 is not working with xmlui

2008-06-03 Thread Jesus Martin
Hi, I've already installed DSpace 1.5 but i18n is not working with 
xmlui. I've changed the value parameters of dspace.cfg as:

default.locale = ca, es
webui.supported.locales = ca, es
default.language = ca, es

xmlui.supportedLocales = ca, es
xmlui.supported.locales = ca, es (I've added this later because I've 
seen that the DSpaceLocaleAction.java uses this parameter instead the 
first one)

And I've copied the messages.xml to 
.../dspace-1.5.0-src-release/dspace/modules/xmlui/src/main/webapp/i18n/messages_ca.xml
 
and 
.../dspace-1.5.0-src-release/dspace/modules/xmlui/src/main/webapp/i18n/messages_es.xml,
 
and I've changed some text.

Then I've done: mvn package; ant update; ant init_configs, but the 
messages are not being displayed in other languages, although I've tried 
http://localhost:8080/xmlui/?locale=ca or locale=es
I've tried to follow the trace inside the java code to localize the 
source of the problem but the i18n is done by cocoon.

In the xmlui.xconf there is this Theme configuration:





I haven't changed anything of themes, and the catalina.out is not 
showing any error.

Could you help me with this problem?

Thanks in advance

Jesús

-- 

..
 __
/ /  Jesús Martín García
  C E / S / C A  Tècnic en Sistemes
  /_/Centre de Supercomputació de Catalunya

  Gran Capità 2-4 (Edifici Nexus)  08034 Barcelona
  T. 93 205 6464  F.  93 205 6979  [EMAIL PROTECTED]
.. 


-
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] umlaute in dspace xmlui 1.5

2008-06-03 Thread Kasthuri, Sriram
Hi there,

If the database is postgresql, then the below link will help in characterset 
support at Database level

http://www.postgresql.org/docs/8.1/interactive/multibyte.html

As the form encoding is UTF-8 (presentation layer), the data storage in the DB 
should also be UTF-8 encoded. I didn't try this in Dspace but in one of my 
previous project we had similar situation of supporting Japanese language where 
we made the DB encoding as UTF-8 and also specified the page encoding as UTF-8 
(in jsp) which resolved the issue.

This might be of help as scenario is the same.

Sri




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Hamilton
Sent: 03 June 2008 09:22
To: Michael Steck
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] umlaute in dspace xmlui 1.5

Hi Michael

Try the following setup in your web.xml:


  container-encoding
  ISO-8859-1


  form-encoding
  UTF-8



George

Michael Steck wrote:
> Hi folks,
>
> at first i want to thank you for the great job you did with dspace. i
> like it more everyday i am working with and we have plans to use it at
> our institute.
>
> but i have a little question concerning the german special characters
> (such as umlaute üöä). it works fine in jspui but doesnt show up correct
> in xmlui. must be a problem with the encoding, but i have set tomcat to
> utf-8 as recommended. what was my mistake? i am using dspace 1.5.0
> release and tomcat 6.
> it also appears wrong encoded in the database.
>
> thanks for your help
> michael
>
>
>
>
> --
> Dipl.- Ing. Michael Steck
> FfE - Forschungsstelle für Energiewirtschaft e.V.
> Am Blütenanger 71
> 80995 München
> Tel.: 089/158121-22
> Fax: 089/158121-10
> [EMAIL PROTECTED]
> www.ffe.de
> --
>
>
> -
> 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
>   


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-
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] umlaute in dspace xmlui 1.5

2008-06-03 Thread George Hamilton
Hi Michael

Try the following setup in your web.xml:


  container-encoding
  ISO-8859-1


  form-encoding
  UTF-8



George

Michael Steck wrote:
> Hi folks,
>
> at first i want to thank you for the great job you did with dspace. i
> like it more everyday i am working with and we have plans to use it at
> our institute.
>
> but i have a little question concerning the german special characters
> (such as umlaute üöä). it works fine in jspui but doesnt show up correct
> in xmlui. must be a problem with the encoding, but i have set tomcat to
> utf-8 as recommended. what was my mistake? i am using dspace 1.5.0
> release and tomcat 6.
> it also appears wrong encoded in the database.
>
> thanks for your help
> michael
>
>
>
>
> --
> Dipl.- Ing. Michael Steck
> FfE - Forschungsstelle für Energiewirtschaft e.V.
> Am Blütenanger 71
> 80995 München
> Tel.: 089/158121-22
> Fax: 089/158121-10
> [EMAIL PROTECTED]
> www.ffe.de
> --
>
>
> -
> 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
>   


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-
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] Best Practices for Journal Articles

2008-06-03 Thread Ina Smith


Tom
 
What works well for us is to create a separate collection for each issue (the Top-level or Sub-Community will then be the title of the journal, depending on the model you use). Each article is then submitted individually with its own metadata attached. In the end, we create an interactive index page on the Collection home page which lists the articles in that issue. See https://www.up.ac.za/dspace/handle/2263/4136 for an example.
 
Kind regards,
Ina
 

Ina Smith Digital Research Repository (UPSpace) Manager & eApplication SpecialistDepartment of Library ServicesUniversity of Pretoria
Pretoria0002South Africa
 
Tel.: +27 12 420 3082Fax: +27 12 362 5100E-mail: [EMAIL PROTECTED] http://www.library.up.ac.za  
 

 
This message and attachments are subject to a disclaimer. Please refer to www.it.up.ac.za/documentation/governance/disclaimer/ for full details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule onderhewig. Volledige besonderhede is by www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.>>> On 2008/06/02 at 10:58 PM, in message <[EMAIL PROTECTED]>, Thomas A McGee <[EMAIL PROTECTED]> wrote:
What's the best methodology for archiving individual articles within an issue of a periodical? We'd like to have the metadata be more closely tied to an individual author's work, as well as let users more easily find the section they need. But we'd also like to keep the articles tied together as part of a master entry which represents the entire issue.   _Tom McGeeSeton Hall University TLTC973 761 9000 x5021-
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