RE: AJP12 to AJP13

2002-03-08 Thread Ion Larranaga

You will also have to change your JDK, as the Ajp13Connector
class uses socket.setKeepAlive(...), which was first included in JDK 1.3.

With the correct version of the JDK the only thing that must
be done is changing tomcat and mod_jk configurations.

Hope it helps,

   Ion


-Mensaje original-
De: Lance Dyas [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 08 de marzo de 2002 4:55
Para: [EMAIL PROTECTED]
Asunto: AJP12 to AJP13


I have a web app that is configured on ajp12, Is there anything I 
need to change in the app itself to get it to run on ajp13...
or is it just a question of changing tomcat configurations

I was specifically wondering I could get it to work with SSL hence the 
interest in ajp13

A few details
I am using Win2K pro, Apache 1.323 ,Mod_gzip1.319,  Mod jk 1.10, with
Tomcat 4.0 with Jdk1.22



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: AJP12 or AJP13?

2001-06-18 Thread Neil Conway

On Tue, Jun 19, 2001 at 10:27:05AM +0900, [EMAIL PROTECTED] wrote:
 I am new to tomcat. I am not sure which protocol should be set in my server.xml,
 AJP12 or AJP13?  How to know which protocol is supported in my box? 

You need AJP12 to shutdown Apache/Tomcat, but AJP13 is the better
protocol for general purpose use. So I'd say enable both of them
(although you may as well cut down on the number of threads the
PoolTcpConnector for AJP12 uses, since you're rarely be using them).

There are docs on how to do this @ the Tomcat site.

Cheers,

Neil




Re: AJP12 or AJP13?

2001-06-18 Thread Monitor


   Hello all,

   Where can I find the information/definition of APJ12/APJ13?
   Many thanks.

   Monitor

__
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.com/



RE: AJP12 or AJP13?

2001-06-18 Thread Alexander Demidovich

But be careful..

AJP13 doesn't pass any extensions to http
protocol, for example - webdav

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 19, 2001 3:27 AM
 To: [EMAIL PROTECTED]
 Subject: AJP12 or AJP13?
 
 
 Hi,
 I am new to tomcat. I am not sure which protocol should be set in 
 my server.xml,
 AJP12 or AJP13?  How to know which protocol is supported in my box? 
 My platform is GNU/Linux Debian(unstable) and
 apache 1.3.19
 tomcat 3.2.2
 libapache-mod-j k3.2.2
 
 Thanks so much in advance.
 
 Regards,
 
 --Wen
 [EMAIL PROTECTED]

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: Ajp12 vs Ajp13

2001-05-30 Thread Tim O'Neil

At 04:37 PM 5/30/2001 +0100, you wrote:
I'm confused.
When editing the server.xml file to use Ajp13 support
should I delete the AJP12 support or leave it in?


You have to leave ajp12 in because tomcat uses it in its
wind down procedure, at least in 3.x versions. You can
run everything else on 13 though. I do.





Re: Ajp12 vs Ajp13

2001-05-30 Thread Jim Jagielski

Tim O'Neil wrote:
 
 At 04:37 PM 5/30/2001 +0100, you wrote:
 I'm confused.
 When editing the server.xml file to use Ajp13 support
 should I delete the AJP12 support or leave it in?
 
 
 You have to leave ajp12 in because tomcat uses it in its
 wind down procedure, at least in 3.x versions. You can
 run everything else on 13 though. I do.
 

I'm considering a patch to allow ajp13 to handle the wind-down
as well. Security-wise, it's much better for ajp13 to be able to
do it, but StopTomcat.java has ajp12 hardwired

-- 
===
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
  Hell is hot, that's never been disputed by anybody.



Re: Ajp12 vs Ajp13

2001-05-30 Thread Tim O'Neil

At 02:19 PM 5/30/2001 -0400, Jim Jagielski wrote:
I'm considering a patch to allow ajp13 to handle the wind-down
as well. Security-wise, it's much better for ajp13 to be able to
do it, but StopTomcat.java has ajp12 hardwired

So Jim- in 4.0 and beyond setting p13 to that task wasn't
in the must-do category? Curious as to why...





Re: Ajp12 vs Ajp13

2001-05-30 Thread Jim Jagielski

Scratching an itch... I've heard a number of resistant movements
in wider TC acceptance due to the fact that the shutdown procedure
is as open as it is, even using the 'inet' hack to ensure a local
command.

Tim O'Neil wrote:
 
 At 02:19 PM 5/30/2001 -0400, Jim Jagielski wrote:
 I'm considering a patch to allow ajp13 to handle the wind-down
 as well. Security-wise, it's much better for ajp13 to be able to
 do it, but StopTomcat.java has ajp12 hardwired
 
 So Jim- in 4.0 and beyond setting p13 to that task wasn't
 in the must-do category? Curious as to why...
 
 


-- 
===
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
  Hell is hot, that's never been disputed by anybody.



RE: ajp12 or ajp13

2001-03-01 Thread Chris Andreou

Tomasz,

The documentation is very confusing. Would it be possible to send us your
configuration files?

Thanks

Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 2:34 AM
To: [EMAIL PROTECTED]
Subject: Re:ajp12 or ajp13


Well, you should make chages in mod_jk.conf file (which is included in
Apache
http.conf).
Then add new connector for apjv13 in server.xml file (look at dokumentation
in
mod_jk section).

Tomasz Sucharzewski
ING Bank



Reply Separator
Subject:ajp12 or ajp13
Author: [EMAIL PROTECTED]
Date:   01-02-28 11:29

Hello,

I have configed Apache to work with Tomcat.  However, in the
mod_jk.conf-auto file,  it still uses JkMount /example/servlet/* ajp12, even
I already configed Apache to use ajp13.  Why tomcat still use ajp12?  Could
you please give me a help?   Thank you in advance.

Jianming Wang

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



-
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-

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

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




Re: ajp12 or ajp13

2001-02-28 Thread Jan Labanowski

You do not edit mod_jk.conf-auto. It does not make sense, since it is
always overwritten by tomcat when it starts. What you do is:
  1) you copy the mod_jk.conf-auto to mod_jk.conf-my-own-file 
  2) in the Apache's httpd.conf you put the line:
  Include /the/full/path/to/mod_jk.conf-my-own-file
  3) You make sure:
   a) that you have the ajp12 connector in server.xml activated
  (it is needed for shutting down Tomcat)
   b) that you have the ajp13 connector in server.xml activated
  (you wanted it in JkMount)
   c) You have the ajp13 connector in workers.properties

  workers.tomcat_home=/you/tomcat/home/directory ***
  workers.java_home=/usr/local/jdk1.3***
  ps=/
  worker.list=ajp13
  worker.ajp13.port=8006
  worker.ajp13.host=localhost
  worker.ajp13.type=ajp13
  worker.ajp13.lbfactor=1
  worker.loadbalancer.balanced_workers=ajp13

  and all the rest is commented out with #  [ *** change these!!! ]

Jan K. Labanowski|phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd, |http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163  |http://www.osc.edu/

On Wed, 28 Feb 2001, Wang, Jianming wrote:

 Hello,
 
 I have configed Apache to work with Tomcat.  However, in the
 mod_jk.conf-auto file,  it still uses JkMount /example/servlet/* ajp12, even
 I already configed Apache to use ajp13.  Why tomcat still use ajp12?  Could
 you please give me a help?   Thank you in advance.
 
 Jianming Wang
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 



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




RE: ajp12 vs ajp13 mod_jk.conf-auto

2001-02-14 Thread Coetmeur, Alain



 -Message d'origine-
 De: Mel Martinez [mailto:[EMAIL PROTECTED]]
 Date: mardi 13 fvrier 2001 23:33
 : [EMAIL PROTECTED]
 Objet: ajp12 vs ajp13  mod_jk.conf-auto
 
 
 Question:
 
 what determines whether ajp12 or ajp13 will be
 specified for a jkmount statement in the
 auto-generated mod_jk.conf-auto file?
 
 I.E., it always generates statements like:
 
 JkMount /myapp/servlet/* ajp12
 JkMount /myapp/*.jsp ajp12
 
 I've even tried disabling all reference to ajp12 from
 server.xml and workers.properties but that had no
 effect.
 
 Is the only way to force the use of Ajp13 to manually
 edit the mod_jk.conf file?

as told here you can tweak things, but
the most clean is to use
a separate my-mod_jk.conf include file
that you derivate from the generated mod_jk.conf-auto

if you really want all to be automatic
add a conversion script (sed or perl script) 
to generate the my-mod_jk.conf from the .conf-auto

with cocoon and HTTPS I had to tweak 
thos .conf-auto much more and
nothing is better than manual config when things are stable...

changing the ajp12 alias to point to ajp13 is
really anti-documentation...
on unix try something like

#!/bin/sh
launch_tomcat
sleep 5 # wait for tomcat to generate the .conf-auto
sed -e 's/ajp12/ajp13/g' conf/mod_jk.conf-auto conf/my-mod_jk.conf
launch_apache


don't forget to adapt apache conf/httpd.conf to include
the my-mod_jk.conf instead of the conf-auto


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




Re: ajp12 vs ajp13 mod_jk.conf-auto

2001-02-13 Thread Filip Hanik

yes,
the JkMount command looks like this

JkMount context workername

so the autogenerated ajp12 is just the worker name "ajp12"

in the workers.properties file you can change the protocol that the worker
is using.
the property file has the following format

worker.workername.propertyname=value
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp13

so just change the last line to use ajp13. now you have to modify server.xml
to start a ajp13 connector on the port 8007 and change the port for ajp12.

the nice thing with the autogenerated file is that your webapps can be
dynamic.
but if you need to do a lot of fancy stuff, you should create your own file
for the mod_jk configuration.

try playing around with it, and if you have a specific problem let me know
and I can help you out.

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
- Original Message -
From: "Mel Martinez" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 13, 2001 2:32 PM
Subject: ajp12 vs ajp13  mod_jk.conf-auto


 Question:

 what determines whether ajp12 or ajp13 will be
 specified for a jkmount statement in the
 auto-generated mod_jk.conf-auto file?

 I.E., it always generates statements like:

 JkMount /myapp/servlet/* ajp12
 JkMount /myapp/*.jsp ajp12

 I've even tried disabling all reference to ajp12 from
 server.xml and workers.properties but that had no
 effect.

 Is the only way to force the use of Ajp13 to manually
 edit the mod_jk.conf file?

 Should I even be worrying about this?

 Thanks,

 mel

 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/

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




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




Re: ajp12 vs ajp13 mod_jk.conf-auto

2001-02-13 Thread Mel Martinez

Thanks, Filip.

I'll try the changes you suggested.

Now, if I could just get someone to tell me why apache
Alias and Rewrites are not working with tomcat...


Mel



--- Filip Hanik [EMAIL PROTECTED] wrote:
 yes,
 the JkMount command looks like this
 
 JkMount context workername
 
 so the autogenerated ajp12 is just the worker name
 "ajp12"
 
 in the workers.properties file you can change the
 protocol that the worker
 is using.
 the property file has the following format
 
 worker.workername.propertyname=value
 worker.ajp12.port=8007
 worker.ajp12.host=localhost
 worker.ajp12.type=ajp13
 
 so just change the last line to use ajp13. now you
 have to modify server.xml
 to start a ajp13 connector on the port 8007 and
 change the port for ajp12.
 
 the nice thing with the autogenerated file is that
 your webapps can be
 dynamic.
 but if you need to do a lot of fancy stuff, you
 should create your own file
 for the mod_jk configuration.
 
 try playing around with it, and if you have a
 specific problem let me know
 and I can help you out.
 
 Filip
 
 ~
 Namaste - I bow to the divine in you
 ~
 Filip Hanik
 Software Architect
 [EMAIL PROTECTED]
 www.filip.net
 - Original Message -
 From: "Mel Martinez" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 13, 2001 2:32 PM
 Subject: ajp12 vs ajp13  mod_jk.conf-auto
 
 
  Question:
 
  what determines whether ajp12 or ajp13 will be
  specified for a jkmount statement in the
  auto-generated mod_jk.conf-auto file?
 
  I.E., it always generates statements like:
 
  JkMount /myapp/servlet/* ajp12
  JkMount /myapp/*.jsp ajp12
 
  I've even tried disabling all reference to ajp12
 from
  server.xml and workers.properties but that had no
  effect.
 
  Is the only way to force the use of Ajp13 to
 manually
  edit the mod_jk.conf file?
 
  Should I even be worrying about this?
 
  Thanks,
 
  mel
 
  __
  Do You Yahoo!?
  Get personalized email addresses from Yahoo! Mail
 - only $35
  a year!  http://personal.mail.yahoo.com/
 
 

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

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


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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




Re: ajp12 vs ajp13 mod_jk.conf-auto

2001-02-13 Thread Filip Hanik

 Now, if I could just get someone to tell me why apache
 Alias and Rewrites are not working with tomcat...

tell us what you are trying to do and send us some sample config files and
how your environment is setup. is becomes much easier than to answer the
question above, because alias works very well for me :)

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
- Original Message -
From: "Mel Martinez" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 13, 2001 3:11 PM
Subject: Re: ajp12 vs ajp13  mod_jk.conf-auto


 Thanks, Filip.

 I'll try the changes you suggested.

 Now, if I could just get someone to tell me why apache
 Alias and Rewrites are not working with tomcat...


 Mel



 --- Filip Hanik [EMAIL PROTECTED] wrote:
  yes,
  the JkMount command looks like this
 
  JkMount context workername
 
  so the autogenerated ajp12 is just the worker name
  "ajp12"
 
  in the workers.properties file you can change the
  protocol that the worker
  is using.
  the property file has the following format
 
  worker.workername.propertyname=value
  worker.ajp12.port=8007
  worker.ajp12.host=localhost
  worker.ajp12.type=ajp13
 
  so just change the last line to use ajp13. now you
  have to modify server.xml
  to start a ajp13 connector on the port 8007 and
  change the port for ajp12.
 
  the nice thing with the autogenerated file is that
  your webapps can be
  dynamic.
  but if you need to do a lot of fancy stuff, you
  should create your own file
  for the mod_jk configuration.
 
  try playing around with it, and if you have a
  specific problem let me know
  and I can help you out.
 
  Filip
 
  ~
  Namaste - I bow to the divine in you
  ~
  Filip Hanik
  Software Architect
  [EMAIL PROTECTED]
  www.filip.net
  - Original Message -
  From: "Mel Martinez" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, February 13, 2001 2:32 PM
  Subject: ajp12 vs ajp13  mod_jk.conf-auto
 
 
   Question:
  
   what determines whether ajp12 or ajp13 will be
   specified for a jkmount statement in the
   auto-generated mod_jk.conf-auto file?
  
   I.E., it always generates statements like:
  
   JkMount /myapp/servlet/* ajp12
   JkMount /myapp/*.jsp ajp12
  
   I've even tried disabling all reference to ajp12
  from
   server.xml and workers.properties but that had no
   effect.
  
   Is the only way to force the use of Ajp13 to
  manually
   edit the mod_jk.conf file?
  
   Should I even be worrying about this?
  
   Thanks,
  
   mel
  
   __
   Do You Yahoo!?
   Get personalized email addresses from Yahoo! Mail
  - only $35
   a year!  http://personal.mail.yahoo.com/
  
  
 
 -
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, email:
  [EMAIL PROTECTED]
  
  
 
 
 
 -
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, email:
  [EMAIL PROTECTED]
 


 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/

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




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