Bug 777632 (SOA-142) - IR5 - ESB on JBossAS - cannot access any of the consoles - security bug prevents this
Summary: IR5 - ESB on JBossAS - cannot access any of the consoles - security bug preve...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-142
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: Tooling
Version: 4.2 IR5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2 IR6
Assignee: Mike Brock
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-13 17:43 UTC by Len DiMaggio
Modified: 2013-06-17 05:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
IR5 - ESB on JBossAS
Last Closed: 2007-11-19 20:53:15 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 777603 0 urgent CLOSED Secured SOA platform - with MySQL used as database = JMSSecurity exceptions and prevents apps from being deployed 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-142 0 None None None Never

Internal Links: 777603

Description Len DiMaggio 2007-11-13 17:43:48 UTC
Date of First Response: 2007-11-16 12:13:27
project_key: SOA

The error displayed in the log is:

2007-11-13 12:39:43,253 ERROR [org.jboss.security.auth.spi.UsersRolesLoginModule] Failed to load users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found
        at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
        at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
        at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
        at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
        at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
        at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
        at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
        at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
        at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
        at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:258)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:595)

Comment 1 Len DiMaggio 2007-11-13 17:50:10 UTC
Link: Added: This issue related SOA-112


Comment 2 Len DiMaggio 2007-11-14 03:36:46 UTC
Which file is missing? These user*properties files are present:

./server/all/conf/props/jmx-console-users.properties
./server/all/conf/props/jbossws-users.properties
./server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties

For comparison, the standalone server has the same set of files:

/opt/IR5/jboss-soa-p-standalone.4.2.0/server/default/conf/props/jmx-console-users.properties
/opt/IR5/jboss-soa-p-standalone.4.2.0/server/default/conf/props/jbossws-users.properties
/opt/IR5/jboss-soa-p-standalone.4.2.0/server/default/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties



Comment 3 Mike Brock 2007-11-16 17:13:27 UTC
Fixed.


Note You need to log in before you can comment on or make changes to this bug.