Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » ClassNotFoundExcetion while running Headless ANT in WSAD v 5.1
ClassNotFoundExcetion while running Headless ANT in WSAD v 5.1 [message #309084] Mon, 16 October 2006 02:23 Go to next message
Eclipse UserFriend
Originally posted by: Sowjanya.Janga.arbella.com

Hi,
I'am trying to run WSAD v 5.1 Headless ANT using the 1.4 runtime from
<WSAD_INSTALL_PATH>Application
Developer\v5.1\runtimes\base_v51\java\jre\bin.
It is giving me a java.lang.ClassNotFoundException:
com.ibm.etools.rdblib.dcm.DriverConnectionManager. Here is the stack.
java.lang.ClassNotFoundException:
com.ibm.etools.rdblib.dcm.DriverConnectionManager
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compil ed Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at at
com.ibm.etools.rdblib.AvailableDrivers.<clinit>(AvailableDrivers.java:223).null(Unknown
Source)
at
com.ibm.etools.rdblib.RDBConnectionAPI.getAvailableDriversSi ngleton(RDBConnectionAPI.java:202)
at
com.ibm.etools.rdblib.RDBConnectionAPI.getAvailableDrivers(R DBConnectionAPI.java:192)
at
com.ibm.etools.websphere.tools.internal.util.Db2LocationFind er.getInstalledDB2DriverLocation(Db2LocationFinder.java:53)
at
com.ibm.etools.websphere.tools.WebSpherePlugin.startup(WebSp herePlugin.java:575)
at
org.eclipse.core.internal.plugins.PluginDescriptor$1.run(Plu ginDescriptor.java:736)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1006)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivation(PluginDescriptor.java:748)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:188)
at
org.eclipse.core.internal.plugins.PluginClassLoader.activate Plugin(PluginClassLoader.java:112)
at
org.eclipse.core.internal.plugins.PluginClassLoader.internal FindClassParentsSelf(PluginClassLoader.java(Compiled
Code))
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassParentsSelf(DelegatingURLClassLoader.java(Compiled
Code))
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java(Inlined
Compiled Code))
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.acce ss$0(DelegatingURLClassLoader.java(Inlined
Compiled Code))
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader$Dele gateLoader.loadClass(DelegatingURLClassLoader.java(Inlined
Compiled Code))
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassPrerequisites(DelegatingURLClassLoader.java(Compiled
Code))
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java(Compiled
Code))
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java(Compiled
Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))

The same exact script runs fine when I run it with in WSAD.
I even included the jar containing this class in the runtime classpath
extension of the plugin.
Extract from plugin.xml of com.ibm.etools.rdblib_5.1.2 plugin.


<extension point="org.eclipse.ant.core.extraClasspathEntries">
<extraClasspathEntry library="runtime/dcm.jar"/>
</extension>

If anyone has any idea of what it could be I will really appreciate it. I'am
running out of time at this point and would really appreciate any help.

Thanks for taking time to read my post.

Bear Claw
Re: ClassNotFoundExcetion while running Headless ANT in WSAD v 5.1 [message #309116 is a reply to message #309084] Mon, 16 October 2006 14:14 Go to previous message
Eclipse UserFriend
Is the task declared as not suitable to run headless?

HTH
Darins

"Bear Claw" <Sowjanya.Janga@arbella.com> wrote in message
news:egv8h7$1g0$2@utils.eclipse.org...
> Hi,
> I'am trying to run WSAD v 5.1 Headless ANT using the 1.4 runtime from
> <WSAD_INSTALL_PATH>Application
> Developer\v5.1\runtimes\base_v51\java\jre\bin.
> It is giving me a java.lang.ClassNotFoundException:
> com.ibm.etools.rdblib.dcm.DriverConnectionManager. Here is the stack.
> java.lang.ClassNotFoundException:
> com.ibm.etools.rdblib.dcm.DriverConnectionManager
> at java.net.URLClassLoader.findClass(URLClassLoader.java(Compil ed Code))
> at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
> at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
> at at
> com.ibm.etools.rdblib.AvailableDrivers.<clinit>(AvailableDrivers.java:223).null(Unknown
> Source)
> at
> com.ibm.etools.rdblib.RDBConnectionAPI.getAvailableDriversSi ngleton(RDBConnectionAPI.java:202)
> at
> com.ibm.etools.rdblib.RDBConnectionAPI.getAvailableDrivers(R DBConnectionAPI.java:192)
> at
> com.ibm.etools.websphere.tools.internal.util.Db2LocationFind er.getInstalledDB2DriverLocation(Db2LocationFinder.java:53)
> at
> com.ibm.etools.websphere.tools.WebSpherePlugin.startup(WebSp herePlugin.java:575)
> at
> org.eclipse.core.internal.plugins.PluginDescriptor$1.run(Plu ginDescriptor.java:736)
> at
> org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1006)
> at
> org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivation(PluginDescriptor.java:748)
> at
> org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:188)
> at
> org.eclipse.core.internal.plugins.PluginClassLoader.activate Plugin(PluginClassLoader.java:112)
> at
> org.eclipse.core.internal.plugins.PluginClassLoader.internal FindClassParentsSelf(PluginClassLoader.java(Compiled
> Code))
> at
> org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassParentsSelf(DelegatingURLClassLoader.java(Compiled
> Code))
> at
> org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java(Inlined
> Compiled Code))
> at
> org.eclipse.core.internal.boot.DelegatingURLClassLoader.acce ss$0(DelegatingURLClassLoader.java(Inlined
> Compiled Code))
> at
> org.eclipse.core.internal.boot.DelegatingURLClassLoader$Dele gateLoader.loadClass(DelegatingURLClassLoader.java(Inlined
> Compiled Code))
> at
> org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassPrerequisites(DelegatingURLClassLoader.java(Compiled
> Code))
> at
> org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java(Compiled
> Code))
> at
> org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(DelegatingURLClassLoader.java(Compiled
> Code))
> at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
>
> The same exact script runs fine when I run it with in WSAD.
> I even included the jar containing this class in the runtime classpath
> extension of the plugin.
> Extract from plugin.xml of com.ibm.etools.rdblib_5.1.2 plugin.
>
>
> <extension point="org.eclipse.ant.core.extraClasspathEntries">
> <extraClasspathEntry library="runtime/dcm.jar"/>
> </extension>
>
> If anyone has any idea of what it could be I will really appreciate it.
> I'am
> running out of time at this point and would really appreciate any help.
>
> Thanks for taking time to read my post.
>
> Bear Claw
>
>
>
>
>
>
>
>
>
>
Previous Topic:Using plug-ins in my j2se application
Next Topic:Navigator - sort files by date
Goto Forum:
  


Current Time: Thu May 08 10:27:47 EDT 2025

Powered by FUDForum. Page generated in 0.06317 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top