Frage : Störung beim Loging empfangen in die Anwendung

Hallo musste Expert

I eine Projektfunktion von der Ohrakte tun. Jetzt ist alles in einem korrekten Projekt. Das Projekt startete 100% aber, wenn Maschinenbordbuch in die Anwendung ist, gibt mich, den, ein Error.

I dass es Notwendigkeit eine Eigentumakte, zu zu beglaubigen wissen. Und ich muss Eigentumakte. Aber wo setze ich die Akte?


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
6:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
14:15: STÖRUNG 44.204 [UsersRolesLoginModule] Benutzer/Kennwörter/Rollenakten laden nicht gekonnt
java.io.IOException: Keine Eigenschaftenakte: users.properties oder Rückstellungen: defaultUsers.properties gefunden
	an org.jboss.security.auth.spi. Util.loadProperties (Util.java: 198)
	an org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers (UsersRolesLoginModule.java: 186)
	an org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers (UsersRolesLoginModule.java: 200)
	an org.jboss.security.auth.spi.UsersRolesLoginModule.initialize (UsersRolesLoginModule.java: 127)
	an sun.reflect.NativeMethodAccessorImpl.invoke0 (gebürtige Methode)
	an sun.reflect.NativeMethodAccessorImpl.invoke (unbekannte Quelle)
	an sun.reflect.DelegatingMethodAccessorImpl.invoke (unbekannte Quelle)
	an java.lang.reflect. Method.invoke (unbekannte Quelle)
	bei javax.security.auth.log in.LoginContext.invoke (unbekannte Quelle)
	bei javax.security.auth.log in.LoginContext.access$000 (unbekannte Quelle)
	bei javax.security.auth.log in.LoginContext$4.run (unbekannte Quelle)
	an java.security.AccessController.doPrivileged (gebürtige Methode)
	bei javax.security.auth.log in.LoginContext.invokePriv (unbekannte Quelle)
	bei javax.security.auth.login.LoginContext.log in (unbekannte Quelle)
	an org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin (JaasSecurityManagerBase.java: 552)
	an org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate (JaasSecurityManagerBase.java: 486)
	an org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid (JaasSecurityManagerBase.java: 365)
	an org.jboss.security.plugins.JaasSecurityManager.isValid (JaasSecurityManager.java: 160)
	an org.jboss.web.tomcat.security.JBossWebRealm.authenticate (JBossWebRealm.java: 384)
	an org.apache.catalina.authenticator.FormAuthenticator.authenticate (FormAuthenticator.java: 258)
	an org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java: 417)
	an org.jboss.web.tomcat.security.JaccContextValve.invoke (JaccContextValve.java: 92)
	an org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process (SecurityContextEstablishmentValve.java: 126)
	an org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke (SecurityContextEstablishmentValve.java: 70)
	an org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java: 127)
	an org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java: 102)
	an org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke (CachedConnectionValve.java: 158)
	an org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java: 109)
	an org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java: 330)
	an org.apache.coyote.http11.Http11Processor.process (Http11Processor.java: 829)
	an org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (Http11Protocol.java: 598)
	bei org.apache.tomcat.util.net .JIoEndpoint$Worker.run (JIoEndpoint.java: 447)
	an java.lang. Thread.run (unbekannte Quelle)
14:15: STÖRUNG 58.892 [UsersRolesLoginModule] Benutzer/Kennwörter/Rollenakten laden nicht gekonnt
java.io.IOException: Keine Eigenschaftenakte: users.properties oder Rückstellungen: defaultUsers.properties gefunden
	an org.jboss.security.auth.spi. Util.loadProperties (Util.java: 198)
	an org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers (UsersRolesLoginModule.java: 186)
	an org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers (UsersRolesLoginModule.java: 200)
	an org.jboss.security.auth.spi.UsersRolesLoginModule.initialize (UsersRolesLoginModule.java: 127)
	an sun.reflect.NativeMethodAccessorImpl.invoke0 (gebürtige Methode)
	an sun.reflect.NativeMethodAccessorImpl.invoke (unbekannte Quelle)
	an sun.reflect.DelegatingMethodAccessorImpl.invoke (unbekannte Quelle)
	an java.lang.reflect. Method.invoke (unbekannte Quelle)
	bei javax.security.auth.log in.LoginContext.invoke (unbekannte Quelle)
	bei javax.security.auth.log in.LoginContext.access$000 (unbekannte Quelle)
	bei javax.security.auth.log in.LoginContext$4.run (unbekannte Quelle)
	an java.security.AccessController.doPrivileged (gebürtige Methode)
	bei javax.security.auth.log in.LoginContext.invokePriv (unbekannte Quelle)
	bei javax.security.auth.login.LoginContext.log in (unbekannte Quelle)
	an org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin (JaasSecurityManagerBase.java: 552)
	an org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate (JaasSecurityManagerBase.java: 486)
	an org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid (JaasSecurityManagerBase.java: 365)
	an org.jboss.security.plugins.JaasSecurityManager.isValid (JaasSecurityManager.java: 160)
	an org.jboss.web.tomcat.security.JBossWebRealm.authenticate (JBossWebRealm.java: 384)
	an org.apache.catalina.authenticator.FormAuthenticator.authenticate (FormAuthenticator.java: 258)
	an org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java: 417)
	an org.jboss.web.tomcat.security.JaccContextValve.invoke (JaccContextValve.java: 92)
	an org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process (SecurityContextEstablishmentValve.java: 126)
	an org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke (SecurityContextEstablishmentValve.java: 70)
	an org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java: 127)
	an org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java: 102)
	an org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke (CachedConnectionValve.java: 158)
	an org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java: 109)
	an org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java: 330)
	an org.apache.coyote.http11.Http11Processor.process (Http11Processor.java: 829)
	an org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (Http11Protocol.java: 598)
	bei org.apache.tomcat.util.net .JIoEndpoint$Worker.run (JIoEndpoint.java: 447)
	an java.lang. Thread.run (unbekannte Quelle) 



Antwort : Störung beim Loging empfangen in die Anwendung

Yups!! Sie müssen das folgende tun, wie in der Verbindung definiert.

1. Eine Anwendungpolitik Eintragung in login-conf.xml genanntem mmticket " im gleichen Format wie die Eintragung für „Jmxkonsole“ verursachen. Den Weg zur Eigenschaftenakte vom Legen sie „in Bediener \ in das Rückstellungs- \ conf- \ Stütze“ Faltblatt zur Verfügung stellen.
2. Jboss-web.xml Akte im WEB-INF Faltblatt Ihrer APP haben, zusammengebaut, wie vorgeschlagen.
3. Eine Sicherheitsrolle und -begrenzung in Ihrem web.xml haben; garantieren, dass Sie Form gegründete Authentisierung verwenden.


Weitere Lösungen  
 
programming4us programming4us