Re: files included in httpd.conf (problem 1)

2001-04-11 Thread Anne-Marie Ternes

Hi all,

the problem with my config files seems now to be solved. So now in
httpd.conf I no more include the jserv.conf file. The problem with the
SecretKey thing was solved by copying tomcat-apache.conf to
my-tomcat-apache.conf, ant taking the LoadModule first line out of it. So I
now include only the my-tomcat-apache.conf file in httpd.conf.

I tried to comment out the LoadModule line in tomcat.conf, hoping that it
wouldn't be generated into the tomcat-apache file, but it still does. So
there seems still to remain some fumbling around with my own
tomcat-apache.conf file.

Now, also the redirection from Apache to Tomcat for servlets and JSP works
fine.

Anne-Marie

Saurabh Shukla wrote:

 in your tomcat-apache.conf check the entry for ApJservSecretKey.

 tomcat-apache.conf is generated by tomcat, so a better way is to save
 tomcat-apache.conf with a different name and include it in your
 httpd.conf(apache's configuration file).

 -Original Message-
 From: Anne-Marie Ternes [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 10, 2001 6:30 PM
 To: Tomcat Mailing List
 Subject: files included in httpd.conf (problem 1)

 Hi,

 I've got a small problem here concerning which files I have to include
 in the httpd.conf file.
 I thought that the jserv.conf file didn't need to be included any longer
 in httpd.conf. So I only included the tomcat-apache.conf file. If I do
 that, Tomcat starts up allright, but Apache gives me this error during
 startup:

 
 You must specify a secret key, or disable this feature.
 To disable, add "ApJServSecretKey DISABLED" to your Apache configuration
 file.
 To use, add "ApJServSecretKey {filename}" where filename is document
 with more or less random contents, and perhaps a few kb in length.
 The Apache JServ documentation explains this in more detail.
 /oas/oashome/Apache/Apache/bin/httpdsctl start: httpd could not be
 started
 

 This, although there is a correct line ApJServSecretKey DISABLED in my
 tomcat-apache.conf.

 What do I miss here?

 Then I tried to include both jserv.conf and tomcat-apache.conf, but then
 I get an error of ApJServ directives being defined several times. What I
 did was to copy the tomcat-apache.conf file, cut out its ApJServ
 directives and include that file in httpd.conf. There's no errors
 anymore, but I'm still not sure if Apache really hands servlets and JSP
 over to Tomcat.

 I'm still able to call servlets through the Apache URL (), JSPs thru
 Apache don't work anymore. On Tomcat (8080), servlets and JSP work also.

 But I thought that, for example, a servlet called through the standard
 Apache URL should automatically be handed over to Tomcat, which doesn't
 seem to be the case.
 How can I find out if the servlet I see in my browser was handled by
 Tomcat or Apache?

 Thank you to anybody helping me on these configuration issues!

 Anne-Marie
 --
 =
 Anne-Marie Ternes

 Informaticien diplm

 Centre Informatique de l'Etat
 B.P. 
 L-1011 Luxembourg

 Tl: 49 925 642
 E-Mail: [EMAIL PROTECTED]
 =

--
=
Anne-Marie Ternes

Informaticien diplm

Centre Informatique de l'Etat
B.P. 
L-1011 Luxembourg

Tl: 49 925 642
E-Mail: [EMAIL PROTECTED]
=





RE: files included in httpd.conf (problem 1)

2001-04-11 Thread Shen, Theresa

Hi Anne-Marie,

Your email indicated that you are doing similar things with Apache-Tomcat as
I am except I am using mod_jk instead of mod_jserv. 
My *.jsp files were in tomcat/webapps/../, what do I need to change in
Apache for it to pick up the request and send the servlet requests to
Tomcat?
I have the httpd.conf include the "c:\tomcat\conf\mod_jk.conf-Apache-auto
which is a copy of mod_jk.conf-auto and in there I Jkmount servelt requests
to my load balancing worker..

Any help from you will be great appreciated..

Thanks

-Original Message-
From: Anne-Marie Ternes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 9:42 AM
To: [EMAIL PROTECTED]
Subject: Re: files included in httpd.conf (problem 1)


Hi all,

the problem with my config files seems now to be solved. So now in
httpd.conf I no more include the jserv.conf file. The problem with the
SecretKey thing was solved by copying tomcat-apache.conf to
my-tomcat-apache.conf, ant taking the LoadModule first line out of it. So I
now include only the my-tomcat-apache.conf file in httpd.conf.

I tried to comment out the LoadModule line in tomcat.conf, hoping that it
wouldn't be generated into the tomcat-apache file, but it still does. So
there seems still to remain some fumbling around with my own
tomcat-apache.conf file.

Now, also the redirection from Apache to Tomcat for servlets and JSP works
fine.

Anne-Marie

Saurabh Shukla wrote:

 in your tomcat-apache.conf check the entry for ApJservSecretKey.

 tomcat-apache.conf is generated by tomcat, so a better way is to save
 tomcat-apache.conf with a different name and include it in your
 httpd.conf(apache's configuration file).

 -Original Message-
 From: Anne-Marie Ternes [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 10, 2001 6:30 PM
 To: Tomcat Mailing List
 Subject: files included in httpd.conf (problem 1)

 Hi,

 I've got a small problem here concerning which files I have to include
 in the httpd.conf file.
 I thought that the jserv.conf file didn't need to be included any longer
 in httpd.conf. So I only included the tomcat-apache.conf file. If I do
 that, Tomcat starts up allright, but Apache gives me this error during
 startup:

 
 You must specify a secret key, or disable this feature.
 To disable, add "ApJServSecretKey DISABLED" to your Apache configuration
 file.
 To use, add "ApJServSecretKey {filename}" where filename is document
 with more or less random contents, and perhaps a few kb in length.
 The Apache JServ documentation explains this in more detail.
 /oas/oashome/Apache/Apache/bin/httpdsctl start: httpd could not be
 started
 

 This, although there is a correct line ApJServSecretKey DISABLED in my
 tomcat-apache.conf.

 What do I miss here?

 Then I tried to include both jserv.conf and tomcat-apache.conf, but then
 I get an error of ApJServ directives being defined several times. What I
 did was to copy the tomcat-apache.conf file, cut out its ApJServ
 directives and include that file in httpd.conf. There's no errors
 anymore, but I'm still not sure if Apache really hands servlets and JSP
 over to Tomcat.

 I'm still able to call servlets through the Apache URL (), JSPs thru
 Apache don't work anymore. On Tomcat (8080), servlets and JSP work also.

 But I thought that, for example, a servlet called through the standard
 Apache URL should automatically be handed over to Tomcat, which doesn't
 seem to be the case.
 How can I find out if the servlet I see in my browser was handled by
 Tomcat or Apache?

 Thank you to anybody helping me on these configuration issues!

 Anne-Marie
 --
 =
 Anne-Marie Ternes

 Informaticien diplm

 Centre Informatique de l'Etat
 B.P. 
 L-1011 Luxembourg

 Tl: 49 925 642
 E-Mail: [EMAIL PROTECTED]
 =

--
=
Anne-Marie Ternes

Informaticien diplm

Centre Informatique de l'Etat
B.P. 
L-1011 Luxembourg

Tl: 49 925 642
E-Mail: [EMAIL PROTECTED]
=




files included in httpd.conf (problem 1)

2001-04-10 Thread Anne-Marie Ternes

Hi,

I've got a small problem here concerning which files I have to include
in the httpd.conf file.
I thought that the jserv.conf file didn't need to be included any longer
in httpd.conf. So I only included the tomcat-apache.conf file. If I do
that, Tomcat starts up allright, but Apache gives me this error during
startup:


You must specify a secret key, or disable this feature.
To disable, add "ApJServSecretKey DISABLED" to your Apache configuration
file.
To use, add "ApJServSecretKey {filename}" where filename is document
with more or less random contents, and perhaps a few kb in length.
The Apache JServ documentation explains this in more detail.
/oas/oashome/Apache/Apache/bin/httpdsctl start: httpd could not be
started


This, although there is a correct line ApJServSecretKey DISABLED in my
tomcat-apache.conf.

What do I miss here?

Then I tried to include both jserv.conf and tomcat-apache.conf, but then
I get an error of ApJServ directives being defined several times. What I
did was to copy the tomcat-apache.conf file, cut out its ApJServ
directives and include that file in httpd.conf. There's no errors
anymore, but I'm still not sure if Apache really hands servlets and JSP
over to Tomcat.

I'm still able to call servlets through the Apache URL (), JSPs thru
Apache don't work anymore. On Tomcat (8080), servlets and JSP work also.

But I thought that, for example, a servlet called through the standard
Apache URL should automatically be handed over to Tomcat, which doesn't
seem to be the case.
How can I find out if the servlet I see in my browser was handled by
Tomcat or Apache?

Thank you to anybody helping me on these configuration issues!

Anne-Marie
--
=
Anne-Marie Ternes

Informaticien diplm

Centre Informatique de l'Etat
B.P. 
L-1011 Luxembourg

Tl: 49 925 642
E-Mail: [EMAIL PROTECTED]
=





RE: files included in httpd.conf (problem 1)

2001-04-10 Thread Saurabh Shukla


in your tomcat-apache.conf check the entry for ApJservSecretKey.

tomcat-apache.conf is generated by tomcat, so a better way is to save
tomcat-apache.conf with a different name and include it in your
httpd.conf(apache's configuration file).

-Original Message-
From: Anne-Marie Ternes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 6:30 PM
To: Tomcat Mailing List
Subject: files included in httpd.conf (problem 1)


Hi,

I've got a small problem here concerning which files I have to include
in the httpd.conf file.
I thought that the jserv.conf file didn't need to be included any longer
in httpd.conf. So I only included the tomcat-apache.conf file. If I do
that, Tomcat starts up allright, but Apache gives me this error during
startup:


You must specify a secret key, or disable this feature.
To disable, add "ApJServSecretKey DISABLED" to your Apache configuration
file.
To use, add "ApJServSecretKey {filename}" where filename is document
with more or less random contents, and perhaps a few kb in length.
The Apache JServ documentation explains this in more detail.
/oas/oashome/Apache/Apache/bin/httpdsctl start: httpd could not be
started


This, although there is a correct line ApJServSecretKey DISABLED in my
tomcat-apache.conf.

What do I miss here?

Then I tried to include both jserv.conf and tomcat-apache.conf, but then
I get an error of ApJServ directives being defined several times. What I
did was to copy the tomcat-apache.conf file, cut out its ApJServ
directives and include that file in httpd.conf. There's no errors
anymore, but I'm still not sure if Apache really hands servlets and JSP
over to Tomcat.

I'm still able to call servlets through the Apache URL (), JSPs thru
Apache don't work anymore. On Tomcat (8080), servlets and JSP work also.

But I thought that, for example, a servlet called through the standard
Apache URL should automatically be handed over to Tomcat, which doesn't
seem to be the case.
How can I find out if the servlet I see in my browser was handled by
Tomcat or Apache?

Thank you to anybody helping me on these configuration issues!

Anne-Marie
--
=
Anne-Marie Ternes

Informaticien diplm

Centre Informatique de l'Etat
B.P. 
L-1011 Luxembourg

Tl: 49 925 642
E-Mail: [EMAIL PROTECTED]
=





Re: files included in httpd.conf (problem 1)

2001-04-10 Thread Anne-Marie Ternes



Saurabh Shukla wrote:

 in your tomcat-apache.conf check the entry for ApJservSecretKey.


It is correct. It says:
ApJServSecretKey DISABLED


 tomcat-apache.conf is generated by tomcat, so a better way is to save
 tomcat-apache.conf with a different name and include it in your
 httpd.conf(apache's configuration file).


That's what I already did before.
am


 -Original Message-
 From: Anne-Marie Ternes [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 10, 2001 6:30 PM
 To: Tomcat Mailing List
 Subject: files included in httpd.conf (problem 1)

 Hi,

 I've got a small problem here concerning which files I have to include
 in the httpd.conf file.
 I thought that the jserv.conf file didn't need to be included any longer
 in httpd.conf. So I only included the tomcat-apache.conf file. If I do
 that, Tomcat starts up allright, but Apache gives me this error during
 startup:

 
 You must specify a secret key, or disable this feature.
 To disable, add "ApJServSecretKey DISABLED" to your Apache configuration
 file.
 To use, add "ApJServSecretKey {filename}" where filename is document
 with more or less random contents, and perhaps a few kb in length.
 The Apache JServ documentation explains this in more detail.
 /oas/oashome/Apache/Apache/bin/httpdsctl start: httpd could not be
 started
 

 This, although there is a correct line ApJServSecretKey DISABLED in my
 tomcat-apache.conf.

 What do I miss here?

 Then I tried to include both jserv.conf and tomcat-apache.conf, but then
 I get an error of ApJServ directives being defined several times. What I
 did was to copy the tomcat-apache.conf file, cut out its ApJServ
 directives and include that file in httpd.conf. There's no errors
 anymore, but I'm still not sure if Apache really hands servlets and JSP
 over to Tomcat.

 I'm still able to call servlets through the Apache URL (), JSPs thru
 Apache don't work anymore. On Tomcat (8080), servlets and JSP work also.

 But I thought that, for example, a servlet called through the standard
 Apache URL should automatically be handed over to Tomcat, which doesn't
 seem to be the case.
 How can I find out if the servlet I see in my browser was handled by
 Tomcat or Apache?

 Thank you to anybody helping me on these configuration issues!

 Anne-Marie
 --
 =
 Anne-Marie Ternes

 Informaticien diplm

 Centre Informatique de l'Etat
 B.P. 
 L-1011 Luxembourg

 Tl: 49 925 642
 E-Mail: [EMAIL PROTECTED]
 =

--
=
Anne-Marie Ternes

Informaticien diplm

Centre Informatique de l'Etat
B.P. 
L-1011 Luxembourg

Tl: 49 925 642
E-Mail: [EMAIL PROTECTED]
=