As I said...I took a shotgun approach...meaning I took all JAR files out of
the individual folder and put it in the common classloader...I then moved
the MidTier.jar back into and that got Mid-Tier working....but I couldn't
config it....I moved the Config.jar file back into the individual folders,
and everything worked fine from my limited testing perspective...so this
list is 'everything else'

first thing I did was edited conf/catalina.properties and changed line 32
from
common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*
.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.ja
r
to
common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*
.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.ja
r,${catalina.home}/common/arsystem/*.jar 

I then created the arsystem folder under /common

I did this so that I was keeping my common libraries separate from Tomcats
common ones...:)...here is a list of the jar files in the common/arsystem
folder

arapi71.jar
arcmn71.jar
ARInterfaces70.jar
arrpc71.jar
arutil71.jar
axis.jar
blowfishj.jar
commons-beanutils.jar
commons-codec-1.3.jar
commons-collections-3.2.jar
commons-configuration-1.3.jar
commons-digester-1.7.jar
commons-discovery-0.2.jar
commons-lang-2.2.jar
commons-logging-1.1.jar
cos.jar
ehcache-1.2.4.jar
GraphPlugin.jar
icu4j.jar
jaxrpc.jar
log4j-1.2.14.jar
Logger.jar
oncrpc.jar
ReportCommon.jar
saaj.jar
spring.jar
Support.jar
websvc71.jar
wsdl4j-1.5.1.jar

Both of the web mid-tiers I was using for this testing were 7.1 Patch 4.  I
haven't moved this to our Dev server yet....but if I come up with a more
refined list...I'll post to this thread

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Axton
Sent: Thursday, August 21, 2008 7:28 AM
To: [email protected]
Subject: Re: Two Tomcat on same server

Sweet.  Would you mind posting the list of jars to the list that you moved
to a common classloader?

Thanks,
Axton Grams

On Wed, Aug 20, 2008 at 4:55 PM, LJ Longwing <[EMAIL PROTECTED]> wrote:
> Wow...it's amazing what can be accomplished with the right tools and 
> knowledge...I used my machine as a test bed and used more of a shotgun 
> approach to which jar's should be in the common class loadeder...but 
> it's working great....Axton...thank you once again...your supreme 
> knowledge is appreciated.
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList) 
> [mailto:[EMAIL PROTECTED] On Behalf Of Axton
> Sent: Wednesday, August 20, 2008 9:39 AM
> To: [email protected]
> Subject: Re: Two Tomcat on same server
>
> 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: [email protected]
>> Subject: Re: Two Tomcat on same server
>>
>> http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#A%20word%
>> 2
>> 0on%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: [email protected]
>>> 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: [email protected]
>>> 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"
>
> ______________________________________________________________________
> _________ 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"

Reply via email to