Login | Register
My pages Projects Community openCollabNet

Discussions > users > Trouble running with recent Oracle JDBC driver

argouml-db
Discussion topic

Back to topic list

Trouble running with recent Oracle JDBC driver

Author Daniel L Leary <dll at mocasystems dot com>
Full name Daniel L Leary <dll at mocasystems dot com>
Date 2008-06-13 07:32:09 PDT
Message 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.

Then following the instructions in the User Guide, I can connect to Oracle, but
importing a schema silently fails without doing anything.

The argouml.log reads:

2008-06-10 18:36:05,263 WARN: UUID [types] ignored - what to do with it? (ModelManagementFact​oryMDRImpl.java:154)​
2008-06-10 18:36:05,495 WARN: Can't find icon for DBDeploymentDiagram (ResourceLoaderWrapp​er.java:280)
etc...
2008-06-10 18:36:55,929 WARN: UUID [MOCA3] ignored - what to do with it? (ModelManagementFact​oryMDRImpl.java:154)​

MOCA3 is the name of the schema selected for import.
Any idea what I'm doing wrong, what to try next?

-Dan

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

Messages

Show all messages in topic

Trouble running with recent Oracle JDBC driver Daniel L Leary <dll at mocasystems dot com> Daniel L Leary <dll at mocasystems dot com> 2008-06-13 07:32:09 PDT
     RE: Trouble running with recent Oracle JDBC driver jgrengbondai Jules Grengbondai 2008-06-20 08:19:34 PDT
         Re: Trouble running with recent Oracle JDBC driver Daniel L Leary <dll at mocasystems dot com> Daniel L Leary <dll at mocasystems dot com> 2008-06-20 08:52:17 PDT
Messages per page: