Solved

using Protege as an applet

Posted on 2006-06-12
6
367 Views
Last Modified: 2012-06-21
I'm trying to run Protege (http://protege.stanford.edu/) as an applet. However, when I configure it to use the DB it gives me this stack trace. Do I need to sign the applet or something? This applet will only be used internally at our company, so it's acceptable if we have to do something on each user's machine, but it'd obviously be preferable if we could do it on the server side.

java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.net.wallet_location 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 oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:1427)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.jdbc.driver.OracleDriver.getSystemProperty(OracleDriver.java:1423)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:596)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at edu.stanford.smi.protege.storage.database.RobustConnection.setupConnection(Unknown Source)
    at edu.stanford.smi.protege.storage.database.RobustConnection.<init>(Unknown Source)
    at edu.stanford.smi.protege.storage.database.DatabaseFrameDb.<init>(Unknown Source)
    at edu.stanford.smi.protege.storage.database.DatabaseKnowledgeBaseFactory.addFrameStore(Unknown Source)
    at edu.stanford.smi.protege.storage.database.DatabaseKnowledgeBaseFactory.loadKnowledgeBase(Unknown Source)
    at edu.stanford.smi.protege.storage.database.DatabaseKnowledgeBaseFactory.loadKnowledgeBase(Unknown Source)
    at edu.stanford.smi.protege.model.Project.loadDomainKB(Unknown Source)
    at edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Unknown Source)
    at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
    at edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
    at edu.stanford.smi.protege.model.Project.loadProjectFromURI(Unknown Source)
    at edu.stanford.smi.protege.ui.ProjectManager.loadProjectFromURI(Unknown Source)
    at edu.stanford.smi.protege.ui.ProjectManager.loadProject(Unknown Source)
    at edu.stanford.smi.protege.Application.init(Unknown Source)
    at edu.stanford.smi.protege.Application.realmain(Unknown Source)
    at edu.stanford.smi.protege.Application$3.run(Unknown Source)
0
Comment
Question by:HappyEngineer
  • 3
  • 2
6 Comments
 
LVL 92

Expert Comment

by:objects
Comment Utility
yes, it needs signing. Or changing the security policy file on each box that needs to use it.
Signing would be the easiest though.
0
 
LVL 30

Accepted Solution

by:
mayankeagle earned 500 total points
Comment Utility
0
 
LVL 30

Assisted Solution

by:mayankeagle
mayankeagle earned 500 total points
Comment Utility
>> Signing would be the easiest though

Yes, security policy file is not a good approach because it will give permissions to all applets which is not advisable ;-) as its a security-threat.
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
> Yes, security policy file is not a good approach because it will give permissions to all applets which is not advisable ;-) as its a security-threat.

thats actually incorrect :)
0
 
LVL 30

Expert Comment

by:mayankeagle
Comment Utility
Why?
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now