RE: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Turner, John

Try 

JkMount /*.jsp ajp13

instead of 

JkMount /web/ged/*.jsp ajp13

for www.ged.ufu.br.

Also, you can 4 (or more) virtual hosts in Tomcat, just setup four Host
elements, each with the appropriate name and/or alias.

John

 -Original Message-
 From: Sebastião Carlos Santos [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 17, 2003 7:59 AM
 To: [EMAIL PROTECTED]
 Subject: Difficulties with Virtual Host in the Apache + Tomcat
 
 
 There are some days installed a servant web with Apache 
 1.3.27 and Tomcat 4.1.18
 under Suse Linux Professional 7.2, however I am facing problems  
 in the configuration and integration of the virtual hosts of 
 the Apache for the tomcat.  
 In the end of this e-mail it is some fragments of the 
 configuration files  
 that I am using, as for instance http.conf, 
 workers.properties and server.xml
 When I try to access the address http://www.ged.ufu.br that 
 has the file index.jsp,  
 that I put soon lower, I receive the following text % 
 out.println ();%  
 in the screen of the browser, what shows that the things are 
 not working how they would owe.
 What am missing?
 Another question would be: I will have four virtual hosts in 
 the Apache,
 logically I will have to have the same ones four configured 
 in Tomcat. Is it possible?
 I thank the help in advance.
 
 File index.jsp
 
 root@ged2:/web/ged  cat index.jsp
 %out.println();%
 
 //
 *
 Fragment of the file httpd.conf (Apache 1.3.27)
 
 IfModule !mod_jk.c
   LoadModule jk_module libexec/mod_jk.so
 /IfModule
 
 Include /usr/local/jakarta-tomcat-4.1.18/conf/auto/mod_jk.conf
 
 AddModule mod_jk.c
 
 ServerName ged2.ufu.br
 DocumentRoot /web
 
 Directory /web
 .
 .
 .
 /Directory
 
 IfModule mod_dir.c
 DirectoryIndex index.html index.htm index.jsp
 /IfModule
 
 NameVirtualHost 200.131.195.5
 
 
 VirtualHost 200.131.195.5:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /web/ged/
ServerName ged2.ufu.br
ServerAlias www.ged.ufu.br
ErrorLog /web/ged/logs/apache_error_log
CustomLog /web/ged/logs/apache_access_log common
JkMount /web/ged/*.jsp ajp13
 /VirtualHost
 
 IfModule mod_jk.c
JkWorkersFile 
 /usr/local/jakarta-tomcat-4.1.18/conf/jk/workers.properties
JkLogFile /usr/local/jakarta-tomcat-4.1.18/logs/mod_jk.log
 
JkLogLevel debug
 
JkMount /examples ajp13
JkMount /examples/* ajp13
 /IfModule
 //
 
 File workers.properties
 
 workers.CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.18
 workers.java_home=$(JAVA_HOME)
 ps=/
 
 worker.list=ajp13
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 worker.ajp13.lbfactor=1
 
 worker.loadbalancer.type=lb
 worker.loadbalancer.balanced_workers=ajp13
 worker.inprocess.type=jni
 worker.inprocess.cmd_line=start
 worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$
 (ps)i386$(ps)server$(ps)libjvm.so
 worker.inprocess.stdout=$(workers.CATALINA_HOME)$(ps)logs$(ps)
 inprocess.stdout
 worker.inprocess.stderr=$(workers.CATALINA_HOME)$(ps)logs$(ps)
 inprocess.stderr
 //
 
 Fragment of the file server.xml (Tomcat 4.1.18)
 
 Host name=ged2.ufu.br debug=0 appBase=/web/ged 
 unpackWARs=true autoDeploy=true
  Aliaswww.ged.ufu.br/Alias
  Logger className=org.apache.catalina.logger.FileLogger
  directory=/web/ged/logs prefix=tomcat_ged.
  suffix=.log timestamp=true/
  Context path=/web/ged docBase=ged debug=0
   reloadable=true crossContext=true/
 /Host
 //
 
 Directories of the application
 
 Filesystem   1k-blocks  Used Available Use% Mounted on
 /dev/hda8  3261056 32896   3228160   2% /web
 
 root@ged2:/web/servidor  tree /web/ged/
 /web/ged/
 |-- index.jsp
 |-- logs
 |   |-- apache_access_log
 |   |-- apache_error_log
 |   `-- tomcat_ged.2003-01-17.log
 `-- test
 `-- index.jsp
 
 2 directories, 5 files
 Sebastião Carlos Santos
 Oracle Database Administrator
 Universidade Federal de Uberlândia - UFU
 Gratificação de Estímulo à Docência - GED
 
 

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




Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Lajos Moczar
Sebastiao -

A couple of points:

- you only need the same four hosts configured in Tomcat is you want to 
have different docBase's or different explicitly defined contexts (or 
other components)

- I would certainly try to make index.jsp produce valid HTML for your 
tests. You also might want to have a WEB-INF folder w/ a web.xml in 
/web/ged.

- I'm confused by your httpd.conf - first, you don't need the Include 
directive if you have all the Jk directives manually defined in 
httpd.conf. Second, your IfModule mod_jk.c block should come before 
the virtual host block. However, I can't say that either of these two 
issues are the root cause of your problem - everything else looks good.

- Finally, can you point directly to Tomcat and get index.jsp to work right?

Lajos


Sebastião Carlos Santos wrote:
There are some days installed a servant web with Apache 1.3.27 and Tomcat 4.1.18
under Suse Linux Professional 7.2, however I am facing problems  
in the configuration and integration of the virtual hosts of the Apache for the tomcat.  
In the end of this e-mail it is some fragments of the configuration files  
that I am using, as for instance http.conf, workers.properties and server.xml
When I try to access the address http://www.ged.ufu.br that has the file index.jsp,  
that I put soon lower, I receive the following text % out.println ();%  
in the screen of the browser, what shows that the things are not working how they would owe.
What am missing?
Another question would be: I will have four virtual hosts in the Apache,
logically I will have to have the same ones four configured in Tomcat. Is it possible?
I thank the help in advance.

File index.jsp

root@ged2:/web/ged  cat index.jsp
%out.println();%

//*
Fragment of the file httpd.conf (Apache 1.3.27)

IfModule !mod_jk.c
  LoadModule jk_module libexec/mod_jk.so
/IfModule

Include /usr/local/jakarta-tomcat-4.1.18/conf/auto/mod_jk.conf

AddModule mod_jk.c

ServerName ged2.ufu.br
DocumentRoot /web

Directory /web
.
.
.
/Directory

IfModule mod_dir.c
DirectoryIndex index.html index.htm index.jsp
/IfModule

NameVirtualHost 200.131.195.5


VirtualHost 200.131.195.5:80
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /web/ged/
   ServerName ged2.ufu.br
   ServerAlias www.ged.ufu.br
   ErrorLog /web/ged/logs/apache_error_log
   CustomLog /web/ged/logs/apache_access_log common
   JkMount /web/ged/*.jsp ajp13
/VirtualHost

IfModule mod_jk.c
   JkWorkersFile /usr/local/jakarta-tomcat-4.1.18/conf/jk/workers.properties
   JkLogFile /usr/local/jakarta-tomcat-4.1.18/logs/mod_jk.log

   JkLogLevel debug

   JkMount /examples ajp13
   JkMount /examples/* ajp13
/IfModule
//
File workers.properties

workers.CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.18
workers.java_home=$(JAVA_HOME)
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so
worker.inprocess.stdout=$(workers.CATALINA_HOME)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.CATALINA_HOME)$(ps)logs$(ps)inprocess.stderr
//
Fragment of the file server.xml (Tomcat 4.1.18)

Host name=ged2.ufu.br debug=0 appBase=/web/ged unpackWARs=true autoDeploy=true
 Aliaswww.ged.ufu.br/Alias
 Logger className=org.apache.catalina.logger.FileLogger
 directory=/web/ged/logs prefix=tomcat_ged.
 suffix=.log timestamp=true/
 Context path=/web/ged docBase=ged debug=0
  reloadable=true crossContext=true/
/Host
//
Directories of the application

Filesystem   1k-blocks  Used Available Use% Mounted on
/dev/hda8  3261056 32896   3228160   2% /web

root@ged2:/web/servidor  tree /web/ged/
/web/ged/
|-- index.jsp
|-- logs
|   |-- apache_access_log
|   |-- apache_error_log
|   `-- tomcat_ged.2003-01-17.log
`-- test
`-- index.jsp

2 directories, 5 files
Sebastião Carlos Santos
Oracle Database Administrator
Universidade Federal de Uberlândia - UFU
Gratificação de Estímulo à Docência - GED




--



   Lajos Moczar
  
Open Source Support, Consulting and Training
  
Cocoon Developer's Handbook
 (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

   _  _
  / \ /
 /___\  /
/ \   /

 http://www.galatea.com -- powered by AzSSL


--
To unsubscribe, e-mail:   

RE: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Sebastião Carlos Santos
John,
I accomplished the change suggested by you in httpd.conf and however when I 
open http://www.ged.ufu.br receive the following error message:
HTTP Status 500 - No Context configured to process this request



type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured to process 
this request) that prevented it from fulfilling this request.




Apache Tomcat/4.1.18

What can be happening?
In case you want to try to open URL, be the will for such an action.
Respectfully,

*** REPLY SEPARATOR  ***

On 17/01/2003 at 09:31 Turner, John wrote:

E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!
http://email.bol.com.br/

Try

JkMount /*.jsp ajp13

instead of

JkMount /web/ged/*.jsp ajp13

for www.ged.ufu.br.

Also, you can 4 (or more) virtual hosts in Tomcat, just setup four Host
elements, each with the appropriate name and/or alias.

John

 -Original Message-
 From: Sebastião Carlos Santos [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 17, 2003 7:59 AM
 To: [EMAIL PROTECTED]
 Subject: Difficulties with Virtual Host in the Apache + Tomcat


 There are some days installed a servant web with Apache
 1.3.27 and Tomcat 4.1.18
 under Suse Linux Professional 7.2, however I am facing problems
 in the configuration and integration of the virtual hosts of
 the Apache for the tomcat.
 In the end of this e-mail it is some fragments of the
 configuration files
 that I am using, as for instance http.conf,
 workers.properties and server.xml
 When I try to access the address http://www.ged.ufu.br that
 has the file index.jsp,
 that I put soon lower, I receive the following text %
 out.println ();%
 in the screen of the browser, what shows that the things are
 not working how they would owe.
 What am missing?
 Another question would be: I will have four virtual hosts in
 the Apache,
 logically I will have to have the same ones four configured
 in Tomcat. Is it possible?
 I thank the help in advance.

 File index.jsp

 root@ged2:/web/ged  cat index.jsp
 %out.println();%

 //
 *
 Fragment of the file httpd.conf (Apache 1.3.27)

 IfModule !mod_jk.c
   LoadModule jk_module libexec/mod_jk.so
 /IfModule

 Include /usr/local/jakarta-tomcat-4.1.18/conf/auto/mod_jk.conf

 AddModule mod_jk.c

 ServerName ged2.ufu.br
 DocumentRoot /web

 Directory /web
 .
 .
 .
 /Directory

 IfModule mod_dir.c
 DirectoryIndex index.html index.htm index.jsp
 /IfModule

 NameVirtualHost 200.131.195.5


 VirtualHost 200.131.195.5:80
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /web/ged/
ServerName ged2.ufu.br
ServerAlias www.ged.ufu.br
ErrorLog /web/ged/logs/apache_error_log
CustomLog /web/ged/logs/apache_access_log common
JkMount /web/ged/*.jsp ajp13
 /VirtualHost

 IfModule mod_jk.c
JkWorkersFile
 /usr/local/jakarta-tomcat-4.1.18/conf/jk/workers.properties
JkLogFile /usr/local/jakarta-tomcat-4.1.18/logs/mod_jk.log

JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13
 /IfModule
 //
 
 File workers.properties

 workers.CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.18
 workers.java_home=$(JAVA_HOME)
 ps=/

 worker.list=ajp13
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 worker.ajp13.lbfactor=1

 worker.loadbalancer.type=lb
 worker.loadbalancer.balanced_workers=ajp13
 worker.inprocess.type=jni
 worker.inprocess.cmd_line=start
 worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$
 (ps)i386$(ps)server$(ps)libjvm.so
 worker.inprocess.stdout=$(workers.CATALINA_HOME)$(ps)logs$(ps)
 inprocess.stdout
 worker.inprocess.stderr=$(workers.CATALINA_HOME)$(ps)logs$(ps)
 inprocess.stderr
 //
 
 Fragment of the file server.xml (Tomcat 4.1.18)

 Host name=ged2.ufu.br debug=0 appBase=/web/ged
 unpackWARs=true autoDeploy=true
  Aliaswww.ged.ufu.br/Alias
  Logger className=org.apache.catalina.logger.FileLogger
  directory=/web/ged/logs prefix=tomcat_ged.
  suffix=.log timestamp=true/
  Context path=/web/ged docBase=ged debug=0
   reloadable=true crossContext=true/
 /Host
 //
 
 Directories of the application

 Filesystem   1k-blocks  Used Available Use% Mounted on
 /dev/hda8  3261056 32896   3228160   2% /web

 root@ged2:/web/servidor  tree /web/ged/
 /web/ged/
 |-- index.jsp
 |-- logs
 |   |-- apache_access_log
 |   |-- apache_error_log
 |   `-- tomcat_ged.2003-01-17.log
 `-- test
 `-- 

Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Lajos Moczar
That's 'cause your Host docBase is set to /web/ged while your 
Context docBase is set do ged. So Tomcat is looking for your app at 
/web/ged/ged. Try setting the Host docBase to /web.

Lajos


Sebastião Carlos Santos wrote:
John,  
	I accomplished the change suggested by you in httpd.conf and however when I open http://www.ged.ufu.br receive the following error message:  
HTTP Status 500 - No Context configured to process this request



type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.




Apache Tomcat/4.1.18

What can be happening?  
In case you want to try to open URL, be the will for such an action.  
Respectfully,

*** REPLY SEPARATOR  ***

On 17/01/2003 at 09:31 Turner, John wrote:


E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!
http://email.bol.com.br/

Try 

JkMount /*.jsp ajp13

instead of 

JkMount /web/ged/*.jsp ajp13

for www.ged.ufu.br.

Also, you can 4 (or more) virtual hosts in Tomcat, just setup four Host
elements, each with the appropriate name and/or alias.

John


-Original Message-
From: Sebastião Carlos Santos [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 7:59 AM
To: [EMAIL PROTECTED]
Subject: Difficulties with Virtual Host in the Apache + Tomcat


There are some days installed a servant web with Apache 
1.3.27 and Tomcat 4.1.18
under Suse Linux Professional 7.2, however I am facing problems  
in the configuration and integration of the virtual hosts of 
the Apache for the tomcat.  
In the end of this e-mail it is some fragments of the 
configuration files  
that I am using, as for instance http.conf, 
workers.properties and server.xml
When I try to access the address http://www.ged.ufu.br that 
has the file index.jsp,  
that I put soon lower, I receive the following text % 
out.println ();%  
in the screen of the browser, what shows that the things are 
not working how they would owe.
What am missing?
Another question would be: I will have four virtual hosts in 
the Apache,
logically I will have to have the same ones four configured 
in Tomcat. Is it possible?
I thank the help in advance.

File index.jsp

root@ged2:/web/ged  cat index.jsp
%out.println();%

//
*
Fragment of the file httpd.conf (Apache 1.3.27)

IfModule !mod_jk.c
 LoadModule jk_module libexec/mod_jk.so
/IfModule

Include /usr/local/jakarta-tomcat-4.1.18/conf/auto/mod_jk.conf

AddModule mod_jk.c

ServerName ged2.ufu.br
DocumentRoot /web

Directory /web
.
.
.
/Directory

IfModule mod_dir.c
   DirectoryIndex index.html index.htm index.jsp
/IfModule

NameVirtualHost 200.131.195.5


VirtualHost 200.131.195.5:80
  ServerAdmin [EMAIL PROTECTED]
  DocumentRoot /web/ged/
  ServerName ged2.ufu.br
  ServerAlias www.ged.ufu.br
  ErrorLog /web/ged/logs/apache_error_log
  CustomLog /web/ged/logs/apache_access_log common
  JkMount /web/ged/*.jsp ajp13
/VirtualHost

IfModule mod_jk.c
  JkWorkersFile 
/usr/local/jakarta-tomcat-4.1.18/conf/jk/workers.properties
  JkLogFile /usr/local/jakarta-tomcat-4.1.18/logs/mod_jk.log

  JkLogLevel debug

  JkMount /examples ajp13
  JkMount /examples/* ajp13
/IfModule
//

File workers.properties

workers.CATALINA_HOME=/usr/local/jakarta-tomcat-4.1.18
workers.java_home=$(JAVA_HOME)
ps=/

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$
(ps)i386$(ps)server$(ps)libjvm.so
worker.inprocess.stdout=$(workers.CATALINA_HOME)$(ps)logs$(ps)
inprocess.stdout
worker.inprocess.stderr=$(workers.CATALINA_HOME)$(ps)logs$(ps)
inprocess.stderr
//

Fragment of the file server.xml (Tomcat 4.1.18)

Host name=ged2.ufu.br debug=0 appBase=/web/ged 
unpackWARs=true autoDeploy=true
Aliaswww.ged.ufu.br/Alias
Logger className=org.apache.catalina.logger.FileLogger
directory=/web/ged/logs prefix=tomcat_ged.
suffix=.log timestamp=true/
Context path=/web/ged docBase=ged debug=0
 reloadable=true crossContext=true/
/Host
//

Directories of the application

Filesystem   1k-blocks  Used Available Use% Mounted on
/dev/hda8  3261056 32896   3228160   2% /web

root@ged2:/web/servidor  tree /web/ged/
/web/ged/
|-- index.jsp
|-- 

RE: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Turner, John

The Context path is going to be wrong, too.  Shouldn't it be empty?

John


 -Original Message-
 From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 17, 2003 11:21 AM
 To: Tomcat Users List
 Subject: Re: Difficulties with Virtual Host in the Apache + Tomcat
 
 
 That's 'cause your Host docBase is set to /web/ged while your 
 Context docBase is set do ged. So Tomcat is looking for your app at 
 /web/ged/ged. Try setting the Host docBase to /web.
 
 Lajos
 
 
 Sebastião Carlos Santos wrote:
  John,  
  I accomplished the change suggested by you in 
 httpd.conf and however when I open http://www.ged.ufu.br 
 receive the following error message:  
  HTTP Status 500 - No Context configured to process this request
  
  

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




Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Lajos Moczar
Oh, well if his JkMount is /*.jsp like you suggested, then yeah, his 
Context path should be . But if he leaves it at /web/ged/*.jsp, then 
it is ok. However, the docBase will still get him, I think.

Lajos


Turner, John wrote:
The Context path is going to be wrong, too.  Shouldn't it be empty?

John




-Original Message-
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 11:21 AM
To: Tomcat Users List
Subject: Re: Difficulties with Virtual Host in the Apache + Tomcat


That's 'cause your Host docBase is set to /web/ged while your 
Context docBase is set do ged. So Tomcat is looking for your app at 
/web/ged/ged. Try setting the Host docBase to /web.

Lajos


Sebastião Carlos Santos wrote:

John,  
	I accomplished the change suggested by you in 

httpd.conf and however when I open http://www.ged.ufu.br 
receive the following error message:  

HTTP Status 500 - No Context configured to process this request






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





--



   Lajos Moczar
  
Open Source Support, Consulting and Training
  
Cocoon Developer's Handbook
 (www.amazon.com/exec/obidos/tg/detail/-/0672322579)

   _  _
  / \ /
 /___\  /
/ \   /

 http://www.galatea.com -- powered by AzSSL


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




Re: Difficulties with Virtual Host in the Apache + Tomcat

2003-01-17 Thread Sebastiªo Carlos Santos
Lajos,
   I am also very confused with whole the process of
configuration of the Apache, after the initial problem of
the integration of the Apache with Tomcat in Linux.
   I have faith that some points need to be lifted up:

you only need the same four hosts configured in Tomcat
is you want to have
different docBase's or different explicitly defined
contexts (or other components)

The Apache + Tomcat will be the server web of four
applications that are being developed
inside of an university of Brazil, meantime without
commercial ends. These applications
they will have functionalities totally different some of
the other ones, what justifies the
adoption and creation of four virtual hosts, each one
with a different path. Therefore,
it is necessary that the same happened, regarding the
Apache, in the tomcat for the storage of the classes java
and of the
files jsp properly said. We already know that that is
possible then it is a point the
minus of concern.

I would certainly try to make index.jsp produce valid
HTML for your tests.
You also might want to have a WEB-INF folder w/ a web.xml
in /web/ged.

The file index.jsp that I am using, was a file of tests
very used
for us in the last year, when we used the Caucho Resin,
and the same worked
perfectly in Resin after the end of the configuration of
the server in subject, printing
in the window of the navigator the following message:

Like you he must have noticed for the own signature of
all my e-mails, mine
area is the one of database, more specifically database
Oracle. I am beginning
now to work with development for the web and I am being
hit a lot of the configuration
of the famous tomcat.
How don't I understand a lot of tomcat thing which the
advantage of having web.xml in the / web/ged/WEB-INF?

I'm confused by your httpd.conf - first, you don't need
the Include
directive if you have all the Jk directives manually
defined in httpd.conf.

Lajos, now who was confused went me. I accomplished the
whole installation process
basic of the Apache 1.3.27, Tomcat 4.1.18 and the mod_jk
following the instructions
of his/her tutorial Galatea FlashGuideTM: Integrating
Apache 1.3.x - Tomcat 4.x on Unix,
and during the mod_jk I was forced to use Alternate
build process
it goes mod_jk.so, tends in view that the Building
mod_jk didn't work in my atmosphere.
After the installation of the Apache, Tomcat and mod_jk I
left for the
Configuring Apache with the Jk directives, following
the three described steps.
What really happened with directing Include, it was that
I had an interpretation doubt
in his documentation. For the that I could notice now,
after his e-mail is that or I use
Include or I use what is described in Configuring Apache
with the Jk directives.

Second, your IfModule mod_jk.c block should come
before the virtual host block.
However, I can't say that either of these two issues are
the root cause of
your problem - everything else looks good.

When in Galatea FlashGuideTM: Integrating Apache 1.3.x -
Tomcat 4.x on Unix, you said
that it was to put him/it IfModule mod_jk.c block in
the end of the file httpd.conf found
that it went in the last lines of the file.

Lajos, accomplished all of the suggested changes:
1 - I removed the directing include
2 - I passed the terms below for before NameVirtualHost
200.131.195.5

IfModule mod_jk.c
JkWorkersFile /usr/local/jakarta-tomcat-
4.1.18/conf/jk/workers.properties
JkLogFile /usr/local/jakarta-tomcat-
4.1.18/logs/mod_jk.log

JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13
/IfModule

3 - I changed the docBase of the Context for /web

Now, trying to access the servant, I receive the
following message in http://www.ged.ufu.br

HTTP Status 500 - No Context configured to process this
request

--
--

type Status report

message No Context configured to process this request

description The server encountered an internal error (No
Context configured to process this request) that
prevented it from fulfilling this request.


--
--

Apache Tomcat/4.1.18

It lets me to ask a thing. Starting from the moment that
I include my own host in the
server.xml, as shown in my first e-mail, I need to remove
of the configuration
of Tomcat the Host name = localhost that has soon
above, in other words, the host that
does it come for default in server.xml?
You have some other suggestion of what to do, who knows,
if it is possible of his part
I can order you server.xml or httpd.conf.
I thank the help of all a lot you.
Respectfully,


---
Sebastião Carlos Santos
Oracle Database Administrator - DBA 8i
Universidade Federal de Uberlândia - UFU
Gratificação de Estímulo à Docência - GED


__
E-mail Premium BOL
Antivírus, anti-spam e até 100 MB de espaço. Assine já!