Hello,
I have installed and configured a Tomcat 5.5.20 server, connected to
Apache via mod_jk.
All static pages are well done delivered by Apache but when I want to
access a JGI page, a blank page appears, without any message.
If I ask for an unknown servlet (not specified in the web.xml file), the
same thing happened.
Another point : in the Tomcat administration, the webapp doesn't appear
in the list of applications. Only "standards" ones are present
(/, /admin, /balancer, ...etc).
Here are my configuration files :
#####################################################################
# server.xml #
#####################################################################
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.AprLifecycleListener" />
<Listener
className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener
className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
<GlobalNamingResources>
<Environment name="simpleValue" type="java.lang.Integer"
value="30"/>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false" redirectPort="8443"
acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<Connector port="8009"
enableLookups="false" redirectPort="8443"
protocol="AJP/1.3" />
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
<!-- ugcnet-fr-jgi - ugcnet-jgi-test.ugcgrp75.cvf -->
<Host name="ugcnet-jgi-test.ugcgrp75.cvf" debug="1"
appBase="/usr2/web/ugcnet-fr-jgi/"
unpackWARs="false" autoDeploy="false"
deployOnStartup="false" deployXML="false">
</Host>
</Engine>
</Service>
</Server>
#####################################################################
# VHOST Apache #
#####################################################################
<VirtualHost *:80 >
ServerName ugcnet-jgi-test.ugcgrp75.cvf
DocumentRoot /usr2/web/ugcnet-fr-jgi/html/
ErrorLog /usr2/apache.test/ugcnet-fr-jgi/logs/errors
CustomLog /usr2/apache.test/ugcnet-fr-jgi/logs/access combined
AddType text/html .jgi
<Location /WEB-INF/>
AllowOverride None
deny from all
</Location>
<Location /META-INF/>
AllowOverride None
deny from all
</Location>
DirectoryIndex index.jsp index.html index.htm
<Directory />
Options FollowSymLinks ExecCGI
</Directory>
<Directory "/usr2/web/ugcnet-fr-jgi/html/">
Options FollowSymLinks
AllowOverride all
order allow,deny
allow from all
</Directory>
JkMount /app/* loadbalancer
JkMount /app loadbalancer
JkMount /*.jsp loadbalancer
JkMount /*.jgi loadbalancer
JkMount /*.do loadbalancer
JkMount /servlet/* loadbalancer
</VirtualHost>
Do you know where the problem can come from ?
--
Jean-Romain Pac <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]