Step 1 – Set the environment
C:OracleMiddlewareuser_projectsdomainsFirstDomainbin>setDomainEnv.cmd
Step 2 – Create a new Admin Account
C:OracleMiddlewareuser_projectsdomainsFirstDomain>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:OracleMiddlewareuser_projectsdomainsFirstDomain>dir
Volume in drive C has no label.
Volume Serial Number is ECEA-2BF5
Directory of C:OracleMiddlewareuser_projectsdomainsFirstDomain
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:OracleMiddlewareuser_projectsdomainsFirstDomainsecurity
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:OracleMiddlewareuser_projectsdomainsFirstDomainserversAdminServerdata
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:OracleMiddlewareuser_projectsdomainsFirstDomainserversAdminServersecurity
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.
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.
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.
https://weblogic-wonders.com/weblogic/forum
Thanks,
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
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
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?
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
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?
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?
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 🙂
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
have a look at this line
ava.sql.SQLException: [OWLS][SQLServer JDBC Driver][SQLServer]Login failed for user ‘sa’.
Verfiy the credentials for sa
hi,
i can’t able to rename ldap folder. shows error while renaming “access denied”
do you have permissions on the folder? what is the OS you are on?
Brilliant – thanks, worked a treat. Was about to think about a re-install. Many many thanks indeed, saved me a lot of pain.
We are glad that your issue was resolved.
Regards,
Wonders Team. 🙂
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>
can you paste your config.xml?
What other authentication providers you have?
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>
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.
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.
I have followed all the steps for obiee 11g in windows. now when i am trying to start obiee service i am getting the following errors. I cannot open em or console.
Thanks,
Sanjay
012-05-09T15:10:20.149-04:00] [AdminServer] [WARNING] [WSM-02310] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: ‘1’ for queue: ‘weblogic.kernel.Default (self-tuning)’] [userId: ] [ecid: 0000JSmzULm5qYWFLzUKOA1Fefzg000003,0] [APP: OracleRTD#11.1.1] Failed to retrieve requested documents due to underlying error “java.rmi.AccessException: [EJB:010160]Security Violation: User: ” has insufficient permission to access EJB: type=, application=wsm-pm, module=wsm-pmserver-wls.jar, ejb=DocumentManager, method=retrieveDocuments,
http://recover-weblogic-password.appspot.com is probably much easier way to recover the password.
thanks for sharing!
Thank for sharing.
Helpful!
thanks for your appreciation Srikanth!!
wonderful post. i tried. it work for me 🙂
Thanks
Hi Divya,
while shutting down the server iam getting this error.please help me in this
Connecting to t3://PUNHJW56033L:6001 with userid tarun …
This Exception occurred at Fri Jul 05 01:22:43 IST 2013.
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://PUNHJW56033L:6001: Destination unreachabl
nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination]
Problem invoking WLST – Traceback (innermost last):
File “C:\Oracle\Middleware\user_projects\domains\PNB\shutdown.py”, line 3, in ?
File “”, line 22, in connect
File “”, line 648, in raiseWLSTException
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://PU
JW56033L:6001
Use dumpStack() to view the full stacktrace
Done
Stopping Derby Server…
Regards,
Tarun
Hi Tarun,
Is the url correct?
Have u enabled http tunneling on the server?
Thanks,
Faisal
Hi Admin,
There is a strange issue happening on our side in weblogic 11g. We had created a monitoring user and added it in Monitor group. It got locked and we recreated a new user.(deleted previous one). But now, no new user is working and WL is giving authentication error. I have deleted all accounts except admin and recreated , but no luck. Even unlocking the user from domain–>security did not help. Please share your views or this is a bug in weblogic 11g.
Hi Prateek,
Are u able to log in to weblogic console?
We can do a screenshare
This is my Skype id : faiz6692
Thanks
Faisal