Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aprof not able to initialize the LocationStack #12

Open
sattishv opened this issue Mar 27, 2018 · 0 comments
Open

aprof not able to initialize the LocationStack #12

sattishv opened this issue Mar 27, 2018 · 0 comments

Comments

@sattishv
Copy link

Hi team,

We tried to integrate JBoss 7 with aprof. During the process JVM exited within few mins throwing class not found error . JDK used 1.7 U45 .Have listed the error stack trace plz review and let us know

--> Wrapper Started as Daemon
STATUS | wrapper | 2018/03/26 11:57:25 | Java Service Wrapper Community Edition 64-bit 3.5.22
STATUS | wrapper | 2018/03/26 11:57:25 | Copyright (C) 1999-2013 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2018/03/26 11:57:25 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2018/03/26 11:57:25 |
STATUS | wrapper | 2018/03/26 11:57:25 | Launching a JVM...
INFO | jvm 1 | 2018/03/26 11:57:27 | 2018-03-26T11:57:27.343-0700: aprof: Loading Aprof 32, Copyright (C) 2002-2017 Devexperts LLC...
INFO | jvm 1 | 2018/03/26 11:57:39 | 2018-03-26T11:57:39.425-0700: aprof: Writing dump to file aprof.txt...
INFO | jvm 1 | 2018/03/26 11:57:40 | 2018-03-26T11:57:40.151-0700: aprof: Writing dump to file aprof.txt... done
INFO | jvm 1 | 2018/03/26 11:57:40 | 2018-03-26T11:57:40.315-0700: aprof: Loaded in 12829 ms with 11088 ms in transformer (1741 ms other)
INFO | jvm 1 | 2018/03/26 11:57:42 | WrapperManager: Initializing...
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp:
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: java.lang.NoClassDefFoundError: com/devexperts/aprof/LocationStack
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at org.jboss.logmanager.LogManager.(LogManager.java:217)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at java.lang.Class.newInstance(Class.java:374)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at java.util.logging.LogManager$1.run(LogManager.java:184)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at java.security.AccessController.doPrivileged(Native Method)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at java.util.logging.LogManager.(LogManager.java:173)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at org.jboss.modules.Main.main(Main.java:278)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Method.java:606)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:290)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at java.lang.Thread.run(Thread.java:744)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: Caused by: java.lang.ClassNotFoundException: com.devexperts.aprof.LocationStack from [Module "org.jboss.logmanager:main" from local module loader @2c5ac6ce (roots: /x/web/STAGE2MA106834/fundingpolicyserv/standalone/modules,/x/opt/infra-jboss-as-7.1tls12/modules,/x/web/STAGE2MA106834/logs/fundingpolicyserv/logs)]
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
INFO | jvm 1 | 2018/03/26 11:57:49 | WrapperSimpleApp Error: ... 16 more
INFO | jvm 1 | 2018/03/26 11:57:51 | Exception in thread "Thread-1" java.lang.NoClassDefFoundError: Could not initialize class java.util.logging.LogManager
INFO | jvm 1 | 2018/03/26 11:57:51 | at java.util.logging.LogManager$Cleaner.run(LogManager.java:237)
INFO | jvm 1 | 2018/03/26 11:57:51 | 2018-03-26T11:57:50.948-0700: aprof: Shutting down...
INFO | jvm 1 | 2018/03/26 11:57:51 | 2018-03-26T11:57:50.949-0700: aprof: Writing dump to file aprof.txt...
INFO | jvm 1 | 2018/03/26 11:57:51 | 2018-03-26T11:57:51.396-0700: aprof: Writing dump to file aprof.txt... done
INFO | jvm 1 | 2018/03/26 11:57:51 | 2018-03-26T11:57:51.397-0700: aprof: Stopped after 11232 ms with 4584 ms in transformer (6648 ms other)
STATUS | wrapper | 2018/03/26 11:57:51 | <-- Wrapper Stopped

Thanks
Sattish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant