| **
I've included my comments in your original message below.
Derek On Jul 30, 2006, at 12:59 PM, Jason McDonald wrote: ** Thanks. � I went through the installation instructions, but was unsure what other softwares I need to DL and which exact file to DL. When I visited some of the websites which host the additional softwares reqd. , I was overwhelmed by the amount of links there were for a single product. I just need: � I am assuming that i'll be setting up a mid-tier for: 1) ARS 7.0 2) Windows platform 3) I don't have IIS (Is it licensed or free?)
IIS is free and included as part of the operating system.� If you're running on Windows XP, I believe it is called "Personal Web Sharing".� On Windows Server 2003, it may be an optional install.� As is the case with Apache, unless you need IIS for something other than Mid-Tier, I would not bother installing it at all.� Anything related to Mid-Tier is going to be handed off to ServletExec or Tomcat (depending on which you install) and that is where the real "work" happens.� In this specific scenario, introducing IIS just adds another unnecessary layer.
The only advantage I may see with using IIS on Windows is perhaps for ARS Mid-Tier sites which are very busy.� Since IIS is integrated into the operating system, I would like to assume that it has been very finely tuned to effectively manage a high number of socket connections.� In performance intensive situations, people tend to use either the Apache Portable Runtime with Tomcat or the Grizzly connector to manage socket-based communications.
If you decide to use Tomcat with IIS, you're going to need to install the ISAPI filter for Tomcat. 4) Should i DL tomcat or apache or both? And from what exact link should i DL for windows 32 bit version? Unless you need Apache for other features, I would just install Tomcat.� Much of my reasoning behind this can be found in the earlier discussion for using IIS.� Since Tomcat is 100% pure Java, there is no 32/64-bit choice.� Just download Tomcat 5.5.17 and install it. 5) Apart from tomcat or apache or both, what other S/w is needed? You will need to have the Java Development Kit installed.� I would install Sun's Java Standard Edition 5.0 Release 7 Development Kit (a.k.a., J2SE 1.5 release 7).� There are other options from other vendors, but this is the one I generally use.� I'd be curious to know how many on the list are using JRockit or the IBM JVM.� It's been a while since I've looked at benchmarks. 6) In what order should i install these products?
JDK� IIS or Apache (optional) Tomcat Mid-Tier
If you are going to use Tomcat alone, then when prompted to choose a web server, select the "Other" option.� Do the same for the question about the Servlet Engine.� I don't normally do this in LINUX/UNIX (I use symbolic links instead), but when you install Mid-Tier, install it to the <Tomcat_Installation>/webapps/arsys folder.� For example, if you install Tomcat to C:\Program Files\Apache Tomcat, then install Mid-Tier to C:\Program Files\Apache Tomcat\webapps\arsys.
Good luck with your install! � This is the first time i'm installing mid-tier, so pls help me out. � Jason
� On 7/30/06, Michiel Beijen <[EMAIL PROTECTED]> wrote: ** Jason, You could just follow the installation instructions in the pdfs, if you want to install it with IIS on Windows. If you would like to use tomcat, the approach does not differ greatly from the earlier described linux install. (set up tomcat, download warfile, etc.) -- Michiel On 7/30/06, Jason McDonald <[EMAIL PROTECTED] > wrote: ** Hi, � Just wondering if there is a step-by-step tutorial out there�describing how to install mid-tier on Windows. I have no clue what other software is required (I see some of you mentioning Tomcat / Apache)...If anyone knows of such a text, pls let me know. � Thanks. On 7/28/06, Watson Benjamin A Contr AFWA/XOO < [EMAIL PROTECTED]> wrote: ** I read through John Baker's MidTier on Linux install guide and got it working finally (really nice How-To by the way). � Basically, I did the same thing Mike mentioned before (using Tomcat manager to import the MidTier WAR file). � This made things work for me locally (e.g. localhost:8080/arsys/home) � However, at present, I can't access the MidTier externally (from another pc) by visiting <server ip>:8080/arsys/home. � I've found out that I need to do 1 of 2 things. � 1.) compile the mod_jk Tomcat connector for Apache�(and configure Apache and Tomcat to use it) to allow Apache to receive the external requests and forward it to Tomcat. � 2.) use the JSVC daemon that Derek mentioned.� I've already compiled the JSVC, just a matter of configuration. � Unfortunately, I haven't had much time to dedicate to this project as it is merely a test to see which configuration performs better. � Perhaps I'll test both options (1 and 2) above to see how they both behave. � � Thanks for your valued feedback. Subject: Re: MidTier on Linux
�
Derek,
I did pretty much the same thing, although I did not know about the Java Service Daemon so I am still running on Port 8080. When I install the Mid-tier, I just download the WAR file and pop it into the Tomcat webapps directory. I then stop and start Tomcat and it extracts the WAR file for me and installs the MidTier. After that, I copy the config.properties file over and I am good to go. I must say that Tomcat was very easy to install and config, I had some real problems with Apache/Tomcat on my AIX box.
I followed these instructions:
8. Download latest Midtier "war" file from Remedy Support
9. Rename war file to arsys.war and copy to tomcat webapps directory
# cp arsys.war /usr/local/jakarta-tomcat-5.0.28/webapps
10. Stop and restart Tomcat
/usr/local/jakarta-tomcat-5.0.28/bin/shutdown.sh /usr/local/jakarta-tomcat-5.0.28/bin/startup.sh
11. Wait for arsys directory to appear under webapps (Tomcat will build)
# cd ../webapps # ls -lrt total 62688 drwxr-xr-x � 4 root � � system � � � � �512 25 Jan 08:24 servlets-examples drwxr-xr-x � 3 root � � system � � � � �512 25 Jan 08:24 ROOT drwxr-xr-x �21 root � � system � � � � �512 25 Jan 08:24 jsp-examples drwxr-xr-x � 4 root � � system � � � � �512 25 Jan 08:24 balancer drwxr-xr-x � 3 root � � system � � � � �512 25 Jan 08:24 webdav drwxr-xr-x �12 root � � system � � � � 1024 25 Jan 08:24 tomcat-docs -rw-r----- � 1 remic � �remedy � � 32066217 25 Jan 08:47 arsys.war drwx------ � 8 root � � system � � � � �512 25 Jan 08:49 arsys
12. Copy config.properties to /usr/local/jakarta-tomcat-5.0.28/webapps/arsys/WEB-INF/classes
Change the server references.
13. Test Midtier
http://<server>/arsys/shared/config/config.jsp
Mike.
** Unless you have a compelling need to run Apache, have you considered just running Tomcat alone?� Most of the environments in which I deploy Mid-Tier, this is the configuration that we use because the web application servers are only being used for Mid-Tier.
The only out-of-the ordinary configuration changes that I've made is that I leverage the Java Service Daemon (JSVC) which ships with Tomcat (but you have to compile it) and allows Tomcat to bind to port 80, but run as a non-privileged user.� In addition, in the Tomcat startup scripts, I configure it to use the server-side JVM rather than the default client-side.
When installing Mid-Tier, I choose the "Other" options for both the Web Server and Servlet container.� And then I place an arsys �symbolic link in the /opt/tomcat/webapps�folder that points to /opt/ars-midtier (where I actually installed Mid-Tier).
If you are really concerned about performance, there are options available to you that can help address this such as using the Apache Portable Runtime (needs to be compiled) which is a native library that Tomcat uses via JNI to manage the connections at the TCP/IP level.� This is the same code that Apache uses for this purpose.� There is also the� Grizzly connector which ships with Sun's�GlassFish (open source J2EE server) is based on the Java Non-Blocking I/O (NIO) API which is a high-performance I/O API targeted for server-based applications designed to let applications handle more connections with fewer threads (ergo fewer resources).
I find this simpler because I only have to worry about configuring Tomcat rather than Tomcat and Apache.
Just a possible alternative.
Derek
P.S. My current production server environment consists of three hardware load-balanced x86 boxes running RHEL 3 Release 4, JDK 1.5 release 6, Apache Tomcat 5.5.12 and ARS Mid-Tier 6.3 Patch 14.� My development server is running RHEL 4 Release 2, with JDK 1.5 release 7, Tomcat 5.5.17, and Mid-Tier 7.0 Patch 1.
On Jul 25, 2006, at 3:09 PM, Watson Benjamin A Contr AFWA/XOO wrote: ** Greetings List, � System information for starters: � Database: MS SQL Server 2000 SP4 on Windows Server 2003 Application: Remedy 6.3 on Windows Server 2003 Web: MidTier 6.3 on Windows Server 2003 with IIS6 and Servlet Exec. � Now, onto the "problem". � I've gleemed from the list that the Win2K3/IIS6/MidTier/ServletExec combination is rather slow.� I've noticed some sluggishness myself. � I've also seen people mention that an Apache/Tomcat combination is quicker. � Therefore, I've stood up a Red Hat Enterprise Linux 4 Update 3 server with Apache and Tomcat.� Furthermore, I've installed MidTier 7 rather than 6.3 and pointed the install to the Application server listed above. � My questions are: � 1.) Will MT7 work with ARS 6.3? � 2.) Given that the above answer is "yes", what caveats do I need to know to get MT working correctly with Apache/Tomcat? � I know Apache is working as I can see the standard test page when accessing it from another box.� The same goes for Tomcat. � As far as installation is concerned, apache is at /etc/httpd and tomcat is (unfortunately at this time) is in a user's directory /home/<user>/apache-tomcat-<version> � MidTier is installed at /usr/ar/mid-tier. � These are all of the configuration settings I passed into the MT7 installer script, which finished without errors. � Any special configurations I need to make to MidTier, Apache, Tomcat, or all of the above? � When I attempt to access (from the RHEL box) http://localhost/arsys/config/config.jsp as annotated in the documentation, I get a page not found.� � I made a symbolic link in /var/www/http/ and pointed it to the MT install home directory and when I visit the page above, I see the JSP script in the browser window. � Thanks,//SIGNED// BENJAMIN A WATSON, Contractor, AFWA/XOO SAIC - Remedy Team Commercial: (402) 294-8225 DSN: 271-8225 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] __20060125_______________________This posting was submitted with HTML in it___
__20060125_______________________This posting was submitted with HTML in it___
__20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___
__20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___
|