Error merging Java EE JNDI entries in to war

Glenn Holmer <[email protected]>
Newsgroups gmane.comp.java.openejb.user
Message-ID <749bb3a1-9e2e-dd6b-1cdc-146791ed3c9e__25088.5296891042$1678812993$gmane$org@protonmail.com>
I've switched from Payara to TomEE, and I'm having trouble deploying my
app. Here's what I'm seeing in the log:

14-Mar-2023 11:11:36.335 INFO [http-nio-8080-exec-10]
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke Deploying web
application archive
[/opt/apache-tomee-webprofile-9.0.0/webapps/geoFont-web.war]
14-Mar-2023 11:11:36.336 INFO [http-nio-8080-exec-10]
org.apache.tomee.catalina.TomcatWebAppBuilder.init
------------------------- localhost -> /geoFont-web
14-Mar-2023 11:11:36.339 INFO [http-nio-8080-exec-10]
org.apache.openejb.util.JarExtractor.extract Extracting jar:
/opt/apache-tomee-webprofile-9.0.0/webapps/geoFont-web.war
14-Mar-2023 11:11:36.392 INFO [http-nio-8080-exec-10]
org.apache.openejb.util.JarExtractor.extract Extracted path:
/opt/apache-tomee-webprofile-9.0.0/webapps/geoFont-web
14-Mar-2023 11:11:36.395 WARNING [http-nio-8080-exec-10]
org.apache.tomcat.util.digester.Digester.endElement No rules found
matching [Context/Server/Listener]
14-Mar-2023 11:11:36.396 WARNING [http-nio-8080-exec-10]
org.apache.tomcat.util.digester.Digester.endElement No rules found
matching [Context/Server]
14-Mar-2023 11:11:36.405 SEVERE [http-nio-8080-exec-10]
jdk.internal.reflect.NativeMethodAccessorImpl.invoke Creation of the
naming context failed: [javax.naming.OperationNotSupportedException:
Context is read only]
14-Mar-2023 11:11:36.406 SEVERE [http-nio-8080-exec-10]
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal Error
merging Java EE JNDI entries in to war /geoFont-web: Exception: Cannot
invoke "javax.naming.Context.createSubcontex\
t(String)" because "currentContext" is null

I'm not even sure where to start looking, can anybody give a suggestion?

--
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.