Authentication for user weblogic denied

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?
techie2011Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

montasirmaCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
techie2011Author Commented:
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
techie2011Author Commented:
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
techie2011Author Commented:
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
techie2011Author Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.