Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

using Protege as an applet

Posted on 2006-06-12
6
Medium Priority
?
412 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 92

Expert Comment

by:objects
ID: 16891203
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:
Mayank S earned 2000 total points
ID: 16892696
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 2000 total points
ID: 16892702
>> 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
ID: 17055500
> 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:Mayank S
ID: 17079292
Why?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

636 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