Re: [OFF-TOPIC] RE: John: missing tomcat-apache.conf & mod_jk.conf-auto

2002-09-19 Thread Matthew Hannigan


I compared the instructions between the 'ant' way and the 'configure'
way,  and seduced by the shortness of the instructions, I've
decided to go the configure route.

If you're not on Linux, with many developers utilities installed,
you've got a bit of downloading to do.

I'm doing this on Solaris8.

I'm in the middle of it now but so far I have worked out that:

To run buildconf.sh, you need libtool and autoconf and automake.
You can get them from gnu.org.  To get these going you need gnu m4
as well, obtainable from the same place.

I'll let you know how I go!

Regards,
Matt


Turner, John wrote:
> Mod_jk is an Apache module.  It goes on the machine that has Apache, in a
> place that Apache has permission to access.
> 
> You don't need ant to install mod_jk.  Ant is just one of two options for
> building mod_jk.  You can also use the traditional ./configure method to
> build mod_jk.
> 
> You also don't need Apache 2.0.40.  Apache 1.3.26 is fine, and is the same
> codebase as your existing version.
> 
> John
> 
> 
> 
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, September 18, 2002 5:34 AM
>>To: Tomcat Users List
>>Subject: Re: [OFF-TOPIC] RE: John: missing tomcat-apache.conf &
>>mod_jk.conf-auto
>>
>>
>>
>>
>>>Apache does not need J2SDK or JRE to function.  It has 
>>
>>nothing to do with
>>
>>>java.
>>
>>Which of the 2 machines do I install mod_jk on :
>>(1) on the web-server (Apache)   or
>>(2) on the app-server (Tomcat)   or
>>(3) both ???
>>
>>I remember one of the many doco's mentioned Apache and mod_jk , but I
>>can't find that one again.
>>
>>I am getting so frustrated following instructions on the doco's at the
>>moment because :
>>(1) to get Apache to talk to Tomcat , I need mod_jk
>>(1.1) ... Apache 1.3.16 is too old, build 2.0.4
>>(2) to install mod_jk , I need ANT 
>>(2.2) ... and no, I haven't got "libtoolize" !
>>(3) to get ANT working I need the whole j2sdk1.4.0 kit and kaboodle...
>>
>>Okay, I have installed j2sdk before, but that was an older 
>>version, so I
>>have different versions - never mind , get to it
>>
>>--
>>To unsubscribe, e-mail:   
>>
>>For additional commands, e-mail: 
>>
>>
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> .
> 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: integrate tomcat with IIS (using JK2) and share user authentication information?

2002-09-19 Thread Matthew Hannigan

On Thu, Sep 19, 2002 at 02:10:58PM -0400, Alvin Wang wrote:
> Or thinking the other way around, if we use tomcat to do the authentication,
> is there a way that we can prevent IIS from loading some document until
> login has been authenticated by tomcat?

Only have the sensitive stuff served up by tomcat.

Let IIS do the static and uninteresting stuff only.

Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: two instances of tomcat (in diferent ports) on the samemachine

2002-09-19 Thread Matthew Hannigan

On Thu, Sep 19, 2002 at 01:06:40PM -0700, Dan Lipofsky wrote:
> We have several developers using the same Solaris machine.
> Each has their own install of tomcat in their home directory,
> and of course their own setting for CATALINA_HOME
> in their .profile file.  We have no problems with it.
> - Dan
> 
> >
> > I tried that... but I get some kind of conflict with CATALINA_HOME...


How to do this in the docs.  You don't use CATALINE_HOME,
you use CATALINA_BASE.

And have your own conf, logs, temp, webapps, work
under CATALINA_BASE.

Mat

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




which proxy (mod_jk,jk2,webapp etc. (was Re: How to use Port 80?)

2002-09-22 Thread Matthew Hannigan


You can also use Apache's standard mod_proxy, but this
forward all traffic to tomcat.

Does anyone have an overview of what the pros and cons
of each of these possibilties?

I'm looking for ease of setup, features, stability,
is it currently being maintained, improved etc.

Regards,



Ben Walding wrote:
> You can set up a port forward / filter such that traffic that comes in 
> on port 80 gets filtered through to port 8080
> 
> The other options is to use Apache out the front on port 80 and then 
> mod_jk / jk2 / mod_webapp to connect tomcat into apache.
> 
> I can't recommend one or the other for these as I don't run in either 
> configuration.
> 
> 
> It's all a big game!
> 
> Ben
> 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: jk_ajp errors in mod_jk.log ???

2002-09-24 Thread Matthew Hannigan


Where in server.xml  do you put the matching ServerName and
Hostname?  I think this may be my problem.
My connection is getting tomcat to give some of the
examples pages, but anything further gives blank page in the
browser:

catalina_log.2002-09-24.txt:2002-09-24 17:36:32 Ajp13Processor[8009][4] 
 [Ajp13] [RequestHandler] status is:  400(Bad Request)

mod_jk.log:[Tue Sep 24 17:36:32 2002]  [jk_ajp_common.c (462)]: 
ajp_unmarshal_response: status = 400



My server.xml is:



   

 
 

 
 

   
   

   

 

   



I have the same workers.properties.

Regards

Matt


Anthony Milbourne wrote:
> Hi John
> 
> I onjy just noticed that this is in your HowTo (Apache 1.3.26 - Tomcat
> 4.0.4, at least) as well as in the list archives.  The example
> wrokers.properties file you have given has a minor error.  It should be:
> 
>   # BEGIN workers.properties
>   #
>   # Setup for apache system
>   #
>   # make this equal to CATALINA_HOME
>   workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4
>   #
>   # make this equal to JAVA_HOME
>   workers.java_home=/usr/java/j2sdk1.4.0_01
>   #
>   ps=/
>   worker.list=ajp13
>   
>   # Definition for Ajp13 worker
>   #
>   worker.ajp13.port=8009
>   
>   # change this line to match apache ServerName and Host name in
> server.xml
>   worker.ajp13.host=localhost
>   
>   worker.ajp13.type=ajp13
>   #
>   # END workers.properties




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: jk_ajp errors in mod_jk.log ???

2002-09-24 Thread Matthew Hannigan

John
Thanks, but I don't have a Host element in my server.xml.

Is my server.xml a little too minimal?

Regards,
Matt


Turner, John wrote:
> The name parameter of the Host element is where you define the hostname.
> ServerName is an Apache directive.
> 
> John
> 
> 
> 
>>-----Original Message-
>>From: Matthew Hannigan [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, September 24, 2002 9:07 AM
>>To: Tomcat Users List
>>Subject: Re: jk_ajp errors in mod_jk.log ???
>>
>>
>>
>>Where in server.xml  do you put the matching ServerName and
>>Hostname?  I think this may be my problem.
>>My connection is getting tomcat to give some of the
>>examples pages, but anything further gives blank page in the
>>browser:
>>
>>catalina_log.2002-09-24.txt:2002-09-24 17:36:32 
>>Ajp13Processor[8009][4] 
>> [Ajp13] [RequestHandler] status is:  
>>400(Bad Request)
>>
>>mod_jk.log:[Tue Sep 24 17:36:32 2002]  [jk_ajp_common.c (462)]: 
>>ajp_unmarshal_response: status = 400
>>
>>
>>
>>My server.xml is:
>>
>>
>>
>>   
>>
>> 
>> >port="8009" minProcessors="5" maxProcessors="75"
>>acceptCount="10" debug="1"/>
>>
>> 
>> 
>>
>>   
>>   >   prefix="catalina_log." suffix=".txt"
>>   timestamp="true"/>
>>
>>   
>>
>> 
>>
>>   
>>
>>
>>
>>I have the same workers.properties.
>>
>>Regards
>>
>>Matt
>>
>>
>>Anthony Milbourne wrote:
>>
>>>Hi John
>>>
>>>I onjy just noticed that this is in your HowTo (Apache 
>>
>>1.3.26 - Tomcat
>>
>>>4.0.4, at least) as well as in the list archives.  The example
>>>wrokers.properties file you have given has a minor error.  
>>
>>It should be:
>>
>>> # BEGIN workers.properties
>>> #
>>> # Setup for apache system
>>> #
>>> # make this equal to CATALINA_HOME
>>> workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4
>>> #
>>> # make this equal to JAVA_HOME
>>> workers.java_home=/usr/java/j2sdk1.4.0_01
>>> #
>>> ps=/
>>> worker.list=ajp13
>>> 
>>> # Definition for Ajp13 worker
>>> #
>>> worker.ajp13.port=8009
>>> 
>>> # change this line to match apache ServerName and Host name in
>>>server.xml
>>> worker.ajp13.host=localhost
>>> 
>>> worker.ajp13.type=ajp13
>>> #
>>> # END workers.properties
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
> 
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> .
> 



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




understanding Jkmount

2002-09-26 Thread Matthew Hannigan



This is a bit puzzling.  In a bid to understand
the jkmount line in the mod_jk.conf configuration
file, I set it to:

Jkmount /* ajp13

so that tomcat would serve all content, and removed
any apache Alias directive from mod_jk.conf that
pointed to the tomcat instance.  (I'm doing this as a
prelude to putting them on separate machines)



This following url is served up by apache.  I presume
that this is because there is a specific alias
for "index.html" in apache's httpd.conf.

http://dev:30080/manual/index.html

but the following is served by apache too!

http://dev:30080/manual/new_features_1_3.html

with broken images, because the image requests are sent to tomcat.

However!  I get a 404 for

http://dev:30080/manual/upgrading_to_1_3.html

because that is directed to tomcat, and of course
tomcat cannot find it.

The new_features_1_3.html doc and the upgrading_to_1_3.html
pages are right next to each other in the apache htdocs dir.

Why is one directed to tomcat and the other not!?

(It's not another proxy or local caching doing it; I checked the
tomcat and apache log files)

Regards,
Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: understanding jkmount

2002-09-26 Thread Matthew Hannigan



Found the problem.  One of the files
was language versioned. ( .html.en)

mod_negotiation got it before mod_jk

I've been reading up on module order.

It's quite ... interesting :-(

I might have rebuild apache and make
some built-in modules dynamic.


Regards,
-Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: 4th day offline, getting desperate, please help

2002-09-29 Thread Matthew Hannigan

On Sun, Sep 29, 2002 at 07:19:26PM -0500, David W Rhodes wrote:
> Hi David - I've not played with AJP and the mod_jk modules yet, but if 
> you're trying to get back to serving pages directly from Tomcat, it 
> looked as though you had removed the connector definition for the http 
> 1.1 connector on port 8080 from your server.xml. Putting that section 
> back in should get you up and going, and give you a little more time to 
> work on the mod_jk stuff. Good luck.
> - Dave

Yep .. the default server.xml distributed with Tomcat
should just work out of the box for direct connection.
In fact, I found it just works out of the box for
Apache-Tomcat integration, too. All you need is to
set up mod_jk.

You may want to use the "no examples" version of server.xml.

Also, change the httpconnector port from 8080 to 80.

Then you can have Apache listen on a different port and
take your time to integrate .. tomcat can be accessible
via Apache and direct simultaneously.

Regards,
Matt



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: mod_jk2 log

2002-09-30 Thread Matthew Hannigan

On Mon, Sep 30, 2002 at 12:38:36PM -0400, Maxime Colas des Francs wrote:
> Hello 
> 
> I use Tomcat 4.1.10 and mod_jk2
> 
> Can we change log level in jk2.properties ?
> 
> I have too much "( info ) [jk_jni_aprImpl.c (470)]  jkInvoke() invoke"  in my 
>catalina.out
> 
> tks
> 

There was a security problem reported with the invoker
in tomcat 4.1.10 recently. Upgrade to 4.1.12.

Maybe you're getting lots of messages because people
are trying to crack your tomcat.

Just a thought ...

Matt


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Start Apache/Jakarta-Tomcat as Non-root user

2002-09-30 Thread Matthew Hannigan

On Mon, Sep 30, 2002 at 10:28:49AM -0600, Matt Raible wrote:
> I've noticed that if I run ./S40tomcat, I have to add "start" after it
> in order to get it to start from the command line.  Does the startup
> script add this automatically?

Yes.  Have a look at /etc/inittab to follow the trail.

The S* startup scripts are run by /etc/rc.d/rc (linux)
or /sbin/rc3 (solaris)

Matt



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




examples source -- numguess.txt vs snoop.txt

2002-09-30 Thread Matthew Hannigan




I'm running tomcat 4.0.4, looking at the examples.

Using the source links, I've found that numguess.txt
displays as expected, but snoop.txt does not.

snoop.txt looks as though it is being parsed, but
numguess.txt is untouched.

Anyone else see this?

If so why does it happen?

One difference that I can see is that snoop.txt
starts with , but I tried putting a comment
before to no avail.



Regards,
Matt
PS. yeah i know aout 4.0.5, upgrading RSN

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: examples source -- numguess.txt vs snoop.txt

2002-10-01 Thread Matthew Hannigan


Aargh, this is probably

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3029

Sorry for wasting peoples time.
Bloody IE.




On Tue, Oct 01, 2002 at 05:24:00PM +1000, Matthew Hannigan wrote:
> 
> 
> 
> I'm running tomcat 4.0.4, looking at the examples.
> 
> Using the source links, I've found that numguess.txt
> displays as expected, but snoop.txt does not.
> 
> snoop.txt looks as though it is being parsed, but
> numguess.txt is untouched.
> 
> Anyone else see this?
> 
> If so why does it happen?
> 
> One difference that I can see is that snoop.txt
> starts with , but I tried putting a comment
> before to no avail.
> 
> 
> 
> Regards,
> Matt
> PS. yeah i know aout 4.0.5, upgrading RSN
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

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




Re: examples source -- numguess.txt vs snoop.txt

2002-10-01 Thread Matthew Hannigan


Me again, talking to myself :-o

It  would be nice for the source to the servlet examples
to display like the source to the jsp examples.

All colorized n' stuff.

Is this possible?

Matt



On Tue, Oct 01, 2002 at 05:41:56PM +1000, Matthew Hannigan wrote:
> 
> Aargh, this is probably
> 
>   http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3029
> 
> Sorry for wasting peoples time.
> Bloody IE.
> 
> 
> 
> 
> On Tue, Oct 01, 2002 at 05:24:00PM +1000, Matthew Hannigan wrote:
> > 
> > 
> > 
> > I'm running tomcat 4.0.4, looking at the examples.
> > 
> > Using the source links, I've found that numguess.txt
> > displays as expected, but snoop.txt does not.
> > 
> > snoop.txt looks as though it is being parsed, but
> > numguess.txt is untouched.
> > 
> > Anyone else see this?
> > 
> > If so why does it happen?
> > 
> > One difference that I can see is that snoop.txt
> > starts with , but I tried putting a comment
> > before to no avail.
> > 
> > 
> > 
> > Regards,
> > Matt
> > PS. yeah i know aout 4.0.5, upgrading RSN
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

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




Re: mod_jk and SSL communication between Apache to Tomcat ....

2002-10-01 Thread Matthew Hannigan

On Tue, Oct 01, 2002 at 12:46:43PM -0500, Milt Epstein wrote:
> 
> It's probably a matter of putting the right jk directives in the right
> place in your apache httpd.conf file.  Maybe now you have them in the
> section that applies to the root server, and not to the SSL virtual
> host; you may have to repeat them there.

FWIW, with TC 4.0.4 and Apache 1.3.26, just having
the Jk* directives in the global bit in the httpd.conf
works for the SSL virtual host as well.


Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: static rules for jk/ajp13

2002-10-14 Thread Matthew Hannigan

On Mon, Oct 14, 2002 at 10:37:29PM +, Frank Liu wrote:
> > > The docs I can find all talks the other way around: default to apache
> > > and only pass to tomcat when you explicitly ask for certain urls.

There was an posting on this list a few weeks ago
which showed a way to do this.

Essentially, (from memory) you make Tomcat the default:

JkMount / ajp13
JkMount /* ajp13

and then provide rewrite (mod_rewrite) rules to force
specific files to Apache. (Or was it ?)

I'll try and find the post if you cannot find it.

I have found that getting around inbuilt module handlers
is a little problematic; you probably want to put
mod_jk immediately after the ClearModule command in the
httpd.conf.


Regards,
Matt


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




context for Jk directives?

2002-10-14 Thread Matthew Hannigan



In the Apache documentation, there is a context given
for each module directive; whether it works in a virtual,
location, directory etc container.

The mod_jk docs don't have this .. does anyone have a
categorical list?

I'm using trial and error at the moment, mostly error.


Matt


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Excluding directories from mod_jk mount

2002-10-15 Thread Matthew Hannigan

On Tue, Oct 15, 2002 at 05:36:00PM -0700, Schnitzer, Jeff wrote:
> Is there a way to exclude some directories?  In particular, I'd like
> Apache to serve all content in /static.

Check the thread "static pages in mod_jk/ajp13"

Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Excluding directories from mod_jk mount

2002-10-15 Thread Matthew Hannigan

On Tue, Oct 15, 2002 at 06:36:11PM -0700, Schnitzer, Jeff wrote:
> I'm having difficulty finding a thread with that specific title.

Yeah I got it wrong, it's "static rules for jk/ajp13"

> Is this possible?  

Allegedly.  Haven't done it myself.
 
Sorry I can't help you more.
Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat Non Root User?

2002-10-27 Thread Matthew Hannigan
On Sun, Oct 27, 2002 at 01:19:21PM -0500, [EMAIL PROTECTED] wrote:
> Can someone please detail how I can configure tomcat to
> work on a port higher than 1024 so that I can launch it as
> a regular user (not root)?  I am running on Solaris and
> using Apache 2 with Tomcat 4.

But ... high ports are the default!

Compare your server.xml to the distributed one.

Or do you mean apache?
Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: mod_jk runs but doesnt process

2002-10-28 Thread Matthew Hannigan
On Tue, Oct 29, 2002 at 03:41:09AM +0800, Benjamin Charles Tehan wrote:
> Thanks alot Matt
> 
> Solved the problem.
> 
> I got those details from 2 seperate sources on the net, the 2 different 
> howto's had the same thing.
> 
> I guess they arnt very good howto's

Be sure to tell the owners of those howtos the problem,
open source is all about helping each other!


> Thanks for the fix.

You're welcome.

Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: installation problems with Tomcat 4.1, mod_jk2 & connectors

2002-11-06 Thread Matthew Hannigan
On Wed, Nov 06, 2002 at 08:08:31AM -0500, Turner, John wrote:
> 
> That's correct.  The Tomcat "side" of the JK/JK2 connectors is enabled in
> server.xml by default. 
> 
> Look for a Connector element in server.xml that calls the CoyoteConnector
> class with a port assignment of 8009.  That's your JK2 connector on the
> Tomcat end.

Isn't the CoyoteConnector on 8081?

The Ajp13Connector is on 8009.

Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: installation problems with Tomcat 4.1, mod_jk2 & connectors

2002-11-07 Thread Matthew Hannigan

[ coyoteconnector or ajp13connector on 8009]

On Thu, Nov 07, 2002 at 08:42:29AM -0500, Turner, John wrote:
> 
> Nope.  From my 4.1.12 binary install package:

Ah. I'm using 4.0.x

Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




OT: Solaris9 on x86 ( Re: mod_jk build problems )

2002-11-07 Thread Matthew Hannigan
On Thu, Nov 07, 2002 at 12:34:05PM -0500, Brzezinski, Paul J wrote:
> BTW, don't think Sun will release Solaris 9 for Intel...ever.  I think
> they're looking at marketing their own flavor of Linux for Intel.

They have announced that they will in fact release Solaris 9
for x86.  Might be supported only on a limited (i.e. Sun sold and
certified) hardware range.

Matt


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Basic Setup Question...

2002-11-12 Thread Matthew Hannigan
On Tue, Nov 12, 2002 at 07:39:55AM -0500, Turner, John wrote:
> 
> You need a workers.properties file, as well.

Ah yes, good catch.  I meant to write workers.properties
instead of mod_jk.conf.

> You will need to change server.xml if you use virtual host names...the
> default server.xml has Host elements defined for localhost only.

Yep.  The reason I suggest not to change the default
server.xml at first is that it is much better imho
to start from a known working config and then only change
one thing at a time.

The other thing, in contrast to your excellent howto
is that many people (like me) have apache and tomcat
on different machines, so using auto config is a non-starter.


> 
> > -Original Message-
> > From: mlh [mailto:mlh@;zip.com.au]
> > Sent: Tuesday, November 12, 2002 7:27 AM
> > To: Tomcat Users List
> > Subject: Re: Basic Setup Question...
> > 
> > 
> > 
> > FWIW, you do not have to do ANYTHING to
> > the server.xml as distributed to be able
> > to have apache forward *.jsp's to tomcat.
> > 
> > All you have to do is install mod_jk in
> > apache, edit apache's httpd.conf and write
> > the mod_jk.conf.  Of these 3, building and
> > installing the mod_jk.so is perhaps the
> > most time-consuming/difficult.
> > 
> > For the last 2, copious examples now exist
> > on the jakarta web site and elsewhere on the
> > 'net.
> > 
> > Matt
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > 
> > For additional commands, e-mail: 
> > 
> > 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: running jetspeed

2002-11-19 Thread Matthew Hannigan
On Tue, Nov 19, 2002 at 10:42:40AM -0200, Isil Kirdi wrote:
> This is gonna be very simple but we have set up tomcat 4.1.12 and =
> jetspeed 1.4b but when we go to our localhost:8080/jetspeed we just see =
> a directory listing and no login screen. Are we missing sth?

An index.jsp?


Also, you probably want to turn off the listing feature
once in production.  See the web.xml for how.


Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: mod_webapp.so versus mod_jk

2002-11-20 Thread Matthew Hannigan
On Wed, Nov 20, 2002 at 01:51:33PM -0600, Kent Perrier wrote:
> On Wed, 2002-11-20 at 13:24, Steve Cromer wrote:
> > 
> > Hi,
> > 
> > I would like to integrate Tomcat and Apache.  I noticed that there is more than
> > one way to do this.  One way involves Warp, using mod_webapp.so and another 
> > involves mod_jk.
> > 
> 
> Please, go look in the archives.  This question is asked almost on a
> daily basis.  The answer is in the archives.

It's asked daily in the archives because there is no
clear answer in the docs.

Add to this the code word and acronym soup of jakarta, tomcat,
catalina, jasper, warp, coyote, ajp12, ajp13, ajp14.

Don't underestimate the hurdle a newbie has to go through.


I belive the answer is:

mod_webapp  - don't use, obsolete

mod_jk  - stable, being maintained but not enhanced,
  use with apache1.* or apache2, and tomcat3 or tomcat4

mod_jk2 - developmental, being maintained and enhanced,
  use with apache2 and tomcat4

I use mod_jk with apache1.3.27 and tomcat4.0.6 and
haven't had many problems.

Matt



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-24 Thread Matthew Hannigan
On Sun, Nov 24, 2002 at 04:18:21PM -0500, james wrote:
> Thanks for reply, I can see http://localhost:8080/index.jsp or
> http://localhost:8080
> but it takes a very long time (5 minutes), after that it is OK for other
> pages for the same IE, but if I open another IE, it still takes a very long
> time in  the first time .
> What might be the problem?

Might be DNS.  Trying setting enableLookups=false according
to the comments in server.xml.

Matt

--
To unsubscribe, e-mail:   
For additional commands, e-mail: