Re: Tomcat 5.5.20 : context unloaded and blank page for all JGI

2006-10-24 Thread Martin Gainty
from my understanding I believe there has to be a VirtualHost identified for 
all the *.jgi pages
where the value of the ServerName corresponds to the value of the name 
attribute of server.xml

Anyone else?
M-
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
- Original Message - 
From: Jean-Romain Pac [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, October 24, 2006 5:45 AM
Subject: Tomcat 5.5.20 : context unloaded and blank page for all JGI


 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=2 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: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Tomcat 5.5.20 : context unloaded and blank page for all JGI

2006-10-24 Thread Jean-Romain Pac
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=2 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: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]