Re: org.apache.jk.config.ApacheConfig modJk

2010-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/14/2010 10:00 PM, Todd Hicks wrote:
 The reason I brought it up is because I am exploring Xampp for a
 client as a portable dev platform, and it's configured to use the 
 ApacheConfig class out of the box.

Hmm... the only information I could find without doing too much digging
was that there's a semi-official plug-in for XAMPP for Tomcat 5.0.27,
which is an unsupported version of Tomcat (and has been for quite some
time). It looks like this plug-in needs quite a bit of updating.

 I'm sure it's done that way to reduce obstacles to entry for the
 newbie. But if it doesn't work as it should, the obstacle remains (at
 least for the Xampp novitiates). So are you saying then that the
 class isn't likely to be updated? Even if I submit it as a bug? I've
 already downloaded the source to try the fix.

If you submit a fix, it's much more likely to be fixed than if you
don't. Honestly, the workaround of simply specifying a ModJk option
makes this more of an inconvenience and less of a bug.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkueXUEACgkQ9CaO5/Lv0PA7wwCfUYF3hunQjVo8XM23xpbqHOP9
7ogAn299eSLTdTpO+My+WsD/kjFnioNK
=hqg+
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: org.apache.jk.config.ApacheConfig modJk

2010-03-15 Thread Electronjockey

Chris,
The official add-on is Tomcat 6.0.20 and mod_jk 1.2.20.
I'm proceeding with a static mod_jk.conf for the time being.
And yes, I totally agree with you on the bug vs. inconvenience 
assessment. The issue struck me as more of a QA issue than anything.
How would I submit the fix? Is there a document outlining the procedure 
on the tomcat/apache site? The change is to line 138 of the source.


I'm still trying to get my project setup for a custom build, but I'm 
seriously multitasking right now, and I'm not at all experienced with 
SVN access.


-Original Message-
From: Christopher Schultz ch...@christopherschultz.net
To : Tomcat Users List users@tomcat.apache.org
Sent: Mon Mar 15 12:16:01 2010
Subject: Re: org.apache.jk.config.ApacheConfig modJk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/14/2010 10:00 PM, Todd Hicks wrote:
The reason I brought it up is because I am exploring Xampp for a
client as a portable dev platform, and it's configured to use the
ApacheConfig class out of the box.

Hmm... the only information I could find without doing too much digging
was that there's a semi-official plug-in for XAMPP for Tomcat 5.0.27,
which is an unsupported version of Tomcat (and has been for quite some
time). It looks like this plug-in needs quite a bit of updating.

I'm sure it's done that way to reduce obstacles to entry for the
newbie. But if it doesn't work as it should, the obstacle remains (at
least for the Xampp novitiates). So are you saying then that the
class isn't likely to be updated? Even if I submit it as a bug? I've
already downloaded the source to try the fix.

If you submit a fix, it's much more likely to be fixed than if you
don't. Honestly, the workaround of simply specifying a ModJk option
makes this more of an inconvenience and less of a bug.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkueXUEACgkQ9CaO5/Lv0PA7wwCfUYF3hunQjVo8XM23xpbqHOP9
7ogAn299eSLTdTpO+My+WsD/kjFnioNK
=hqg+
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: org.apache.jk.config.ApacheConfig modJk

2010-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/15/2010 12:57 PM, Electronjockey wrote:
 The official add-on is Tomcat 6.0.20 and mod_jk 1.2.20.

Hmm... I must have been looking in the wrong place. I went from here:
http://www.apachefriends.org/en/faq-xampp-windows.html
to here
http://www.apachefriends.org/en/faq-xampp-windows.html#addons
to here
http://sourceforge.net/projects/xamppaddon/

...and that project had an update over a year ago for Tomcat 5.0.27.

Is there a better place to find information about XAMPP plug-ins?

 I'm proceeding with a static mod_jk.conf for the time being.
 And yes, I totally agree with you on the bug vs. inconvenience
 assessment. The issue struck me as more of a QA issue than anything.
 How would I submit the fix? Is there a document outlining the procedure
 on the tomcat/apache site? The change is to line 138 of the source.

You might want to read this before you start:
http://tomcat.apache.org/bugreport.html

Then, file a bug in bugzilla: https://issues.apache.org/bugzilla/

Remember to file the bug against the correct product and version.

Once you've filed your bug, attach a patch to the bug. If your patch is
really small and/or you don't know how to use UNIX diff, you can just
explain in the bug description or a comment what needs to be changed.

 I'm still trying to get my project setup for a custom build, but I'm
 seriously multitasking right now, and I'm not at all experienced with
 SVN access.

All youll have to do is create a patch file. With svn it's easy: make
your changes, then do:

$ svn diff [files]  my.patch

Then, upload that file. You might want to check the patch to make sure
it's not including something that's not really part of the patch, such
as oddball changes you made to the makefiles or whatever :)

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuebQAACgkQ9CaO5/Lv0PDQqgCdHxFm48ZYSmWSBLNihZ+cXhaq
FPYAoKGFsRwpgi3Iuh1VKve0BUXRyt7U
=IHZG
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: org.apache.jk.config.ApacheConfig modJk

2010-03-15 Thread Electronjockey

Chris,
Yeah, the xampp site has some wackiness to it.
I got it from the link here:
http://www.apachefriends.org/en/xampp-windows.html#644
or from here:
http://sourceforge.net/projects/xampp/files/
and thanks for the info on the svn procs. I'm workin' it and will submit 
the bug with the diff shortly.


-Original Message-
From: Christopher Schultz ch...@christopherschultz.net
To : Tomcat Users List users@tomcat.apache.org
Sent: Mon Mar 15 13:23:12 2010
Subject: Re: org.apache.jk.config.ApacheConfig modJk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/15/2010 12:57 PM, Electronjockey wrote:
The official add-on is Tomcat 6.0.20 and mod_jk 1.2.20.

Hmm... I must have been looking in the wrong place. I went from here:
http://www.apachefriends.org/en/faq-xampp-windows.html
to here
http://www.apachefriends.org/en/faq-xampp-windows.html#addons
to here
http://sourceforge.net/projects/xamppaddon/

...and that project had an update over a year ago for Tomcat 5.0.27.

Is there a better place to find information about XAMPP plug-ins?

I'm proceeding with a static mod_jk.conf for the time being.
And yes, I totally agree with you on the bug vs. inconvenience
assessment. The issue struck me as more of a QA issue than anything.
How would I submit the fix? Is there a document outlining the procedure
on the tomcat/apache site? The change is to line 138 of the source.

You might want to read this before you start:
http://tomcat.apache.org/bugreport.html

Then, file a bug in bugzilla: https://issues.apache.org/bugzilla/

Remember to file the bug against the correct product and version.

Once you've filed your bug, attach a patch to the bug. If your patch is
really small and/or you don't know how to use UNIX diff, you can just
explain in the bug description or a comment what needs to be changed.

I'm still trying to get my project setup for a custom build, but I'm
seriously multitasking right now, and I'm not at all experienced with
SVN access.

All youll have to do is create a patch file. With svn it's easy: make
your changes, then do:

$ svn diff [files]  my.patch

Then, upload that file. You might want to check the patch to make sure
it's not including something that's not really part of the patch, such
as oddball changes you made to the makefiles or whatever :)

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuebQAACgkQ9CaO5/Lv0PDQqgCdHxFm48ZYSmWSBLNihZ+cXhaq
FPYAoKGFsRwpgi3Iuh1VKve0BUXRyt7U
=IHZG
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: org.apache.jk.config.ApacheConfig modJk

2010-03-15 Thread Todd Hicks
Chris,
I submitted the bug, with the patch. Got an initial response that the class 
will not be included in 7.x, but no answer yet on whether it will be fixed. 
Thanks again for the direction. 

-Original Message-
From: Electronjockey [mailto:electronjoc...@hotmail.com] 
Sent: Monday, March 15, 2010 1:32 PM
To: Tomcat Users List
Subject: Re: org.apache.jk.config.ApacheConfig modJk

Chris,
Yeah, the xampp site has some wackiness to it.
I got it from the link here:
http://www.apachefriends.org/en/xampp-windows.html#644
or from here:
http://sourceforge.net/projects/xampp/files/
and thanks for the info on the svn procs. I'm workin' it and will submit 
the bug with the diff shortly.

-Original Message-
From: Christopher Schultz ch...@christopherschultz.net
To : Tomcat Users List users@tomcat.apache.org
Sent: Mon Mar 15 13:23:12 2010
Subject: Re: org.apache.jk.config.ApacheConfig modJk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/15/2010 12:57 PM, Electronjockey wrote:
The official add-on is Tomcat 6.0.20 and mod_jk 1.2.20.

Hmm... I must have been looking in the wrong place. I went from here:
http://www.apachefriends.org/en/faq-xampp-windows.html
to here
http://www.apachefriends.org/en/faq-xampp-windows.html#addons
to here
http://sourceforge.net/projects/xamppaddon/

...and that project had an update over a year ago for Tomcat 5.0.27.

Is there a better place to find information about XAMPP plug-ins?

I'm proceeding with a static mod_jk.conf for the time being.
And yes, I totally agree with you on the bug vs. inconvenience
assessment. The issue struck me as more of a QA issue than anything.
How would I submit the fix? Is there a document outlining the procedure
on the tomcat/apache site? The change is to line 138 of the source.

You might want to read this before you start:
http://tomcat.apache.org/bugreport.html

Then, file a bug in bugzilla: https://issues.apache.org/bugzilla/

Remember to file the bug against the correct product and version.

Once you've filed your bug, attach a patch to the bug. If your patch is
really small and/or you don't know how to use UNIX diff, you can just
explain in the bug description or a comment what needs to be changed.

I'm still trying to get my project setup for a custom build, but I'm
seriously multitasking right now, and I'm not at all experienced with
SVN access.

All youll have to do is create a patch file. With svn it's easy: make
your changes, then do:

$ svn diff [files]  my.patch

Then, upload that file. You might want to check the patch to make sure
it's not including something that's not really part of the patch, such
as oddball changes you made to the makefiles or whatever :)

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuebQAACgkQ9CaO5/Lv0PDQqgCdHxFm48ZYSmWSBLNihZ+cXhaq
FPYAoKGFsRwpgi3Iuh1VKve0BUXRyt7U
=IHZG
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: org.apache.jk.config.ApacheConfig modJk

2010-03-15 Thread Bill Barker



Christopher Schultz ch...@christopherschultz.net wrote in message 
news:4b9d8435.50...@christopherschultz.net...

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/14/2010 1:41 PM, Todd Hicks wrote:
This may be a question better suited for the dev list, but I thought I'd 
try

here first.
I've been troubleshooting a problem in one of my installations and was
reviewing the documentation here:
http://www.docjar.com/docs/api/org/apache/jk/config/ApacheConfig.html 
(the
auto-config listener class) when it caught my attention that the path to 
the

Apache mod_jk plugin file defaults to modules/mod_jk.dll on windows (if
the modJk option isn't set), yet the Apache connector for windows is
distributed as mod_jk-1.2.30-httpd-2.2.3.so (to be renamed to mod_jk.so). 
Is
this just legacy and needs to be updated or am I missing something? 
Should I

report this as a bug?


The real bug is that the ApacheConfig class still hasn't been put out of
its misery. Basically, nobody should ever use the ApacheConfig class
because it re-writes your mod_jk.conf file every time Tomcat starts.



This class has been removed from TC 7.  And yes, is only somewhat works with 
the retired httpd 1.3.x version, so nobody should ever use it.



You're better off reading the documentation for mod_jk and building your
own configuration file. It's not hard to set up a mapping for simple
things like *.jsp - Tomcat and stuff like that. Once you've got the
simple stuff working, extending your configuration to include more
exotic options is still very easy.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkudhDUACgkQ9CaO5/Lv0PBUAQCfU6a4LrhrAZORb7zbzVIXRjOc
msUAniENxyXg+emGX9Ha3JmeKJSjNFWl
=uBUr
-END PGP SIGNATURE-  




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



org.apache.jk.config.ApacheConfig modJk

2010-03-14 Thread Todd Hicks
This may be a question better suited for the dev list, but I thought I'd try
here first.
I've been troubleshooting a problem in one of my installations and was
reviewing the documentation here:
http://www.docjar.com/docs/api/org/apache/jk/config/ApacheConfig.html (the
auto-config listener class) when it caught my attention that the path to the
Apache mod_jk plugin file defaults to modules/mod_jk.dll on windows (if
the modJk option isn't set), yet the Apache connector for windows is
distributed as mod_jk-1.2.30-httpd-2.2.3.so (to be renamed to mod_jk.so). Is
this just legacy and needs to be updated or am I missing something? Should I
report this as a bug?


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: org.apache.jk.config.ApacheConfig modJk

2010-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/14/2010 1:41 PM, Todd Hicks wrote:
 This may be a question better suited for the dev list, but I thought I'd try
 here first.
 I've been troubleshooting a problem in one of my installations and was
 reviewing the documentation here:
 http://www.docjar.com/docs/api/org/apache/jk/config/ApacheConfig.html (the
 auto-config listener class) when it caught my attention that the path to the
 Apache mod_jk plugin file defaults to modules/mod_jk.dll on windows (if
 the modJk option isn't set), yet the Apache connector for windows is
 distributed as mod_jk-1.2.30-httpd-2.2.3.so (to be renamed to mod_jk.so). Is
 this just legacy and needs to be updated or am I missing something? Should I
 report this as a bug?

The real bug is that the ApacheConfig class still hasn't been put out of
its misery. Basically, nobody should ever use the ApacheConfig class
because it re-writes your mod_jk.conf file every time Tomcat starts.

You're better off reading the documentation for mod_jk and building your
own configuration file. It's not hard to set up a mapping for simple
things like *.jsp - Tomcat and stuff like that. Once you've got the
simple stuff working, extending your configuration to include more
exotic options is still very easy.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkudhDUACgkQ9CaO5/Lv0PBUAQCfU6a4LrhrAZORb7zbzVIXRjOc
msUAniENxyXg+emGX9Ha3JmeKJSjNFWl
=uBUr
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: org.apache.jk.config.ApacheConfig modJk

2010-03-14 Thread Todd Hicks
Chris,
I'm good with writing my own configs. That's what I do for all of my 
installations (and probably where this one will end up). The reason I brought 
it up is because I am exploring Xampp for a client as a portable dev platform, 
and it's configured to use the ApacheConfig class out of the box. I'm sure it's 
done that way to reduce obstacles to entry for the newbie. But if it doesn't 
work as it should, the obstacle remains (at least for the Xampp novitiates).
So are you saying then that the class isn't likely to be updated? Even if I 
submit it as a bug? I've already downloaded the source to try the fix.

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Sunday, March 14, 2010 8:50 PM
To: Tomcat Users List
Subject: Re: org.apache.jk.config.ApacheConfig modJk

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Todd,

On 3/14/2010 1:41 PM, Todd Hicks wrote:
 This may be a question better suited for the dev list, but I thought I'd try
 here first.
 I've been troubleshooting a problem in one of my installations and was
 reviewing the documentation here:
 http://www.docjar.com/docs/api/org/apache/jk/config/ApacheConfig.html (the
 auto-config listener class) when it caught my attention that the path to the
 Apache mod_jk plugin file defaults to modules/mod_jk.dll on windows (if
 the modJk option isn't set), yet the Apache connector for windows is
 distributed as mod_jk-1.2.30-httpd-2.2.3.so (to be renamed to mod_jk.so). Is
 this just legacy and needs to be updated or am I missing something? Should I
 report this as a bug?

The real bug is that the ApacheConfig class still hasn't been put out of
its misery. Basically, nobody should ever use the ApacheConfig class
because it re-writes your mod_jk.conf file every time Tomcat starts.

You're better off reading the documentation for mod_jk and building your
own configuration file. It's not hard to set up a mapping for simple
things like *.jsp - Tomcat and stuff like that. Once you've got the
simple stuff working, extending your configuration to include more
exotic options is still very easy.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkudhDUACgkQ9CaO5/Lv0PBUAQCfU6a4LrhrAZORb7zbzVIXRjOc
msUAniENxyXg+emGX9Ha3JmeKJSjNFWl
=uBUr
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org