Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

WebSphere 8.5.5.13 application failed to startup

Moderators: Vladimir Kondratyev, Anton Katilin

WebSphere 8.5.5.13 application failed to startup

Postby [email protected] » Sun Feb 02, 2020 4:48 pm

Hello,
when trying startup web application after installing YourKit - the application is not start up.
i configured the "Generic JVM arguments" adding the "-agentpath:/home/centos/YourKit-JavaProfiler-2019.8/bin/linux-x86-64/libyjpagent.so=delay=100000" (after extracting the YourKit v2019.8 under "home/centos")

getting this exception in the WebSphere -

[2/2/20 9:54:42:240 UTC] 00000001 SchedulerComp I CWLRB5856I: The RUN_IN_MIXED_MODE property has a value of false.
[2/2/20 9:54:42:292 UTC] 00000001 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_fd3df1d1_20.02.02_09.54.42.2906131902743768894793.txt null 484
[2/2/20 9:54:42:293 UTC] 00000001 ContainerHelp E WSVR0501E: Error creating component null [class com.ibm.ws.management.component.AdminImpl]
java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory$ServerHolder (initialization failure)
at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:96)
at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:247)
at com.ibm.ws.management.component.AdminImpl.start(AdminImpl.java:1073)
at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:540)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:540)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:316)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:229)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:702)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:96)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:981)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:407)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:170)
Caused by: javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class com.ibm.ws.management.PlatformMBeanServerBuilder: java.lang.ClassNotFoundException: com.ibm.ws.management.PlatformMBeanServerBuilder
at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:514)
at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:550)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:327)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:242)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:203)
at java.lang.management.ManagementFactory$ServerHolder.<clinit>(ManagementFactory.java:466)
at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:247)
at com.yourkit.runtime.OomeDumper.setVMOption(OomeDumper.java:75)
at com.yourkit.runtime.OomeDumper.enable(OomeDumper.java:49)
at com.yourkit.runtime.TelemetryThread.run(TelemetryThread.java:526)
Caused by: java.lang.ClassNotFoundException: com.ibm.ws.management.PlatformMBeanServerBuilder
at java.net.URLClassLoader.findClass(URLClassLoader.java:609)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:924)
at java.lang.ClassLoader.loadClass(ClassLoader.java:869)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:329)
at java.lang.ClassLoader.loadClass(ClassLoader.java:852)
at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:457)
at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:499)
... 9 more








[2/2/20 9:54:54:516 UTC] 0000004a SystemOut O 09:54:54,516 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
[2/2/20 9:54:54:516 UTC] 0000004a SystemOut O 09:54:54,516 |-INFO in ch.qos.logback.classic.joran.action.JMXConfiguratorAction - begin
[2/2/20 9:54:54:541 UTC] 0000004a FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_6ca4c425_20.02.02_09.54.54.5315882454501553058204.txt com.ibm.ws.webcontainer.webapp.WebGroup 131
[2/2/20 9:54:54:547 UTC] 0000004a webapp E com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0015E: Failure to initialize Web application Personetics Bank
[2/2/20 9:54:54:569 UTC] 0000004a FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_6ca4c425_20.02.02_09.54.54.5493548706398649037256.txt com.ibm.ws.webcontainer.WebContainer 736
[2/2/20 9:54:54:587 UTC] 0000004a FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_6ca4c425_20.02.02_09.54.54.5693071956125526976091.txt com.ibm.ws.runtime.component.WebContainerImpl.install 124
[2/2/20 9:54:54:587 UTC] 0000004c webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: iehs.war.
[2/2/20 9:54:54:594 UTC] 0000004a DeployedAppli W WSVR0206E: Module, pbank.war, of application, PBank.ear/deployments/PBank, failed to start
[2/2/20 9:54:54:598 UTC] 0000004a ApplicationMg W WSVR0101W: An error occurred starting, PBank
[2/2/20 9:54:54:599 UTC] 0000004a ApplicationMg A WSVR0217I: Stopping application: PBank
[2/2/20 9:54:54:605 UTC] 0000004c WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key admin_host/ibm/help
[2/2/20 9:54:54:634 UTC] 0000004a ApplicationMg A WSVR0220I: Application stopped: PBank
[2/2/20 9:54:54:638 UTC] 0000004c webcontainer I com.ibm.ws.webcontainer.VirtualHostImpl addWebApplication SRVE0250I: Web Module null has been bound to admin_host[*:9060,*:9043].
[2/2/20 9:54:54:640 UTC] 0000004b webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: Personetics Server V3.0.
[2/2/20 9:54:54:678 UTC] 0000004b WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key default_host/pserver
[2/2/20 9:54:54:703 UTC] 0000004a SystemOut O WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
[2/2/20 9:54:54:704 UTC] 0000004a SystemOut O WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.
[2/2/20 9:54:54:769 UTC] 0000004a FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_6ca4c425_20.02.02_09.54.54.7203758006554516488698.txt com.ibm.ws.runtime.component.ApplicationMgrImpl 2288
[2/2/20 9:54:54:770 UTC] 0000004a CompositionUn E WSVR0194E: Composition unit WebSphere:cuname=PBank in BLA WebSphere:blaname=PBank failed to start.
[2/2/20 9:54:54:774 UTC] 0000004a FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_6ca4c425_20.02.02_09.54.54.7727687921882856587532.txt com.ibm.wsspi.runtime.component.WsComponentImpl 297
[2/2/20 9:54:54:774 UTC] 0000004a CompositionUn A WSVR0190I: Starting composition unit WebSphere:cuname=ibmasyncrsp in BLA WebSphere:blaname=ibmasyncrsp.
[2/2/20 9:54:54:845 UTC] 0000004a ApplicationMg A WSVR0200I: Starting application: ibmasyncrsp









did i miss anything? is there anything else that should be configured?

much appreciated
shai
[email protected]
 
Posts: 2
Joined: Sun Feb 02, 2020 4:29 pm

Re: WebSphere 8.5.5.13 application failed to startup

Postby Anton Katilin » Mon Feb 03, 2020 1:18 pm

Hello shai

Could you please send the profiler agent file <user home>/.yjp/log/<session name>-<pid>.log to [email protected]

Which Java do you use to run WebSphere? Could you please provide the output of corresponding "java -version".

Could you please check whether adding the agent startup option "disableall" heps:

-agentpath:/home/centos/YourKit-JavaProfiler-2019.8/bin/linux-x86-64/libyjpagent.so=delay=100000,disableall

Best regards,
Anton
Anton Katilin
 
Posts: 5951
Joined: Wed Aug 11, 2004 8:37 am

Re: WebSphere 8.5.5.13 application failed to startup

Postby [email protected] » Tue Feb 04, 2020 1:55 pm

hi,
just want to say that 'disableall' helped and now its ok
thanx
[email protected]
 
Posts: 2
Joined: Sun Feb 02, 2020 4:29 pm

Re: WebSphere 8.5.5.13 application failed to startup

Postby Anton Katilin » Tue Feb 04, 2020 2:25 pm

Thank you for the notice.

We would still like to investigate why it didn't work with other options. We would appreciate if you could provide the information we requested in the email we sent to you on February 3, subject "Re: WebSphere 8.5.5.13 application failed to startup".
Anton Katilin
 
Posts: 5951
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.