I was also running into this on EA 17, but 18 is current. I had Tomcat
and all my stuff, some Jersey and minor Webapps without issues on JDK
11 EA 9 up to like Tomcat 9.0.6, I think also 9.0.7.

As of late I am not able to start much. The base Tomcat starts but
all webapps fail with "ManagedBean is not found in *", as seen below. I
have tried many things to resolve unsuccessfully. I am looking for
suggestions. Not sure if this is JDK changes, some missing dependency
on bootstrap classpath or within the container, lib directory. Seems to
be something in the JDK. It builds fine, and starts. Just no webapps.

Thanks in advance for any ideas on how to fix!!!

Background

I am doing things a bit abnormal. Running Gentoo building from source
without ant, tomcat split into many packages, all deps built from
source, etc. It all been working fine for sometime even on JDK 11.

tomcat-* packages here
https://github.com/Obsidian-StudiosInc/os-xtoo/tree/master/dev-java
Meta package
https://github.com/Obsidian-StudiosInc/os-xtoo/tree/master/www-servers/tomcat

Exception snippets

org.apache.catalina.deploy.NamingResourcesImpl.initInternal
namingResources.mbeanCreateFail javax.management.MBeanException
Caused by: java.lang.Exception: ManagedBean is not found with
ContextResource at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:152) ...
12 more

org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
Exception creating UserDatabase MBeans for UserDatabase
java.lang.IllegalArgumentException: Cannot create UserDatabase MBean
for resource UserDatabase Caused by: javax.management.MBeanException at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:308)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:172)
 ...
15 more Caused by: java.lang.Exception: ManagedBean is not found with
MemoryUserDatabase at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:307) ...
16 more

org.apache.catalina.deploy.NamingResourcesImpl.initInternal
namingResources.mbeanCreateFail javax.management.MBeanException
Caused by: java.lang.Exception: ManagedBean is not found with
ContextResource at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:152) ...
43 more


-- 
William L. Thomson Jr.

Attachment: pgpiMJPHTXKcH.pgp
Description: OpenPGP digital signature

Reply via email to