Rabi,
If I'm understanding things correctly, you've basically got a mismatch between
how Remedy updated your httpd.conf and your manually maintained
workers.properties file. You should be able to comment out the following line
if it's still there in httpd.conf:
JkWorkersFile /var/tomcat/.../remedy/conf/arsysworker.properties
The reason being, you've got essentially the same things defined in your
workers.properties file.
I'm not sure about the other jk* lines specific to the Remedy settings - if
they've already been defined earlier in httpd.conf, you can probably leave them
as they are above and comment them out in the Remedy section. You may also
need to keep this line if you can:
JkOptions +ForwardURIEscaped +ForwardURICompatUnparsed
The one line you probably need to keep would be one like
JkMount /arsys/* arsysWorker1
If you have that line (or just with arsysWorker), change arsysWorker(1) to
remedy, as defined in your workers.properties file:
JkMount /arsys/* remedy
So, you might end up with just this in your Remedy specific section in
httpd.conf:
JkOptions +ForwardURIEscaped +ForwardURICompatUnparsed
JkMount /arsys/* remedy
With the options for the remedy work defined in the file referenced here:
JkWorkersFile /someotherlocation/workers.properties
Basically, as I understand it (and my understanding is very limited), in
httpd.conf, you're simply telling the web server how to hand requests off to
the application server (Tomcat), defining workers that know where to forward
requests to. Tomcat has the application installed and knows where the files
are, because it is managing the application. Apache gets a request for
/arsys/something/or/other, and forwards that request onto Tomcat via the port
defined in workers.properties. Tomcat processes the request and send the
response back to the user through Apache.
Try making those changes and restarting Apache (not Tomcat) and see what you
get.
Lyle
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Rabi Tripathi
Sent: Tuesday, August 25, 2009 2:36 PM
To: [email protected]
Subject: For midtier/tomcat gurus. Tomcat configuration question
Hi all,
I'm trying to install midtier 7.1 on a solaris box with apache 2.2.8 and tomcat
5.5.25.
This apache server hosts many instances of tomcat for use besides Remedy and it
already has parameters configured that mid-tier install seems to ignore, so
it's not working for me. My main tomcat admin is out, so it's not helping much.
Midtier installer writes this at the end of httpd.conf
JkWorkersFile /var/tomcat/.../remedy/conf/arsysworker.properties
JkOptions +ForwardURIEscaped +ForwardURICompatUnparsed
This doesn't work because there is already a line such as...
JkWorkersFile /someotherlocation/workers.properties
...on httpd.conf and you can't set this property twice.
The referenced workers.properties file has lines such as this...note that
remedy specific lines are at the end...as added by tomcat admin:
worker.list= ...,atg_lb, art_lb, wind_lb, rtlt_lb, remedy_lb, jkstatus
...
worker.basetemplate.host=localhost
worker.basetemplate.type=ajp13
worker.basetemplate.socket_timeout=0
worker.basetemplate.connection_pool_size=1
worker.basetemplate.lbfactor=1
worker.nsdl.reference=worker.basetemplate
worker.nsdl.port=9988
worker.nsdl_lb.type=lb
worker.nsdl_lb.balanced_workers=nsdl
worker.remedy.reference=worker.basetemplate
worker.remedy.port=10288
worker.remedy_lb.type=lb
worker.remedy_lb.balanced_workers=remedy
...
First issue I see is "remedy" vs. "arsysworker". Looks like I need to have
admin change "remedy" to "arsysworker" or on my side...perhaps rename file
"arsysworker.properties" as "remedy.properties"? Not sure this will suffice.
Or, adding the lines in "arsysworker.properties" directly on the existing
/etc/httpd/conf/workers.properties
should work?
If I do that...I can leave httpd.conf alone and just add these contents of
"arsysworker.properties" to existing "/etc/httpd/conf/workers.properties"?
worker.list=arsysWorker1
worker.arsysWorker1.port=8088
worker.arsysWorker1.host=localhost
worker.arsysWorker1.type=ajp13
Thinking "arsysWorker1" on the first line can be included on the first
"worker.list" line of existing workers.properties.
Second line should go with corrected port number
Last two can probably go as they are.
I might have to replace "arsysworker1" with "remedy" to have it work with my
tomcat admin's setup.
Anybody has anything to say about my musings?
No fun working without much insight into apache/tomcat. I'm blind and just
feeling my way around.
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"
NOTICE: This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy all
copies of the original message.
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"