Skip to content

Resetting Admin UserName And Password in Weblogic Server 11g

Step 1 – Set the environment

C:\Oracle\Middleware\user_projects\domains\FirstDomain\bin>setDomainEnv.cmd

Step 2 – Create a new Admin Account

C:\Oracle\Middleware\user_projects\domains\FirstDomain>java weblogic.security.utils.AdminAccount faisal faisal123 .

Note: Don’t forget to add a dot(.) at the end.

Step 3 – Verify the creation of a new DefaultAuthenticatorInit.ldift file.

C:\Oracle\Middleware\user_projects\domains\FirstDomain>dir
 Volume in drive C has no label.
 Volume Serial Number is ECEA-2BF5

 Directory of C:\Oracle\Middleware\user_projects\domains\FirstDomain

11/29/2010  10:27 AM    <DIR>          .
11/29/2010  10:27 AM    <DIR>          ..
10/27/2010  10:56 AM    <DIR>          autodeploy
10/27/2010  10:56 AM    <DIR>          bin
10/27/2010  10:56 AM    <DIR>          config
10/27/2010  10:56 AM    <DIR>          console-ext
11/29/2010  10:27 AM             3,380 DefaultAuthenticatorInit.ldift
10/29/2010  12:25 PM               156 edit.lok
10/27/2010  10:56 AM               472 fileRealm.properties
10/27/2010  10:56 AM    <DIR>          init-info
10/27/2010  10:56 AM    <DIR>          lib
10/29/2010  12:25 PM    <DIR>          pending
10/27/2010  10:56 AM    <DIR>          security
10/29/2010  12:11 PM    <DIR>          servers
10/27/2010  10:56 AM               318 startWebLogic.cmd
10/27/2010  10:56 AM               270 startWebLogic.sh
10/29/2010  12:25 PM    <DIR>          tmp
               5 File(s)          4,596 bytes
              12 Dir(s)  47,722,737,664 bytes free
You will see a DefaultAuthenticatorInit.ldift in the domain directory

Step 5 – Use the new DefaultAuthenticatorInit.ldift

Go to the following location

C:\Oracle\Middleware\user_projects\domains\FirstDomain\security

Rename the existing DefaultAuthenticatorInit.ldift and place the DefaultAuthenticatorInit.ldift file in this directory that we just created.

Step 6 – Rename ldap directory

Now go to the following location.

C:\Oracle\Middleware\user_projects\domains\FirstDomain\servers\AdminServer\data

Note:- This will delete all your existing users/groups so it is recomemded to export the security realm data, or export the users.

Step 7 – Delete boot.properties file

Rename ldap directory to something else.

Delete the boot.properties file from the following location

C:\Oracle\Middleware\user_projects\domains\FirstDomain\servers\AdminServer\security

Step 8- Start your Weblogic Server  using startWebLogic.cmd and provide the credentials at the prompt.
Enter username to boot WebLogic server:faisal
Enter password to boot WebLogic server:

Step 9 - Log in to Weblogic Console using the new admin user.

 If you stil face issues feel free to post a comment, and we will be glad to help.

20 Comments

  1. sudheer

    hi thanks for ur post,i had succesfuly done resetting pwd and username for weblogic but the thing is after i delete the boot.properties file fr0m admin server security folder,im unable to see the boot file after starting the weblogic server in admin,security folder.My questions is where boot.properties file will be created after resetting user name and pwd.

    Posted on 05-Dec-10 at 5:19 pm | Permalink
  2. Administrator

    Hi Sudheer,

    Glad that you were able to do it.
    We have started a forum on our website so that people can ask questions and there are more eyes to look into them.
    Would request you to post this query in the forums.

    Let me know if you face any issues posting it there.

    http://weblogic-wonders.com/weblogic/forum

    Thanks,

    Posted on 06-Dec-10 at 12:30 am | Permalink
  3. Srinivas

    I am trying to change Admin Pwd using above Method, getting this

    “exceptionException in thread “main” java.lang.NoClassDefFoundError: weblogic/security/utils/AdminAccount”

    in solaries OS , i am doing this,

    Why we will get this, how overcome this, please anyone help me in this issue

    Posted on 08-Dec-10 at 2:43 am | Permalink
  4. anandraj

    Hi Srinivas,

    Make sure that the Weblogic.jar file is referenced in the CLASSPATH. You can find the jar file under
    $BEA_HOME/wlserver_10.3/server/lib/ directory.

    For bash shell:
    export CLASSPATH=$CLASSPATH:$BEA_HOME/wlserver_10.3/server/lib/weblogic.jar

    For tcsh or csh:
    set CLASSPATH = ($CLASSPATH $BEA_HOME/wlserver_10.3/server/lib/weblogic.jar)

    Alternatively you can run the setDomainEnv.sh script which is present under the DOMAIN/bin older.

    Please let me know if you have any further issues.

    Best Regards
    WebLogic-Wonders Team

    Posted on 08-Dec-10 at 2:58 am | Permalink
  5. Shawn

    On step 6 how would you export the user/groups or the relam data if you are not able to log in to the admin console?

    Posted on 12-Jan-11 at 6:22 pm | Permalink
  6. Administrator

    In Step 6, I have mentioned thats its better to keep a backup of the exported security realm.
    So that in case we forget the admin username/password we can import existing users/groups from the backup back once we create a new Admin User.

    Hope this makes it clear.

    Thanks for asking Shawn!

    Cheers!
    Faisal

    Posted on 13-Jan-11 at 5:17 am | Permalink
  7. Shawn

    Thanks for the reply Faisal. Appreciate all you guys working so hard to help us!!!

    If i didn’t have a back up. And i am locked out. Is there a way to save my users/groups?

    Posted on 17-Jan-11 at 8:14 pm | Permalink
  8. Antonio Gianni

    I imagine “Rename ldap directory to something else.” in step 7 belogs right above the note: in step 6? Is that a cut and past error?

    Posted on 11-Mar-11 at 1:44 am | Permalink
  9. divya

    Hi Antonio,

    Apologies for the inconvenience.

    “Rename ldap directory to something else.” in the step 7 should be recorded in step 6.

    We will get it changed. Thanks for pointing it out.

    Best Regards,
    Wonders Team :)

    Posted on 11-Mar-11 at 2:09 am | Permalink
  10. pradeep

    I have tried your steps and on step 8
    I am getting this below error –

    ####
    ####
    ####
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <> <The following exception has occurred:

    com.bea.common.engine.ServiceInitializationException: org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class “kodo.jdbc.kernel.KodoJDBCBrokerFactory”. See the nested exception for details.
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)
    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(WLSIdentityServiceImpl.java:47)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:300)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class “kodo.jdbc.kernel.KodoJDBCBrokerFactory”. See the nested exception for details.
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    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(WLSIdentityServiceImpl.java:47)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:300)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    java.lang.RuntimeException: There were errors initializing your configuration: org.apache.openjpa.util.StoreException: [OWLS][SQLServer JDBC Driver][SQLServer]Login failed for user ‘sa’.
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:235)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:684)
    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:597)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    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:597)
    at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    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(WLSIdentityServiceImpl.java:47)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:300)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    Caused by: java.sql.SQLException: [OWLS][SQLServer JDBC Driver][SQLServer]Login failed for user ‘sa’.
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSLoginRequest.submitRequest(Unknown Source)
    at weblogic.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
    at weblogic.jdbc.base.BaseConnection.connect(Unknown Source)
    at weblogic.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
    at weblogic.jdbc.base.BaseConnection.open(Unknown Source)
    at weblogic.jdbc.base.BaseDriver.connect(Unknown Source)
    at com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:272)
    at com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:413)
    at com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:290)
    at com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:199)
    at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:113)
    at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:227)
    … 37 more

    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:302)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    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:597)
    at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    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(WLSIdentityServiceImpl.java:47)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:300)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    >
    #### <> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class “kodo.jdbc.kernel.KodoJDBCBrokerFactory”. See the nested exception for details..
    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class “kodo.jdbc.kernel.KodoJDBCBrokerFactory”. See the nested exception for details.
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:342)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    com.bea.common.engine.ServiceInitializationException: org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class “kodo.jdbc.kernel.KodoJDBCBrokerFactory”. See the nested exception for details.
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)
    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(WLSIdentityServiceImpl.java:47)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:300)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class “kodo.jdbc.kernel.KodoJDBCBrokerFactory”. See the nested exception for details.
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    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(WLSIdentityServiceImpl.java:47)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:300)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    java.lang.RuntimeException: There were errors initializing your configuration: org.apache.openjpa.util.StoreException: [OWLS][SQLServer JDBC Driver][SQLServer]Login failed for user ‘sa’.
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:235)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:684)
    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:597)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    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:597)
    at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    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(WLSIdentityServiceImpl.java:47)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:300)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    Caused by: java.sql.SQLException: [OWLS][SQLServer JDBC Driver][SQLServer]Login failed for user ‘sa’.
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSLoginRequest.submitRequest(Unknown Source)
    at weblogic.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
    at weblogic.jdbc.base.BaseConnection.connect(Unknown Source)
    at weblogic.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
    at weblogic.jdbc.base.BaseConnection.open(Unknown Source)
    at weblogic.jdbc.base.BaseDriver.connect(Unknown Source)
    at com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:272)
    at com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:413)
    at com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:290)
    at com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:199)
    at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:113)
    at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:227)
    … 37 more

    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:302)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    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:597)
    at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    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(WLSIdentityServiceImpl.java:47)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:300)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    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)
    >
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    #### <>
    Can u help me

    Posted on 23-Jul-11 at 12:32 am | Permalink
  11. Administrator

    have a look at this line

    ava.sql.SQLException: [OWLS][SQLServer JDBC Driver][SQLServer]Login failed for user ‘sa’.

    Verfiy the credentials for sa

    Posted on 12-Aug-11 at 8:23 am | Permalink
  12. seenu

    hi,

    i can’t able to rename ldap folder. shows error while renaming “access denied”

    Posted on 19-Oct-11 at 10:44 am | Permalink
  13. Administrator

    do you have permissions on the folder? what is the OS you are on?

    Posted on 25-Oct-11 at 4:04 am | Permalink
  14. Dominic Campbell

    Brilliant – thanks, worked a treat. Was about to think about a re-install. Many many thanks indeed, saved me a lot of pain.

    Posted on 05-Dec-11 at 11:55 am | Permalink
  15. anandraj

    We are glad that your issue was resolved.

    Regards,
    Wonders Team. :-)

    Posted on 06-Dec-11 at 12:44 am | Permalink
  16. Aman

    Getting this error…

    D:\BEA\user_projects\domains\base_domain>startWebLogic.cmd
    .
    .
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
    48m -XX:MaxPermSize=192m
    .
    WLS Start Mode=Development
    .
    CLASSPATH=D:\BEA\patch_wls1032\profiles\default\sys_manifest_classpath\weblogic_
    patch.jar;D:\BEA\patch_wlp1032\profiles\default\sys_manifest_classpath\weblogic_
    patch.jar;D:\BEA\patch_oepe1111\profiles\default\sys_manifest_classpath\weblogic
    _patch.jar;D:\BEA\jdk160_14_R27.6.5-32\lib\tools.jar;D:\BEA\utils\config\10.3\co
    nfig-launch.jar;D:\BEA\wlserver_10.3\server\lib\weblogic_sp.jar;D:\BEA\wlserver_
    10.3\server\lib\weblogic.jar;D:\BEA\modules\features\weblogic.server.modules_10.
    3.2.0.jar;D:\BEA\wlserver_10.3\server\lib\webservices.jar;D:\BEA\modules\org.apa
    che.ant_1.7.0/lib/ant-all.jar;D:\BEA\modules\net.sf.antcontrib_1.0.0.0_1-0b2/lib
    /ant-contrib.jar;D:\BEA\wlserver_10.3\common\eval\pointbase\lib\pbembedded57.jar
    ;D:\BEA\wlserver_10.3\common\eval\pointbase\lib\pbclient57.jar;D:\BEA\wlserver_1
    0.3\server\lib\xqrl.jar;D:\BEA\wlserver_10.3\server\lib\xquery.jar;D:\BEA\wlserv
    er_10.3\server\lib\binxml.jar
    .
    PATH=D:\BEA\patch_wls1032\profiles\default\native;D:\BEA\patch_wlp1032\profiles\
    default\native;D:\BEA\patch_oepe1111\profiles\default\native;D:\BEA\wlserver_10.
    3\server\native\win\32;D:\BEA\wlserver_10.3\server\bin;D:\BEA\modules\org.apache
    .ant_1.7.0\bin;D:\BEA\jdk160_14_R27.6.5-32\jre\bin;D:\BEA\jdk160_14_R27.6.5-32\b
    in;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W
    indowsPowerShell\v1.0\;C:\Program Files\CA\SharedComponents\ScanEngine;C:\Progra
    m Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\Third
    Party\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program File
    s\CA\eTrustITM;D:\BEA\wlserver_10.3\server\native\win\32\oci920_8
    .
    ***************************************************
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    ***************************************************
    starting weblogic with Java version:
    Listening for transport dt_socket at address: 8453
    java version “1.6.0_14″
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode)
    Starting WLS with line:
    D:\BEA\jdk160_14_R27.6.5-32\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transpo
    rt=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms256m -Xmx
    512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=192m -Dweblogic
    .Name=AdminServer -Djava.security.policy=D:\BEA\wlserver_10.3\server\lib\weblogi
    c.policy -Xverify:none -ea -da:com.bea… -da:javelin… -da:weblogic… -ea:c
    om.bea.wli… -ea:com.bea.broker… -ea:com.bea.sbconsole… -Dplatform.home=D:\
    BEA\wlserver_10.3 -Dwls.home=D:\BEA\wlserver_10.3\server -Dweblogic.home=D:\BEA\
    wlserver_10.3\server -Dweblogic.wsee.bind.suppressDeployErrorMessage=true -Dweb
    logic.wsee.skip.async.response=true -Dweblogic.management.discover=true -Dwlw.
    iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -Dweblogi
    c.ext.dirs=D:\BEA\patch_wls1032\profiles\default\sysext_manifest_classpath;D:\BE
    A\patch_wlp1032\profiles\default\sysext_manifest_classpath;D:\BEA\patch_oepe1111
    \profiles\default\sysext_manifest_classpath;D:\BEA\wlportal_10.3\p13n\lib\system
    ;D:\BEA\wlportal_10.3\light-portal\lib\system;D:\BEA\wlportal_10.3\portal\lib\sy
    stem;D:\BEA\wlportal_10.3\info-mgmt\lib\system;D:\BEA\wlportal_10.3\analytics\li
    b\system;D:\BEA\wlportal_10.3\apps\lib\system;D:\BEA\wlportal_10.3\info-mgmt\dep
    recated\lib\system;D:\BEA\wlportal_10.3\content-mgmt\lib\system -Dweblogic.alter
    nateTypesDirectory=D:\BEA\wlportal_10.3\portal\lib\security weblogic.Server
    Listening for transport dt_socket at address: 8453

    Enter username to boot WebLogic server:weblogic
    Enter password to boot WebLogic server:

    Stopping PointBase server…
    PointBase server stopped.

    D:\BEA\user_projects\domains\base_domain>

    Posted on 02-Jan-12 at 8:50 am | Permalink
  17. Aman

    It was not printed full…

    Enter username to boot WebLogic server:weblogic
    Enter password to boot WebLogic server:

    Stopping PointBase server…
    PointBase server stopped.

    D:\BEA\user_projects\domains\base_domain>

    Posted on 02-Jan-12 at 8:51 am | Permalink
  18. dl

    How to I get it to remember my username/password after the initial startup? This helped to start the server again and allowed me to reset he password, but now I need to enter the username and password each time I start the server.

    Posted on 18-Jan-12 at 2:07 pm | Permalink
  19. Administrator

    You can create a boot.properties file and keep it under server > > security folder.

    add the following lines
    username=abc
    password=abc

    On start the values will be encrypted.

    Posted on 25-Jan-12 at 7:36 am | Permalink
  20. Administrator

    can you paste your config.xml?
    What other authentication providers you have?

    Posted on 01-Feb-12 at 2:09 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*