[
https://issues.jboss.org/browse/TEIID-1900?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-1900.
---------------------------------
Resolution: Done
Added a check to make sure the "dmr" classes are available to Driver class
before it uses the "embedded" profile which needs the class loaded from the
"org.jboss.teiid" module.
Teiid client jar file is not complete: NoClassDefFoundError:
org/jboss/modules/ModuleLoadException
--------------------------------------------------------------------------------------------------
Key: TEIID-1900
URL:
https://issues.jboss.org/browse/TEIID-1900
Project: Teiid
Issue Type: Bug
Components: JDBC Driver
Affects Versions: 8.0
Environment: Fedora 16, IcedTea6 1.10.4
Reporter: Paul Nittel
Assignee: Ramesh Reddy
Fix For: 8.0
After adding the Teiid driver in SQuirreL, I was unable to connect to the Teiid 8 server.
Here's the stacktrace:
java.lang.NoClassDefFoundError: org/jboss/modules/ModuleLoadException
at org.teiid.jdbc.TeiidDriver.<init>(TeiidDriver.java:74)
at org.teiid.jdbc.TeiidDriver.<clinit>(TeiidDriver.java:61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at
net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.registerSQLDriver(SQLDriverManager.java:75)
at
net.sourceforge.squirrel_sql.client.gui.db.DataCache.registerDriver(DataCache.java:491)
at net.sourceforge.squirrel_sql.client.gui.db.DataCache.loadDrivers(DataCache.java:388)
at
net.sourceforge.squirrel_sql.client.gui.db.DataCache.<init>(DataCache.java:119)
at
net.sourceforge.squirrel_sql.client.Application.executeStartupTasks(Application.java:744)
at net.sourceforge.squirrel_sql.client.Application.startup(Application.java:222)
at net.sourceforge.squirrel_sql.client.Main$2.run(Main.java:118)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:99)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.lang.ClassNotFoundException: org.jboss.modules.ModuleLoadException
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at
net.sourceforge.squirrel_sql.fw.util.MyURLClassLoader.findClass(MyURLClassLoader.java:209)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 30 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira