On Saturday 10 April 2004 19:36, Michael McGrady wrote:

Well, after downloading the binaries, for me it was nearly
kind of out-of the box, after having worried a lot of time
with the tomcat-connectors package shipped with SuSE 9.0
(which obviously doesn't work with TC5). The only thing
I finally had to do was to adapt the settings in the
$TOMCAT_HOME/conf/jk.properties file and map the 
Tomcat paths in /etc/apache2/workers2.properties
(paths are SuSE specific; RedHat | Fedora uses a slightly
different scheme). Can't tell about Windows or other
environments, but it was much easier than I had
thought in the end (after having spent considerable
time at the 'not-working-another-time-for-mysterious-
reasons' stage). I know it's possible to auto-start
Tomcat from the Apache service, but for me, that's
something like Advanced Voodoo I'm not capable of.
Still, I can start both of them separately via init.d
scripts (Tomcat first, then Apache, runlevels 3 | 5),
IIRC without having to set any System properties
first and even without changing the scripts at all.

But well then: as we're OT anyway - does anyone
around here (who notably even spends the Easter
weekend with technical issues - just like me :-)
have a fitting mod_rewrite rule at hand that just
does the following:

1. Map .do and .jsp to .html to the outside world,
in particular to search engines? What I mean is:
calling index.html transparently invokes index.jsp
and so on,

2. and possibly even maps parameters to a
HTML-friendly structure, so that s/th like

/dispatcher.do?firstparam=1&secondparam=2

ends up in something like

/dispatcher/1/2/ ?

I know it's possible with mod_rewrite, but
all this regex stuff seems to be that long
gone it just makes me feel dizzy having
to remember it these days.  

-- Chris.

> Not sure what you have done, but I had to get an outside startup
> script to get things going.  I suspect you are running into the same
> difficulty.  I like to run the application without using System to
> set the environmental variables, so that may be a different thing
> than you face.
>
> At 06:30 AM 4/10/2004, you wrote:
> >On 09/04/2004 20:55 Ralf Schneider wrote:
> >>Hi,
> >>I'm new to Struts and I'm trying to install Struts 1.1 with Tomcat
> >> 5.0.16 and
> >>Apache 2.0.48. The documentation only talks about Tomcat 3.x.
> >>My first try was to follow these instructions for Tomcat 3.2.1. I
> >> copied the
> >>war files included with the binary distribution into the webapps
> >>directory of
> >>my Tomcat installation. Then I restarted Tomcat, but the file
> >>tomcat-apache.conf is not generate as described in the docs.
> >>So, I assume the installation works a bit different with these
> >> newer versions,
> >>but how? I that described anywhere? And if yes, where?
> >>Any hint would be apreciated,
> >>Ralf.
> >
> >I supect that you're trying to use the old mod_jk connector. Try
> > mod_jk2 instead.
> >
> >--
> >Paul Thomas
> >+------------------------------+------------------------------------
> >---------+
> >
> >| Thomas Micro Systems Limited | Software Solutions for Business    
> >|         | Computer Consultants         |
> >| http://www.thomas-micro-systems-ltd.co.uk   |
> >
> >+------------------------------+------------------------------------
> >---------+
> >
> >--------------------------------------------------------------------
> >- To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to