-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: common error (Fetching Children of .....), uncommon reason
PostPosted: Wed Nov 16, 2005 8:53 pm 
Newbie

Joined: Fri Nov 11, 2005 12:34 pm
Posts: 18
Hi,

So I get
An internal error occurred during: "Fetching children of mymy".
with: java.lang.NoClassDefFoundError: weblogic/jdbc/base/BaseDriver


The problem is that I have included the wlsqlserver.jar into classpath configuration of the 'Console Config', and that is the one I specified in hibernate.cfg.xml param: <property name="hibernate.connection.driver_class">weblogic.jdbc.sqlserver.SQLServerDriver</property>

Now that driver doesn't have the BaseDriver class at all. So the exception is expected. (or maybe I am really confused?)

The question is WHY and HOW? :)

Any hint would be beyond welcome,
Thanks
MB

PS Full stack trace
java.lang.NoClassDefFoundError: weblogic/jdbc/base/BaseDriver
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:101)
at org.hibernate.console.ConsoleConfiguration.registerFakeDriver(Unknown Source)
at org.hibernate.console.ConsoleConfiguration.access$1(Unknown Source)
at org.hibernate.console.ConsoleConfiguration$1.execute(Unknown Source)
at org.hibernate.console.execution.DefaultExecutionContext.execute(Unknown Source)
at org.hibernate.console.ConsoleConfiguration.buildWith(Unknown Source)
at org.hibernate.console.ConsoleConfiguration.build(Unknown Source)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(Unknown Source)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(Unknown Source)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 8:58 pm 
Newbie

Joined: Fri Nov 11, 2005 12:34 pm
Posts: 18
The second I posted the question and after a lot of screwing arround I did the search for the BaseDriver.class in wls\lib folder and found it. And then some other ones.

So .... what can I say. Maybe my stupidity will help someone else.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.