RE: Apache front to Tomcat/Cocoon

2004-09-24 Thread Cox, Charlie
This is a problem with your htpd.conf configuration(I'm not sure what) and
you will find more people who can help you on the apache httpd users list. 

> -Original Message-
> From: Richard Lewis [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 24, 2004 11:38 AM
> To: [EMAIL PROTECTED]
> Subject: Apache front to Tomcat/Cocoon
> 
> Hi there,
> 
> This problem has been bugging me for days and I've tried both the
> Apache (httpd) mailing list and the Cocoon mailing list but no one
> seems to be able to solve it.
> 
> I've got two Cocoon (2.1) webapps running under Tomcat (4.1) on my
> server (Debian, j2sdk1.4-sun, Apache 2.0). My network service provided
> has given me two aliases for the machine which I want to point to the
> two webapps.
> 
> As I understand it, I can use virtual hosting and mod_proxy with Apache
> to re-direct requests which use these two aliases to the webapps
> running on port 8080.
> 
> My Apache and Tomcat set up is as follows:
> 
> apache2/mods-enabled directory:
> 
> php4.conf -> /etc/apache2/mods-available/php4.conf
> php4.load -> /etc/apache2/mods-available/php4.load
> proxy.conf -> ../mods-available/proxy.conf
> proxy_connect.load -> ../mods-available/proxy_connect.load
> proxy_http.load -> ../mods-available/proxy_http.load
> proxy.load -> ../mods-available/proxy.load
> userdir.conf -> /etc/apache2/mods-available/userdir.conf
> userdir.load -> /etc/apache2/mods-available/userdir.load
> ==
> apache2/sites-enabled directory:
> 
> cursus.uea.ac.uk -> ../sites-available/cursus.uea.ac.uk
> studios.uea.ac.uk -> ../sites-available/studios.uea.ac.uk
> ==
> apache2/sites-available directory:
> 
> cursus.uea.ac.uk -> /var/webapps/cursus/cursus.apache.conf
> studios.uea.ac.uk -> /var/webapps/studio/studio.apache.conf
> ==
> apache2/httpd.conf:
> 
> 
>  Order deny,allow
>  Deny from all
> 
> 
> NameVirtualHost *:80
> ==
> /var/webapps/cursus/cursus.apache.conf:
> 
> 
>  ServerName www.cursus.uea.ac.uk
>  ServerAlias cursus.uea.ac.uk
>  ServerAlias www.cursus
>  ProxyRequests off
>  ProxyPass / http://localhost:8081/cocoon/cursus/
>  ProxyPassReverse / http://localhost:8081/cocoon/cursus/
>  ProxyPass /styles http://localhost:8081/cocoon/cursus/styles
>  ProxyPassReverse /styles
> http://localhost:8081/cocoon/cursus/styles
> 
> ==
> /var/webapps/cursus/studios.apache.conf:
> 
> 
>  ServerName www.studios.uea.ac.uk
>  ServerAlias studios.uea.ac.uk
>  ServerAlias www.studios
>  ProxyRequests Off
>  ProxyPass / http://localhost:8082/cocoon/studio/
>  ProxyPassReverse / http://localhost:8082/cocoon/studio/
> 
> ==
> /var/webapps/tomcat/conf/server.xml: [snippet]
> 
>   port="8081" minProcessors="5" maxProcessors="75"
> enableLookups="true"
> acceptCount="100" debug="0" connectionTimeout="2"
> proxyName="www.cursus.uea.ac.uk" proxyPort="80"
> useURIValidationHack="false" disableUploadTimeout="true"
> />
> 
>   port="8082" minProcessors="5" maxProcessors="75"
> enableLookups="true"
> acceptCount="100" debug="0" connectionTimeout="2"
> proxyName="www.studios.uea.ac.uk" proxyPort="80"
> useURIValidationHack="false" disableUploadTimeout="true"
> />
> 
> 
> The problem is that when the user requests the URL
> http://cursus.uea.ac.uk/ or http://www.studios.uea.ac.uk/ the server
> returns 403 'Forbidden'.
> $ tail log/apache2/error.log gives:
> [Fri Sep 24 16:22:17 2004] [error] [client ] client denied by
> server configuration: proxy:http://localhost:8081/cocoon/cursus/
> 
> Accessed using the :808[012] suffix, the webapps both work fine (though
> the network firewall will stop access from outside).
> 
> If anyone could help me I would be very grateful indeed as I've been
> puzzeling over this for days and really can't think of anything else
> that might sort the problem.
> 
> Thanks in advance,
> Richard
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


Apache front to Tomcat/Cocoon

2004-09-24 Thread Richard Lewis
Hi there,
This problem has been bugging me for days and I've tried both the 
Apache (httpd) mailing list and the Cocoon mailing list but no one 
seems to be able to solve it.

I've got two Cocoon (2.1) webapps running under Tomcat (4.1) on my 
server (Debian, j2sdk1.4-sun, Apache 2.0). My network service provided 
has given me two aliases for the machine which I want to point to the 
two webapps.

As I understand it, I can use virtual hosting and mod_proxy with Apache 
to re-direct requests which use these two aliases to the webapps 
running on port 8080.

My Apache and Tomcat set up is as follows:
apache2/mods-enabled directory:
php4.conf -> /etc/apache2/mods-available/php4.conf
php4.load -> /etc/apache2/mods-available/php4.load
proxy.conf -> ../mods-available/proxy.conf
proxy_connect.load -> ../mods-available/proxy_connect.load
proxy_http.load -> ../mods-available/proxy_http.load
proxy.load -> ../mods-available/proxy.load
userdir.conf -> /etc/apache2/mods-available/userdir.conf
userdir.load -> /etc/apache2/mods-available/userdir.load
==
apache2/sites-enabled directory:
cursus.uea.ac.uk -> ../sites-available/cursus.uea.ac.uk
studios.uea.ac.uk -> ../sites-available/studios.uea.ac.uk
==
apache2/sites-available directory:
cursus.uea.ac.uk -> /var/webapps/cursus/cursus.apache.conf
studios.uea.ac.uk -> /var/webapps/studio/studio.apache.conf
==
apache2/httpd.conf:

Order deny,allow
Deny from all

NameVirtualHost *:80
==
/var/webapps/cursus/cursus.apache.conf:

ServerName www.cursus.uea.ac.uk
ServerAlias cursus.uea.ac.uk
ServerAlias www.cursus
ProxyRequests off
ProxyPass / http://localhost:8081/cocoon/cursus/
ProxyPassReverse / http://localhost:8081/cocoon/cursus/
ProxyPass /styles http://localhost:8081/cocoon/cursus/styles
ProxyPassReverse /styles 
http://localhost:8081/cocoon/cursus/styles

==
/var/webapps/cursus/studios.apache.conf:


ServerName www.studios.uea.ac.uk
ServerAlias studios.uea.ac.uk
ServerAlias www.studios
ProxyRequests Off
ProxyPass / http://localhost:8082/cocoon/studio/
ProxyPassReverse / http://localhost:8082/cocoon/studio/

==
/var/webapps/tomcat/conf/server.xml: [snippet]

   port="8081" minProcessors="5" maxProcessors="75"
   enableLookups="true"
   acceptCount="100" debug="0" connectionTimeout="2"
   proxyName="www.cursus.uea.ac.uk" proxyPort="80"
   useURIValidationHack="false" disableUploadTimeout="true" 
/>


   port="8082" minProcessors="5" maxProcessors="75"
   enableLookups="true"
   acceptCount="100" debug="0" connectionTimeout="2"
   proxyName="www.studios.uea.ac.uk" proxyPort="80"
   useURIValidationHack="false" disableUploadTimeout="true" 
/>

The problem is that when the user requests the URL 
http://cursus.uea.ac.uk/ or http://www.studios.uea.ac.uk/ the server 
returns 403 'Forbidden'.
$ tail log/apache2/error.log gives:
[Fri Sep 24 16:22:17 2004] [error] [client ] client denied by 
server configuration: proxy:http://localhost:8081/cocoon/cursus/

Accessed using the :808[012] suffix, the webapps both work fine (though 
the network firewall will stop access from outside).

If anyone could help me I would be very grateful indeed as I've been 
puzzeling over this for days and really can't think of anything else 
that might sort the problem.

Thanks in advance,
Richard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Two database connectors for tomcat + cocoon

2004-03-16 Thread Pablo E. Siciliano
I solved it adding SET JAVA_OPTS= -server -Xms512m -Xmx512m in my
autoexec.bat file.

- Original Message -
From: "Pablo E. Siciliano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 16, 2004 2:40 PM
Subject: Two database connectors for tomcat + cocoon


Hi!!

I'm using tomcat 4.1 under windows 98, with cocoon 2.0.1 , and jvm 1.4.2. I
tried to add connection pool for MS SQL 2000 server. I'm using the
connection driver provided by Microsoft in
http://www.microsoft.com/downloads/details.aspx?FamilyID=9f1874b6-f8e1-4bd6-
947c-0fc5bf05bf71&DisplayLang=en.

I've added that connector to cocoon.xconf, and the driver to web.xml, and It
really stablish the pool (I can see it into SQL Server processes), but I
can't compile anything. I only obtain an OutOffMemoryError from console. I
tried even with a pool with only one connection.

Please, help me.

Pablo E. Siciliano.
Depto. Programación.
puentenet.com


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



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



Two database connectors for tomcat + cocoon

2004-03-16 Thread Pablo E. Siciliano
Hi!!

I'm using tomcat 4.1 under windows 98, with cocoon 2.0.1 , and jvm 1.4.2. I
tried to add connection pool for MS SQL 2000 server. I'm using the
connection driver provided by Microsoft in
http://www.microsoft.com/downloads/details.aspx?FamilyID=9f1874b6-f8e1-4bd6-
947c-0fc5bf05bf71&DisplayLang=en.

I've added that connector to cocoon.xconf, and the driver to web.xml, and It
really stablish the pool (I can see it into SQL Server processes), but I
can't compile anything. I only obtain an OutOffMemoryError from console. I
tried even with a pool with only one connection.

Please, help me.

Pablo E. Siciliano.
Depto. Programación.
puentenet.com


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



Re: TOMCAT + COCOON

2002-09-19 Thread Chuck Amadi

Mauro Daniel Ardolino wrote:

>Hello!
>It may be out of topic but I think some of you are working with cocoon.
>
>I am trying to install cocoon under tomcat under windows98.
>I followed the simple instructions of cocoon: just put the war file on
>webapps and restart Tomcat, then navigate: http://localhost:8080/cocoon
>I get this error:
>" 4.0.4 - HTTP Status 404 - /cocoon
>The requested resource (/cocoon) is not available "
>
>What I am doing wrong?
>
>Thanks in advance.
>
>Mauro
>
Hi again Plz try your ipAddress instead of localhost(127.0.0.1) . Wortha 
try make sure you have mapped all localhost to ipAddress (Ensure you 
create a comments about the changes you.ve made first !!!   

-- 
Regards 
Chuck Amadi
ICT Dept Systems Programmer
Rhaglenydd Systemau Adran ICT





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: TOMCAT + COCOON

2002-09-19 Thread Chuck Amadi

Mauro Daniel Ardolino wrote:

>Hello!
>It may be out of topic but I think some of you are working with cocoon.
>
>I am trying to install cocoon under tomcat under windows98.
>I followed the simple instructions of cocoon: just put the war file on
>webapps and restart Tomcat, then navigate: http://localhost:8080/cocoon
>I get this error:
>" 4.0.4 - HTTP Status 404 - /cocoon
>The requested resource (/cocoon) is not available "
>
>What I am doing wrong?
>
>Thanks in advance.
>
>Mauro
>
Hi mate best try the Cocoon user mailing list this apparently is a great 
source of advice from a thriving community of users I'll be joining 
shortly I'm afraid I'm new to Cocoon 2 I've installed on my Linux Box to 
service Xindice native XML Database within Tomcat v4 So I'm unable to 
shed any light other than the obvious that it can't locate Cocoon

See u in the Mailing Group

-- 
Regards 
Chuck Amadi
ICT Dept Systems Programmer
Rhaglenydd Systemau Adran ICT





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat/Cocoon space errors

2002-08-19 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 19, 2002 at 03:50:26PM -0400, Julie Jordan wrote:
> df -kl returns the following:
> filesystem  kbytes   used avail
> capacity  mounted on
> /dev/root   2097152  2097152  0100%
> /

your root partition is full.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YUzmggA8sH0iRXQRAi2TAKCIzWa/4zlIjDZcK/DCQf4hxHEChQCeLLcu
EoN+gUr+PB+SwuRZqzEJmlg=
=3YR9
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat/Cocoon space errors

2002-08-19 Thread Julie Jordan

df -kl returns the following:
filesystem  kbytes   used avail
capacity  mounted on
/dev/root   2097152  2097152  0100%
/
/dev/stand  20480  5741 1473929%
/stand
/proc   000
0%   /  proc
/dev/fd 000
0%   /dev/fd
/dev/dsk/c0b0t0d0s3 3072020149   1057166%
/mtce
/dev/dsk/c0b0t0d0s4 768000   117106   650894   16%   /vs
/dev/dsk/c0b0t0d0s9 102400   203488205220%
/fax
/dev/dsk/c0b0t0d0sb 2046976  1753193  293783   86%   /oracle
/dev/dsk/c0b0t0d0sc 307200   203092868917%
/tmp
/dev/dsk/c0b0t0d0sd 2046976  1489688  557288   73%   /voice1
/dev/dsk/c0b0t0d0s10 614400   423745720267%
/support
/dev/dsk/c0b0t0d0s11 204800   151581896428%   /appl
/dev/_tcp   000
0%   /dev/_tcp
/processorfs000
0%   /system/processor
- Original Message -
From: "Peter T. Abplanalp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 19, 2002 3:44 PM
Subject: Re: Tomcat/Cocoon space errors


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Mon, Aug 19, 2002 at 03:36:42PM -0400, Julie Jordan wrote:
> > Hi all,
> >
> > I am new to Apache/Tomcat and finally got it all loaded and working.
When I
> > get into the Cocoon pages I start throwing errors as follows. Not sure
what
> > configurations I need to change. Not sure why it isn't compiling the
> > sitmap??
> >
> > Am running on Unix:
> >
> > Apache 1.3.9, JSDK2.0, mod_jk, Tomcat 3.3.1, Cocoon 2.0.3
> >
> > Here is my Error.log file:
> >
> > ERROR (2002-08-16) 15:35.25:890 [core.manager]
> > (/cocoon/documents/index.html)
> >
> > Thread-14/Handler: Error compiling sitemap
> >
> > java.io.IOException: No space left on device
>
> what does 'df -kl' on the system running tomcat show?
>
>
> - --
> Peter Abplanalp
>
> Email:   [EMAIL PROTECTED]
> PGP: pgp.mit.edu
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE9YUqiggA8sH0iRXQRAnhsAJ4pfL+unWUlVdbauRHPuCbaeMVS+QCfQXTg
> 7tcdVzoKYw1L9BcfVfaAGcw=
> =uJ0s
> -END PGP SIGNATURE-
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>


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




Re: Tomcat/Cocoon space errors

2002-08-19 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 19, 2002 at 03:36:42PM -0400, Julie Jordan wrote:
> Hi all,
> 
> I am new to Apache/Tomcat and finally got it all loaded and working. When I
> get into the Cocoon pages I start throwing errors as follows. Not sure what
> configurations I need to change. Not sure why it isn't compiling the
> sitmap??
> 
> Am running on Unix:
> 
> Apache 1.3.9, JSDK2.0, mod_jk, Tomcat 3.3.1, Cocoon 2.0.3
> 
> Here is my Error.log file:
> 
> ERROR (2002-08-16) 15:35.25:890 [core.manager]
> (/cocoon/documents/index.html)
> 
> Thread-14/Handler: Error compiling sitemap
> 
> java.io.IOException: No space left on device

what does 'df -kl' on the system running tomcat show?


- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9YUqiggA8sH0iRXQRAnhsAJ4pfL+unWUlVdbauRHPuCbaeMVS+QCfQXTg
7tcdVzoKYw1L9BcfVfaAGcw=
=uJ0s
-END PGP SIGNATURE-

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tomcat/Cocoon space errors

2002-08-19 Thread Julie Jordan

Hi all,

I am new to Apache/Tomcat and finally got it all loaded and working. When I
get into the Cocoon pages I start throwing errors as follows. Not sure what
configurations I need to change. Not sure why it isn't compiling the
sitmap??

Am running on Unix:

Apache 1.3.9, JSDK2.0, mod_jk, Tomcat 3.3.1, Cocoon 2.0.3

Here is my Error.log file:

ERROR (2002-08-16) 15:35.25:890 [core.manager]
(/cocoon/documents/index.html)

Thread-14/Handler: Error compiling sitemap

java.io.IOException: No space left on device

at java.io.FileOutputStream.writeBytes(Native Method)

at java.io.FileOutputStream.write(FileOutputStream.java, Compiled Code)

at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java, Compiled
Code)

at java.io.OutputStreamWriter.flush(OutputStreamWriter.java, Compiled Code)

at java.io.OutputStreamWriter.close(OutputStreamWriter.java, Compiled Code)

at org.apache.cocoon.util.IOUtils.serializeString(IOUtils.java, Compiled
Code)

at org.apache.cocoon.util.IOUtils.serializeString(IOUtils.java, Compiled
Code)

etc,etc,etc.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Tomcat-Cocoon on windows NT

2002-05-15 Thread Whitcomb, Roger

I believe the web-inf directory needs to be "WEB-INF" even on NT (all upper case).  
Try renaming it and making sure all references (in .XML or .conf files) are all 
upper-case as well.

Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 


-Original Message-
From: Gabriel Maffia [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 18, 2002 1:04 PM
To: 'Tomcat Users List'
Subject: Tomcat-Cocoon on windows NT


Hi!

I´m trying to migrate a site from a host running Unix to one running Windows NT 
(weird, isn´t it? :)  ).

Now, I think I have a problem with paths or something, because I get this error

Unable to open resource: Web-inf\cocoon.properties
java.lang.NullPointerException  at org.apache.cocoon.Cocoon.init(Cocoon.java:131)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
.
.


The cocoon.poperties file looks like this:


##
#  Cocoon Configuration
file #

##


##
# IMPORTANT - YOU MUST RESTART YOUR SERVLET ENGINE WHENEVER YOU CHANGE THIS
FILE #
#
 #
#  This is a limitation which is fixed in Cocoon
2.  #

##


##
# Global Configurations  #
##

# Indicates whether or not Cocoon should be visible if
# the requested URI equals the specified one.
selfservlet.enabled = false
selfservlet.uri = \Cocoon.xml

# Indicates whether or not Cocoon should handle errors internally
# and format the error and the exception stack trace to the client
# or return the HTTP error code to the web server and let it handle it.
handle.errors.internally = true

# Indicates the log severity level
#log.level = emergency
#log.level = critical
log.level = error
#log.level = warning
#log.level = info
#log.level = debug



##
# XML Parsers#
##

# Apache Xerces 1.0.1+ (http://xml.apache.com/)
parser = org.apache.cocoon.parser.XercesParser

# SUN ProjectX TR2 (http://java.sun.com/xml/)
#parser = org.apache.cocoon.parser.SunXMLParser

# Indicate whether the XML file should be validated or not
# this is turned off by default for faster operation.
parser.validate = false


##
# XSLT Transformers  #
##

# Apache Xalan (http://xml.apache.org/)
transformer = org.apache.cocoon.transformer.XalanTransformer

# James Clark's XT (http://www.jclark.com/)
#transformer = org.apache.cocoon.transformer.XTTransformer



##
# XML Producers  #
##

# For example, if you want to produce your XML template reading it from
# the file system, using your producer, you should request the URI:
#   http://your.site.com/your_XML_file.xml?producer=file

# This is the request parameter used to identify the producer in the
request:
# (default value is "producer")
producer.parameter = producer

# The syntax for this is
#   producer.type.xxx = full.class.name
# where "xxx" is the producer indentier used in the request
producer.type.file = org.apache.cocoon.producer.ProducerFromFile

# This is used in the example files
producer.type.dummy = org.apache.cocoon.example.DummyProducer

# When producer indication is present in the request
# this configuration allows to map those requests to a particular
# producer indicated here with its type.
# NOTE: this type must present in the above map.
producer.default = file





##
# XML Processors #
##

# These are used when the  PI is present.
# If no PI of that type is present, no processing is performed.
# The syntax for this is
#   processor.type.xxx = full.class.name

# XSL Transformations (XSLT)
processor.type.xslt = org.apache.cocoon.processor.xslt.XSLTProcessor

# SQL Processor
processor.type.sql = org.apache.cocoon.processor.sql.SQLProcessor

# LDAP Processor
# NOTE: you need to have the SUN JDNI API (jndi.jar) in your classpath
# in order for this processor to work. Check the FAQ for more information.
#processor.type.ldap = org.apa

Tomcat-Cocoon on windows NT

2002-05-15 Thread Gabriel Maffia

Hi!

I´m trying to migrate a site from a host running Unix to one running Windows NT 
(weird, isn´t it? :)  ).

Now, I think I have a problem with paths or something, because I get this error

Unable to open resource: Web-inf\cocoon.properties
java.lang.NullPointerException  at org.apache.cocoon.Cocoon.init(Cocoon.java:131)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
.
.


The cocoon.poperties file looks like this:


##
#  Cocoon Configuration
file #

##


##
# IMPORTANT - YOU MUST RESTART YOUR SERVLET ENGINE WHENEVER YOU CHANGE THIS
FILE #
#
 #
#  This is a limitation which is fixed in Cocoon
2.  #

##


##
# Global Configurations  #
##

# Indicates whether or not Cocoon should be visible if
# the requested URI equals the specified one.
selfservlet.enabled = false
selfservlet.uri = \Cocoon.xml

# Indicates whether or not Cocoon should handle errors internally
# and format the error and the exception stack trace to the client
# or return the HTTP error code to the web server and let it handle it.
handle.errors.internally = true

# Indicates the log severity level
#log.level = emergency
#log.level = critical
log.level = error
#log.level = warning
#log.level = info
#log.level = debug



##
# XML Parsers#
##

# Apache Xerces 1.0.1+ (http://xml.apache.com/)
parser = org.apache.cocoon.parser.XercesParser

# SUN ProjectX TR2 (http://java.sun.com/xml/)
#parser = org.apache.cocoon.parser.SunXMLParser

# Indicate whether the XML file should be validated or not
# this is turned off by default for faster operation.
parser.validate = false


##
# XSLT Transformers  #
##

# Apache Xalan (http://xml.apache.org/)
transformer = org.apache.cocoon.transformer.XalanTransformer

# James Clark's XT (http://www.jclark.com/)
#transformer = org.apache.cocoon.transformer.XTTransformer



##
# XML Producers  #
##

# For example, if you want to produce your XML template reading it from
# the file system, using your producer, you should request the URI:
#   http://your.site.com/your_XML_file.xml?producer=file

# This is the request parameter used to identify the producer in the
request:
# (default value is "producer")
producer.parameter = producer

# The syntax for this is
#   producer.type.xxx = full.class.name
# where "xxx" is the producer indentier used in the request
producer.type.file = org.apache.cocoon.producer.ProducerFromFile

# This is used in the example files
producer.type.dummy = org.apache.cocoon.example.DummyProducer

# When producer indication is present in the request
# this configuration allows to map those requests to a particular
# producer indicated here with its type.
# NOTE: this type must present in the above map.
producer.default = file





##
# XML Processors #
##

# These are used when the  PI is present.
# If no PI of that type is present, no processing is performed.
# The syntax for this is
#   processor.type.xxx = full.class.name

# XSL Transformations (XSLT)
processor.type.xslt = org.apache.cocoon.processor.xslt.XSLTProcessor

# SQL Processor
processor.type.sql = org.apache.cocoon.processor.sql.SQLProcessor

# LDAP Processor
# NOTE: you need to have the SUN JDNI API (jndi.jar) in your classpath
# in order for this processor to work. Check the FAQ for more information.
#processor.type.ldap = org.apache.cocoon.processor.ldap.LdapProcessor

# XInclude Processor
processor.type.xinclude =
org.apache.cocoon.processor.xinclude.XIncludeProcessor

# Link Encoding Processor which encodes all links using response.encodeUrl()
processor.type.linkencode =
org.apache.cocoon.processor.LinkEncodingProcessor

##
# XSP Processor  #
##

# eXtensible Server Pages Processor (XSP)
processor.type.xsp = org.apache.cocoon.processor.xsp.XSPProcessor

# supported languages
processor.xsp.lang

RE: Tomcat & Cocoon Question

2002-05-01 Thread Larry Isaacs

I would recommend giving it a try.  The 3.3 release notes
covers the most important new features and changes.
Primarily, check out the "2. INSTALLING AND RUNNING TOMCAT"
and "5. NEW FEATURES AND CHANGES IN THIS RELEASE" in:

<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme>

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 1:53 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> How hard is it to upgrade from Tomcat 3.2.4 to 3.3.1
> 
> And is there any side affects that will make problems with 
> Cocoon 1.8.2, and
> IIS 5.0
> 
> Thanks
> Anthony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 12:57 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> After inspecting the source for StaticInterceptor, there
> is a bug that causes the debug level always be reset to 0.
> That would explain the lack of additional output.
> 
> It is this interceptor that decides whether to redirect to
> a found welcome file or display a directory lists when the
> request refers to a directory.  It is not clear why this
> interceptor is not picking up your welcome file.
> 
> I have confirmed that this bug, among many others, is not
> present in Tomcat 3.3 and later.  If you can give 3.3.1
> a try, you would also benefit in that Tomcat 3.3 will
> validate the web.xml.  If the welcome file is being
> ignored due to some syntax error in web.xml, you would find
> out about it.  The alternative is to build your own
> Tomcat 3.2.x from source, removing the "debug=0" in the
> contextInit() method of StaticInterceptor.
> 
> Cheers,
> Larry
> 
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 11:37 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > OK, Ive set up the error log to go to tomcat.log.
> > 
> > This is what I have in my log after I try to access
> > http://foo.bar.com/cocoon
> > 
> > Nothing seems to change in here after I access 
> > http://foo.bar.com/cocoon or
> > http://foo.bar.com/cocoon/index.xml
> > 
> > I go back and forth between pages, refreshing and still 
> > nothing seems to
> > appear 
> > 
> > 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( 
> /examples )
> > 2002-05-01 11:22:51 - Ctx( /cocoon ): Set debug to 1
> > 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /cocoon )
> > 2002-05-01 11:22:51 - ContextManager: Adding context Ctx(  )
> > 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /admin )
> > 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( 
> > /index.html )
> > 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /test )
> > 2002-05-01 11:22:58 - Ctx( /cocoon ): XmlReader - init  /cocoon
> > webapps/cocoon
> > 2002-05-01 11:22:58 - Ctx( /cocoon ): Reading
> > C:\jakarta-tomcat-3.2.4\webapps\cocoon\WEB-INF\web.xml
> > 2002-05-01 11:22:58 - Ctx( /cocoon ): Loading -2147483646 jsp
> > 2002-05-01 11:22:59 - PoolTcpConnector: Starting 
> > HttpConnectionHandler on
> > 8080
> > 2002-05-01 11:22:59 - PoolTcpConnector: Starting 
> > Ajp12ConnectionHandler on
> > 8007
> > 
> > THanks
> > Tony
> > 
> >

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

How hard is it to upgrade from Tomcat 3.2.4 to 3.3.1

And is there any side affects that will make problems with Cocoon 1.8.2, and
IIS 5.0

Thanks
Anthony

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 12:57 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


After inspecting the source for StaticInterceptor, there
is a bug that causes the debug level always be reset to 0.
That would explain the lack of additional output.

It is this interceptor that decides whether to redirect to
a found welcome file or display a directory lists when the
request refers to a directory.  It is not clear why this
interceptor is not picking up your welcome file.

I have confirmed that this bug, among many others, is not
present in Tomcat 3.3 and later.  If you can give 3.3.1
a try, you would also benefit in that Tomcat 3.3 will
validate the web.xml.  If the welcome file is being
ignored due to some syntax error in web.xml, you would find
out about it.  The alternative is to build your own
Tomcat 3.2.x from source, removing the "debug=0" in the
contextInit() method of StaticInterceptor.

Cheers,
Larry


> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 11:37 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> OK, Ive set up the error log to go to tomcat.log.
> 
> This is what I have in my log after I try to access
> http://foo.bar.com/cocoon
> 
> Nothing seems to change in here after I access 
> http://foo.bar.com/cocoon or
> http://foo.bar.com/cocoon/index.xml
> 
> I go back and forth between pages, refreshing and still 
> nothing seems to
> appear 
> 
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /examples )
> 2002-05-01 11:22:51 - Ctx( /cocoon ): Set debug to 1
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /cocoon )
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx(  )
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /admin )
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( 
> /index.html )
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /test )
> 2002-05-01 11:22:58 - Ctx( /cocoon ): XmlReader - init  /cocoon
> webapps/cocoon
> 2002-05-01 11:22:58 - Ctx( /cocoon ): Reading
> C:\jakarta-tomcat-3.2.4\webapps\cocoon\WEB-INF\web.xml
> 2002-05-01 11:22:58 - Ctx( /cocoon ): Loading -2147483646 jsp
> 2002-05-01 11:22:59 - PoolTcpConnector: Starting 
> HttpConnectionHandler on
> 8080
> 2002-05-01 11:22:59 - PoolTcpConnector: Starting 
> Ajp12ConnectionHandler on
> 8007
> 
> THanks
> Tony
> 
> -----Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 11:18 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> The output would go to the Tomcat log, which defaults to outputing
> to the console.  If it gets lost there, add a path for the "tc_log"
> in server.xml.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 11:10 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > I've set the StaticInterceptor to
> > 
> >  > classname="org.apache.tomcat.request.StaticInterceptor" 
> > debug="1"
> > suppress="false"/>
> > 
> > Now where is the log file that Im looking for??
> > I only have 3 log files in the entire jakarta-tomcat-3.2.4 directory
> > iis_redirect.log
> > jasper.log
> > servlet.log
> > 
> > Thanks
> > Tony
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 11:01 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > At this point, try changing to debug="1" on the StaticInterceptor
> > in server.xml.  That should show in the log, whether it is finding
> > the "welcome" file.  You will be looking for "Dir handler" if the
> > file is not found, or "Redirect ..." if it is.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 10:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > When I get the directory listi

RE: Tomcat & Cocoon Question

2002-05-01 Thread Larry Isaacs

After inspecting the source for StaticInterceptor, there
is a bug that causes the debug level always be reset to 0.
That would explain the lack of additional output.

It is this interceptor that decides whether to redirect to
a found welcome file or display a directory lists when the
request refers to a directory.  It is not clear why this
interceptor is not picking up your welcome file.

I have confirmed that this bug, among many others, is not
present in Tomcat 3.3 and later.  If you can give 3.3.1
a try, you would also benefit in that Tomcat 3.3 will
validate the web.xml.  If the welcome file is being
ignored due to some syntax error in web.xml, you would find
out about it.  The alternative is to build your own
Tomcat 3.2.x from source, removing the "debug=0" in the
contextInit() method of StaticInterceptor.

Cheers,
Larry


> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 11:37 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> OK, Ive set up the error log to go to tomcat.log.
> 
> This is what I have in my log after I try to access
> http://foo.bar.com/cocoon
> 
> Nothing seems to change in here after I access 
> http://foo.bar.com/cocoon or
> http://foo.bar.com/cocoon/index.xml
> 
> I go back and forth between pages, refreshing and still 
> nothing seems to
> appear 
> 
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /examples )
> 2002-05-01 11:22:51 - Ctx( /cocoon ): Set debug to 1
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /cocoon )
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx(  )
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /admin )
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( 
> /index.html )
> 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /test )
> 2002-05-01 11:22:58 - Ctx( /cocoon ): XmlReader - init  /cocoon
> webapps/cocoon
> 2002-05-01 11:22:58 - Ctx( /cocoon ): Reading
> C:\jakarta-tomcat-3.2.4\webapps\cocoon\WEB-INF\web.xml
> 2002-05-01 11:22:58 - Ctx( /cocoon ): Loading -2147483646 jsp
> 2002-05-01 11:22:59 - PoolTcpConnector: Starting 
> HttpConnectionHandler on
> 8080
> 2002-05-01 11:22:59 - PoolTcpConnector: Starting 
> Ajp12ConnectionHandler on
> 8007
> 
> THanks
> Tony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 11:18 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> The output would go to the Tomcat log, which defaults to outputing
> to the console.  If it gets lost there, add a path for the "tc_log"
> in server.xml.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 11:10 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > I've set the StaticInterceptor to
> > 
> >  > classname="org.apache.tomcat.request.StaticInterceptor" 
> > debug="1"
> > suppress="false"/>
> > 
> > Now where is the log file that Im looking for??
> > I only have 3 log files in the entire jakarta-tomcat-3.2.4 directory
> > iis_redirect.log
> > jasper.log
> > servlet.log
> > 
> > Thanks
> > Tony
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 11:01 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > At this point, try changing to debug="1" on the StaticInterceptor
> > in server.xml.  That should show in the log, whether it is finding
> > the "welcome" file.  You will be looking for "Dir handler" if the
> > file is not found, or "Redirect ..." if it is.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 10:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > When I get the directory listing, the bottom of my page says 
> > > "Tomcat Web
> > > Server v3.2.4"
> > > 
> > > This is what I have in my uriworkermap.properties
> > > default.worker=ajp12
> > > 
> > > /cocoon=$(default.worker)
> > > /cocoon/*=$(default.worker)
> > > /cocoon/*.xm

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

OK, Ive set up the error log to go to tomcat.log.

This is what I have in my log after I try to access
http://foo.bar.com/cocoon

Nothing seems to change in here after I access http://foo.bar.com/cocoon or
http://foo.bar.com/cocoon/index.xml

I go back and forth between pages, refreshing and still nothing seems to
appear 

2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /examples )
2002-05-01 11:22:51 - Ctx( /cocoon ): Set debug to 1
2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /cocoon )
2002-05-01 11:22:51 - ContextManager: Adding context Ctx(  )
2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /admin )
2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /index.html )
2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /test )
2002-05-01 11:22:58 - Ctx( /cocoon ): XmlReader - init  /cocoon
webapps/cocoon
2002-05-01 11:22:58 - Ctx( /cocoon ): Reading
C:\jakarta-tomcat-3.2.4\webapps\cocoon\WEB-INF\web.xml
2002-05-01 11:22:58 - Ctx( /cocoon ): Loading -2147483646 jsp
2002-05-01 11:22:59 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2002-05-01 11:22:59 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007

THanks
Tony

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


The output would go to the Tomcat log, which defaults to outputing
to the console.  If it gets lost there, add a path for the "tc_log"
in server.xml.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 11:10 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> I've set the StaticInterceptor to
> 
>classname="org.apache.tomcat.request.StaticInterceptor" 
>   debug="1"
>   suppress="false"/>
> 
> Now where is the log file that Im looking for??
> I only have 3 log files in the entire jakarta-tomcat-3.2.4 directory
> iis_redirect.log
> jasper.log
> servlet.log
> 
> Thanks
> Tony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 11:01 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> At this point, try changing to debug="1" on the StaticInterceptor
> in server.xml.  That should show in the log, whether it is finding
> the "welcome" file.  You will be looking for "Dir handler" if the
> file is not found, or "Redirect ..." if it is.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 10:41 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > When I get the directory listing, the bottom of my page says 
> > "Tomcat Web
> > Server v3.2.4"
> > 
> > This is what I have in my uriworkermap.properties
> > default.worker=ajp12
> > 
> > /cocoon=$(default.worker)
> > /cocoon/*=$(default.worker)
> > /cocoon/*.xml=$(default.worker)
> > 
> > Still getting the same results.
> > 
> > I thank for all your help so far, and I think Im close, but 
> > something isn't
> > clicking somewhere.
> > Any other thoughts
> > 
> > Thanks
> > Anthony
> > 
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 10:28 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > If Tomcat is serving the listing, you should see Tomcat named
> > in the footer of the displayed page.  I forget the exact text
> > of the string.  If you don't see mentioned at the bottom of
> > the page, then IIS is serving the listing.
> > 
> > If you want the welcome files specified in the web.xml to make
> > a difference, then the request http://foo.bar.com/cocoon/ will
> > have to be forwarded to Tomcat.  Which requests are forwarded is
> > controlled by the uriworkermap.properties file.  It is here
> > that you would add the appropriate mapping.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 10:11 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > Larry,
> > > 
> > &g

RE: Tomcat & Cocoon Question

2002-05-01 Thread Larry Isaacs

The output would go to the Tomcat log, which defaults to outputing
to the console.  If it gets lost there, add a path for the "tc_log"
in server.xml.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 11:10 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> I've set the StaticInterceptor to
> 
>classname="org.apache.tomcat.request.StaticInterceptor" 
>   debug="1"
>   suppress="false"/>
> 
> Now where is the log file that Im looking for??
> I only have 3 log files in the entire jakarta-tomcat-3.2.4 directory
> iis_redirect.log
> jasper.log
> servlet.log
> 
> Thanks
> Tony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 11:01 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> At this point, try changing to debug="1" on the StaticInterceptor
> in server.xml.  That should show in the log, whether it is finding
> the "welcome" file.  You will be looking for "Dir handler" if the
> file is not found, or "Redirect ..." if it is.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 10:41 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > When I get the directory listing, the bottom of my page says 
> > "Tomcat Web
> > Server v3.2.4"
> > 
> > This is what I have in my uriworkermap.properties
> > default.worker=ajp12
> > 
> > /cocoon=$(default.worker)
> > /cocoon/*=$(default.worker)
> > /cocoon/*.xml=$(default.worker)
> > 
> > Still getting the same results.
> > 
> > I thank for all your help so far, and I think Im close, but 
> > something isn't
> > clicking somewhere.
> > Any other thoughts
> > 
> > Thanks
> > Anthony
> > 
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 10:28 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > If Tomcat is serving the listing, you should see Tomcat named
> > in the footer of the displayed page.  I forget the exact text
> > of the string.  If you don't see mentioned at the bottom of
> > the page, then IIS is serving the listing.
> > 
> > If you want the welcome files specified in the web.xml to make
> > a difference, then the request http://foo.bar.com/cocoon/ will
> > have to be forwarded to Tomcat.  Which requests are forwarded is
> > controlled by the uriworkermap.properties file.  It is here
> > that you would add the appropriate mapping.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 10:11 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > Larry,
> > > 
> > > How can I be sure. I know Tomcat is doing something with that 
> > > directory,
> > > because all of the xml pages are using Java, and I know IIS 
> > > cant serve them
> > > without some help.
> > > 
> > > Inside of my server.xml file Im doing this.
> > >  > >  docBase="webapps/cocoon" 
> > >  debug="0" 
> > >  reloadable="true" > 
> > > 
> > > I thought this mapped the /cocoon context to Tomcat..
> > > Now Im really confused.
> > > 
> > > The Home Directory for IIS is pointing to 
> > > c:\jakarta-tomcat-3.2.4\webapps
> > > Should this be changed too??
> > > 
> > > Thanks
> > > Tony
> > > 
> > > -Original Message-
> > > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 10:04 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > Does the request http://foo.bar.com/cocoon/ get mapped to
> > > Tomcat?  If not, IIS still serves the directory listing.
> > > If the listing doesn't identify Tomcat, th

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

I've set the StaticInterceptor to



Now where is the log file that Im looking for??
I only have 3 log files in the entire jakarta-tomcat-3.2.4 directory
iis_redirect.log
jasper.log
servlet.log

Thanks
Tony

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 11:01 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


At this point, try changing to debug="1" on the StaticInterceptor
in server.xml.  That should show in the log, whether it is finding
the "welcome" file.  You will be looking for "Dir handler" if the
file is not found, or "Redirect ..." if it is.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 10:41 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> When I get the directory listing, the bottom of my page says 
> "Tomcat Web
> Server v3.2.4"
> 
> This is what I have in my uriworkermap.properties
> default.worker=ajp12
> 
> /cocoon=$(default.worker)
> /cocoon/*=$(default.worker)
> /cocoon/*.xml=$(default.worker)
> 
> Still getting the same results.
> 
> I thank for all your help so far, and I think Im close, but 
> something isn't
> clicking somewhere.
> Any other thoughts
> 
> Thanks
> Anthony
> 
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 10:28 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> If Tomcat is serving the listing, you should see Tomcat named
> in the footer of the displayed page.  I forget the exact text
> of the string.  If you don't see mentioned at the bottom of
> the page, then IIS is serving the listing.
> 
> If you want the welcome files specified in the web.xml to make
> a difference, then the request http://foo.bar.com/cocoon/ will
> have to be forwarded to Tomcat.  Which requests are forwarded is
> controlled by the uriworkermap.properties file.  It is here
> that you would add the appropriate mapping.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 10:11 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > Larry,
> > 
> > How can I be sure. I know Tomcat is doing something with that 
> > directory,
> > because all of the xml pages are using Java, and I know IIS 
> > cant serve them
> > without some help.
> > 
> > Inside of my server.xml file Im doing this.
> >  >  docBase="webapps/cocoon" 
> >  debug="0" 
> >  reloadable="true" > 
> > 
> > I thought this mapped the /cocoon context to Tomcat..
> > Now Im really confused.
> > 
> > The Home Directory for IIS is pointing to 
> > c:\jakarta-tomcat-3.2.4\webapps
> > Should this be changed too??
> > 
> > Thanks
> > Tony
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 10:04 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > Does the request http://foo.bar.com/cocoon/ get mapped to
> > Tomcat?  If not, IIS still serves the directory listing.
> > If the listing doesn't identify Tomcat, then Tomcat
> > isn't generating the listing.  The statement that
> > "IIS doing all of the static pages" suggests that IIS
> > is likely to be doing the listings too.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 9:51 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > IIS serves that page, but I guess I should've been more clear.
> > > 
> > > What Im really looking for is this.
> > > http://foo.bar.com/cocoon/ this is the page that Id like to 
> > > default to the
> > > index.xml file
> > > The Context /cocoon is served by Tomcat, and this is 
> > exactly where my
> > > problem lies.
> > > 
> > > Thanks
> > > Anthony
> > > 
> > > -Original Message-
> > > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> &

RE: Tomcat & Cocoon Question

2002-05-01 Thread Larry Isaacs

At this point, try changing to debug="1" on the StaticInterceptor
in server.xml.  That should show in the log, whether it is finding
the "welcome" file.  You will be looking for "Dir handler" if the
file is not found, or "Redirect ..." if it is.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 10:41 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> When I get the directory listing, the bottom of my page says 
> "Tomcat Web
> Server v3.2.4"
> 
> This is what I have in my uriworkermap.properties
> default.worker=ajp12
> 
> /cocoon=$(default.worker)
> /cocoon/*=$(default.worker)
> /cocoon/*.xml=$(default.worker)
> 
> Still getting the same results.
> 
> I thank for all your help so far, and I think Im close, but 
> something isn't
> clicking somewhere.
> Any other thoughts
> 
> Thanks
> Anthony
> 
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 10:28 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> If Tomcat is serving the listing, you should see Tomcat named
> in the footer of the displayed page.  I forget the exact text
> of the string.  If you don't see mentioned at the bottom of
> the page, then IIS is serving the listing.
> 
> If you want the welcome files specified in the web.xml to make
> a difference, then the request http://foo.bar.com/cocoon/ will
> have to be forwarded to Tomcat.  Which requests are forwarded is
> controlled by the uriworkermap.properties file.  It is here
> that you would add the appropriate mapping.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 10:11 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > Larry,
> > 
> > How can I be sure. I know Tomcat is doing something with that 
> > directory,
> > because all of the xml pages are using Java, and I know IIS 
> > cant serve them
> > without some help.
> > 
> > Inside of my server.xml file Im doing this.
> >  >  docBase="webapps/cocoon" 
> >  debug="0" 
> >  reloadable="true" > 
> > 
> > I thought this mapped the /cocoon context to Tomcat..
> > Now Im really confused.
> > 
> > The Home Directory for IIS is pointing to 
> > c:\jakarta-tomcat-3.2.4\webapps
> > Should this be changed too??
> > 
> > Thanks
> > Tony
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 10:04 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > Does the request http://foo.bar.com/cocoon/ get mapped to
> > Tomcat?  If not, IIS still serves the directory listing.
> > If the listing doesn't identify Tomcat, then Tomcat
> > isn't generating the listing.  The statement that
> > "IIS doing all of the static pages" suggests that IIS
> > is likely to be doing the listings too.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 9:51 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > IIS serves that page, but I guess I should've been more clear.
> > > 
> > > What Im really looking for is this.
> > > http://foo.bar.com/cocoon/ this is the page that Id like to 
> > > default to the
> > > index.xml file
> > > The Context /cocoon is served by Tomcat, and this is 
> > exactly where my
> > > problem lies.
> > > 
> > > Thanks
> > > Anthony
> > > 
> > > -Original Message-
> > > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 9:45 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > For http://foo.bar.com/, who serves the directory
> > > listing?  If IIS is serving the listing, making
> > > changes on the Tomcat side isn't going to alter this
> > > 

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

You are correct. The entire site is in xml, so Tomcat is serving everything.

I was almost positive that it wasn't an IIS issue. I just cant make Tomcat
recognize that all "/" in the /cocoon context should redirect to /index.xml

Thanks for your help so far.
If you think of anything that may help, please let me know
Thanks
Anthony

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 10:59 AM
To: Tomcat Users List
Subject: RE: Tomcat & Cocoon Question


Ahh...

You are already passing everything to tomcat.  IIS is just being used to 
front web requests to port 80 and forward them to tomcat.  IIS doesn't 
serve any static content the way you have it set up.

The lines:

/cocoon=$(default.worker)
/cocoon/*=$(default.worker)

are all you need.  No need to add the third line.

At this point, whatever if not working properly is not working properly in 
tomcat.  it has nothing to do with IIS at this point.  At least you know 
where to  look for the problem, now.   Sorry I can't be of more help.

Jake


At 10:41 AM 5/1/2002 -0400, you wrote:
>When I get the directory listing, the bottom of my page says "Tomcat Web
>Server v3.2.4"
>
>This is what I have in my uriworkermap.properties
>default.worker=ajp12
>
>/cocoon=$(default.worker)
>/cocoon/*=$(default.worker)
>/cocoon/*.xml=$(default.worker)
>
>Still getting the same results.
>
>I thank for all your help so far, and I think Im close, but something isn't
>clicking somewhere.
>Any other thoughts
>
>Thanks
>Anthony
>
>
>-Original Message-
>From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 01, 2002 10:28 AM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat & Cocoon Question
>
>
>If Tomcat is serving the listing, you should see Tomcat named
>in the footer of the displayed page.  I forget the exact text
>of the string.  If you don't see mentioned at the bottom of
>the page, then IIS is serving the listing.
>
>If you want the welcome files specified in the web.xml to make
>a difference, then the request http://foo.bar.com/cocoon/ will
>have to be forwarded to Tomcat.  Which requests are forwarded is
>controlled by the uriworkermap.properties file.  It is here
>that you would add the appropriate mapping.
>
>Cheers,
>Larry
>
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 10:11 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > Larry,
> >
> > How can I be sure. I know Tomcat is doing something with that
> > directory,
> > because all of the xml pages are using Java, and I know IIS
> > cant serve them
> > without some help.
> >
> > Inside of my server.xml file Im doing this.
> >  >  docBase="webapps/cocoon"
> >  debug="0"
> >  reloadable="true" >
> > 
> > I thought this mapped the /cocoon context to Tomcat..
> > Now Im really confused.
> >
> > The Home Directory for IIS is pointing to
> > c:\jakarta-tomcat-3.2.4\webapps
> > Should this be changed too??
> >
> > Thanks
> > Tony
> >
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 10:04 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > Does the request http://foo.bar.com/cocoon/ get mapped to
> > Tomcat?  If not, IIS still serves the directory listing.
> > If the listing doesn't identify Tomcat, then Tomcat
> > isn't generating the listing.  The statement that
> > "IIS doing all of the static pages" suggests that IIS
> > is likely to be doing the listings too.
> >
> > Cheers,
> > Larry
> >
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 9:51 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > IIS serves that page, but I guess I should've been more clear.
> > >
> > > What Im really looking for is this.
> > > http://foo.bar.com/cocoon/ this is the page that Id like to
> > > default to the
> > > index.xml file
> > > The Context /cocoon is served by Tomcat, and this is
> > exactly where my
> > > problem lies.
> > >
> > > Thanks
> > > Anthony
> >

RE: Tomcat & Cocoon Question

2002-05-01 Thread Jacob Kjome

Ahh...

You are already passing everything to tomcat.  IIS is just being used to 
front web requests to port 80 and forward them to tomcat.  IIS doesn't 
serve any static content the way you have it set up.

The lines:

/cocoon=$(default.worker)
/cocoon/*=$(default.worker)

are all you need.  No need to add the third line.

At this point, whatever if not working properly is not working properly in 
tomcat.  it has nothing to do with IIS at this point.  At least you know 
where to  look for the problem, now.   Sorry I can't be of more help.

Jake


At 10:41 AM 5/1/2002 -0400, you wrote:
>When I get the directory listing, the bottom of my page says "Tomcat Web
>Server v3.2.4"
>
>This is what I have in my uriworkermap.properties
>default.worker=ajp12
>
>/cocoon=$(default.worker)
>/cocoon/*=$(default.worker)
>/cocoon/*.xml=$(default.worker)
>
>Still getting the same results.
>
>I thank for all your help so far, and I think Im close, but something isn't
>clicking somewhere.
>Any other thoughts
>
>Thanks
>Anthony
>
>
>-Original Message-
>From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 01, 2002 10:28 AM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat & Cocoon Question
>
>
>If Tomcat is serving the listing, you should see Tomcat named
>in the footer of the displayed page.  I forget the exact text
>of the string.  If you don't see mentioned at the bottom of
>the page, then IIS is serving the listing.
>
>If you want the welcome files specified in the web.xml to make
>a difference, then the request http://foo.bar.com/cocoon/ will
>have to be forwarded to Tomcat.  Which requests are forwarded is
>controlled by the uriworkermap.properties file.  It is here
>that you would add the appropriate mapping.
>
>Cheers,
>Larry
>
> > -----Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 10:11 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > Larry,
> >
> > How can I be sure. I know Tomcat is doing something with that
> > directory,
> > because all of the xml pages are using Java, and I know IIS
> > cant serve them
> > without some help.
> >
> > Inside of my server.xml file Im doing this.
> >  >  docBase="webapps/cocoon"
> >  debug="0"
> >  reloadable="true" >
> > 
> > I thought this mapped the /cocoon context to Tomcat..
> > Now Im really confused.
> >
> > The Home Directory for IIS is pointing to
> > c:\jakarta-tomcat-3.2.4\webapps
> > Should this be changed too??
> >
> > Thanks
> > Tony
> >
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 10:04 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > Does the request http://foo.bar.com/cocoon/ get mapped to
> > Tomcat?  If not, IIS still serves the directory listing.
> > If the listing doesn't identify Tomcat, then Tomcat
> > isn't generating the listing.  The statement that
> > "IIS doing all of the static pages" suggests that IIS
> > is likely to be doing the listings too.
> >
> > Cheers,
> > Larry
> >
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 9:51 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > IIS serves that page, but I guess I should've been more clear.
> > >
> > > What Im really looking for is this.
> > > http://foo.bar.com/cocoon/ this is the page that Id like to
> > > default to the
> > > index.xml file
> > > The Context /cocoon is served by Tomcat, and this is
> > exactly where my
> > > problem lies.
> > >
> > > Thanks
> > > Anthony
> > >
> > > -Original Message-
> > > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 9:45 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > For http://foo.bar.com/, who serves the directory
> > > listing?  If IIS is serving the listing, making
> > > changes on the Tomcat side isn't going to alter this
> > > behavior.
>

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

Also, just as a test, I put an index.jsp file into the /cocoon directory,
and it worked.
I still need to get index.xml to work, but I just thought Id let you know.

Thanks
Anthony

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 10:30 AM
To: Tomcat Users List
Subject: RE: Tomcat & Cocoon Question


IIS is set up to serve static content.  It needs to have mappings to know 
what to forward to Tomcat.

What you need to do is put index.xml in IIS's default file list.  Then, a 
call to the root of the directory will get forwarded to index.xml which IIS 
will then know to forward to Tomcat...as long as you've specified *.xml 
files to be mapped to Tomcat.  I can't remember what the syntax for that 
is?  Maybe something like "/mycontext/*.xml=ajp1.2" in
uriworkermap.properties?

Jake

At 10:10 AM 5/1/2002 -0400, you wrote:
>Larry,
>
>How can I be sure. I know Tomcat is doing something with that directory,
>because all of the xml pages are using Java, and I know IIS cant serve them
>without some help.
>
>Inside of my server.xml file Im doing this.
>   docBase="webapps/cocoon"
>  debug="0"
>  reloadable="true" >
> 
>I thought this mapped the /cocoon context to Tomcat..
>Now Im really confused.
>
>The Home Directory for IIS is pointing to c:\jakarta-tomcat-3.2.4\webapps
>Should this be changed too??
>
>Thanks
>Tony
>
>-Original Message-
>From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 01, 2002 10:04 AM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat & Cocoon Question
>
>
>Does the request http://foo.bar.com/cocoon/ get mapped to
>Tomcat?  If not, IIS still serves the directory listing.
>If the listing doesn't identify Tomcat, then Tomcat
>isn't generating the listing.  The statement that
>"IIS doing all of the static pages" suggests that IIS
>is likely to be doing the listings too.
>
>Cheers,
>Larry
>
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:51 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > IIS serves that page, but I guess I should've been more clear.
> >
> > What Im really looking for is this.
> > http://foo.bar.com/cocoon/ this is the page that Id like to
> > default to the
> > index.xml file
> > The Context /cocoon is served by Tomcat, and this is exactly where my
> > problem lies.
> >
> > Thanks
> > Anthony
> >
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:45 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > For http://foo.bar.com/, who serves the directory
> > listing?  If IIS is serving the listing, making
> > changes on the Tomcat side isn't going to alter this
> > behavior.
> >
> > Cheers,
> > Larry
> >
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 9:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > Bill,
> > >
> > > Still not working.
> > > My welcome file list is this
> > >
> > > 
> > > 
> > > index.xml
> > >   
> > > 
> > >
> > > And you right, it was in web.xml, but after I made the changes, and
> > > re-started Tomcat, I still get the directory listing.
> > > If you have any other thoughts, please let me know.
> > >
> > > Thanks
> > > Anthony
> > >
> > > -Original Message-
> > > From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 12:00 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > I think this can be done by setting the welcome page to be
> > > index.xml. I
> > > think this is in web.xml, but I may have the xml file
> > wrong. Do a find
> > > on text welcome in the .xml files under tomcat and you
> > should find it.
> > >
> > > HTH,
> > > Bill Barnhill
> > >
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

Also, just as a test, I put an index.jsp file into the /cocoon directory,
and it worked.
I still need to get index.xml to work, but I just thought Id let you know.

Thanks
Anthony

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 10:28 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


If Tomcat is serving the listing, you should see Tomcat named
in the footer of the displayed page.  I forget the exact text
of the string.  If you don't see mentioned at the bottom of
the page, then IIS is serving the listing.

If you want the welcome files specified in the web.xml to make
a difference, then the request http://foo.bar.com/cocoon/ will
have to be forwarded to Tomcat.  Which requests are forwarded is
controlled by the uriworkermap.properties file.  It is here
that you would add the appropriate mapping.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 10:11 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> Larry,
> 
> How can I be sure. I know Tomcat is doing something with that 
> directory,
> because all of the xml pages are using Java, and I know IIS 
> cant serve them
> without some help.
> 
> Inside of my server.xml file Im doing this.
>   docBase="webapps/cocoon" 
>  debug="0" 
>  reloadable="true" > 
> 
> I thought this mapped the /cocoon context to Tomcat..
> Now Im really confused.
> 
> The Home Directory for IIS is pointing to 
> c:\jakarta-tomcat-3.2.4\webapps
> Should this be changed too??
> 
> Thanks
> Tony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 10:04 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> Does the request http://foo.bar.com/cocoon/ get mapped to
> Tomcat?  If not, IIS still serves the directory listing.
> If the listing doesn't identify Tomcat, then Tomcat
> isn't generating the listing.  The statement that
> "IIS doing all of the static pages" suggests that IIS
> is likely to be doing the listings too.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 9:51 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > IIS serves that page, but I guess I should've been more clear.
> > 
> > What Im really looking for is this.
> > http://foo.bar.com/cocoon/ this is the page that Id like to 
> > default to the
> > index.xml file
> > The Context /cocoon is served by Tomcat, and this is 
> exactly where my
> > problem lies.
> > 
> > Thanks
> > Anthony
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:45 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > For http://foo.bar.com/, who serves the directory
> > listing?  If IIS is serving the listing, making
> > changes on the Tomcat side isn't going to alter this
> > behavior.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 9:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > Bill,
> > > 
> > > Still not working.
> > > My welcome file list is this
> > > 
> > > 
> > >   
> > > index.xml
> > >   
> > > 
> > > 
> > > And you right, it was in web.xml, but after I made the 
> changes, and
> > > re-started Tomcat, I still get the directory listing.
> > > If you have any other thoughts, please let me know.
> > > 
> > > Thanks
> > > Anthony
> > > 
> > > -Original Message-
> > > From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 12:00 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > I think this can be done by setting the welcome page to be 
> > > index.xml. I
> > > think this is in web.xml, but I may have the xml fi

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

When I get the directory listing, the bottom of my page says "Tomcat Web
Server v3.2.4"

This is what I have in my uriworkermap.properties
default.worker=ajp12

/cocoon=$(default.worker)
/cocoon/*=$(default.worker)
/cocoon/*.xml=$(default.worker)

Still getting the same results.

I thank for all your help so far, and I think Im close, but something isn't
clicking somewhere.
Any other thoughts

Thanks
Anthony


-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 10:28 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


If Tomcat is serving the listing, you should see Tomcat named
in the footer of the displayed page.  I forget the exact text
of the string.  If you don't see mentioned at the bottom of
the page, then IIS is serving the listing.

If you want the welcome files specified in the web.xml to make
a difference, then the request http://foo.bar.com/cocoon/ will
have to be forwarded to Tomcat.  Which requests are forwarded is
controlled by the uriworkermap.properties file.  It is here
that you would add the appropriate mapping.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 10:11 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> Larry,
> 
> How can I be sure. I know Tomcat is doing something with that 
> directory,
> because all of the xml pages are using Java, and I know IIS 
> cant serve them
> without some help.
> 
> Inside of my server.xml file Im doing this.
>   docBase="webapps/cocoon" 
>  debug="0" 
>  reloadable="true" > 
> 
> I thought this mapped the /cocoon context to Tomcat..
> Now Im really confused.
> 
> The Home Directory for IIS is pointing to 
> c:\jakarta-tomcat-3.2.4\webapps
> Should this be changed too??
> 
> Thanks
> Tony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 10:04 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> Does the request http://foo.bar.com/cocoon/ get mapped to
> Tomcat?  If not, IIS still serves the directory listing.
> If the listing doesn't identify Tomcat, then Tomcat
> isn't generating the listing.  The statement that
> "IIS doing all of the static pages" suggests that IIS
> is likely to be doing the listings too.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 9:51 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > IIS serves that page, but I guess I should've been more clear.
> > 
> > What Im really looking for is this.
> > http://foo.bar.com/cocoon/ this is the page that Id like to 
> > default to the
> > index.xml file
> > The Context /cocoon is served by Tomcat, and this is 
> exactly where my
> > problem lies.
> > 
> > Thanks
> > Anthony
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:45 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > For http://foo.bar.com/, who serves the directory
> > listing?  If IIS is serving the listing, making
> > changes on the Tomcat side isn't going to alter this
> > behavior.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 9:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > Bill,
> > > 
> > > Still not working.
> > > My welcome file list is this
> > > 
> > > 
> > >   
> > > index.xml
> > >   
> > > 
> > > 
> > > And you right, it was in web.xml, but after I made the 
> changes, and
> > > re-started Tomcat, I still get the directory listing.
> > > If you have any other thoughts, please let me know.
> > > 
> > > Thanks
> > > Anthony
> > > 
> > > -Original Message-
> > > From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 12:00 PM
> > > To: 'Tomcat Users List'
> &

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

OK,
Now here is where Im at.
I have the default document in IIS set to index.xml. There are no other
defaults in there.
This is what I have in my uriworkermap.properties
default.worker=ajp12

/cocoon=$(default.worker)
/cocoon/*=$(default.worker)
/cocoon/*.xml=$(default.worker)

Still where I was.
I thank for all your help so far, and I think Im close, but something isn't
clicking somewhere.
Any other thoughts

Thanks
Anthony



-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 10:30 AM
To: Tomcat Users List
Subject: RE: Tomcat & Cocoon Question


IIS is set up to serve static content.  It needs to have mappings to know 
what to forward to Tomcat.

What you need to do is put index.xml in IIS's default file list.  Then, a 
call to the root of the directory will get forwarded to index.xml which IIS 
will then know to forward to Tomcat...as long as you've specified *.xml 
files to be mapped to Tomcat.  I can't remember what the syntax for that 
is?  Maybe something like "/mycontext/*.xml=ajp1.2" in
uriworkermap.properties?

Jake

At 10:10 AM 5/1/2002 -0400, you wrote:
>Larry,
>
>How can I be sure. I know Tomcat is doing something with that directory,
>because all of the xml pages are using Java, and I know IIS cant serve them
>without some help.
>
>Inside of my server.xml file Im doing this.
>   docBase="webapps/cocoon"
>  debug="0"
>  reloadable="true" >
> 
>I thought this mapped the /cocoon context to Tomcat..
>Now Im really confused.
>
>The Home Directory for IIS is pointing to c:\jakarta-tomcat-3.2.4\webapps
>Should this be changed too??
>
>Thanks
>Tony
>
>-Original Message-----
>From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 01, 2002 10:04 AM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat & Cocoon Question
>
>
>Does the request http://foo.bar.com/cocoon/ get mapped to
>Tomcat?  If not, IIS still serves the directory listing.
>If the listing doesn't identify Tomcat, then Tomcat
>isn't generating the listing.  The statement that
>"IIS doing all of the static pages" suggests that IIS
>is likely to be doing the listings too.
>
>Cheers,
>Larry
>
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:51 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > IIS serves that page, but I guess I should've been more clear.
> >
> > What Im really looking for is this.
> > http://foo.bar.com/cocoon/ this is the page that Id like to
> > default to the
> > index.xml file
> > The Context /cocoon is served by Tomcat, and this is exactly where my
> > problem lies.
> >
> > Thanks
> > Anthony
> >
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:45 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > For http://foo.bar.com/, who serves the directory
> > listing?  If IIS is serving the listing, making
> > changes on the Tomcat side isn't going to alter this
> > behavior.
> >
> > Cheers,
> > Larry
> >
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 9:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > Bill,
> > >
> > > Still not working.
> > > My welcome file list is this
> > >
> > > 
> > > 
> > > index.xml
> > >   
> > > 
> > >
> > > And you right, it was in web.xml, but after I made the changes, and
> > > re-started Tomcat, I still get the directory listing.
> > > If you have any other thoughts, please let me know.
> > >
> > > Thanks
> > > Anthony
> > >
> > > -Original Message-
> > > From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 12:00 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > I think this can be done by setting the welcome page to be
> > > index.xml. I
> > > think this is in web.xml, but I may have the xml file
> > wrong. Do a find
> > > on text welcome 

RE: Tomcat & Cocoon Question

2002-05-01 Thread Larry Isaacs

If Tomcat is serving the listing, you should see Tomcat named
in the footer of the displayed page.  I forget the exact text
of the string.  If you don't see mentioned at the bottom of
the page, then IIS is serving the listing.

If you want the welcome files specified in the web.xml to make
a difference, then the request http://foo.bar.com/cocoon/ will
have to be forwarded to Tomcat.  Which requests are forwarded is
controlled by the uriworkermap.properties file.  It is here
that you would add the appropriate mapping.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 10:11 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> Larry,
> 
> How can I be sure. I know Tomcat is doing something with that 
> directory,
> because all of the xml pages are using Java, and I know IIS 
> cant serve them
> without some help.
> 
> Inside of my server.xml file Im doing this.
>   docBase="webapps/cocoon" 
>  debug="0" 
>  reloadable="true" > 
> 
> I thought this mapped the /cocoon context to Tomcat..
> Now Im really confused.
> 
> The Home Directory for IIS is pointing to 
> c:\jakarta-tomcat-3.2.4\webapps
> Should this be changed too??
> 
> Thanks
> Tony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 10:04 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> Does the request http://foo.bar.com/cocoon/ get mapped to
> Tomcat?  If not, IIS still serves the directory listing.
> If the listing doesn't identify Tomcat, then Tomcat
> isn't generating the listing.  The statement that
> "IIS doing all of the static pages" suggests that IIS
> is likely to be doing the listings too.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 9:51 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > IIS serves that page, but I guess I should've been more clear.
> > 
> > What Im really looking for is this.
> > http://foo.bar.com/cocoon/ this is the page that Id like to 
> > default to the
> > index.xml file
> > The Context /cocoon is served by Tomcat, and this is 
> exactly where my
> > problem lies.
> > 
> > Thanks
> > Anthony
> > 
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:45 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > For http://foo.bar.com/, who serves the directory
> > listing?  If IIS is serving the listing, making
> > changes on the Tomcat side isn't going to alter this
> > behavior.
> > 
> > Cheers,
> > Larry
> > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 9:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > Bill,
> > > 
> > > Still not working.
> > > My welcome file list is this
> > > 
> > > 
> > >   
> > > index.xml
> > >   
> > > 
> > > 
> > > And you right, it was in web.xml, but after I made the 
> changes, and
> > > re-started Tomcat, I still get the directory listing.
> > > If you have any other thoughts, please let me know.
> > > 
> > > Thanks
> > > Anthony
> > > 
> > > -Original Message-
> > > From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 12:00 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > > 
> > > 
> > > I think this can be done by setting the welcome page to be 
> > > index.xml. I
> > > think this is in web.xml, but I may have the xml file 
> > wrong. Do a find
> > > on text welcome in the .xml files under tomcat and you 
> > should find it.
> > > 
> > > HTH,
> > > Bill Barnhill
> > > 
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > > Sent: Wednesday, May 01, 2002 5:46 

RE: Tomcat & Cocoon Question

2002-05-01 Thread Jacob Kjome

IIS is set up to serve static content.  It needs to have mappings to know 
what to forward to Tomcat.

What you need to do is put index.xml in IIS's default file list.  Then, a 
call to the root of the directory will get forwarded to index.xml which IIS 
will then know to forward to Tomcat...as long as you've specified *.xml 
files to be mapped to Tomcat.  I can't remember what the syntax for that 
is?  Maybe something like "/mycontext/*.xml=ajp1.2" in uriworkermap.properties?

Jake

At 10:10 AM 5/1/2002 -0400, you wrote:
>Larry,
>
>How can I be sure. I know Tomcat is doing something with that directory,
>because all of the xml pages are using Java, and I know IIS cant serve them
>without some help.
>
>Inside of my server.xml file Im doing this.
>   docBase="webapps/cocoon"
>  debug="0"
>  reloadable="true" >
> 
>I thought this mapped the /cocoon context to Tomcat..
>Now Im really confused.
>
>The Home Directory for IIS is pointing to c:\jakarta-tomcat-3.2.4\webapps
>Should this be changed too??
>
>Thanks
>Tony
>
>-Original Message-
>From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 01, 2002 10:04 AM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat & Cocoon Question
>
>
>Does the request http://foo.bar.com/cocoon/ get mapped to
>Tomcat?  If not, IIS still serves the directory listing.
>If the listing doesn't identify Tomcat, then Tomcat
>isn't generating the listing.  The statement that
>"IIS doing all of the static pages" suggests that IIS
>is likely to be doing the listings too.
>
>Cheers,
>Larry
>
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:51 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > IIS serves that page, but I guess I should've been more clear.
> >
> > What Im really looking for is this.
> > http://foo.bar.com/cocoon/ this is the page that Id like to
> > default to the
> > index.xml file
> > The Context /cocoon is served by Tomcat, and this is exactly where my
> > problem lies.
> >
> > Thanks
> > Anthony
> >
> > -Original Message-
> > From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 9:45 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> >
> >
> > For http://foo.bar.com/, who serves the directory
> > listing?  If IIS is serving the listing, making
> > changes on the Tomcat side isn't going to alter this
> > behavior.
> >
> > Cheers,
> > Larry
> >
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 9:41 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > Bill,
> > >
> > > Still not working.
> > > My welcome file list is this
> > >
> > > 
> > > 
> > > index.xml
> > >   
> > > 
> > >
> > > And you right, it was in web.xml, but after I made the changes, and
> > > re-started Tomcat, I still get the directory listing.
> > > If you have any other thoughts, please let me know.
> > >
> > > Thanks
> > > Anthony
> > >
> > > -Original Message-
> > > From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 12:00 PM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Tomcat & Cocoon Question
> > >
> > >
> > > I think this can be done by setting the welcome page to be
> > > index.xml. I
> > > think this is in web.xml, but I may have the xml file
> > wrong. Do a find
> > > on text welcome in the .xml files under tomcat and you
> > should find it.
> > >
> > > HTH,
> > > Bill Barnhill
> > >
> > > -Original Message-
> > > From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, May 01, 2002 5:46 AM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: Tomcat & Cocoon Question
> > >
> > >
> > > Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my
> > > Webserver. I have
> > > Tomcat processing my Cocoon xml, and IIS doing all of the

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

Larry,

How can I be sure. I know Tomcat is doing something with that directory,
because all of the xml pages are using Java, and I know IIS cant serve them
without some help.

Inside of my server.xml file Im doing this.
 

I thought this mapped the /cocoon context to Tomcat..
Now Im really confused.

The Home Directory for IIS is pointing to c:\jakarta-tomcat-3.2.4\webapps
Should this be changed too??

Thanks
Tony

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 10:04 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


Does the request http://foo.bar.com/cocoon/ get mapped to
Tomcat?  If not, IIS still serves the directory listing.
If the listing doesn't identify Tomcat, then Tomcat
isn't generating the listing.  The statement that
"IIS doing all of the static pages" suggests that IIS
is likely to be doing the listings too.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 9:51 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> IIS serves that page, but I guess I should've been more clear.
> 
> What Im really looking for is this.
> http://foo.bar.com/cocoon/ this is the page that Id like to 
> default to the
> index.xml file
> The Context /cocoon is served by Tomcat, and this is exactly where my
> problem lies.
> 
> Thanks
> Anthony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 9:45 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> For http://foo.bar.com/, who serves the directory
> listing?  If IIS is serving the listing, making
> changes on the Tomcat side isn't going to alter this
> behavior.
> 
> Cheers,
> Larry
> 
> > -----Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 9:41 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > Bill,
> > 
> > Still not working.
> > My welcome file list is this
> > 
> > 
> > 
> > index.xml
> >   
> > 
> > 
> > And you right, it was in web.xml, but after I made the changes, and
> > re-started Tomcat, I still get the directory listing.
> > If you have any other thoughts, please let me know.
> > 
> > Thanks
> > Anthony
> > 
> > -Original Message-
> > From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 12:00 PM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > I think this can be done by setting the welcome page to be 
> > index.xml. I
> > think this is in web.xml, but I may have the xml file 
> wrong. Do a find
> > on text welcome in the .xml files under tomcat and you 
> should find it.
> > 
> > HTH,
> > Bill Barnhill
> > 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 5:46 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Tomcat & Cocoon Question
> > 
> > 
> > Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my 
> > Webserver. I have
> > Tomcat processing my Cocoon xml, and IIS doing all of the 
> > static pages.
> > 
> > My problem is this.
> > 
> > If I go to http://foo.bar.com/index.xml it works fine, but 
> if I go to
> > http://foo.bar.com/ it gives me a directory listing of what 
> is in that
> > directory. Id like for it to default to the index.xml file.
> > 
> > Can this be done??
> > 
> > Thanks
> > Anthony Diodato
> > 
> > 
> > Anthony Diodato
> > Webmaster - IT
> > Prophet 21, Inc.
> > 19 West College Avenue
> > Yardley, PA 19067
> > 1-800-776-7438, ext. 4600
> > Fax: 215-321-8014 
> > [EMAIL PROTECTED]
> > http://www.p21.com/
> > Prophet 21 -- Powering the Distribution Industry for the 
> Digital Age 
> > 
> > For the latest press releases from Prophet 21 --
> > http://www.p21.com/press/press.html 
> > *   2/12/2001 - Trading Partner Connect Offers
> > Enterprise-to-Enterprise
> > (E2E) Commerce 
> > *   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> > *   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> > For the latest articles on Prophet 21
> > http://www.manufa

RE: Tomcat & Cocoon Question

2002-05-01 Thread Larry Isaacs

Does the request http://foo.bar.com/cocoon/ get mapped to
Tomcat?  If not, IIS still serves the directory listing.
If the listing doesn't identify Tomcat, then Tomcat
isn't generating the listing.  The statement that
"IIS doing all of the static pages" suggests that IIS
is likely to be doing the listings too.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 9:51 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> IIS serves that page, but I guess I should've been more clear.
> 
> What Im really looking for is this.
> http://foo.bar.com/cocoon/ this is the page that Id like to 
> default to the
> index.xml file
> The Context /cocoon is served by Tomcat, and this is exactly where my
> problem lies.
> 
> Thanks
> Anthony
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 9:45 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> For http://foo.bar.com/, who serves the directory
> listing?  If IIS is serving the listing, making
> changes on the Tomcat side isn't going to alter this
> behavior.
> 
> Cheers,
> Larry
> 
> > -----Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 9:41 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > Bill,
> > 
> > Still not working.
> > My welcome file list is this
> > 
> > 
> > 
> > index.xml
> >   
> > 
> > 
> > And you right, it was in web.xml, but after I made the changes, and
> > re-started Tomcat, I still get the directory listing.
> > If you have any other thoughts, please let me know.
> > 
> > Thanks
> > Anthony
> > 
> > -Original Message-
> > From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 12:00 PM
> > To: 'Tomcat Users List'
> > Subject: RE: Tomcat & Cocoon Question
> > 
> > 
> > I think this can be done by setting the welcome page to be 
> > index.xml. I
> > think this is in web.xml, but I may have the xml file 
> wrong. Do a find
> > on text welcome in the .xml files under tomcat and you 
> should find it.
> > 
> > HTH,
> > Bill Barnhill
> > 
> > -Original Message-
> > From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, May 01, 2002 5:46 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Tomcat & Cocoon Question
> > 
> > 
> > Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my 
> > Webserver. I have
> > Tomcat processing my Cocoon xml, and IIS doing all of the 
> > static pages.
> > 
> > My problem is this.
> > 
> > If I go to http://foo.bar.com/index.xml it works fine, but 
> if I go to
> > http://foo.bar.com/ it gives me a directory listing of what 
> is in that
> > directory. Id like for it to default to the index.xml file.
> > 
> > Can this be done??
> > 
> > Thanks
> > Anthony Diodato
> > 
> > 
> > Anthony Diodato
> > Webmaster - IT
> > Prophet 21, Inc.
> > 19 West College Avenue
> > Yardley, PA 19067
> > 1-800-776-7438, ext. 4600
> > Fax: 215-321-8014 
> > [EMAIL PROTECTED]
> > http://www.p21.com/
> > Prophet 21 -- Powering the Distribution Industry for the 
> Digital Age 
> > 
> > For the latest press releases from Prophet 21 --
> > http://www.p21.com/press/press.html 
> > *   2/12/2001 - Trading Partner Connect Offers
> > Enterprise-to-Enterprise
> > (E2E) Commerce 
> > *   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> > *   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> > For the latest articles on Prophet 21
> > http://www.manufacturing.net/magazine/id/archives/2001/ind010.
> > 02/techupd
> > ate.
> > htm 
> > http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> > http://www.manufacturing.net/magazine/id/archives/2000/ind1201
> > /news.htm
> > 
> > 
> > 
> > 
> > Visit our website at http://www.p21.com/visit 
> > The information in this e-mail is confidential and may 
> contain legally
> > privileged information.  It is intended solely for the person 
> > or entity
> > to which it is addressed.  Access to this e-mail by anyone else i

RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

IIS serves that page, but I guess I should've been more clear.

What Im really looking for is this.
http://foo.bar.com/cocoon/ this is the page that Id like to default to the
index.xml file
The Context /cocoon is served by Tomcat, and this is exactly where my
problem lies.

Thanks
Anthony

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 9:45 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


For http://foo.bar.com/, who serves the directory
listing?  If IIS is serving the listing, making
changes on the Tomcat side isn't going to alter this
behavior.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 9:41 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> Bill,
> 
> Still not working.
> My welcome file list is this
> 
> 
>   
> index.xml
>   
> 
> 
> And you right, it was in web.xml, but after I made the changes, and
> re-started Tomcat, I still get the directory listing.
> If you have any other thoughts, please let me know.
> 
> Thanks
> Anthony
> 
> -Original Message-
> From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 12:00 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> I think this can be done by setting the welcome page to be 
> index.xml. I
> think this is in web.xml, but I may have the xml file wrong. Do a find
> on text welcome in the .xml files under tomcat and you should find it.
> 
> HTH,
> Bill Barnhill
> 
> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 5:46 AM
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat & Cocoon Question
> 
> 
> Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my 
> Webserver. I have
> Tomcat processing my Cocoon xml, and IIS doing all of the 
> static pages.
> 
> My problem is this.
> 
> If I go to http://foo.bar.com/index.xml it works fine, but if I go to
> http://foo.bar.com/ it gives me a directory listing of what is in that
> directory. Id like for it to default to the index.xml file.
> 
> Can this be done??
> 
> Thanks
> Anthony Diodato
> 
> 
> Anthony Diodato
> Webmaster - IT
> Prophet 21, Inc.
> 19 West College Avenue
> Yardley, PA 19067
> 1-800-776-7438, ext. 4600
> Fax: 215-321-8014 
> [EMAIL PROTECTED]
> http://www.p21.com/
> Prophet 21 -- Powering the Distribution Industry for the Digital Age 
> 
> For the latest press releases from Prophet 21 --
> http://www.p21.com/press/press.html 
> * 2/12/2001 - Trading Partner Connect Offers
> Enterprise-to-Enterprise
> (E2E) Commerce 
> * 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> * 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> For the latest articles on Prophet 21
> http://www.manufacturing.net/magazine/id/archives/2001/ind010.
> 02/techupd
> ate.
> htm 
> http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> http://www.manufacturing.net/magazine/id/archives/2000/ind1201
> /news.htm
> 
> 
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person 
> or entity
> to which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you 
> received this
> e-mail in error, please contact the sender and delete the 
> material from
> any computer. 
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person 
> or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may 

RE: Tomcat & Cocoon Question

2002-05-01 Thread Larry Isaacs

For http://foo.bar.com/, who serves the directory
listing?  If IIS is serving the listing, making
changes on the Tomcat side isn't going to alter this
behavior.

Cheers,
Larry

> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 9:41 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> Bill,
> 
> Still not working.
> My welcome file list is this
> 
> 
>   
> index.xml
>   
> 
> 
> And you right, it was in web.xml, but after I made the changes, and
> re-started Tomcat, I still get the directory listing.
> If you have any other thoughts, please let me know.
> 
> Thanks
> Anthony
> 
> -Original Message-
> From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 12:00 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat & Cocoon Question
> 
> 
> I think this can be done by setting the welcome page to be 
> index.xml. I
> think this is in web.xml, but I may have the xml file wrong. Do a find
> on text welcome in the .xml files under tomcat and you should find it.
> 
> HTH,
> Bill Barnhill
> 
> -Original Message-
> From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, May 01, 2002 5:46 AM
> To: '[EMAIL PROTECTED]'
> Subject: Tomcat & Cocoon Question
> 
> 
> Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my 
> Webserver. I have
> Tomcat processing my Cocoon xml, and IIS doing all of the 
> static pages.
> 
> My problem is this.
> 
> If I go to http://foo.bar.com/index.xml it works fine, but if I go to
> http://foo.bar.com/ it gives me a directory listing of what is in that
> directory. Id like for it to default to the index.xml file.
> 
> Can this be done??
> 
> Thanks
> Anthony Diodato
> 
> 
> Anthony Diodato
> Webmaster - IT
> Prophet 21, Inc.
> 19 West College Avenue
> Yardley, PA 19067
> 1-800-776-7438, ext. 4600
> Fax: 215-321-8014 
> [EMAIL PROTECTED]
> http://www.p21.com/
> Prophet 21 -- Powering the Distribution Industry for the Digital Age 
> 
> For the latest press releases from Prophet 21 --
> http://www.p21.com/press/press.html 
> * 2/12/2001 - Trading Partner Connect Offers
> Enterprise-to-Enterprise
> (E2E) Commerce 
> * 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
> * 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
> For the latest articles on Prophet 21
> http://www.manufacturing.net/magazine/id/archives/2001/ind010.
> 02/techupd
> ate.
> htm 
> http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
> http://www.manufacturing.net/magazine/id/archives/2000/ind1201
> /news.htm
> 
> 
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person 
> or entity
> to which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you 
> received this
> e-mail in error, please contact the sender and delete the 
> material from
> any computer. 
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 
> Visit our website at http://www.p21.com/visit 
> The information in this e-mail is confidential and may contain legally
> privileged information.  It is intended solely for the person 
> or entity to
> which it is addressed.  Access to this e-mail by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution, action taken, or action omitted to be taken in
> reliance on it, is prohibited and may be unlawful.  If you 
> received this
> e-mail in error, please contact the sender and delete the 
> material from any
> computer. 
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

Bill,

Still not working.
My welcome file list is this



index.xml
  


And you right, it was in web.xml, but after I made the changes, and
re-started Tomcat, I still get the directory listing.
If you have any other thoughts, please let me know.

Thanks
Anthony

-Original Message-
From: Bill Barnhill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 12:00 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat & Cocoon Question


I think this can be done by setting the welcome page to be index.xml. I
think this is in web.xml, but I may have the xml file wrong. Do a find
on text welcome in the .xml files under tomcat and you should find it.

HTH,
Bill Barnhill

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 01, 2002 5:46 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat & Cocoon Question


Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my Webserver. I have
Tomcat processing my Cocoon xml, and IIS doing all of the static pages.

My problem is this.

If I go to http://foo.bar.com/index.xml it works fine, but if I go to
http://foo.bar.com/ it gives me a directory listing of what is in that
directory. Id like for it to default to the index.xml file.

Can this be done??

Thanks
Anthony Diodato


Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014 
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html 
*   2/12/2001 - Trading Partner Connect Offers
Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupd
ate.
htm 
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm




Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity
to which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from
any computer. 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

Jacob,

Still not working.
My welcome file list is this



index.xml
  


I took out the html & jsp stuff, and it is still showing a directory
listing.
About upgrading to Tomcat 4, I initially started with Tomcat 4, but ran into
problems with IIS.
IIS wasn't my decision, is was a company decision, so there is really
nothing I can do about that.

If you have any other thoughts, please let me know.

Thanks
Anthony





-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 9:26 AM
To: Tomcat Users List
Subject: Re: Tomcat & Cocoon Question


Sure,

Add the following to your web.xml...


 index.xml
 index.html
 index.htm
 index.jsp


At least you can do that in the Servlet 2.3 spec.  I would suggest 
upgrading to Tomcat 4.x.x anyway.

Jake

At 08:45 AM 5/1/2002 -0400, you wrote:
>Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my Webserver.
>I have Tomcat processing my Cocoon xml, and IIS doing all of the static
>pages.
>
>My problem is this.
>
>If I go to http://foo.bar.com/index.xml it works fine, but if I go to
>http://foo.bar.com/ it gives me a directory listing of what is in that
>directory.
>Id like for it to default to the index.xml file.
>
>Can this be done??
>
>Thanks
>Anthony Diodato
>
>
>Anthony Diodato
>Webmaster - IT
>Prophet 21, Inc.
>19 West College Avenue
>Yardley, PA 19067
>1-800-776-7438, ext. 4600
>Fax: 215-321-8014
>[EMAIL PROTECTED]
>http://www.p21.com/
>Prophet 21 -- Powering the Distribution Industry for the Digital Age
>
>For the latest press releases from Prophet 21 --
>http://www.p21.com/press/press.html
>*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
>(E2E) Commerce
>*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
>*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
>For the latest articles on Prophet 21
>http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate
.
>htm
>http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
>http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
>
>
>
>
>Visit our website at http://www.p21.com/visit
>The information in this e-mail is confidential and may contain legally
>privileged information.  It is intended solely for the person or entity to
>which it is addressed.  Access to this e-mail by anyone else is
>unauthorized. If you are not the intended recipient, any disclosure,
>copying, distribution, action taken, or action omitted to be taken in
>reliance on it, is prohibited and may be unlawful.  If you received this
>e-mail in error, please contact the sender and delete the material from any
>computer.
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat & Cocoon Question

2002-05-01 Thread Jacob Kjome

Sure,

Add the following to your web.xml...


 index.xml
 index.html
 index.htm
 index.jsp


At least you can do that in the Servlet 2.3 spec.  I would suggest 
upgrading to Tomcat 4.x.x anyway.

Jake

At 08:45 AM 5/1/2002 -0400, you wrote:
>Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my Webserver.
>I have Tomcat processing my Cocoon xml, and IIS doing all of the static
>pages.
>
>My problem is this.
>
>If I go to http://foo.bar.com/index.xml it works fine, but if I go to
>http://foo.bar.com/ it gives me a directory listing of what is in that
>directory.
>Id like for it to default to the index.xml file.
>
>Can this be done??
>
>Thanks
>Anthony Diodato
>
>
>Anthony Diodato
>Webmaster - IT
>Prophet 21, Inc.
>19 West College Avenue
>Yardley, PA 19067
>1-800-776-7438, ext. 4600
>Fax: 215-321-8014
>[EMAIL PROTECTED]
>http://www.p21.com/
>Prophet 21 -- Powering the Distribution Industry for the Digital Age
>
>For the latest press releases from Prophet 21 --
>http://www.p21.com/press/press.html
>*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
>(E2E) Commerce
>*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
>*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
>For the latest articles on Prophet 21
>http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
>htm
>http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
>http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
>
>
>
>
>Visit our website at http://www.p21.com/visit
>The information in this e-mail is confidential and may contain legally
>privileged information.  It is intended solely for the person or entity to
>which it is addressed.  Access to this e-mail by anyone else is
>unauthorized. If you are not the intended recipient, any disclosure,
>copying, distribution, action taken, or action omitted to be taken in
>reliance on it, is prohibited and may be unlawful.  If you received this
>e-mail in error, please contact the sender and delete the material from any
>computer.
>
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 



Re: Tomcat & Cocoon Question

2002-05-01 Thread Suresh Akula

oops ..i am sorry..i misplaced my question in the wrong place..sorry


>From: "Suresh Akula" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Tomcat & Cocoon Question
>Date: Wed, 01 May 2002 13:11:26 +
>
>
>hmmm..i think u did not get my question. as u said first of all i am using
>WEB-INF instead of web-inf. also abt the gui..i have html file under
>$tomcat_home/webapps/myownservlet/servlets and this html loads the applet
>class appletthread.class. first i put that appletthread.class  in the same
>directory where this html file is present but now as you said i moved it to
>the base directory i.e $tomcat_home/webapps/myownservlet but it doesn't 
>work
>.problem is not with directory structure i mean where we are placing
>files..because applet is being shown with empty 400 x 400 pixels but with 
>no
>GUI components on it. so there is problem with the applet itself not the
>applet directory structure. also the html file need not have to be in
>$tomcat_home/webapps/myownservlet ..it can be somewhere like
>$tomcat_home/webapps/myownservlet/dirone/dirtwo because we anyway set that
>html page path in web-inf/web.xml
>
>
>   /dirone/dirtwo/servlettwo.html
>
>
>..
>i have no clue. first of all there is issue with applet and then with
>hierarchy structure..help me
>thanks
>
>
>>From: Anthony Diodato <[EMAIL PROTECTED]>
>>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>>Subject: Tomcat & Cocoon Question
>>Date: Wed, 1 May 2002 08:45:49 -0400
>>
>>Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my Webserver.
>>I have Tomcat processing my Cocoon xml, and IIS doing all of the static
>>pages.
>>
>>My problem is this.
>>
>>If I go to http://foo.bar.com/index.xml it works fine, but if I go to
>>http://foo.bar.com/ it gives me a directory listing of what is in that
>>directory.
>>Id like for it to default to the index.xml file.
>>
>>Can this be done??
>>
>>Thanks
>>Anthony Diodato
>>
>>
>>Anthony Diodato
>>Webmaster - IT
>>Prophet 21, Inc.
>>19 West College Avenue
>>Yardley, PA 19067
>>1-800-776-7438, ext. 4600
>>Fax: 215-321-8014
>>[EMAIL PROTECTED]
>>http://www.p21.com/
>>Prophet 21 -- Powering the Distribution Industry for the Digital Age
>>
>>For the latest press releases from Prophet 21 --
>>http://www.p21.com/press/press.html
>>* 2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
>>(E2E) Commerce
>>* 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
>>* 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
>>For the latest articles on Prophet 21
>>http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
>>htm
>>http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
>>http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
>>
>>
>>
>>
>>Visit our website at http://www.p21.com/visit
>>The information in this e-mail is confidential and may contain legally
>>privileged information.  It is intended solely for the person or entity to
>>which it is addressed.  Access to this e-mail by anyone else is
>>unauthorized. If you are not the intended recipient, any disclosure,
>>copying, distribution, action taken, or action omitted to be taken in
>>reliance on it, is prohibited and may be unlawful.  If you received this
>>e-mail in error, please contact the sender and delete the material from 
>>any
>>computer.
>>
>>
>>
>>--
>>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>>For additional commands: <mailto:[EMAIL PROTECTED]>
>>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>
>
>
>
>
>_
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat & Cocoon Question

2002-05-01 Thread Suresh Akula


hmmm..i think u did not get my question. as u said first of all i am using 
WEB-INF instead of web-inf. also abt the gui..i have html file under 
$tomcat_home/webapps/myownservlet/servlets and this html loads the applet 
class appletthread.class. first i put that appletthread.class  in the same 
directory where this html file is present but now as you said i moved it to 
the base directory i.e $tomcat_home/webapps/myownservlet but it doesn't work 
.problem is not with directory structure i mean where we are placing 
files..because applet is being shown with empty 400 x 400 pixels but with no 
GUI components on it. so there is problem with the applet itself not the 
applet directory structure. also the html file need not have to be in
$tomcat_home/webapps/myownservlet ..it can be somewhere like 
$tomcat_home/webapps/myownservlet/dirone/dirtwo because we anyway set that 
html page path in web-inf/web.xml


   /dirone/dirtwo/servlettwo.html


..
i have no clue. first of all there is issue with applet and then with 
hierarchy structure..help me
thanks


>From: Anthony Diodato <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Tomcat & Cocoon Question
>Date: Wed, 1 May 2002 08:45:49 -0400
>
>Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my Webserver.
>I have Tomcat processing my Cocoon xml, and IIS doing all of the static
>pages.
>
>My problem is this.
>
>If I go to http://foo.bar.com/index.xml it works fine, but if I go to
>http://foo.bar.com/ it gives me a directory listing of what is in that
>directory.
>Id like for it to default to the index.xml file.
>
>Can this be done??
>
>Thanks
>Anthony Diodato
>
>
>Anthony Diodato
>Webmaster - IT
>Prophet 21, Inc.
>19 West College Avenue
>Yardley, PA 19067
>1-800-776-7438, ext. 4600
>Fax: 215-321-8014
>[EMAIL PROTECTED]
>http://www.p21.com/
>Prophet 21 -- Powering the Distribution Industry for the Digital Age
>
>For the latest press releases from Prophet 21 --
>http://www.p21.com/press/press.html
>*  2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
>(E2E) Commerce
>*  2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
>*  2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
>For the latest articles on Prophet 21
>http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
>htm
>http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm
>http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm
>
>
>
>
>Visit our website at http://www.p21.com/visit
>The information in this e-mail is confidential and may contain legally
>privileged information.  It is intended solely for the person or entity to
>which it is addressed.  Access to this e-mail by anyone else is
>unauthorized. If you are not the intended recipient, any disclosure,
>copying, distribution, action taken, or action omitted to be taken in
>reliance on it, is prohibited and may be unlawful.  If you received this
>e-mail in error, please contact the sender and delete the material from any
>computer.
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat & Cocoon Question

2002-05-01 Thread Bill Barnhill

I think this can be done by setting the welcome page to be index.xml. I
think this is in web.xml, but I may have the xml file wrong. Do a find
on text welcome in the .xml files under tomcat and you should find it.

HTH,
Bill Barnhill

-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 01, 2002 5:46 AM
To: '[EMAIL PROTECTED]'
Subject: Tomcat & Cocoon Question


Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my Webserver. I have
Tomcat processing my Cocoon xml, and IIS doing all of the static pages.

My problem is this.

If I go to http://foo.bar.com/index.xml it works fine, but if I go to
http://foo.bar.com/ it gives me a directory listing of what is in that
directory. Id like for it to default to the index.xml file.

Can this be done??

Thanks
Anthony Diodato


Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014 
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html 
*   2/12/2001 - Trading Partner Connect Offers
Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupd
ate.
htm 
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm




Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity
to which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from
any computer. 



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Tomcat & Cocoon Question

2002-05-01 Thread Anthony Diodato

Im using Cocoon 1.8.2 and Tomcat 3.2.4. IIS 5.0 as my Webserver.
I have Tomcat processing my Cocoon xml, and IIS doing all of the static
pages.

My problem is this.

If I go to http://foo.bar.com/index.xml it works fine, but if I go to
http://foo.bar.com/ it gives me a directory listing of what is in that
directory.
Id like for it to default to the index.xml file.

Can this be done??

Thanks
Anthony Diodato


Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014 
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 -- Powering the Distribution Industry for the Digital Age 

For the latest press releases from Prophet 21 --
http://www.p21.com/press/press.html 
*   2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise
(E2E) Commerce 
*   2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available
*   2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim
For the latest articles on Prophet 21
http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate.
htm 
http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm 
http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm




Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Tomcat/Cocoon RMI problem

2001-07-25 Thread Stefano Bonnin

Hi,

I developed an application with Cocoon/XSP tecnologies, and now I have to
call an "RMI method" within this application (This method has been developed
by another person).

When I call the RMI method from a stand alone application all is OK. If I
call the RMI method from XSP (or JSP, or Servlet) the compiler return me the
following error:

org.apache.cocoon.processor.ProcessorException: Could not associate
stylesheet to document:  error reading
C:\foo\Tomcat\webapps\Cocoon\samples\Smit\xml2html.xsl:
java.security.AccessControlException: access denied (java.io.FilePermission
C:\foo\Tomcat\webapps\Cocoon\samples\Smit\xml2html.xsl read)
 at
org.apache.cocoon.processor.xslt.XSLTProcessor.getStylesheet(XSLTProcessor.j
ava:217)
 at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java:10
8)
 at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
 at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
 at java.lang.Thread.run(Thread.java:479)

 Why? How can I do this? How have I to set for avoid the Security Problem?

Thanks






Apache-Tomcat-Cocoon configuration

2001-06-05 Thread francesco.casalena

Hi, 

I've problems with Apache-Tomcat-Cocoon configuration.
I use Apache 1.3.19, Jakarta-Tomcat 4.0 m5, Cocoon 1.8.2 and JDK 1.1.3 on Linux RedHat 
6.2.

All settings (env variables,...) seem ok, Apache works properly on port 80 and 
Catalina does the same on port 8080. Mod_webapp.so, contained in Tomcat's 
distribution, has been put in Apache's libexec dir before httpd.conf's upgrade.

First problem:

Cocoon's doc says that $COCOON_HOME/bin/cocoon.jar and all .jar files contained in 
$COCOON_HOME/lib must be copied in $TOMCAT_HOME/lib.
But with this change Catalina crashes!
This is my catalina.out:

Exception in thread "main" java.lang.IllegalArgumentException: 
addRepositoryInternal:
java.lang.NullPointerException

at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1073)

at 
org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.java:166)

at
org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:280)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:106)


I've seen that without Cocoon's fesi.jar and w3c.jar Catalina doesn't crash.
But it works properly only without Cocoon's servlet_2_2.jar (with this file Tomcat's 
JSP and Servlets exempla at http://localhost:8080 returns error code no.503).
So, without servlet_2_2.jar, fesi.jar and w3c.jar Catalina works properly.

I need Catalina and Coccon for XML-->HTML passage: that three .jar files are necessary?
If yes, any idea?


Second problem:

Cocoon's doc says about tomcat-apache.conf (in mod_jserv and mod_jk cases): this file 
doesn't exist in my Tomcat's distribution.
I've read a Craig' s answer about this, but the file is not automatically generated by 
Catalina.
So, what is the the right way for Tomcat-Apache (or for mod_webapp) setup with Tomcat 
4.0 m5?


Thank you in Advance!

With Regards, ciao
Francesco

Francesco Casalena
L.U.G. "Il Pinguino"
--
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it




RE: Tomcat (+Cocoon) with SSL

2001-04-04 Thread Herbert, Brent

Maybe something to do with file permissions on an NTFS or FAT partition?

-Original Message-
From: Robert Arthur [mailto:[EMAIL PROTECTED]]
Sent: 04 April 2001 16:40
To: tomcat-user
Subject: Tomcat (+Cocoon) with SSL


Sorry for the re-post, but I urgently need this problem remedied!

I have installed Apache+mod_ssl on a Win32 system.  I then installed Tomcat
with mod_jk (recompiled for EAPI), and set it up to start a secure handler
on 8443, using JSSE.   Finally I installed Cocoon (from xml.apache.org), and
set up my page, which involves a simple user logon.

All was well, and I get a secure connection with HTTPS, but I cannot seem to
prevent access to the page under HTTP.   I have tried using SSLRequireSSL in
the  field for Cocoon, along with SSLOptions +StrictRequire.
This works fine with normal (non-tomcat) pages, but has no effect here.

Cocoon is set up to send all .xml files to my ajp13 worker.

Any help would be greatly appreciated.

Bob.



**
This email and any files and/or attachments transmitted with it are
confidential and are intended solely for the use of the individual or
entity to whom they are addressed.

If you have received this email in error, please notify the Systems Manager
at Thomson Holidays Ltd., by telephoning +44 (0)20 7387 9321, by
reverse charge or collect call if you wish.

You are not permitted to disclose the contents of this e-mail and of its
attachments to any other person, nor make copies or transmit it to any
other person without our written consent.

This email has been swept for computer viruses.

**



Tomcat (+Cocoon) with SSL

2001-04-04 Thread Robert Arthur

Sorry for the re-post, but I urgently need this problem remedied!

I have installed Apache+mod_ssl on a Win32 system.  I then installed Tomcat
with mod_jk (recompiled for EAPI), and set it up to start a secure handler
on 8443, using JSSE.   Finally I installed Cocoon (from xml.apache.org), and
set up my page, which involves a simple user logon.

All was well, and I get a secure connection with HTTPS, but I cannot seem to
prevent access to the page under HTTP.   I have tried using SSLRequireSSL in
the  field for Cocoon, along with SSLOptions +StrictRequire.
This works fine with normal (non-tomcat) pages, but has no effect here.

Cocoon is set up to send all .xml files to my ajp13 worker.

Any help would be greatly appreciated.

Bob.





Tomcat, Cocoon, IIS5

2001-03-16 Thread Carey Payette

I am currently attempting to get Cocoon to run on 
Tomcat/IIS5/WIN2000advanced server.  I have Tomcat successfully running jsp 
and servlets, but am having a difficult time with getting Cocoon to 
execute(I can't even get the index.xml to display properly).  The directions 
for installing cocoon with Tomcat does not go into detail with the 
installation on IIS (there are only directions for Apache). I get a bit 
confused when it comes to Contexts, so if someone can send me a step-by-step 
approach to setting up Cocoon on Tomcat/IIS5, I would appreciate it.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: True Apache + Tomcat + Cocoon intergration

2001-02-28 Thread Falcon cheetah
 I guess I might have been able to solve the problem you are talking about.  Except I am not using 1.8.2 cocoon. If you want to tell me how you have your system configured I might be able to point out to you the differences in our setups.
Ahmed.
  Shaun Adolphson <[EMAIL PROTECTED]> wrote: 
Hello All,I am running: Cocoon 1.8.2, Tomcat 3.2.1 (with mod_jk), Apache1.3.12, on Redhat 6.2.I have everything running smoothly between Apache, Tomcat and Cocoon on both port 8080 and 80. What I want to be able to do is have a large number of virtual hosts inApache,that can all server pure XML/XSL sites with Cocoon, without having to accessa sub-directory, which is link to Tomcat/Cocoon. So in other words, be ableto use XML in the root of the site. I am sure that other Cocoon users would have had this problem, so if youcouldhelp me out it would great. If you need anymore information please let meknow.ThanksShaun--Shaun AdolphsonXweb Pty LtdEmail: [EMAIL PROTECTED]Web: http://www.xweb.com.au-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, email: [EMAIL PROTECTED]Do You Yahoo!?
Yahoo! Mail Personal Address - 
Get email at your own domain with Yahoo! Mail.

True Apache + Tomcat + Cocoon intergration

2001-02-27 Thread Shaun Adolphson

Hello All,

I am running:   Cocoon 1.8.2, Tomcat 3.2.1 (with mod_jk), Apache
1.3.12, on Redhat 6.2.
I have everything running smoothly between Apache, Tomcat and Cocoon on 
both port 8080 and 80.  

What I want to be able to do is have a large number of virtual hosts in
Apache,
that can all server pure XML/XSL sites with Cocoon, without having to access
a sub-directory, which is link to Tomcat/Cocoon.  So in other words, be able
to use  XML in the root of the site. 

I am sure that other Cocoon users would have had this problem, so if you
could
help me out it would great.  If you need anymore information please let me
know.

Thanks

Shaun

--
Shaun Adolphson
Xweb Pty Ltd
Email: [EMAIL PROTECTED]
Web: http://www.xweb.com.au



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




aliasing and basicAuth with apache-tomcat-cocoon

2001-02-06 Thread Marc Leblanc



 

Hi everyone,i wan to know if there is a way 
to configure aliasing and basic userAuthwith 
apache-tomcat-cocoon.exemple:my cocoon webapps is mount on 
/cocoon/servlets/lbss 
from/usr/jakarta-tomcat/webapps/cocoon/servlets/lbssbut i wan that url 
http://my.url/config to behttp://my.url/cocoon/servlets/lbss/Configuration 
and when someone try toaccess http://my.url/config orhttp://my.url/cocoon/servlets/lbss/configuration 
the user need to give ausername and password to access this directory with 
apache basic auth.anyone have any idea how this can be done 
?ThanksMarc Leblanc


aliasing and basicAuth with apache-tomcat-cocoon

2001-02-06 Thread Marc Leblanc




Hi everyone,i wan to know if there is a way 
to configure aliasing and basic userAuthwith 
apache-tomcat-cocoon.exemple:my cocoon webapps is mount on 
/cocoon/servlets/lbss 
from/usr/jakarta-tomcat/webapps/cocoon/servlets/lbssbut i wan that url 
http://my.url/config to behttp://my.url/cocoon/servlets/lbss/Configuration 
and when someone try toaccess http://my.url/config orhttp://my.url/cocoon/servlets/lbss/configuration 
the user need to give ausername and password to access this directory with 
apache basic auth.anyone have any idea how this can be done 
?ThanksMarc Leblanc


Problems installing APACHE Tomcat Cocoon and PHP (fwd)

2000-11-21 Thread Stamaths Karvounarakhs

Have anyone faced this problem?

-- Forwarded message --
Date: Tue, 21 Nov 2000 11:33:14 +0200 (EET)
From: Stamaths Karvounarakhs <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problems installing APACHE Tomcat Cocoon and PHP

I have tried to install apache1.3.12, tomcat3.1, cocoon1.7 and php4.0.1pl2
in a Solaris2.8. Those who have tried to install cocoon in Solaris must
know that it's not easy at all, but at last guided by the 
install.case.solaris in the docs/ directory of cocoon1.8 I made it.What I
can't make work is php with apache and cocoon.(When I do not include the
tomcat-apache-cocoon.conf in the httpd.conf, php works fine but when I
include it apache doesn't seem to understand what to do with the .php 
file).PLEASE HELP ME!!

Stamaths






Problems installing APACHE Tomcat Cocoon and PHP

2000-11-21 Thread Stamaths Karvounarakhs

I have tried to install apache1.3.12, tomcat3.1, cocoon1.7 and php4.0.1pl2
in a Solaris2.8. Those who have tried to install cocoon in Solaris must
know that it's not easy at all, but at last guided by the 
install.case.solaris in the docs/ directory of cocoon1.8 I made it.What I
can't make work is php with apache and cocoon.(When I do not include the
tomcat-apache-cocoon.conf in the httpd.conf, php works fine but when I
include it apache doesn't seem to understand what to do with the .php 
file).PLEASE HELP ME!!

Stamaths





Problems Installing Apache,tomcat,cocoon and php4

2000-11-20 Thread Stamaths Karvounarakhs

I have tried to install apache1.3.12, tomcat3.1, cocoon1.7 and php4.0.1pl2
in a Solaris2.8.Those who have tried to install cocoon in Solaris must know that it's 
not
easy at all, but at last guided by the install.case.solaris in the docs/
directory of cocoon1.8 I made it.What I can't make work is php with apache
and cocoon.(When I do not include the tomcat-apache-cocoon.conf in the
httpd.conf, php works fine but when I include it apache doesn't seem to 
understand what to do with the .php file).PLEASE HELP ME!!





Install apache. tomcat, cocoon, php

2000-11-17 Thread Stamaths

Ihave tried to install apache1.3.12, tomcat3.1, cocoon1.7 and
php4.0.1pl2 in a Solaris2.8.
Those who have tried to install cocoon in Solaris must know that it's
not easy at all, but at last
guided by the install.case.solaris in the docs/ directory of cocoon1.8 I
made it.What I can't make
work is php with apache and cocoon.(When I do not include the
tomcat-apache-cocoon.conf in the
httpd.conf, php works fine but when I include it apache doesn't seem to
understand what to do  with the .php file).PLEASE HELP ME!!





Apache-Tomcat-Cocoon Integration Problem

2000-11-16 Thread Luke Flesch

To whom it may concern,
I've spent more than 20 hours now installing, configuring, and
integrating Apache, Tomcat, and Cocoon for a college project that I am
working on.  I have carefully read over the Tomcat-Apache HOWTO.  I am
almost there - I know it.  Here is the current problem:

These requests work:

http://localhost:8080/servlet/HelloWWW
http://localhost:8080/examples/servlet/HelloWWW
http://localhost:8080/foo/servlet/HelloWWW
http://localhost:8080/cocoon/Cocoon.xml
http://localhost/examples/servlet/HelloWWW

These requests don't work:

http://localhost/servlet/HelloWWW
http://localhost/foo/servlet/HelloWWW
http://localhost/cocoon/Cocoon.xml

I can't understand why /examples is integrated with Apache and the other
three aren't.  As far as I can tell, my tomcat-apache.conf, server.xml,
web.xml, etc. should support all four.  Obviously, though, if I knew what
was wrong I wouldn't be asking for help.
Can anyone suggest what the problem might be?  Thanks.

-Luke Flesch