cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Sexton <>
Subject Re: Confused About Realms
Date Fri, 03 Jan 2003 22:52:18 GMT

On Fri, 3 Jan 2003, Jeff Sexton wrote:
> I seem to solve my own problems frequently after posting to this list...
> I moved the Sybase jar file from $CATALINA_HOME/lib to
> $CATALINA_HOME/common/lib and it worked.  It seems that Cocoon's
> connection pools can function with the jar in the root lib, but realms can
> not.  Moving the jar to common/lib allows both realms and the connection
> pool to work.
> However now I have a new question.  I really want to password protect
> cocoon URLs.  I added a <security-constraint> to webapps/cocoon/web.xml,
> but this breaks cocoon.
> Anyone know the correct way to use realms for cocoon?

I get this in catalina.out:

Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
PARSE error at line 245 column 11
org.xml.sax.SAXParseException: The content of element type "web-app" must
Starting service Tomcat-Apache
Apache Tomcat/4.0.4

What causes this are these lines at the top of Cocoon's web.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>

  This is the web-app configurations that allow Cocoon to work under
  Apache Tomcat. Please, follow the installation section of the
  documentation for more information about installing Cocoon on Tomcat

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"


        <web-resource-name>My Applications</web-resource-name>

      <realm-name>My Applications</realm-name>


Please check that your question  has not already been answered in the
FAQ before posting.     <>

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

View raw message