Nope, I tried restarting both Tomcat and MySQL and it did the same thing :-(
-----Oprindelig meddelelse----- Fra: Roy Benjamin [mailto:[EMAIL PROTECTED] Sendt: 2. februar 2005 00:59 Til: [EMAIL PROTECTED] Emne: Re: How to deploy related classes? Hi, My guess is that when you restart the application server the problem goes away? If so then the problem is as you stated. "un-deployed" classes in the class path are not found, because its not searched on-demand? Anyway, just an idea... --- Stig Rasmussen <[EMAIL PROTECTED]> wrote: > Hi there! > > I have deployed a webservice which uses a related > class for connecting to my > database, executing SQL and verifying the jdbc > driver (DBManager.java). When > i try to verify my jdbc Driver using > Class.forName("org.gjt.mm.mysql.Driver") on my host > it all works fine and I > can retrieve any data from the database. > > But after i deployed the webservice, when I try to > verify the driver from my > client i get the following error: > > java.lang.ClassNotFoundException: > org.gjt.mm.mysql.Driver > > I know it must have something to do with deploying > the DBManager.class but I > don't know what. Since the client is not suppose to > use the methods in > DBManager directly but rather through the > webservice, i simply copied the > DBManager.class file to my axis\WEB-INF\classes > directory instead of > deploying it using AdminClient - is this wrong? > > Cheers, > Stig P. >