axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stig Rasmussen" <>
Subject SV: [SPAM] How to deploy related classes?
Date Thu, 03 Feb 2005 03:11:49 GMT
Putting the jdbc jar file in my axis\WEB-INF\lib worked - thanks Kraig!

/Stig P.

-----Oprindelig meddelelse-----
Fra: Kraig []
Sendt: 2. februar 2005 14:45
Emne: Re: [SPAM] How to deploy related classes?

Make sure to create the appropriate sub-directory structure for the 
package that DBManager.class is a member of under the WEB-INF\classes 
subdirectory.  i.e.: WEB-INF\classes\org\xyx\dao\dbmanager.class

Also put the jdbc driver jar file in the WEB-INF\lib directory.


Stig Rasmussen 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 
> ( When i try to verify my jdbc Driver using 
> Class.forName("") 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:
> 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.

View raw message