Re: problem in loading class file

2007-12-14 Thread Pid
David Smith wrote: > I mean the path to cib.expserver.plugin.basics.ExpressServer, which your > tomcat is complaining about not being able to find. > > Anyway... taking a closer look at the code you posted, I think the URI > you are using won't work > > file:/c:Tud/Server/program/bin should probab

Re: problem in loading class file

2007-12-14 Thread Faisal
lugin.basics.ExpressParser"; >>>> >>>>// The following line of code gives the Exception when run >>>>// under Tomcat but runs fine in a standalone application >>>>Class pluginClass = >>>>pluginClassLoader.loadClass(pluginClassName); >>>>// The following line of code is not executed under Tomcat >>>>System.out.pri

Re: problem in loading class file

2007-12-14 Thread David Smith
I mean the path to cib.expserver.plugin.basics.ExpressServer, which your tomcat is complaining about not being able to find. Anyway... taking a closer look at the code you posted, I think the URI you are using won't work file:/c:Tud/Server/program/bin should probably be more like file:///c:/

Re: problem in loading class file

2007-12-14 Thread Tim Funk
Try using: URLClassLoader pluginClassLoader = new URLClassLoader(pluginURLs, Thread.currentThread().getContextClassLoader()); -Tim Faisal wrote: Hello, I can execute the following java code in a standalone application very well but when i put the same code in a web service and deploy it on

Re: problem in loading class file

2007-12-14 Thread Faisal
Name); >>// The following line of code is not executed under Tomcat >>System.out.println("successfully loaded the class"); >> >> >>return inputFile; >>} >> >> > > >

Re: problem in loading class file

2007-12-14 Thread David Smith
Hi Faisal. Could you post a few very important additional details? Tomcat version Platform Tomcat relative path to the class/jar you're having trouble with. --David Faisal wrote: Hello, I can execute the following java code in a standalone application very well but when i put the same code i

problem in loading class file

2007-12-14 Thread Faisal
putFile; } -- View this message in context: http://www.nabble.com/problem-in-loading-class-file-tp14335434p14335434.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.a