Hi Paul, > AFSException: Error Code: 180500; Message: error reading cell database > ** Can't determine local cell name! > Exception in thread "main" AFSException: Error Code: 180500; Message: error > reading cell database
This means: - please check your libjafs compilation: make sure about the need of --disable/enable-transarc-paths, depending on your running openafs client (as src/JAVA/libjafs/README says, too) By the way, your java source code is OK. Peter On Monday 21 November 2005 10.49, Manfred Paul wrote: > Hi, > > i have a problem with the JAFS stuff. On the one hand is the > java doc from the source code, but this did not work as it should. > On the other hand is the wiki http://grand.central.org/twiki-downtime.html > which is down since september. Is anybody able to give me some information > about the java implemantation of openafs and how to get it work in my > application. (only a java based gui, that holds tokens, request these ect.) > It sould be like the Windows one (only a part of it). > > It there any way to get this working? > > A simple program, that sould only generate a Token Object > > import org.openafs.jafs.Cell; > import org.openafs.jafs.AFSException; > import org.openafs.jafs.Server; > import org.openafs.jafs.Token; > import org.openafs.jafs.User; > > public class AFSTokens > { > > private static Cell cell; > private static Token token; > > public static void main(String[] args) throws Exception > { > > token = new Token("myUsername", "myPassword", "myCell"); > cell = new Cell(token); > } > > } > > > exits with this error message: > > AFSException: Error Code: 180500; Message: error reading cell database > ** Can't determine local cell name! > Exception in thread "main" AFSException: Error Code: 180500; Message: error > reading cell database > > It was called: > > java -cp .:/home/manfred/Build/openafs-1.4.0/src/JAVA/libjafs/jafs.jar > -Djava.library.path=/home/manfred/Build/openafs-1.4.0/lib AFSTokens > > bye manne > > ------------------------------------------------------- > _______________________________________________ > OpenAFS-info mailing list > [email protected] > https://lists.openafs.org/mailman/listinfo/openafs-info -- Peter Somogyi Software Developer, Gamax Ltd. 1114 Budapest, Bartok B. u 15/d Tel.: +36-1-381-0544 e-mail: [EMAIL PROTECTED] _______________________________________________ OpenAFS-info mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-info
