Hi Zoran, All, I think that the problem in your case is that the KIM Server throughs an exception which the client can receive. Java RMI client applications need to have an explicitly defined security manager in order to deserialize some "security risk" objects like server exceptions. You can find tips how to define it on the web - http://www.comp.lancs.ac.uk/~weerasin/csc253/tutorials/week8.html - or in some forums http://www.google.bg/search?q=no+security+manager%3A+RMI+class+loader+disabled.
Even without the security manager, you should be able to find the exception in KIM's logs in KIM/log/All.txt Please send it to us - of course KIM is not supposed to throw exceptions while annotating _some_ documents. In the mean time, Danko will test the 3 wiki pages that you sent us. Thank you for the input, Marin Nozhchev Zoran Jeremic wrote: > Hi Danko, > > Thank you for quick answer. > > >1) Are you using the KIM server as a component in a GATE application. > > No, I have developed my java rmi client that uses KIM server to > annotate web page (similar as describe in > http://www.ontotext.com/kim/doc/sys-doc/AnnotateDocumentsAndTextsExamples.html) > > >2) Can you send the web pages (or their URLs) that cause this exception > > Each time the error is caused by these 3 web pages: > > http://en.wikipedia.org/wiki/1994 > http://en.wikipedia.org/wiki/OOPSLA > http://en.wikipedia.org/wiki/Object-oriented > > When application passes these pages it continues annotation of the > rest pages without problems. > > Here are some pages from the same repository that does not make problems: > http://en.wikipedia.org/wiki/Object_composition > http://en.wikipedia.org/wiki/Inheritance_(computer_science > <http://en.wikipedia.org/wiki/Inheritance_%28computer_science>) > http://en.wikipedia.org/wiki/Interface_(computer_science > <http://en.wikipedia.org/wiki/Interface_%28computer_science>) > http://en.wikipedia.org/wiki/Smalltalk > http://en.wikipedia.org/wiki/Jolt_Award > http://en.wikipedia.org/wiki/October_21 > > All best, > Zoran > > --- On *Fri, 9/5/08, DanKo /<[EMAIL PROTECTED]>/* wrote: > > From: DanKo <[EMAIL PROTECTED]> > Subject: Re: [KIM-discussion] no security manager: RMI class > loader disabled -ERROR > To: [EMAIL PROTECTED], [email protected] > Date: Friday, September 5, 2008, 12:52 PM > > Hi Zoran, > > I am glad to hear from you again ! > > I need some additional information about the way you run things - > to help you best. > > 1) Are you using the KIM server as a component in a GATE application. > 2) Can you send the web pages (or their URLs) that cause this > exception > > Greetings! > DanKo, > senior developer - KIM Platform > > > ----- Original Message ----- > *From:* Zoran Jeremic <mailto:[EMAIL PROTECTED]> > *To:* [email protected] > <mailto:[email protected]> > *Sent:* Friday, September 05, 2008 9:25 PM > *Subject:* [KIM-discussion] no security manager: RMI class > loader disabled -ERROR > > Hi, > > I have the error: "Error: > Exception:gate.creole.ExecutionException (no security manager: > RMI class loader disabled)" when trying to annotate a web > repository that contains more than 15 pages. Pages are > annotated one by one, and the error is happen few pages before > the end of annotation of the last one (i.e. it annotates > majority of the pages without problems). It happens each time > when I annotate one specific web repository. However, it does > not happen on the another repository which passes the whole > process each time, regardless the number of pages it annotates. > > I have setup java.policy like in both jdk and jre > permission java.net.SocketPermission "*:1024-", > "listen,connect,accept"; > > I'm using Windows XP Pro, Java 1.6, and Tomcat 6 > > Here is the error trace: > > Error: Exception:gate.creole.ExecutionException (no security > manager: RMI class loader disabled) > java.lang.reflect.UndeclaredThrowableException > at $Proxy3.execute(Unknown Source) > at > > depths.moodle.annotation.utility.AnnotationFacility.annotateWebResource(AnnotationFacility.java:203) > at > > depths.moodle.annotation.utility.AnnotationFacility.annotateOnlineRepository(AnnotationFacility.java:87) > at > > depths.moodle.annotation.utility.SearchCrawler$1.run(SearchCrawler.java:114) > at java.lang.Thread.run(Unknown Source) > Caused by: java.lang.ClassNotFoundException: > gate.creole.ExecutionException (no security manager: RMI class > loader disabled) > at sun.rmi.server.LoaderHandler.loadClass(Unknown Source) > at sun.rmi.server.LoaderHandler.loadClass(Unknown Source) > at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source) > at java.rmi.server.RMIClassLoader.loadClass(Unknown Source) > at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source) > at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) > at java.io.ObjectInputStream.readClassDesc(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.defaultReadFields(Unknown Source) > at java.io.ObjectInputStream.readSerialData(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.defaultReadFields(Unknown Source) > at java.io.ObjectInputStream.readSerialData(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.defaultReadFields(Unknown Source) > at java.io.ObjectInputStream.readSerialData(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.readObject(Unknown Source) > at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) > at sun.rmi.server.UnicastRef.invoke(Unknown Source) > at > org.openrdf.util.rmirouting.ChannelIfaceImpl_Stub.invoke(Unknown > Source) > at > > org.openrdf.util.rmirouting.ChannelIfaceInvocation.invoke(ChannelIfaceInvocation.java:134) > at > > org.openrdf.util.rmirouting.ChannelIfaceInvocation.invoke(ChannelIfaceInvocation.java:249) > ... 5 more > > Do you have some ideas how to solve this? > > Thanks, > > Zoran > > > > ------------------------------------------------------------------------ > _______________________________________________ > NOTE: Please REPLY TO ALL to ensure that your reply reaches > all members of this mailing list. > > KIM-discussion mailing list > [email protected] > http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com > > > > __________ NOD32 3419 (20080905) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of > this mailing list. > > KIM-discussion mailing list > [email protected] > http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com > _______________________________________________ NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list. KIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com
