[Netarchivesuite-users] Netarchive Suite on Solaris (now with attachment)

Søren Vejrup Carlsen svc at kb.dk
Fri Apr 4 14:59:59 CEST 2008


Hi Martin.
The reason for this is, that the getBytesFree method uses an OS dependent method.
On linux we use "df", and on windows, we use "dir" 

Recently, a patch for running on Mac Os has been submitted, which is used by the Scottish National Library:
https://gforge.statsbiblioteket.dk/tracker/index.php?func=detail&aid=1235&group_id=7&atid=107

I know, that "df" is available on Solaris, so it should be fairly easy to port it to Solaris, just as it was to MacOS.
However, we don't have any Solaris platforms to test it on.

The additions needed is isolated to one file (The dk.netarkivet.common.utils.FileUtils class) , which I have attached to this mail.

I hope this helps.

BTW, I think migrating to Java SE 6 will eliminate this issue, but we are not ready to that just yet.

Regards 
Søren Vejrup Carlsen
NetarchiveSuite developer (at Royal Library, Denmark)


> -----Original Message-----
> From: netarchivesuite-users-bounces at lists.gforge.statsbiblioteket.dk
> [mailto:netarchivesuite-users-bounces at lists.gforge.statsbiblio
> teket.dk]O
> n Behalf Of Martin Bella
> Sent: Friday, April 04, 2008 2:18 PM
> To: netarchivesuite-users at lists.gforge.statsbiblioteket.dk
> Subject: [Netarchivesuite-users] Netarchive Suite on Solaris
> 
> 
> Hi,
> 
> in University Library in Bratislava we have good experience 
> with running 
> Netarchive Suite (version 3.4.1) on Linux. Recently we switched to 
> different hardware with Solaris 10 and the BitarchiveServer and 
> HarvestControllerServer application returns:
> 
> ...
> dk.netarkivet.common.exceptions.NotImplementedException: 
> getBytesFree not 
> implemented  for operating system 'SunOS'.
> ...
> 
> Is there any way how to get it up and running on Solaris or 
> is there a 
> plan for future support?
> Thanks,
> 
> Martin Bella
> University Library in Bratislava
> _______________________________________________
> NetarchiveSuite-users mailing list
> NetarchiveSuite-users at lists.gforge.statsbiblioteket.dk
> https://lists.gforge.statsbiblioteket.dk/mailman/listinfo/neta
rchivesuite-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileUtils.java
Type: application/octet-stream
Size: 43723 bytes
Desc: FileUtils.java
URL: <http://ml.sbforge.org/pipermail/netarchivesuite-users/attachments/20080404/4f8bbd04/attachment-0002.obj>


More information about the NetarchiveSuite-users mailing list