Hi Sesha... yes: you have to create
test1/imp directories into common/classes, and
to move into it the Class2.class file. But, if on the server side you don't see
any exception message, maybe your problem is not the one you wrote me... maybe
you have a bad server configuration, and your client isn't able to find the
server... but, first, tru to create the directories...
Bye!!!
----- Original Message -----
Sent: Friday, February 28, 2003 8:21
PM
Subject: Re: deploying a set of
classes
Hi Vincenzo, I am confused here - I
have a class say Class1 that is located in test.myservice
package. I placed it in webapps/axis/web-inf/classes/test/myservice
directory. The above class (Class1) calls Class2 that is located in
test1.imp package. So I dropped the Class2.class in
webapps/axis/web-inf/classes/test1/impl
directory. However, when I try to access the
method in Class2, the server side, Class1, does not
throw any exception (making it difficult for me to debug!). On the client side I get the following exception:
java.lang.reflect.InvocationTargetException
Do I need to also create the same directory structure under
common/classes directory?
Thanks Sesha
Vincenzo Di Stefano wrote:
Hallo Raju, . In tomcat you have to insert the main
class into the webapps directory, and exactly into
webapps/axis/web-inf/classes. Starting from here, you have to create
your subdirectories, and insert into them the main class... I'll try to
explain it better. If, for example, your main class belongs to this package:
test.myservice, you have to create into the classes directory, the
test subdirectory, and into this one, the myservice subdirectory, obtaining
this path: webapps/axis/web-inf/classes/test/myservice. Then you have
to insert the main class into the myservice directory. Then, proceed to
insert other classes and files into another directory, and exactly into the
common/classes directory. Even here, if these classes belong to some
packages, you have to create the right structure and insert classes into
appropriate subdirectories.As
far as the interaction with the database, I cannot help you a lot, because
I'm just looking for it... but it shouldn't be very
difficult... I hope I had
help you. Vincenzo ----- Original Message -----
Sent: Saturday, February 22, 2003
12:39 PM
Subject: deploying a set of
classes Hi Could anyone
please advice me on how to deploy a set of classes and xml files as a
single web service,some of
the classes parse xml files,some connect to databaseand some access some other services. any help would be greatly
appreciated. Thank you
in advance.Raju.
|