** 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.
Jason

 
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.

//SIGNED//
BENJAMIN A WATSON, Contractor, AFWA/XOO
SAIC - Remedy Team
Commercial: (402) 294-8225
DSN: 271-8225
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

 


From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG ] On Behalf Of Michael Worts
Sent: Friday, July 28, 2006 8:56 AM
To: arslist@ARSLIST.ORG

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.




Derek Berube <[EMAIL PROTECTED] >
Sent by: "Action Request System discussion list(ARSList)" < arslist@ARSLIST.ORG>

28/07/2006 14:33

Please respond to
arslist@ARSLIST.ORG

To
arslist@ARSLIST.ORG
cc

Subject
Re: MidTier on Linux







**
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.


Download my vCard
Derek Berube <[EMAIL PROTECTED] >
  Wildstar Technologies, LLC.
1453 Riverview Run Lane
Suwanee, Georgia 30024
(678) 229-1475 - Office
(678) 229-1476 - FAX
(404) 444-5283 - Mobile
 

http://www.wildstartech.com/

AIM Handle: BerubeDB

Jabber: [EMAIL PROTECTED]

MSN Messenger: [EMAIL PROTECTED]

Yahoo! Messenger: derekberube



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___

Reply via email to