Problema JDBCRealm+Tomcat+JAAS+Maven

Olá todos,

Estou começando a estudar J2EE e me deparei com alguns problemas ao executar a aplicação.
Segue abaixo toda minha configuração.

Techo do web.xml

	<security-constraint>
		<web-resource-collection>
			<web-resource-name>All pages</web-resource-name> 
			<description>All pages under jsp directory</description>
			<url-pattern>/jsp/*</url-pattern>
			<http-method>POST</http-method> 
			<http-method>GET</http-method>
		</web-resource-collection>
		<auth-constraint>
			<description>All roles access that</description>
			<role-name>ADMIN</role-name>
			<role-name>CLIENT</role-name>
		</auth-constraint>
	</security-constraint>

	<security-constraint>
		<web-resource-collection>
			<web-resource-name>Admin pages</web-resource-name> 
			<description>All pages under admin directory</description>
			<url-pattern>/admin/*</url-pattern>
			<http-method>POST</http-method> 
			<http-method>GET</http-method>
		</web-resource-collection>
		<auth-constraint>
			<description>Only admin can access that</description>
			<role-name>ADMIN</role-name>
		</auth-constraint>
	</security-constraint>

	<login-config>
		<auth-method>FORM</auth-method>
		<realm-name>JDBCRealm</realm-name>
		<form-login-config>
			<form-login-page>/login.jsp</form-login-page>
			<form-error-page>/login.jsp</form-error-page>			
		</form-login-config> 
	</login-config>

Arquivo pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project>
	<modelVersion>4.0.0</modelVersion>
	<groupId>br.com.holandesparana.syscontatos</groupId>
	<artifactId>syscontatos</artifactId>
	<packaging>war</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>Struts 2 Starter</name>
	<url>http://www.myComp.com</url>
	<description>Struts 2 Starter</description>

	<dependencies>
		<!--  Struts 2 -->
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-core</artifactId>
			<version>2.0.9</version>
		</dependency>
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-sitemesh-plugin</artifactId>
			<version>2.0.9</version>
		</dependency>
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts2-spring-plugin</artifactId>
			<version>2.0.9</version>
		</dependency>

		<!-- Servlet & Jsp -->
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.4</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jsp-api</artifactId>
			<version>2.0</version>
			<scope>provided</scope>
		</dependency>

		<!-- Jakarta Commons -->
		<dependency>
			<groupId>commons-fileupload</groupId>
			<artifactId>commons-fileupload</artifactId>
			<version>1.1.1</version>
		</dependency>

		<!--  JPA -->
		<dependency>
			<groupId>javax.persistence</groupId>
			<artifactId>persistence-api</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-entitymanager</artifactId>
			<version>3.3.2.GA</version>
		</dependency>


		<!--  PostgreSQL JDBC Driver -->
		<dependency>
			<groupId>postgresql</groupId>
			<artifactId>postgresql</artifactId>
			<version>8.2-507.jdbc4</version>
		</dependency>


	</dependencies>

	<build>
		<finalName>syscontatos</finalName>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>tomcat-maven-plugin</artifactId>
				<version>1.0-alpha-1</version>
				<configuration>
					<scanIntervalSeconds>10</scanIntervalSeconds>
					<userRealms>
						<userRealm	implementation="org.codehaus.mojo.security.JDBCUserRealm">
							<name>JDBCRealm</name>
							<config>src/main/resources/META-INF/jdbcRealm.properties</config>
						</userRealm>
					</userRealms>
				</configuration>
				<dependencies>
					<dependency>
						<groupId>postgresql</groupId>
						<artifactId>postgresql</artifactId>
						<version>8.2-507.jdbc4</version>
					</dependency>
				</dependencies>
			</plugin>
		</plugins>
	</build>
</project>

A minha principal dúvida é se esse trecho está correto?

	<userRealms>
			<userRealm	implementation="org.codehaus.mojo.security.JDBCUserRealm">
				<name>JDBCRealm</name>
				<config>src/main/resources/META-INF/jdbcRealm.properties</config>
			</userRealm>
	</userRealms>

Arquivo jdbcRealm.properties

jdbcdriver = org.postgresql.Driver
url = jdbc:postgresql:postgres:5432/postgres
username = postgres
password = cristal

usertable = syscontatos.user
usertablekey = id
usertableuserfield = login
usertablepasswordfield = password

roletable = syscontatos.role
roletablekey = id
roletablerolefield = role

userroletable = syscontatos.user_role
userroletableuserkey = userid
userroletablerolekey = roleid

cachetime = 300

Página login.jsp

<!DOCTYPE html PUBLIC 
	"-//W3C//DTD XHTML 1.1 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	
<%@taglib prefix="s" uri="/struts-tags" %>

<html lang="en">
<head>
	<title>Sign In</title>
	<s:head />
</head>
<body>
	<s:form action="j_security_check">
		<s:textfield label="Login" name="j_username" />
		<s:password label="Password" name="j_password" />
		<s:submit />
	</s:form>
</body>
</html>

Erro ao rodar a aplicação:

06/08/2008 18:38:05 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
	at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:58)
	at org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:52)
	at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:49)
	at org.apache.jsp.login_jsp._jspx_meth_s_005fhead_005f0(login_jsp.java:111)
	at org.apache.jsp.login_jsp._jspService(login_jsp.java:79)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
	at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316)
	at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
06/08/2008 18:38:05 org.apache.catalina.authenticator.FormAuthenticator forwardToLoginPage
WARNING: Unexpected error forwarding to login page
org.apache.jasper.JasperException: An exception occurred processing JSP page /login.jsp at line 10

7: <html lang="en">
8: <head>
9: 	<title>Sign In</title>
10: 	<s:head />
11: </head>
12: <body>
13: 	<s:form action="j_security_check">

Desde já agradeço a ajuda.

Valew

Alguém?

Como q tá o .tld dessa tag head?