[OpenAFS] Error while running JAFS
Shaji Kalidasan
shajiindia@yahoo.com
Thu, 24 Nov 2005 07:21:15 -0800 (PST)
--0-243520042-1132845675=:42766
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi,
I downloaded the Java classes from the location where you directed, then I compiled the Java files and when I tried to run the testAFS.java it reports the following error.
D:\workspace\jafs>java testAFS me@something.com password servername 10
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jafs in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.openafs.jafs.AFSLibraryLoader.<clinit>(Token.java:455)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.openafs.jafs.Token.<clinit>(Token.java:111)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at testAFS.main(testAFS.java:635)
I first ran this in my windows machine (Windows 2000 Professional), even though the target machine is Linux. What settings do I need to do prior to running this application or what is the pre-requisite for running this test program on both environments or Do I need to include any other libraries?
As I am new to AFS, I need your valuable help in figuring this out. Please guide me where I am going wrong.
Thank you,
Shaji
Peter Somogyi <psomogyi@gamax.hu> wrote: Hi,
On Tuesday 22 November 2005 18.01, Shaji Kalidasan wrote:
> Hi,
>
> I am in the process of developing a J2EE web based AFS ID password reset
> tool for my organization, currently we have it working with PHP & Perl.
>
> I am looking for any implementation of Java API for AFS, I searched the
> internet but I could not find one.
JAFS is in openafs-1.4.1/src/JAVA.
Please read earlier discussions in the mail archives.
Peter
_______________________________________________
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
--0-243520042-1132845675=:42766
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<div id="RTEContent"><font face="sans-serif" size="2">Hi,<br> <br> I downloaded the Java classes from the location where you directed, then I compiled the Java files and when I tried to run the testAFS.java it reports the following error. <br> <br> </font> <table border="3"> <tbody><tr valign="top"> <td bgcolor="#c0c0c0"><font face="sans-serif" size="2">D:\workspace\jafs><b>java testAFS me@something.com password servername 10</b></font> <br><font face="sans-serif" size="2">Exception in thread "main" java.lang.UnsatisfiedLinkError: no jafs in java.library.path</font> <br><font face="sans-serif" size="2"> at java.lang.ClassLoader.loadLibrary(Unknown Source)</font> <br><font face="sans-serif" size="2"> at java.lang.Runtime.loadLibrary0(Unknown Source)</font> <br><font face="sans-serif" size="2"> at java.lang.System.loadLibrary(Unknown Source)</font> <br><font face="sans-serif"
size="2"> at org.openafs.jafs.AFSLibraryLoader.<clinit>(Token.java:455)</font> <br><font face="sans-serif" size="2"> at java.lang.Class.forName0(Native Method)</font> <br><font face="sans-serif" size="2"> at java.lang.Class.forName(Unknown Source)</font> <br><font face="sans-serif" size="2"> at org.openafs.jafs.Token.<clinit>(Token.java:111)</font> <br><font face="sans-serif" size="2"> at java.lang.Class.forName0(Native Method)</font> <br><font face="sans-serif" size="2"> at java.lang.Class.forName(Unknown Source)</font> <br><font face="sans-serif" size="2"> at testAFS.main(testAFS.java:635)</font></td></tr></tbody> </table> <br> <font face="sans-serif" size="2">I first ran this in my windows machine (Windows 2000 Professional), even though the target machine is
Linux. What settings do I need to do prior to running this application or what is the pre-requisite for running this test program on both environments or</font> Do I need to include any other libraries?<br> <br> <font face="sans-serif" size="2">As I am new to AFS, I need your valuable help in figuring this out. Please guide me where I am going wrong.</font><br><br> Thank you,<br> Shaji<br> <br><b><i>Peter Somogyi <psomogyi@gamax.hu></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi,<br><br>On Tuesday 22 November 2005 18.01, Shaji Kalidasan wrote:<br>> Hi,<br>><br>> I am in the process of developing a J2EE web based AFS ID password reset<br>> tool for my organization, currently we have it working with PHP & Perl.<br>><br>> I am looking for any implementation of Java API for AFS, I searched the<br>> internet but I could not find one.<br><br>JAFS is in
openafs-1.4.1/src/JAVA.<br>Please read earlier discussions in the mail archives.<br><br>Peter<br><br>_______________________________________________<br>OpenAFS-info mailing list<br>OpenAFS-info@openafs.org<br>https://lists.openafs.org/mailman/listinfo/openafs-info<br></blockquote><br></div><p>
<hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited - Access over 1 million songs. Try it free.</a>
--0-243520042-1132845675=:42766--