You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Petr Dvořák <jo...@atlas.cz> on 2010/08/10 14:46:13 UTC

Installing Bugzilla on the Apache Tomcat 6

Hi folks,
 
I have written a short how-to on installing Bugzilla on Tomcat - I thought I could share it with the community, since there is not much written about this subject on the Internet (usually, people answer it is not possible):
 
http://blog.inmite.eu/2010/08/installing-bugzilla-on-the-apache-tomcat-6/
 
I will be grateful for any comments and suggestions!
 
With best regards,
 
Petr Dvorak

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


Re: Installing Bugzilla on the Apache Tomcat 6

Posted by Petr Dvořák <jo...@atlas.cz>.
Hi Chris,

thank you for the feedback - I appreciate it! Seriously, I believe I am the first person on the Internet to write some consistent post (maybe you'll prove me wrong), so it's better be perfect! ;-)

To make one thing clear - the post was based on the large script I prepare for my master thesis (automatic deployment of the lightweight project hosting). This is the reason why some parts contain "weird things" (empty echo - there used to be output to the file, .html/.jsp welcome files - I need them in my situation).

While I understand the first note is a bit strange, I didn't want to include steps "How to install tomcat". The improper thing is installing the server in the "demo" dir in the home dir and not paying any attention to any configuration. Anyway, I assume users already have the Tomcat installation (if not, they should definitely use classic Apache server for BZ), so I will fix the post in this direction and I will use $CATALINA_HOME to reference Tomcat location in the text.

About the context.xml file - yep, you are right, I will fix it...

WIth best regards,

Petr Dvorak

______________________________________________________________
> Od: "Christopher Schultz" <ch...@christopherschultz.net>
> Komu: Tomcat Users List <us...@tomcat.apache.org>
> Datum: 10.08.2010 18:36
> Předmět: Re: Installing Bugzilla on the Apache Tomcat 6
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Petr,
>
>On 8/10/2010 8:46 AM, Petr Dvořák wrote:
>> I have written a short how-to on installing Bugzilla on Tomcat - I thought I could share it with the community, since there is not much written about this subject on the Internet (usually, people answer it is not possible):
>>  
>> http://blog.inmite.eu/2010/08/installing-bugzilla-on-the-apache-tomcat-6/
>>  
>> I will be grateful for any comments and suggestions!
>
>I have a few:
>
>"
>Note: To make the steps educative, we will start with fresh Apache
>Tomcat installation installed in folder in our home. For production
>deployment, this is not recommended – you should install and set up
>Tomcat properly.
>"
>
>Why not simply tell your readers how to set it up properly? You don't
>indicate what parts of your setup are "not proper".
>
>"
>$ echo "" > WEB-INF/web.xml
>"
>
>That's weird. Why not just tell the reader to create WEB-INF/web.xml and
>put the following text into it?
>
>"
>   <welcome-file>index.jsp</welcome-file>
>   <welcome-file>index.html</welcome-file>
>"
>
>I don't think you need these, do you?
>
>"
>Finally, the ~/demo/apache-tomcat/conf/context.xml file needs to be
>modified so that is contains
>
><Context reloadable=“true“ privileged=“true“> instead of just <Context>.
>"
>
>This is a bad idea: have the user modify the context.xml file for the
>Bugzilla wrapper webapp, instead of editing the site-wide context
>defaults (i.e. use META-INF/context.xml instead).
>
>Everything else is bugzilla-specific, so I don't comment.
>
>- -chris
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.10 (MingW32)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
>iEYEARECAAYFAkxhf+4ACgkQ9CaO5/Lv0PDwfgCeNpt9oTNK3RmszY6UaY9DGq/4
>vEIAnit7Q7gVO0144eeZ6Lk4fX4Q3d3r
>=H2Ty
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Re: Installing Bugzilla on the Apache Tomcat 6

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Petr,

On 8/10/2010 8:46 AM, Petr Dvořák wrote:
> I have written a short how-to on installing Bugzilla on Tomcat - I thought I could share it with the community, since there is not much written about this subject on the Internet (usually, people answer it is not possible):
>  
> http://blog.inmite.eu/2010/08/installing-bugzilla-on-the-apache-tomcat-6/
>  
> I will be grateful for any comments and suggestions!

I have a few:

"
Note: To make the steps educative, we will start with fresh Apache
Tomcat installation installed in folder in our home. For production
deployment, this is not recommended – you should install and set up
Tomcat properly.
"

Why not simply tell your readers how to set it up properly? You don't
indicate what parts of your setup are "not proper".

"
$ echo "" > WEB-INF/web.xml
"

That's weird. Why not just tell the reader to create WEB-INF/web.xml and
put the following text into it?

"
   <welcome-file>index.jsp</welcome-file>
   <welcome-file>index.html</welcome-file>
"

I don't think you need these, do you?

"
Finally, the ~/demo/apache-tomcat/conf/context.xml file needs to be
modified so that is contains

<Context reloadable=“true“ privileged=“true“> instead of just <Context>.
"

This is a bad idea: have the user modify the context.xml file for the
Bugzilla wrapper webapp, instead of editing the site-wide context
defaults (i.e. use META-INF/context.xml instead).

Everything else is bugzilla-specific, so I don't comment.

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

iEYEARECAAYFAkxhf+4ACgkQ9CaO5/Lv0PDwfgCeNpt9oTNK3RmszY6UaY9DGq/4
vEIAnit7Q7gVO0144eeZ6Lk4fX4Q3d3r
=H2Ty
-----END PGP SIGNATURE-----

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