[Dspace-tech] Build Failed : sun.misc cannot be resolved

2007-11-07 Thread pavan krishnamurthy
Hi,
I was trying to install dspace. When i try to do ant fresh_install; i
get so many warnings plus two errors saying

1)The import sun.misc cannot be resolved
2)BASE64Encoder cannot be resolved to a type

can anyone please point me how to resolve this. I checked in archive
list if i could find any solution but i dont know why search server is
not working , the operation gets timed out.

and also should i try to resolve all th warnings, or is it okay if we
ignore the warnings.

i am using dspace - 1.4.2 .

error report:

BUILD FAILED
/home/pavan/dspace-1.4.2-source/build.xml:125:

Thanks
Pavan

-
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 1.5 Test-a-thon

2007-11-07 Thread Scott Phillips
Everyone,

This is a reminder that we're having a test-a-thon today. Several bugs
have already been submitted, hopefully we'll get some more. There are
many changes in this next release of DSpace, the more eyes that we
have looking at the platform the more likely we will iron out the bugs
before release. Plus right now is a good time to learn about the new
features that will be available in 1.5!

Resources available:

Public 1.5 site for testing:
http://sword.aber.ac.uk/dspace15/

Testathon wiki page:
http://wiki.dspace.org/index.php/Testathon

IRC Channel
freenode.net, channel #dspace

Scott--

On Nov 2, 2007 3:34 PM, Scott Phillips [EMAIL PROTECTED] wrote:
 I propose that we have our first DSpace 1.5 test-a-thon next week on
 November 7th. The event would continue all day, across all time zones.
 The basic idea is that this day is set aside for people to test the
 release, identify bugs and make sure bug reports are open for each
 defect. Once they are identified developers will have a list of issues
 to create patches for.

 Please help the DSpace community by downloading and testing 1.5 alpha
 1 from SourceForge (http://sourceforge.net/projects/dspace/). I hope
 that several members from the community will be available on IRC to
 help answer questions and aid in identifying bugs.

 If anyone is able to provide a test instance of DSpace that would be
 greatly appreciated so that not everyone would need to download and
 install DSpace. However one of the major changes in this release is
 the build system, so it would be helpful to have as many people as
 possible download DSpace and try to preform an installation.

 Thanks to all those who have contributed to the release and provided patches.

 Scott--


-
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] Encoding URLs in Manakin

2007-11-07 Thread Dorothea Salo
Hi, all,

If I can divert a tiny bit of attention from the testathon... I'm
trying to make author names on item-display pages clickable. The URL
pattern for this is browse-author-items?author= plus the author's
URL-encoded name -- which is the problem, as there doesn't seem to be
any easy XSLT way to get URL encoding for a string.

Ideas? Or should I not worry about the encoding and just let the browser worry?

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: 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] Build Failed : sun.misc cannot be resolved

2007-11-07 Thread Graham Triggs
pavan krishnamurthy wrote:
 Hi,
 I was trying to install dspace. When i try to do ant fresh_install; i
 get so many warnings plus two errors saying

 1)The import sun.misc cannot be resolved
 2)BASE64Encoder cannot be resolved to a type
   

The sun.* packages are part of the Sun JDK. They shouldn't really be 
used directly, but currently they are.

I could point you to a way to not have that dependency, but it would 
ultimately be a rather futile gesture. Because if you are getting this 
as an error (and not a warning), then it means you aren't using and Sun 
JDK - and that most likely means that you are using the GNU Java 
compiler. And that just isn't going to work.

So the simple answer is install and use a Sun JDK. Which flavour OS are 
you using? rpm-based distros are readily provided for by Sun, and 
deb-based distros more than likely have the JDK available in the 
repository (for Debian itself, it's in the non-free repo).

G

-
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] Encoding URLs in Manakin

2007-11-07 Thread Graham Triggs
Dorothea Salo wrote:
 Hi, all,

 If I can divert a tiny bit of attention from the testathon... I'm
 trying to make author names on item-display pages clickable. The URL
 pattern for this is browse-author-items?author= plus the author's
 URL-encoded name -- which is the problem, as there doesn't seem to be
 any easy XSLT way to get URL encoding for a string.

 Ideas? Or should I not worry about the encoding and just let the browser 
 worry?

 Dorothea

   

Hmmm... actually it appears there is an easy way if you are using xslt 2 
- but you are probably working with Xalan and won't be.

Don't know what the practicalities are of switching to use Saxon-B 9, 
that could be a possibility.

However, you appear to be using a rather young Manakin - with the browse 
code that's been merged into 1.5, those urls no longer exist. It's now 
something like browse?type=authorvalue=

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


-
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] Encoding URLs in Manakin

2007-11-07 Thread Scott Phillips

I can add two things,first to reiterate graham point and then to add  
we're not by default using xstl 2.0 in manakin, just to keep things  
simpiler. However if your theme needs 2.0 it is not hard to add it. We  
should probably create the cocoon definition for it and include the  
library as a dependency so that the only change would be inside you  
theme to say which transformer to us: the default or 2.0.

There might be some performace issues as cocoon is useing some special  
hooks into xalan for efficiency.

Scott--

On Nov 7, 2007, at 3:32 PM, Graham Triggs [EMAIL PROTECTED]  
wrote:

 Dorothea Salo wrote:
 Hi, all,

 If I can divert a tiny bit of attention from the testathon... I'm
 trying to make author names on item-display pages clickable. The URL
 pattern for this is browse-author-items?author= plus the author's
 URL-encoded name -- which is the problem, as there doesn't seem to be
 any easy XSLT way to get URL encoding for a string.

 Ideas? Or should I not worry about the encoding and just let the  
 browser worry?

 Dorothea



 Hmmm... actually it appears there is an easy way if you are using  
 xslt 2
 - but you are probably working with Xalan and won't be.

 Don't know what the practicalities are of switching to use Saxon-B 9,
 that could be a possibility.

 However, you appear to be using a rather young Manakin - with the  
 browse
 code that's been merged into 1.5, those urls no longer exist. It's now
 something like browse?type=authorvalue=

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


 --- 
 --
 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] MS - IIS webserver

2007-11-07 Thread Stuart Lewis [sdl]
Hi John,

 Hello, I¹ve been looking for some information regarding the use of MS-IIS web
 server with Dspace but without much luck I¹m afraid.
 We are looking at the possibility of using Dspace and our IT department would
 like to know if we can use MS­IIS.
 If you are using it, would it be possible for you to tell me on which
 platform? Will it only run from a windows machine?

DSpace is a Java web application, so must be run through a Java Web
Application Server. The two most commonly used are Tomcat or Jetty.

IIS is not a Java web application server, so can not natively run DSpace.

Tomcat will run fine on Windows, so you can just use that if you want. A
large percentage run it on unix machines, but there are plenty who use
Windows.

If you want to run DSpace along with other applications (in IIS) on the same
server, this should be possible by running Tomcat and IIS together. You can
set up an ISAPI filter to forward certain paths (e.g. /dspace/) to Tomcat in
the same way that mod_jk works with Apache.

I hope this helps,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

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


-
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] Email SSL trouble

2007-11-07 Thread Christian Voelker

Am 06.11.2007 um 20:17 schrieb Douglas Ramiro:

 Hello Everybody. I'm in trouble with emails. I configured my dspace  
 with a smtp server that dont use SSL. It works fine. But at my  
 institute, the email server use SSL and dspace dont send email.  
 What can I do?

Hello,

I cant see how this makes any trouble. As I understand it,
smtp servers dont communicate over TLS between each other
but provide this method only for sending from the MUA to
protect your credentials in case you have to authenticate
to the server. If emails dont come through, you have to
finde out where they stop: Do they get filtered as spam
on your receiving server? Do they really get sent. e.g.
if you log in with a different user that has an address
from a freemail provider - you can create an account and
read and send by webmail for testing purposes. Or you can
check the logs of the smtp server dspace uses to find out
what kind of problem it registers while sending or take
a look into the queues to see if the mail is still there.

Bye, Christian


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


Re: [Dspace-tech] Encoding URLs in Manakin

2007-11-07 Thread Conal Tuohy
Dorothea, as others have mentioned, you can either use Saxon as your
XPath processor (which implements XSLT 2 and therefore includes the
XPath function fn:escape-html-uri

http://www.w3.org/TR/xpath-functions/#func-escape-html-uri

To do this, you need to configure Saxon as an XSLT processor in the
Cocoon sitemap used by your Manakin theme.

Alternatively, you can add this escaping as a separate pipeline stage in
your theme, using Cocoon's EncodeURLTransformer:

http://cocoon.apache.org/2.1/userdocs/encodeurl-transformer.html

With this approach, your XSLT emits un-escaped URLs, and is followed by
an encodeURL pipeline stage which escapes the URLs, prior to sending
to the browser.

Cheers

Con

On Wed, 2007-11-07 at 15:16 -0600, Dorothea Salo wrote:
 Hi, all,
 
 If I can divert a tiny bit of attention from the testathon... I'm
 trying to make author names on item-display pages clickable. The URL
 pattern for this is browse-author-items?author= plus the author's
 URL-encoded name -- which is the problem, as there doesn't seem to be
 any easy XSLT way to get URL encoding for a string.
 
 Ideas? Or should I not worry about the encoding and just let the browser 
 worry?
 
 Dorothea
 
-- 
Conal Tuohy
New Zealand Electronic Text Centre
www.nzetc.org


-
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