Hi James, Thank You James..I have one question for you...Why did you place your files in %JAVA_HOME% and not under %TOMACAT_HOME%..can we not have axis and my app files under Tomcat??? in order to accomplish getting them to be separate entities...or did you face some problems with that approach ~Sumit
From: James Black [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 11:00 AM To: [EMAIL PROTECTED] Subject: Re: Using Axis and Servlets..any Ideas !! What I have done is to copy all the axis jar files to $JAVA_HOME/jre/lib/ext, and the jar files for my application also go there. This way it is available, and I don't seem to have any clashes between tomcat and axis. Thanks Adam...but my problem still persists...you have take an approach that I don't have the option of taking...I can not have the axis files in my application...and the vice versa is not possible either...the reason for this approach is that we want to share the Axis installation between 3 or 4 applications being developed by separate groups...Thus each group carrying its own axis is not a good idea..we don't want to add our code into axis cos that would mean that all the application would then need to be installed there and thus a maintenance headache...would you happen to know if I could install my application and axis under webapps, shoulder to shoulder and still get it to work... Any ideas from you intelligent folks out there are more than welcome. ~Sumit We have this same issue and have found it easier to copy the contents of axis into both a webapps/myapp AND into the webapps/axis directory. We do NOT leave copies in tomcat's common/lib. The reason for this is to insure that use always use separate classloaders. It also means that if you move the webapps/axis code to another machine, you are less likely to have problematic dependencies. This might end of solving your clashing-logging lib file problem too, since tomcat's classloader wont "see" axis's logging jar file. -Adam -----Original Message----- From: Shrotriya, Sumit [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 9:35 AM To: [EMAIL PROTECTED] Subject: Using Axis and Servlets..any Ideas !! Hi All, I am trying to run my application which is a servlet and uses Axis in Tomcat4.1.18. Now the way I want to configure the Tomcat set up is something like this /webapps/axis /MyApp Thus neither axis nor my application are consuming each other. The data flow would be something like this Client--->MyApp--->Axis--->MyAppService--->Axis--->Client Please dont advise me otherwise...I know the glitches of this approach...its a requirement... Problems faced so far a) Need to duplicate the code and the jar files both of my application and axis in the common/lib dir. I think cos Axis and MyApp cant talk shoulder to shoulder. b) Tomcat4.1.18 has a common-logging-api.jar file which clashes with the common-logging.jar file from axis.(As the have some files common) If someone has implemented their system in this fashion, please do let me know. All your ideas and feedback are welcome.. Thank You, ~Sumit
