https://bz.apache.org/bugzilla/show_bug.cgi?id=65805
Bug ID: 65805
Summary: No file present inside ./module/stuffed/conf/ and
tomcat stuffed native image is dependent on server.xml
file in current directory
Product: Tomcat 10
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ------
I am trying to build a native image of tomcat on GraalVM by referring to the
doc at
"https://tomcat.apache.org/tomcat-9.0-doc/graal.html#Building_the_native_image".
The documentation says, "Inside the tomcat-stuffed folder, the directory
structure is the same as for regular Tomcat. The main configuration files are
placed in the conf folder, and if using the default server.xml the webapps are
placed in the webapps folder."
But if you clone the repo
"https://github.com/apache/tomcat/tree/main/modules/stuffed" there is no files
inside tomcat/module/stuffed/conf folder except .gitignore file.
After building the native image, while I am trying to run the native image on
another server it fails as it is unable to find conf/server.xml on that server.
Do we have any workaround to package the conf folder into the native image?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]