Error Starting Tomee Plume 7.0.3, 7.1.0 with javamelody 1.68.0 through 1.75.0
See original GitHub issueThis gives me following exception
org.apache.openejb.OpenEJBException: Creating application failed: [xxxx redacted xxxx]: class net.bull.javamelody.internal.common.LogbackLogger cannot access its superinterface net.bull.javamelody.JavaMelodyLogger
at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:1042)
at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:718)
at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1298)
at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1124)
[xxx shortened xxx]
Caused by: java.lang.IllegalAccessError: class net.bull.javamelody.internal.common.LogbackLogger cannot access its superinterface net.bull.javamelody.JavaMelodyLogger
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2277)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:811)
[xxx shortened xxx]
Important part is that stating:
net.bull.javamelody.internal.common.LogbackLogger
cannot access its superinterfacenet.bull.javamelody.JavaMelodyLogger
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Downloads - Apache TomEE
Apache TomEE is a lightweight, yet powerful, JavaEE Application server with feature rich tooling.
Read more >tomee won't start from within eclipse - Stack Overflow
Both version of TomEE, witch is Apache TomEE plume 8.0.0-M3 and Apache Tomee plume 7.1.0, it seems to run without error, both started...
Read more >Apache TomEE 8.0.0 Installation on Windows 10 ... - YouTube
In this video we are going to see how to install Apache TomEE 8.0.0 Plume on Windows 10 using Oracle JDK 8. TomEE...
Read more >tomee
Apache TomEE Plus delivers all that is in the Web Profile and JAX-RS (RESTfull Services), plus EJB Full, Java EE Connector Architecture, JMS...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you are welcome
I have removed from javamelody the automatic monitoring of
@Asynchronous
methods, because it was working in some application server(s) but it does not seem to be valid according to CDI spec (and according to TomEE plume). Note that you may continue to monitor CDI/EJB methods with a javamelody annotation or by configuration, see https://github.com/javamelody/javamelody/wiki/UserGuide#8-business-facades-ejb-jarxml-file-if-ejb3-or-cdiThe issue is fixed by 406639b and ready for the next release 1.76.
Meanwhile you may workaround the issue by adding a file
WEB-INF\exclusions.list
in your webapp with the following content: