You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Charlene Mitchell <ch...@yahoo.co.uk> on 2003/01/07 17:58:00 UTC
access http://localhost:PORT/
Hi,
I have another WebLogic *only* problem with
Cocoon2.0.4 - anyone else seen this? (it works fine in
JBoss Jetty/TomCat).
It is impossible to access the root resource e.g.
http://localhost:8080 or http://localhost:8080/
even though I have a match in my sitemap for both "/"
and for ""
What happens is that my authentication page is always
brought up. Even when I authenticate I am redirected
to my 'login fail' page - though after that I can then
access any resource directly.
I think the problem lies maybe in the sitemap *and*
the web.xml (below) file conflicting, and the security
constraint I added. Since it works in Jetty/TomCat I'm
not sure where the problem lies.
I guess no-one has experienced this problem before
either? Just me huh?
Charlene
<servlet-mapping>
<servlet-name>Cocoon2</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
...snip, snip....
<security-constraint>
<web-resource-collection>
<web-resource-name>WEB
Resource</web-resource-name>
<description>Web resource
description</description>
<url-pattern>/</url-pattern>
<http-method>HEAD</http-method>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
</web-resource-collection>
<auth-constraint>
<description>Auth constraint
description</description>
<role-name>myLDAPGroup</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login</form-login-page>
<form-error-page>/login-fail</form-error-page>
</form-login-config>
</login-config>
<security-role>
<description>Security Role</description>
<role-name>myLDAPGroup</role-name>
</security-role>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>