Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FileRealm and Clustering

0 views
Skip to first unread message

Rick Maddy

unread,
May 8, 2001, 8:10:57 PM5/8/01
to
I am in the early stages of getting the PetStore app to run in a WLS 6.0
cluster. In general it works fine (I haven't dealt with replication yet).

My first issues arise with creating a new user from the PetStore app. The
first problem arose when I tried to create a new user from the app. The user
appears to be created but the managed server output shows a stack trace. The
new user is not created in the realm because a managed server can't update a
realm. The Stack trace from the managed server is:

weblogic.management.internal.RemoteRealmException: Realms cannot be managed
by managed servers.
at
weblogic.management.internal.RemoteRealmManagerImpl.checkWriteAccess(RemoteR
ealmManagerImpl.java:378)
at
weblogic.management.internal.RemoteRealmManagerImpl.createUser(RemoteRealmMa
nagerImpl.java:46)
at
weblogic.management.configuration.RealmManager.createUser(RealmManager.java:
58)
at
com.bea.estore.util.WLSecurityAdapter.addUser(WLSecurityAdapter.java:44)

Q) How is this solved. There must be a way to create a new user from a
managed server.

The second issue was found trying to solve the first. I went to the console
for the pet store admin server and manually added the user to the file
realm. I made sure the changes were saved. None of the managed servers
recognized the new user until they were bounced.

Q) How do you get changes in a security realm propagated to the managed
servers? Is this only a file realm problem?

Thanks,
Rick


0 new messages