Frage

Diese Zeile in meinem jboss-web.xml: generasacodicetagpre.

erzeugt diesen Fehler:

Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,19] Message: Unexpected element 'security-domain' encountered at org.jboss.as.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109) at org.jboss.as.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:128) at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.processDeployment(JBossWebParsingDeploymentProcessor.java:60) ... 14 more

Irgendwelche Ideen, was ich angeben sollte?Vielen Dank im Voraus.

War es hilfreich?

Lösung 2

JBoss AS7 does not yet have support for security domains.

Andere Tipps

Since I stumbled upon this question recently, and it didn't help as the JBoss 7 nowadays does support security domains, here is how:

<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
   <security-domain>flockingfun</security-domain>
</jboss-web>

There's no need to prefix it with java:/jaas.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top