-
1. Re: Error in deploy my webapp JBAS014653
nickarls May 17, 2013 5:18 AM (in response to erasmomarciano)Do you have any resource-ref:s in your web.xml etc? Has this worked before or is this a new app?
-
2. Re: Error in deploy my webapp JBAS014653
erasmomarciano May 17, 2013 8:47 AM (in response to nickarls)This is my web.xml
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
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"
version="2.5">
<display-name>Test</display-name>
<description>
DBAuthTest
</description>
<security-constraint>
<web-resource-collection>
<web-resource-name>All resource</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>*</role-name>
</security-role>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>DBAuthTest</realm-name>
</login-config>
<distributable />
</web-app>
-
3. Re: Error in deploy my webapp JBAS014653
nickarls May 17, 2013 8:59 AM (in response to erasmomarciano)Never played around with it but https://community.jboss.org/wiki/JBossAS7SecurityDomainModel doesn't appear to use a jaas jndi ref in security-domain(?)
-
4. Re: Error in deploy my webapp JBAS014653
erasmomarciano May 17, 2013 10:12 AM (in response to nickarls)I get my error , when i insert this tag in jboss-web.xml
<security-domain>java:/jaas/DBAuthTest</security-domain>
-
5. Re: Error in deploy my webapp JBAS014653
ybarcelo May 24, 2013 12:54 PM (in response to erasmomarciano)Hi erasmo2
Any solution? i'm getting an error like you.