Hi,
Tomcat : 8.5.30
Java 8
OS : macOS Mojave 10.14.6
Setting up a few (spring-boot) applications as WARs in a tomcat
server. I'm using the WAR names as the 'context'. Can this context
include regex in the path ?
Sample Endpoint : /tenant/{tenantId}/entity/{entityId} ;
Here tenantId is numeric (5 digits);
Trying to set up the context(war name) as 'tenant#*#entity', but '*'
does not seem to work :
Caused by: java.lang.IllegalArgumentException: Repository: cannot add
mbean for pattern name
Catalina:type=ParallelWebappClassLoader,host=localhost,context=/tenant/*/entityAny suggestions ? Warm Regards Siddharth -- *Disclaimer:* The information contained in this email is confidential and may contain proprietary and/or personal information. It is meant solely for the intended recipient. Access to this email by anyone else is unauthorised. E-mails cannot be guaranteed to be secure or free of errors or viruses. No liability or responsibility is accepted for any interception, corruption, late arrival, incompleteness or non-delivery. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
