Getting the following error when starting up the AdminServer on Oracle WebLogic Server 12c with Oracle Service Bus 12c installed:
####<Apr 20, 2015 11:44:21 PM EDT> <Error> <Deployer> <soahost1> <AdminServer> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <236cd04a-cdd4-4c4c-bf1b-f4ca7b2fe3fe-00000004> <1429587861652> <BEA-149205> <Failed to initialize the application "Service Bus Framework Starter Application" due to error java.lang.RuntimeException: OSB system user authentication failed
java.lang.RuntimeException: OSB system user authentication failed
at com.bea.wli.sb.security.SecurityModuleImpl.runAlsbPrivilegedAction(SecurityModuleImpl.java:345)
at com.bea.wli.sb.security.SecurityModuleImpl.jndiBind(SecurityModuleImpl.java:415)
at com.bea.alsb.platform.weblogic.WlsJNDIService.bind(WlsJNDIService.java:46)
at com.bea.wli.sb.init.FrameworkStarter$ALSBClusterTimerJndiAccess.bindClusterTimer(FrameworkStarter.java:362)
at com.bea.wli.timer.ClusterTimerService.initialize(ClusterTimerService.java:87)
at com.bea.wli.sb.init.FrameworkStarter._preStart(FrameworkStarter.java:215)
at com.bea.wli.sb.init.FrameworkStarter.access$000(FrameworkStarter.java:75)
at com.bea.wli.sb.init.FrameworkStarter$1.run(FrameworkStarter.java:94)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
Solution:
1. Login to the WebLogic Server Administration Console
2. Navigate to Security Realms > myrealm > Users and Groups.
3. Click on "New" to create a new user using the following:
NAME: alsb-system-user
PASSWORD: (any password)
DESCRIPTION: The ALSB system user is a built-in system account which belongs to the ALSBSystem role. As such it has access to ALSBs internal artifacts. The password for this account is automatically changed when the admin server boots to prevent direct access to this account.4. Save and restart the AdminServer.
Applicable Versions:
- Oracle WebLogic Server 12c (12.1.3)
- Oracle Service Bus (OSB) 12c
also applies to version 12.2.1. It affected OSB startup after installing and loading the jDeveloper-embedded WebLogic server with quick start version of Oracle SOA Suite. 11 modules related to OSB were listed "failed" in Enterprise Manager. After creation of the missing user and a server restart: all UP.
ReplyDeleteGreat help!
Awesome! Glad it worked!
ReplyDeleteHi, I still see this happening even though the user you have mentioned in already in myrelam.
ReplyDeletePlease advice.
What is the exact error you are receiving in your logs?
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHi In response to the earlier comment, I am still seeing this issue even after the user is configured in myrealm
ReplyDeleteJun 06, 2016 1:47:41 PM com.tangosol.coherence.component.util.logOutput.Jdk log
INFO: 2016-06-06 13:47:41.929/28.077 Oracle Coherence 12.1.3.0.0 (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from "jar:file:/oracle/middleware/product/fmw/coherence/lib/coherence.jar!/tangosol-coherence.xml"
Jun 06, 2016 1:47:42 PM com.tangosol.coherence.component.util.logOutput.Jdk log
INFO: 2016-06-06 13:47:42.194/28.342 Oracle Coherence 12.1.3.0.0 (thread=[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "jar:file:/oracle/middleware/product/fmw/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
Jun 06, 2016 1:47:45 PM oracle.dms.servlet.DMSServletFilter setEagerlySetContextValues
INFO: The setting that controls the eager fetching of some types of execution context data has been set to true.
(SecurityModuleImpl.java:607)
at com.bea.wli.sb.security.SecurityModuleImpl.(SecurityModuleImpl.java:112)
at com.bea.wli.sb.security.WLSSecurityService.start(WLSSecurityService.java:44)
at com.bea.wli.sb.init.FrameworkStarter._preStart(FrameworkStarter.java:195)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at com.bea.wli.sb.security.UpgradeHook.addStandardInternalQueuePolicies(UpgradeHook.java:85)
at com.bea.wli.sb.security.SecurityModuleImpl.(SecurityModuleImpl.java:607)
at com.bea.wli.sb.security.SecurityModuleImpl.(SecurityModuleImpl.java:112)
at com.bea.wli.sb.security.WLSSecurityService.start(WLSSecurityService.java:44)
at com.bea.wli.sb.init.FrameworkStarter._preStart(FrameworkStarter.java:195)
Truncated. see log file for complete stacktrace
>
<Failed to initialize the application "Service Bus Kernel" due to error java.lang.NoClassDefFoundError: Could not initialize class com.bea.wli.sb.security.SecurityModuleImpl
java.lang.NoClassDefFoundError: Could not initialize class com.bea.wli.sb.security.SecurityModuleImpl
at com.bea.wli.sb.security.WLSSecurityService.getSecurityService(WLSSecurityService.java:27)
at com.bea.wli.sb.init.AppListener.initSB(AppListener.java:190)
at com.bea.wli.sb.init.AppListener.__preStart(AppListener.java:174)
at com.bea.wli.sb.init.AppListener.access$000(AppListener.java:94)
at com.bea.wli.sb.init.AppListener$1.run(AppListener.java:159)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: Could not initialize class com.bea.wli.sb.security.SecurityModuleImpl
at com.bea.wli.sb.security.WLSSecurityService.getSecurityService(WLSSecurityService.java:27)
at com.bea.wli.sb.init.AppListener.initSB(AppListener.java:190)
at com.bea.wli.sb.init.AppListener.__preStart(AppListener.java:174)
at com.bea.wli.sb.init.AppListener.access$000(AppListener.java:94)
at com.bea.wli.sb.init.AppListener$1.run(AppListener.java:159)
Truncated. see log file for complete stacktrace
The error you are receiving is very different error actually.
ReplyDeleteHere is your error:
Failed to initialize the application "Service Bus Kernel" due to error java.lang.NoClassDefFoundError: Could not initialize class com.bea.wli.sb.security.SecurityModuleImpl
This class (in 11g) is found in this JAR file:
$MW_HOME/Oracle_OSB1/lib/modules/com.bea.alsb.security-wls.jar
The question now is why that JAR isn't being loaded upon startup.
Can you provide some details:
- OSB version
- Operating system
- How are you starting it up
Thanks so much, I have been having a lot of throubles with my weblogic and this was a wonderful solution. Faster and effective.
ReplyDeletewhen i am restarting managed server i getting the following error some times server is started with out any issues any help ?
ReplyDeleteWeblogic version 10.3.5
Received exception while creating connection for pool "ISHOS_DS": IO Error: Connection reset
Failed to initialize the application 'ISHOS_DS' due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
Truncated. see log file for complete stacktrace
Caused By: weblogic.common.ResourceException: IO Error: Connection reset
at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:494)
at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:177)
at weblogic.jdbc.common.internal.HAXAConnectionEnvFactory.createResource(HAXAConnectionEnvFactory.java:34)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
Truncated. see log file for complete stacktrace
This comment has been removed by the author.
ReplyDeleteHi,
ReplyDeleteWhilel deploying the build on server weblogic 10.03 " "
(Attributes.java:447)
at java.util.jar.Attributes.getValue(Attributes.java:99)
at weblogic.application.library.LibraryReferenceFactory.getOptPackReference(LibraryReferenceFactory.java:135)
at weblogic.application.internal.OptionalPackageProviderImpl.getOptionalPackages(OptionalPackageProviderImpl.java:44)
at weblogic.utils.classloaders.ClassFinderUtils.getOptionalPackages(ClassFinderUtils.java:142)
Truncated. see log file for complete stacktrace
java.lang.IllegalArgumentException: avalon-framework,log4j,commons-logging,servletapi,javamail,jms,junit-Extension-Name
at java.util.jar.Attributes$Name.(Attributes.java:447)
at java.util.jar.Attributes.getValue(Attributes.java:99)
at weblogic.application.library.LibraryReferenceFactory.getOptPackReference(LibraryReferenceFactory.java:135)
at weblogic.application.internal.OptionalPackageProviderImpl.getOptionalPackages(OptionalPackageProviderImpl.java:44)
at weblogic.utils.classloaders.ClassFinderUtils.getOptionalPackages(ClassFinderUtils.java:142)
Truncated. see log file for complete stacktrace
>
Please help getting below error.
ReplyDeleteVersion: WebLogic Server 12.1.3.0.0
(Unknown Source)
at com.bea.objectweb.asm.ClassReader.(Unknown Source)
at weblogic.application.utils.annotation.ClassInfoImpl.(ClassInfoImpl.java:41)
at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:240)
at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:193)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException
at com.bea.objectweb.asm.ClassReader.(Unknown Source)
at com.bea.objectweb.asm.ClassReader.(Unknown Source)
at weblogic.application.utils.annotation.ClassInfoImpl.(ClassInfoImpl.java:41)
at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:240)
at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:193)
Truncated. see log file for complete stacktrace
This comment has been removed by the author.
ReplyDelete