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
Thanks David, I have used this form of the url as well but with the same result. Thanks any way, Faisal David Smith-2 wrote: > > I mean the path to cib.expserver.plugin.basics.ExpressServer, which your > tomcat is complaining about not being able to find. > > Anyway... taking

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
Thank you very much for replying. The tomcat version is 5.5 and Java version is 1.5.0_14 and platform is Windows XP. The class is located in webapps/axis/WEB-INF/classes/WebService.class Thanking you, Faisal David Smith-2 wrote: > > Hi Faisal. > > Could you post a few very important addition

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