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
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 ----- |
- deploying a set of classes Raju Gottumukkala
- Re: deploying a set of classes Vincenzo Di Stefano
- Re: deploying a set of classes Raju Gottumukkala
- Re: deploying a set of classes Vincenzo Di Stefano
- Re: deploying a set of classes Sesha Nandyal
- Re: deploying a set of classes Vincenzo Di Stefano
- Re: deploying a set of classes Sesha Nandyal