users@glassfish.java.net

Re: Can login, but roles are not assigned

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 Nov 2007 05:03:37 PST

Hi,

I think I have had this problem before:

first, check that the web.xml is 2.5:
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

second, check that the sun-web.xml is also 2.5:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0
Servlet 2.5//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">

That's what I found out... I hope this helps...

greets
jeremie
[Message sent by forum member 'granat' (granat)]

http://forums.java.net/jive/thread.jspa?messageID=246301