and Protege is failing to check various system properties. Looks like
Clearly all of Jess, JessTab and Protege are loaded and running. If
i.e., from the network. If it does, then use a URL instead of a
filename to load the project. If it doesn't, well, then it doesn't,
USE ALL THIS STUFF IN AN APPLET, which is the advice we gave earlier.
application -- even as a Java Web Start application. But IMO an applet
> Hello
> I apologize, maybe I was not precise enough in my first message: the
> version of protege that I use is protege3.1.1 the JessTab12 and
> Jess70p2.
> when I run my applet in HTML,the applet is loaded but with an empty
> combobox and I get the following exceptions
>
> Jess reported an error in routine import
> while executing (import java.lang.Boolean).
> Message: Error during execution.
> Program text: ( import java.lang.Boolean ) at line 88.
> at jess.Funcall.execute(Unknown Source)
> at jess.Jesp.a(Unknown Source)
> at jess.Jesp.parseExpression(Unknown Source)
> at jess.Jesp.promptAndParseOneExpression(Unknown
> Source)
> at jess.Jesp.parse(Unknown Source)
> at jess.Batch.batch(Unknown Source)
> at jess.Batch.batch(Unknown Source)
> at jess.Batch.batch(Unknown Source)
> at jess.Rete.batch(Unknown Source)
> at jess.Rete.goto(Unknown Source)
> at jess.Rete.<init>(Unknown Source)
> at jess.Rete.<init>(Unknown Source)
> at jess.Rete.<init>(Unknown Source)
> at app.init(app.java:29)
> at sun.applet.AppletPanel.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.security.AccessControlException: access denied
> (java.lang.reflect.ReflectPermission suppressAccessChecks)
> at
> java.security.AccessControlContext.checkPermission(Unknown Source)
> at
> java.security.AccessController.checkPermission(Unknown Source)
> at java.lang.SecurityManager.checkPermission(Unknown
> Source)
> at
> java.lang.reflect.AccessibleObject.setAccessible(Unknown Source)
> at jess.bg.<init>(Unknown Source)
> at jess.ap.<init>(Unknown Source)
> at jess.am.a(Unknown Source)
> at jess.am.a(Unknown Source)
> at jess.dd.new(Unknown Source)
> at jess.Rete.importClass(Unknown Source)
> at jess.di.call(Unknown Source)
> at jess.ab.a(Unknown Source)
> ... 16 more
> JGoodies Looks: Can't read the System property netbeans.buildnumber.
> JGoodies Looks: Can't read the System property Plastic.tabStyle.
> JGoodies Looks: Can't read the System property
> Plastic.highContrastFocus.
> JGoodies Looks: Can't read the System property Plastic.defaultTheme.
> 4 mai 2008 19:18:29 edu.stanford.smi.protege.plugin.PluginUtilities
> findPluginsDirectory
> WARNING: Application directory not specified
> 4 mai 2008 19:18:30 edu.stanford.smi.protege.resource.BundleHelper
> <init>
> WARNING: missing bundle: protege_text
> JessTab: Note that the PAL engine is not currently installed in
> Protege.
> (The JessTab PAL-integration functions are not available.)
> 4 mai 2008 19:18:31 edu.stanford.smi.protege.util.URIUtilities
> createURIFromFileString
> SEVERE: java.security.AccessControlException: access denied
> (java.util.PropertyPermission user.dir read)
> at
> java.security.AccessControlContext.checkPermission(Unknown Source)
> at
> java.security.AccessController.checkPermission(Unknown Source)
> at java.lang.SecurityManager.checkPermission(Unknown
> Source)
> at
> java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
> at java.lang.System.getProperty(Unknown Source)
> at java.io.Win32FileSystem.getUserPath(Unknown Source)
> at java.io.Win32FileSystem.resolve(Unknown Source)
> at java.io.File.getAbsolutePath(Unknown Source)
> at java.io.File.getAbsoluteFile(Unknown Source)
> at java.io.File.toURI(Unknown Source)
> at
> edu
> .stanford
> .smi.protege.util.URIUtilities.createURIFromFileString(Unknown Source)
> at
> edu.stanford.smi.protege.util.URIUtilities.createURI(Unknown Source)
> at
> edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
> at
> JessTab.ProtegeLoadProject.call(JessTabFunctions.java:2985)
> at jess.ab.a(Unknown Source)
> at jess.Funcall.execute(Unknown Source)
> at jess.Jesp.a(Unknown Source)
> at jess.Jesp.parseExpression(Unknown Source)
> at jess.Jesp.promptAndParseOneExpression(Unknown
> Source)
> at jess.Jesp.parse(Unknown Source)
> at jess.Rete.eval(Unknown Source)
> at jess.Rete.executeCommand(Unknown Source)
> at app.init(app.java:31)
> at sun.applet.AppletPanel.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
> Jess reported an error in routine mapclass
> while executing (mapclass person).
> Message: Protege class not found: person.
> Program text: ( mapclass person ) at line 4.
> at
> JessTab.JessTabFunctions.valueToCls(JessTabFunctions.java:543)
> at JessTab.ProtegeMapClass.call(JessTabFunctions.java:
> 1523)
> at jess.ab.a(Unknown Source)
> at jess.Funcall.execute(Unknown Source)
> at jess.Jesp.a(Unknown Source)
> at jess.Jesp.parseExpression(Unknown Source)
> at jess.Jesp.promptAndParseOneExpression(Unknown
> Source)
> at jess.Jesp.parse(Unknown Source)
> at jess.Batch.batch(Unknown Source)
> at jess.Batch.batch(Unknown Source)
> at jess.Batch.batch(Unknown Source)
> at jess.Rete.batch(Unknown Source)
> at app.init(app.java:32)
> at sun.applet.AppletPanel.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> JGoodies Looks: Can't read the System property ClearLook.mode.
> JGoodies Looks: Can't read the System property ClearLook.policy.
>
> thank you in advance
>
> Ernest Friedman-Hill wrote:
>>
>>
>> On May 4, 2008, at 11:27 AM, Daniella Touvet wrote:
>>
>>> While viewing the applet with Eclipse, it works without problem. But
>>> when I
>>> try to include it in an HTML page using the code below, it does not
>>
>>
>> Well, presumably the "does not work" takes the form of an exception,
>> and so your browser's "Java Console" should be showing some kind of a
>> stack trace. That will tell you (or us) where things are going wrong.
>> The stack trace should make it clear to you; perhaps there are more
>> jar files you need to include, so you'll see ClassNotFoundExceptions.
>> If you can't tell from the stack trace, though, then most likely
>> someone here would be able to, so please paste that into a message
>> and
>> send it along.
>>
>>
>>
>> ---------------------------------------------------------
>> Ernest Friedman-Hill
>> Informatics & Decision Sciences Phone: (925) 294-2154
>> Sandia National Labs FAX: (925) 294-2234
>> PO Box 969, MS 9012
ejfried@...
>> Livermore, CA 94550
http://www.jessrules.com>>
>>
>>
>>
>> --------------------------------------------------------------------
>> To unsubscribe, send the words 'unsubscribe jess-users
you@...
>> '
>> in the BODY of a message to
majordomo@..., NOT to the list
>> (use your own address!) List problems? Notify
owner-jess-users@...
>> .
>> --------------------------------------------------------------------
>>
>>
>>
> Quoted from:
>
http://www.nabble.com/JESS%2CProtege%2CApplet-%3A-Help-me-please-tp17047693p17047955.html>
>