You can use the same container (i.e., tomcat installation) for multiple mid-tiers. The key with the native libraries is to use a classloader to load the jars that is common to both applications. This is typically accomplished by placing the jars that contain the classes that load the system libraries in a in a place where both webapps have a common classloader, then removing the jars (jni) from the deployed app classloader. This has to be done to use the CI viewer, slm collector, and mid-tier from the same container.
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html Plan on using the Common classloader. Axton Grams On Wed, Aug 20, 2008 at 11:18 AM, LJ Longwing <[EMAIL PROTECTED]> wrote: > Ok...that's great....but after reading that page it still doesn't answer my > main question....I'm familiar with how to setup a basic tomcat....so this is > the basic configuration > > I configure IIS with isapi redirector...so IIS is running on 80...I install > Tomcat...it runs by default on whatever port it runs on...IIS redirects > everything to the 1 instance of tomcat...everything is happy and tomcat is > running with a context of /arsys. Now...if I try to setup a context of > /arsys2 within that existing tomcat I get errors about native libraries > already loaded...so past experience tells me that I need to install a > separate java container....so I install another Tomcat...and I setup a > context of /arsys2 on it....now how do I get IIS, or Tomcat1 to redirect to > Tomcat2 when /arsys2 is attempted? > > -----Original Message----- > From: Action Request System discussion list(ARSList) > [mailto:[EMAIL PROTECTED] On Behalf Of Axton > Sent: Wednesday, August 20, 2008 9:08 AM > To: arslist@ARSLIST.ORG > Subject: Re: Two Tomcat on same server > > http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#A%20word%20on%20 > Contexts > > On Wed, Aug 20, 2008 at 10:54 AM, LJ Longwing <[EMAIL PROTECTED]> wrote: >> ** >> Do they discuss how to configure the box so that they both use the >> same URL but different contexts? >> ________________________________ >> From: Action Request System discussion list(ARSList) >> [mailto:[EMAIL PROTECTED] On Behalf Of Joe DeSouza >> Sent: Wednesday, August 20, 2008 8:48 AM >> To: arslist@ARSLIST.ORG >> Subject: Re: Two Tomcat on same server >> >> ** >> There is a documentation on Apaches website on how to have two tomcat >> instances on a single machine.. They have notes both for creating a >> second windows service as well as notes for unix. >> >> Joe >> >> ----- Original Message ---- >> From: LJ Longwing <[EMAIL PROTECTED]> >> To: arslist@ARSLIST.ORG >> Sent: Wednesday, August 20, 2008 10:28:37 AM >> Subject: Two Tomcat on same server >> >> ** >> List, >> I'm needing a little bit of assistance with some server config. I >> have a development server running two of each ARServer and New >> Atlanta. About 2 years ago I tried to put two mid-tiers in the same >> New Atlanta, and found that because of the native libraries, it wasn't >> possible to run two mid-tiers in the same java container. I however >> discovered that if I was running New Atlanta AS instead of ISAPI, that >> I could install more than one java container on the same machine, and >> New Atlanta has a feature where if you reference a java app that's not >> configured on server1, it fails over to >> server2 to allow it to handle the url request....so basically what my >> configuration is is this >> >> IIS -> New Atlanta 1 -> New Atlanta 2 >> >> So I have two URL's to access the individual Mid-Tier servers >> >> http://devserver/arsys1/home >> http://devserver/arsys2/home >> >> and each points to its respective new atlanta server. Now for the > problem. >> When we upgraded to 7.1 and setup our new production servers we went >> with the new default configuration of Tomcat instead of New >> Atlanta...so all of our boxes (except this dev server) are using this >> new config without issue....but I'm not entirely sure how to >> configured Tomcat in the same fashion as I have New Atlanta configured >> and I would appreciate any and all help the list can provide that will > assist me in this changeover. >> __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" >> html___ >> __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" >> html___ > > ____________________________________________________________________________ > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: > www.rmsportal.com ARSlist: "Where the Answers Are" > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"