wood burning stoves
The moose likes BEA/Weblogic and the fly likes Reboot Admin Server after changes in myrealm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Reboot Admin Server after changes in myrealm" Watch "Reboot Admin Server after changes in myrealm" New topic

Reboot Admin Server after changes in myrealm

sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 823


Recently I made a few changes in the IP address of the machine which hosts the Active Directory.

Active Directory is configured as a security provider in weblogic, which is set to required in our environment and is on top in the order of authentication providers.

Now after making the changes in the config.xml file, I want to reboot my server but WLS does not let me do so when I tried stopping the server using ./stopWeblogic.sh.

Following is the error:

Connecting to t3://localhost:7001 with userid weblogic ...
This Exception occurred at Tue Oct 18 17:00:29 IST 2011.
javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:682)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:469)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:376)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

Please suggest how do I restart my server!

Thank you.

Regards, Sud.
It is sorta covered in the JavaRanch Style Guide.
subject: Reboot Admin Server after changes in myrealm
It's not a secret anymore!