?
Solved

Authentication for user weblogic denied

Posted on 2011-10-02
5
Medium Priority
?
3,086 Views
Last Modified: 2013-12-10
When I try to start WebLogic using the command "startWebLogic.cmd" from my domain home, I am getting the below error, that I pasted from AdminServer.log file.

But before pasting the error, let me tell something that I have to do in order to proceed further.

After "startWebLogic.cmd" is given, there is no progress at all, and I need to press "quit" for further action.
Since I couldn't see where exactly its stopping, I enabled "echo" in some of the .cmd's and this time I see the below (note: not pasted everything but I pasted the output just before it has stopped executing)

C:\bea\user_projects\domains\myPortalDomain>"C:\bea\JROCKI~1\bin\java" com.point
base.net.netServer /port:9092 /d:3 /pointbase.ini="C:\bea\wlserver_10.3\samples\
domains\wl_server\pointbase.ini"
Server started, listening on port 9092, display level: 3 ...
>


So its stopping at this point, and I have to enter "quit", but I guess that is stopping the pointbase server.

I even added GOTO :EOF in "startPointBase.cmd" after Pointbase is called like below, but still its not proceeding after the following is displayed "Server started, listening on port 9092, display level: 3 ... > "

@rem Start PointBase
"%JAVA_HOME%\bin\java" com.pointbase.net.netServer /port:9092 /d:3 /pointbase.ini="%SAMPLES_HOME%\domains\wl_server\pointbase.ini"

GOTO :EOF

:EOF

Now, coming back to the error that I am getting, its pasted below...

java.sql.SQLException: [Security:090735]The DBMS connection was not usable
at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.getManageableConnection(DBMSSQLAuthenticatorDelegateImpl.java:923)
at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.validateConfiguration(DBMSSQLAuthenticatorDelegateImpl.java:153)
at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.<init>(DBMSSQLAuthenticatorDelegateImpl.java:78)
at weblogic.security.providers.authentication.DBMSAuthenticatorDelegateImpl.getInstance(DBMSAuthenticatorDelegateImpl.java:459)
at weblogic.security.providers.authentication.DBMSSQLAuthenticationProviderImpl.initialize(DBMSSQLAuthenticationProviderImpl.java:56)
at com.bea.common.security.internal.legacy.service.SecurityProviderImpl.init(SecurityProviderImpl.java:65)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(Unknown Source)
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(Unknown Source)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

####<Sep 30, 2011 7:07:37 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389857978> <BEA-090075> <The SAMLIdentityAssertor provider has had its LDIF information loaded from: C:\bea\user_projects\domains\myPortalDomain\security\SAMLIdentityAssertorInit.ldift>
####<Sep 30, 2011 7:07:38 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389858245> <BEA-090851> <The SAMLIdentityAsserter provider is initialized.>
####<Sep 30, 2011 7:07:38 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389858920> <BEA-090516> <The CredentialMapper provider has preexisting LDAP data.>
####<Sep 30, 2011 7:07:39 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389859659> <BEA-090516> <The Authorizer provider has preexisting LDAP data.>
####<Sep 30, 2011 7:07:41 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389861370> <BEA-090075> <The SAMLCredentialMapper provider has had its LDIF information loaded from: C:\bea\user_projects\domains\myPortalDomain\security\SAMLCredentialMapperInit.ldift>
####<Sep 30, 2011 7:07:41 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389861480> <BEA-090851> <The SAMLCredentialMapperV2 provider is initialized.>
####<Sep 30, 2011 7:07:41 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389861559> <BEA-090516> <The CredentialMapper provider has preexisting LDAP data.>
####<Sep 30, 2011 7:07:41 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389861669> <BEA-090516> <The RoleMapper provider has preexisting LDAP data.>
####<Sep 30, 2011 7:07:42 PM IST> <Info> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389862203> <BEA-090093> <No pre-WLS 8.1 Keystore providers are configured for server AdminServer for security realm myrealm.>
####<Sep 30, 2011 7:07:42 PM IST> <Notice> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389862203> <BEA-090082> <Security initializing using security realm myrealm.>
####<Sep 30, 2011 7:07:58 PM IST> <Error> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389878205> <BEA-000000> <[Security:090735]The DBMS connection was not usable>
####<Sep 30, 2011 7:07:58 PM IST> <Critical> <Security> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1317389878283> <BEA-090403> <Authentication for user weblogic denied>
####<Sep 30, 2011 7:07:58 PM IST> <Critical> <WebLogicServer> <AdminServer> <Main Thread> <<WLS Kernel>> <1317389878299> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

How to resolve this please?
0
Comment
Question by:techie2011
  • 4
5 Comments
 
LVL 2

Accepted Solution

by:
montasirma earned 375 total points
ID: 36901962
Hi Techie2011

Try first to edit the boot.properties file and enter the username and password into that file. Both should be encrypted after the first subsequent start of the BEA server. If this did not work, you might need to delete the managed server folder and then start the BEA server. This will revert the managed server to the original configuration and apply the configurations from the admin server.
0
 

Author Comment

by:techie2011
ID: 36902730
I did edited boot.properties and also tried deleting that file and its asking to enter username and password later when I start weblogic, and I entered weblogic/weblogic.

Pasted below the error contents from DOS command console that still I am getting.

WebLogic Server 10.3  Fri Jul 25 16:30:05 EDT 2008 1137967 >
<Oct 3, 2011 4:31:57 PM IST> <Info> <Security> <BEA-090065> <Getting boot identi
ty from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Oct 3, 2011 4:32:05 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server stat
e changed to STARTING>
<Oct 3, 2011 4:32:05 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing sel
f-tuning thread pool>
<Oct 3, 2011 4:32:07 PM IST> <Notice> <Log Management> <BEA-170019> <The server
log file C:\bea\user_projects\domains\myPortalDomain\servers\AdminServer\logs\Ad
minServer.log is opened. All server side log events will be written to this file
.>
<Oct 3, 2011 4:32:35 PM IST> <Error> <Security> <BEA-000000> <[Security:090737]A
n exception occurred while getting connection to validate the configuration sett
ings
java.sql.SQLException: [Security:090735]The DBMS connection was not usable
        at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelega
teImpl.getManageableConnection(DBMSSQLAuthenticatorDelegateImpl.java:923)
        at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelega
teImpl.validateConfiguration(DBMSSQLAuthenticatorDelegateImpl.java:153)
        at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelega
teImpl.<init>(DBMSSQLAuthenticatorDelegateImpl.java:78)
        at weblogic.security.providers.authentication.DBMSAuthenticatorDelegateI
mpl.getInstance(DBMSAuthenticatorDelegateImpl.java:459)
        at weblogic.security.providers.authentication.DBMSSQLAuthenticationProvi
derImpl.initialize(DBMSSQLAuthenticationProviderImpl.java:56)
        Truncated. see log file for complete stacktrace
>
<Oct 3, 2011 4:32:47 PM IST> <Notice> <Security> <BEA-090082> <Security initiali
zing using security realm myrealm.>
<Oct 3, 2011 4:32:48 PM IST> <Error> <Security> <BEA-000000> <[Security:090735]T
he DBMS connection was not usable>
<Oct 3, 2011 4:32:48 PM IST> <Critical> <Security> <BEA-090403> <Authentication
for user weblogic denied>
<Oct 3, 2011 4:32:48 PM IST> <Critical> <WebLogicServer> <BEA-000386> <Server su
bsystem failed. Reason: weblogic.security.SecurityInitializationException: Authe
ntication for user weblogic denied
weblogic.security.SecurityInitializationException: Authentication for user weblo
gic denied
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.do
BootAuthorization(Unknown Source)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itialize(Unknown Source)
        at weblogic.security.service.SecurityServiceManager.initialize(Unknown S
ource)
        at weblogic.security.SecurityService.start(SecurityService.java:141)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        Truncated. see log file for complete stacktrace
>
<Oct 3, 2011 4:32:49 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server stat
e changed to FAILED>
<Oct 3, 2011 4:32:49 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical s
ervice failed. The server will shut itself down>
<Oct 3, 2011 4:32:49 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server stat
e changed to FORCE_SHUTTING_DOWN>

C:\bea\user_projects\domains\myPortalDomain>CALL :stopAll

C:\bea\user_projects\domains\myPortalDomain>if NOT "X" == "X" (GOTO :EOF )

C:\bea\user_projects\domains\myPortalDomain>if "true" == "true" (
echo Stopping PointBase server...
 call "C:\bea\WLSERV~1.3\common\bin\stopPointBase.cmd" -port=9092 -name=demo
1>"C:\bea\USER_P~1\domains\MYPORT~1\pointbaseShutdown.log" 2>&1
 echo PointBase server stopped.
)
Stopping PointBase server...
PointBase server stopped.
Autonomy server stopped.
0
 

Author Comment

by:techie2011
ID: 36902998
I think the problem as I mentioned above is with that >(greater than symbol). After that no input is accepted.
In my previous post also, I think pointbase server got stopped automatically as soon as it got started. Because I had the following in "startPointBase.cmd"

ECHO SHUTDOWN FORCE; | "%JAVA_HOME%\bin\java" com.pointbase.net.netServer /port:9092 /d:3 /pointbase.ini="%SAMPLES_HOME%\domains\wl_server\pointbase.ini"
GOTO :EOF

@ENDLOCAL


So the following got displayed...

C:\bea\wlserver_10.3\common\bin>ECHO SHUTDOWN FORCE;   | "C:\bea\JROCKI~1\bin\ja
va" com.pointbase.net.netServer /port:9092 /d:3 /pointbase.ini="C:\bea\wlserver_
10.3\samples\domains\wl_server\pointbase.ini"
Server started, listening on port 9092, display level: 3 ...
>Unrecognized character, press h for help
>

And the rest of the commands continued executing. So I think this could be the problem. So is there a way to continue executing the rest of the commands without stopping pointbase server?
0
 

Author Comment

by:techie2011
ID: 36910741
I am able to start weblogic from command prompt using "startWebLogic.cmd"
But from Oracle Workshop for Weblogic, under Servers tab , when I right click Oracle WebLogic Server v10.3 at localhost and click on Start, I am getting Server did not start. Timeout Waiting for Oracle Weblogic server to start within 480s or something like that after long time. But in console Tab, I can see admin server started as follows,

WebLogic Server 10.3  Fri Jul 25 16:30:05 EDT 2008 1137967 > 
<Oct 4, 2011 8:17:55 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 4, 2011 8:17:55 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Oct 4, 2011 8:17:57 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\user_projects\domains\myPortalDomain1\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Oct 4, 2011 8:19:53 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 4, 2011 8:21:21 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Oct 4, 2011 8:21:21 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>


But When I try to access console using, http://localhost:7001/console
I am getting, This program cannot display the webpage

I even tried replacing 2 occurences of "localhost" to "my ip address" in config.xml under domain\config path.

<sec:connection-url>jdbc:pointbase:server://<my-ip-address>:9092/demo</sec:connection-url>
<sec:connection-properties>user=PBSYSADMIN,databaseName=jdbc:pointbase:server://<my-ip-address>:9092/demo</sec:connection-properties>

Then in all the JDBC data source xml's in the path domain\config\jdbc, I replaced "localhost" to "my ip address"

<url>jdbc:pointbase:server://<my-ip-address>:9092/demo</url>

Then when I try accessing the page using, http://<my-ip-address>:7001/console,
still I am getting Page cannot be displayed.

Please help me on solving this problem as well as Timeout problem occuring on Oracle Workshop. FYI I am having Portal Perspective.
0
 

Author Closing Comment

by:techie2011
ID: 36915659
thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question