bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.34k stars 4.8k forks source link

[bitnami/jasperreports] init script for tomcat connectors allways produce "localhost" in AJP connector #12994

Closed Kendak closed 1 year ago

Kendak commented 1 year ago

Name and Version

bitnami/jasperreports:8

What steps will reproduce the bug?

After start init scripts produce in server.xml this for AJP connector:

    <Connector protocol="AJP/1.3" address="localhost" secretRequired="false" port="8009" redirectPort="8443"/>

'localhost' value is hardcoded in scripts

What is the expected behavior?

It would be fine: add new parameter called e.g.: TOMCAT_AJP_ADDRESS with default value "localhost", that can be overrided from docker-compose.yml

What do you see instead?

Hardcoded address 'localhost' produce allways address localhost in AJP connector in server.xml:

    <Connector protocol="AJP/1.3" address="localhost" secretRequired="false" port="8009" redirectPort="8443"/>

Additional information

No response

javsalgar commented 1 year ago

Hi,

Thank you so much for the feature request! Would you like to submit a PR adding support for the variable?

github-actions[bot] commented 1 year ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 1 year ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.