ich möchte mich mit JBoss "bekanntmachen".
Die Installation verlief problemlos vom JBoss 6.
Ich habe da ein Buch zur Hand - JBoss vin Heiko W. Rupp, welches aber für JBoss 4 thematisiert ist.
Nun habe ich ein Beispiel nachvollziehen wollen, welches auf http://bsd.de/jbb gehostet ist. Nach der Buchbeschreibung dann die Dateien adb-app.ear und adbQueue-service.xml in das Verzeichnis ~/server/default/deploy kopiert und in der ~/server/default/conf/login-config.xml den login.config.txt eingefügt:
Code: Alles auswählen
<policy>
<!-- Used by clients within the application server VM such as
mbeans and servlets that access EJBs.
-->
<!-- Application policy fuer das Beispiel in Kapitel 3 -->
<!-- aus dem Buch: -->
<!-- "JBoss - Serverhandbuch für J2EE-Entwickler und Administratoren -->
<!-- dpunkt verlag, Heidelberg. ISBN 3-89864-318-2 -->
<application-policy name = "adb">
<authentication>
<login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
flag = "required">
<module-option name = "unauthenticatedIdentity">nobody</module-option>
<module-option name = "principalsQuery">SELECT password FROM adb_useradmin WHERE uid=?</module-option>
<module-option name = "rolesQuery">SELECT Roles, 'Roles' FROM adb_useradmin WHERE uid=?</module-option>
</login-module>
</authentication>
</application-policy>
.....
.....
</policy>
Code: Alles auswählen
DEPLOYMENTS IN ERROR:
Deployment "vfs:///opt/jboss-6.1.0.Final/server/default/deploy/adbQueue-service.xml" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.jboss.mq.server.jmx.Queue from BaseClassLoader@2941e53f{vfs:///opt/jboss-6.1.0.Final/server/default/deploy/adbQueue-service.xml}
Deployment "vfs:///opt/jboss-6.1.0.Final/server/default/deploy/adb-app.ear" is in error due to the following reason(s): org.xml.sax.SAXException: cvc-pattern-valid: Value 'False' is not facet-valid with respect to pattern '(true|false)' for type 'null'. @ vfs:///opt/jboss-6.1.0.Final/server/default/deploy/adb-app.ear/adb-ejb.jar/META-INF/ejb-jar.xml[83,38]
Danke für jeden guten Gedanken

Gruß ups