[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RAQ4R Tomcat version, PKG
- Subject: RE: [cobalt-users] RAQ4R Tomcat version, PKG
- From: "Todd Kirk" <tkirk@xxxxxxxxxxxxxx>
- Date: Mon May 5 23:25:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>> Oops forgot to ask what sort of load or any issues I should
>> be aware of
>> putting Tomcat on a RAQ4R.
> Todd,
>
> Make SURE you have 512MB RAM when loading Tomcat on a server.
> We've had
> RaQ4 servers crash hard and refuse to boot before with only 256MB RAM
> when they were running Tomcat. I cannot stress this enough!!!
>
> You also may run into problems where you have to set up a cron job to
> restart Apache once a day because Tomcat hangs -- I reported
> this to the
> developers personally and was told it was a "known bug." I'm
> not sure if
> it ever got fixed.
>
> Of course, if you want to run anything more than the most basic JSP
> files, you're really going to need a more powerful server.
> I've watched
> a RaQ4 compile JSP files for 2-3 minutes at 100% CPU. PHP
> runs great on
> the 4s, but Java murders them. After my experiences with the
> 550 and its
> outdated software, I can't say I recommend those, but a standard 1GHz+
> box with >512MB of RAM and another control panel should run JSP/Tomcat
> just fine.
Thanks for the info,
Ok I have 512Mb RAM and I expect this java servlet to only be active
with a few transactions per month. So I'll see how I go. If my RAQ4R
suffers then I will have my colo host the java servlet for me and
uninstall Tomcat all together.
Below are the instructions given to me by the company that made the java
servlet, anyone care to help me verify that -
1. I only need to follow the last install heading "Transactor 2000
Installation Servlet Installation" (at the bottom of this long post
SORRY).
-START INSTALL INSTRUCTION PROVIDED-
Below are the links to the rpm files that need to be installed on your
system
with Solaris/Linux links shown where ever possible.
Installing the files on RedHat is a simple matter of
"rpm -ivh ApacheJServ-1.1.2-1.i386.rpm" for example and you are done
Components to required to enable Apache to run servlets:
1. Install the jdk now called the j2sdk
2. Install Apache JServ module
3. Install jsdk
You can just get the java run time environment instead of point 1 but I
presume you will want to enhance the samples in which case you will need
the complete environment.
Where to download j2sdk (Java Software Development Kit):
--------------------------------------------------------
Standard Page for Solaris/Sparc/Linux/Windows
http://java.sun.com/j2se/1.3/
The RPM file if using RedHat Linux is: j2sdk-1_3_0_02-linux-rpm
available from
http://java.sun.com/j2se/1.3/download-linux.html
How to set up j2sdk
-------------------
http://developer.java.sun.com/developer/technicalArticles/Programming/li
nux/
Where to get download for JServ:
--------------------------------
http://java.apache.org/jserv/dist/
For a RedHat packaged script try:
http://java.apache.org/jserv/dist/ApacheJServ-1.1.2-1.i386.rpm
How to install Jserv
--------------------
http://java.apache.org/jserv/install/howto.unix_install.html
Where to get rpm for jsdk:
--------------------------
For RPM Specific scripts:
http://rpmfind.net/linux/RPM/solaris/RPMS/i386/jsdk-2.0-3.i386.html
or
ftp://rpmfind.net/linux/solaris/RPMS/i386/jsdk-2.0-3.i386.rpm
After you have installed these files a Linux RedHat 6.2 system would
require
the following modifications (others listed in the How to files above)
Modify the /etc/httpd/conf/jserv/jserv.properties
Replace this Line (to run Java)
wrapper.bin=/usr/java/jdk1.3.0_02/bin/java
Add This line (Point to the Java packages)
wrapper.classpath=/usr/java/jdk1.3.0_02/jre/lib/ext
And you are ready to run.........................
You should be able to run a sample servlet located in
/home/httpd/servlets/ called
IsItWorking to confirm your installation.
Transactor 2000 Installation Servlet Installation
-------------------------------------------------
Once you have unpacked the TransactorClient.tz file with
tar -xvzf TransactorClient.tz *
You will have 3 directories ext, html, servlets
ext: Copy this file to you Java runtime lib ext folder
An example would be: /usr/java/jdk1.3.0_02/jre/lib/ext/
html: Place these in an appropiate HTML directory such as
/home/httpd/html/transactor
for your testing
servlets: Copy the class files to your Java Servlet location
such as: /home/httpd/servlets
The Java files are provided to give you a jump start in creating
your own servlet implementation using the java Transactor package
supplied.
regards,
Todd