One other thing I'd suggest that you can do now that may be worth looking into - disable IIS, get rid of Jakarta, and just run Tomcat on port 80. I had trouble with Jakarta in the past and didn't really need IIS anymore so I shut all of that down.
If you can't, another thing I'd do to see if Tomcat is having the problem is to have the users getting the errors to go against port 8080 or whatever port you have Tomcat running on to see if the Mid Tier works for them at that point. Either way, I strongly suggest getting rid of IIS and Jakarta as they just add two more components that have to be maintained and investigated. Thanks, Shawn Pierson Remedy Developer | Energy Transfer From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Nall, Roger Sent: Thursday, August 16, 2012 12:50 PM To: [email protected] Subject: Re: OT: Apache Tomcat ** Shawn, Thank you very much for this information. Sounds like I should work harder on getting my application upgraded to 7.6.4 as well as looking to change the configuration. I have attached an email that shows the exact error that the users are getting. Regards, Roger Nall Manager, SA Business Objects/Remedy Desk: 972-464-3712 PCS: 973-652-6723 SA_Intake<http://saintake.t-mobile.com/> SA Portal<http://sa.eng.t-mobile.com/Pages/Default.aspx> From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Pierson, Shawn Sent: Tuesday, August 14, 2012 9:50 AM To: [email protected] Subject: Re: OT: Apache Tomcat ** The BMC version works, and with everything on 7.6.4 I haven't run into an issue like you have. Also, the defect you are running into is likely a Mid Tier problem rather than a Tomcat problem, and I recall that some past versions of the Mid Tier have had memory leaks. I am also running on Windows 2008 R2 64-bit and if I remember correctly, the version BMC ships with isn't 64-bit. That being said, I prefer to get Tomcat from apache.org primarily to take advantage of bug fixes and other improvements to Tomcat that are made over time. BMC also leaves out the web-based administration piece, which isn't vital but makes it easier to work with Tomcat in my opinion especially if you want to run your Mid Tier alongside some non-BMC stuff on Tomcat. I have been working on some basic JSP pages (formerly in ASP) that I can use to display some data from the Remedy database in other places. For example, one JSP page can be embedded in SharePoint at the top of the screen to be a ticker for when a Critical Incident is opened. As a result, I like to make sure Tomcat is available for these other small web apps that I build. That being said, follow BMC's Performance Tuning whitepaper gives you most of what you need to do. I can't find the soft copy that I had, but you can find it on BMC's support site. For the Mid Tier, the areas you need to focus on are listed below. I've copied this from my development machine, which is set up a little less efficiently than my Production machine, and with some different memory values and logging options. Also, this is a mix of what I remember from BMC's whitepaper as well as my own (possibly out of date) experiences with Tomcat configuration. 1) Set appropriate Java (not Tomcat) memory allocations (via the JAVA_OPTS environment variable.) What I have it set to is: -Xms1024m -Xmx1024m 2) Update the Apache Tomcat configuration application (open the Tomcat Configuration app, go to the Java tab and update the "Java Options" section) to include garbage collection. I don't recall what BMC provides out of the box, and my configuration isn't totally based on what they suggest. However, I use something like this: -Dcatalina.home=D:\Program Files\Apache Software Foundation\Tomcat 6.0 -Dcatalina.base=D:\Program Files\Apache Software Foundation\Tomcat 6.0 -Djava.endorsed.dirs=D:\Program Files\Apache Software Foundation\Tomcat 6.0\endorsed -Djava.io.tmpdir=D:\Program Files\Apache Software Foundation\Tomcat 6.0\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=D:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\logging.properties -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewRatio=3 -XX:PermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:ErrorFile=D:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\java_hs_err.log -XX:HeapDumpPath=D:\Program Files\Apache Software Foundation\Tomcat 6.0\logs\ -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8086 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false 3) Set the Initial and Maximum memory pool sizes below the Java Options. I set those to match what is in the JAVA_OPTS. 4) In the server.xml file within Tomcat, the <connector> section needs to be set up correctly in terms of maxthreads, header sizes, etc. I also run Tomcat on Port 80, so I use: <Connector port="80" maxHttpHeaderSize="8192" URIEncoding="UTF-8" maxThreads="300" maxKeepAliveRequests="-1" enableLookups="false" redirectPort="8443" acceptCount="250" connectionTimeout="60000" disableUploadTimeout="true" /> Thanks, Shawn Pierson Remedy Developer | Energy Transfer From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Nall, Roger Sent: Tuesday, August 14, 2012 8:51 AM To: [email protected]<mailto:[email protected]> Subject: Re: OT: Apache Tomcat ** Shawn, The answer to your question is, no I have not installed the "real" version of Tomcat. I just assumed that the version that BMC uses was what was needed. Can you elaborate on what you mean by setting up Apache the way you think it should be set up? Thanks, Roger Nall Manager, SA Business Objects/Remedy Desk: 972-464-3712 PCS: 973-652-6723 SA_Intake<http://saintake.t-mobile.com/> SA Portal<http://sa.eng.t-mobile.com/Pages/Default.aspx> From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Pierson, Shawn Sent: Monday, August 13, 2012 2:29 PM To: [email protected]<mailto:[email protected]> Subject: Re: OT: Apache Tomcat ** Have either of you tried running on the "real" version of Tomcat rather than the version BMC ships with the Mid Tier? While I've not had the trouble you all have, I'm personally more confident in downloading and setting up Apache the way I think it should be set up, then installing the Mid Tier on top of that separately. Despite that though, BMC's performance tuning whitepapers have also helped out quite a bit. I'm not sure why BMC doesn't have things like garbage collection set up in the BMC provided version of Tomcat, but that seems to help with potential memory leaks. Thanks, Shawn Pierson Remedy Developer | Energy Transfer From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Matthew Perrault Sent: Monday, August 13, 2012 2:17 PM To: [email protected]<mailto:[email protected]> Subject: Re: OT: Apache Tomcat ** Roger, I hate to break this to you but we've been having that issue for over 3 years. 3/5/2009 We did have an open Support Ticket with BMC, and they could not solve it. ISS03409598 SW00371854 SW00325104 Tried several patches that they provided to no success. They basically told us we have to upgrade as they could not solve it. We did set out Java Memory Settings to 1024, 1024 Granted our environment is a little different than yours ARS 7.1 Patch 8 (soon to be Patch 11) Mid-Tier 7.1 Patch 8 (soon to be Patch 11) MS SQL 2005 Windows Server 2003 Good luck, Let me know if you figure anything out. Thanks Matt P. From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Nall, Roger Sent: Monday, August 13, 2012 10:37 AM To: [email protected]<mailto:[email protected]> Subject: OT: Apache Tomcat ** ARS 7.1 Patch 4 (Application) Mid Tier - 7.6.4 Patch 2 SQL 2000 Windows 2003 (Application) Windows 2008 (Mid Tier) We have been having to restart Apache Tomcat 6.0 service just about once every 3 - 4 weeks for the last couple of months. I am wondering if anyone can suggest what I can look to determine what may be wrong. Thanks, Roger Nall Manager, SA Business Objects/Remedy Desk: 972-464-3712 PCS: 973-652-6723 SA_Intake<http://saintake.t-mobile.com/> SA Portal<http://sa.eng.t-mobile.com/Pages/Default.aspx> _attend WWRUG12 www.wwrug.com<http://www.wwrug.com> ARSlist: "Where the Answers Are"_ _attend WWRUG12 www.wwrug.com<http://www.wwrug.com> ARSlist: "Where the Answers Are"_ Private and confidential as detailed here<http://www.sug.com/disclaimers/default.htm#Mail>. If you cannot access hyperlink, please e-mail sender. _attend WWRUG12 www.wwrug.com<http://www.wwrug.com> ARSlist: "Where the Answers Are"_ _attend WWRUG12 www.wwrug.com<http://www.wwrug.com> ARSlist: "Where the Answers Are"_ Private and confidential as detailed here<http://www.sug.com/disclaimers/default.htm#Mail>. If you cannot access hyperlink, please e-mail sender. _attend WWRUG12 www.wwrug.com<http://www.wwrug.com> ARSlist: "Where the Answers Are"_ _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ Private and confidential as detailed here: http://www.sug.com/disclaimers/default.htm#Mail . If you cannot access the link, please e-mail sender. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

