Forum Stats

  • 3,770,440 Users
  • 2,253,113 Discussions
  • 7,875,456 Comments

Discussions

Unable to start wsm-pm in oracle mobile security server

Qasim Tahir
Qasim Tahir Member Posts: 16
edited Sep 18, 2015 6:46AM in Mobile Security Suite

I am unable to start wsm-pm in mobile security suite server. While starting omsm_server1 i got this error. Trying to manually start it up didn't help, the status still shows up as "Failed". After this manual start, I've noticed the following exception in omsm_server1 logs.

<Aug 20, 2015 8:22:42 PM PKT> <Error> <HTTP> <BEA-101216> <Servlet: "wsmtest.jaxws.diagnostic.Diagnostic" failed to preload on startup in Web application: "Diagnostic".

java.lang.NoClassDefFoundError: sun/io/CharacterEncoding

  at oracle.j2ee.ws.common.util.TestPageUtils.encode(TestPageUtils.java:216)

  at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.createTestPagePath(WebServiceOperation.java:276)

  at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.initialize(WebServiceOperation.java:253)

  at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.<init>(WebServiceOperation.java:244)

  at oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.registerWebServiceOperationMBean(GenericProviderInterceptorPipeline.java:175)

  Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: sun.io.CharacterEncoding

  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

  at oracle.j2ee.ws.common.util.TestPageUtils.encode(TestPageUtils.java:216)

  Truncated. see log file for complete stacktrace

>

<Aug 20, 2015 8:22:42 PM PKT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'wsm-pm'.

weblogic.application.ModuleException: [HTTP:101216]Servlet: "wsmtest.jaxws.diagnostic.Diagnostic" failed to preload on startup in Web application: "Diagnostic".

java.lang.NoClassDefFoundError: sun/io/CharacterEncoding

  at oracle.j2ee.ws.common.util.TestPageUtils.encode(TestPageUtils.java:216)

  at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.createTestPagePath(WebServiceOperation.java:276)

  at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.initialize(WebServiceOperation.java:253)

  at oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.<init>(WebServiceOperation.java:244)

  at oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.registerWebServiceOperationMBean(GenericProviderInterceptorPipeline.java:175)

  at oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.registerWebServiceOperationMBeans(GenericProviderInterceptorPipeline.java:250)

  at oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.registerWebServiceMBeans(GenericProviderInterceptorPipeline.java:161)

  at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.<init>(AbstractProviderInterceptorPipeline.java:130)

  at oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.<init>(GenericProviderInterceptorPipeline.java:103)

  at oracle.j2ee.ws.server.provider.GenericProviderPlatform.createProviderInterceptorPipeline(GenericProviderPlatform.java:211)

  at oracle.j2ee.ws.server.provider.management.ProviderInterceptorPipelineManager.createProviderInterceptorPipeline(ProviderInterceptorPipelineManager.java:101)

  at oracle.j2ee.ws.server.provider.management.ProviderInterceptorPipelineManager.createProviderInterceptorPipeline(ProviderInterceptorPipelineManager.java:80)

  at oracle.j2ee.ws.server.provider.ProviderProcessor.configureProviderManagement(ProviderProcessor.java:353)

  at oracle.j2ee.ws.server.provider.ProviderProcessor.init(ProviderProcessor.java:198)

  at oracle.j2ee.ws.server.provider.ProviderServlet.initializeProcessor(ProviderServlet.java:634)

  at oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:313)

  at oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:242)

  at javax.servlet.GenericServlet.init(GenericServlet.java:241)

  at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)

  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

  at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)

  at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)

  at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)

  at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)

  at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)

  at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)

  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)

  at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)

  at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

  at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

  at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

  at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

  at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)

  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

  at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

  at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

  at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

  at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

  at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

  at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

  at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)

  at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

  at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)

  at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

  at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

  at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

  at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)

  at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)

  at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

  at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Caused by: java.lang.ClassNotFoundException: sun.io.CharacterEncoding

  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

  ... 59 more

  at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)

  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

  Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: sun.io.CharacterEncoding

  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

  at oracle.j2ee.ws.common.util.TestPageUtils.encode(TestPageUtils.java:216)

  Truncated. see log file for complete stacktrace

>

[EL Info]: 2015-08-20 20:22:46.724--ServerSession(1161768496)--EclipseLink, version: Eclipse Persistence Services - 2.3.1.v20111018-r10243

[EL Info]: 2015-08-20 20:22:46.73--ServerSession(1161768496)--Server: 10.3.6.0

[EL Info]: 2015-08-20 20:22:47.057--ServerSession(1161768496)--zip:/home/idm_ext/idm/Middleware/user_projects/domains/oam_domain/servers/omsm_server1/tmp/_WL_user/omsm_11.1.2.3.0/7m8c9p/APP-INF/lib/msm-all.jar!/_msm_nonJtaDataSource=jdbc/omsm-ds login successful

Here are versions of weblogic and mobile security suite:

Weblogic=10.3.6

OMSS=11.1.2.3.0

RCU=11.1.1.9.0

Does anyone know or have an idea about what could be wrong here? Suggest any possible resolution. Any help/hint will be very much appreciated.

Thanks and Regards,

Qasim

Best Answer

Answers