gzilla/show_bug.cgi?id=23564
Tomcat 4.1.24: Dynamic loading classes in Tomcat causes java.lang.UnsatisfiedLinkError
[EMAIL PROTECTED] changed:
What|Removed |Added
Stat
gzilla/show_bug.cgi?id=23564
Tomcat 4.1.24: Dynamic loading classes in Tomcat causes java.lang.UnsatisfiedLinkError
Summary: Tomcat 4.1.24: Dynamic loading classes in Tomcat causes
java.lang.UnsatisfiedLinkError
Product: Tomcat 4
Version: 4.0
I had similar or worse problems - and I tried all the tricks I could think
of.
The only solution is to copy the .jar files in CATALINA/server/lib. I
think build.xml does that automatically. If you do that,Class.forName
should work fine. Using jk as a webapp ( without any additional
configuration
> Remy Maucherat wrote:
> No, except it seems that
> ct.getLoader().getClassLoader()loadClass(channelclassname); throws a
> "java.lang.NullPointerException".
>
> What should I use to load a class?
The engine has no loader. Using Class.forName should do it.
Remy
--
To unsubscribe, e-mail:
Remy Maucherat wrote:
>
> > Hi,
> >
> > I have some problem to load classes in JkConnector.java.
> > I have added the following code: (ct comes from Container
> > ct=service.getContainer();)
> >Class channelclass =
> > ct.getParentClassLoader().loadClass(channelclass
"Clere, Jean-Frederic" wrote:
>
> Hi,
>
> I have some problem to load classes in JkConnector.java.
> I have added the following code: (ct comes from Container
> ct=service.getContainer();)
>Class channelclass =
> ct.getParentClassLoader().loadClass(channelclassname)
> Hi,
>
> I have some problem to load classes in JkConnector.java.
> I have added the following code: (ct comes from Container
> ct=service.getContainer();)
>Class channelclass =
> ct.getParentClassLoader().loadClass(channelclassname);
> But it allows throws the follo
Hi,
I have some problem to load classes in JkConnector.java.
I have added the following code: (ct comes from Container
ct=service.getContainer();)
Class channelclass =
ct.getParentClassLoader().loadClass(channelclassname);
But it allows throws the following:
+++
java.