Hi,
I’m migrating from geoserver 2.25.2 to 2.27.2 and using the docker image also.
I follow the documentation, that says the context.xml now is inside the tomcat server.xml, but somehow the geoserver cannot find it.
I’m using the oracle plugin, with JNDI connection.
server.xml
<Context antiResourceLocking="false" override="true" docBase="geoserver" privileged="false" crossContext="true" path="${WEBAPP_CONTEXT}">
<!-- check parameters https://tomcat.apache.org/tomcat-9.0-doc/jdbc-pool.html -->
<Resource name="jdbc/oracle"
auth="Container"
driverClassName="oracle.jdbc.OracleDriver"
factory="org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"
......
/>
</Context>
docker compose environment variables:
environment:
- WEBAPP_CONTEXT=/geoserver
- SKIP_DEMO_DATA=true
- INSTALL_EXTENSIONS=true
- STABLE_EXTENSIONS=control-flow,css,oracle,printing,querylayer
error:
Any thoughts on this?
Thank you,
Tiago
