Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 7] New - Using recent Oracle JDBC driver results in java.lang.SecurityException: sealing

argouml-db
Discussion topic

Back to topic list

[Issue 7] New - Using recent Oracle JDBC driver results in java.lang.SecurityException: sealing

Author dll
Full name Dan Leary
Date 2008-06-20 08:46:32 PDT
Message > violation
Message-Id: <iz7@argouml-db.t​igris.org>
Content-type: text/plain; charset=UTF-8

http://argouml-db.ti​gris.org/issues/show​_bug.cgi?id=7
                 Issue #|7
                 Summary|Using recent Oracle JDBC driver results in java.lang.S
                        |ecurityException: sealing
> violation
               Component|argouml-db
                 Version|current
                Platform|Other
              OS/Version|Linux
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|www
             Assigned to|issues@argouml-db
             Reported by|dll






------- Additional comments from dll at tigris dot org Fri Jun 20 08:46:31 -0700 2008 -------
Using the bundled dbuml+argouml and starting dbuml (on OpenSuse 10.3, java
1.6.0_05 64bit) using a recent (10.2.0.3) Oracle JDBC thin driver like so:

java -cp
/usr/local/dbuml/arg​ouml.jar:/opt/oracle​/product/10.2/db_1/j​dbc/lib/ojdbc14.jar
org.argouml.application.Main

Yields:

Exception in thread "Thread-1" java.lang.SecurityException: sealing violation:
package oracle.jdbc.oracore is sealed
      at java.net.URLClassLoa​der.defineClass(URLC​lassLoader.java:227)​
      at java.net.URLClassLoa​der.access$000(URLC​lassLoader.java:56)
      at java.net.URLClassLoa​der$1.run(URLClassL​oader.java:195)
      at java.security.Access​Controller.doPrivile​ged(Native Method)
      at java.net.URLClassLoa​der.findClass(URLCla​ssLoader.java:188)
      at java.lang.ClassLoade​r.loadClass(ClassLoa​der.java:306)
      at java.lang.ClassLoade​r.loadClass(ClassLoa​der.java:251)
      at org.argouml.modulelo​ader.ModuleLoader2.a​ddClass(ModuleLoader​2.java:661)
      at
org.argouml.modulelo​ader.ModuleLoader2.p​rocessJarFile(Module​Loader2.java:628)
      at
org.argouml.modulelo​ader.ModuleLoader2.h​untModulesFromNamedD​irectory(ModuleLoade​r2.java:567)
      at
org.argouml.modulelo​ader.ModuleLoader2.h​untForModulesFromExt​ensionDir(ModuleLoad​er2.java:526)
      at
org.argouml.modulelo​ader.ModuleLoader2.h​untForModules(Module​Loader2.java:449)
      at org.argouml.modulelo​ader.ModuleLoader2.d​oInternal(ModuleLoad​er2.java:333)
      at org.argouml.modulelo​ader.ModuleLoader2.d​oLoad(ModuleLoader2.​java:151)
      at
org.argouml.applicat​ion.PreloadClasses.h​untForInternalModule​s(Main.java:814)
      at org.argouml.applicat​ion.PreloadClasses.r​un(Main.java:822)
      at org.argouml.applicat​ion.PostLoad.run(Mai​n.java:778)
      at java.lang.Thread.run​(Thread.java:619)

According to the last post on this thread:
http://forums.oracle​.com/forums/thread.j​spa?threadID=359231

Tomcat 5.0 had this same symptom in its ClassLoader and was fixed in Tomcat 5.5.
Perhaps there's a similar problem in org.argouml.modulelo​ader.ModuleLoader2?


If instead I run the separately bundled argouml (same version 0.24) with the
dbuml module
jars, that loads the same Oracle ojdbc14.jar just fine.

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Issue 7] New - Using recent Oracle JDBC driver results in java.lang.SecurityException: sealing dll Dan Leary 2008-06-20 08:46:32 PDT
Messages per page: