Skip to content

Deployed successfully to Kubernetes but not browsable #65

@klliew18

Description

@klliew18

Hi,

I tried to deploy jasperreports-server-pro-7.8.0-bin into Docker-desktop Kubernetes.
The logs show successfully deployed and the server is up. Pods, Services, LoadBalancer everything seems fine.
However, when try to browse localhost (external IP) getting ERR_EMPTY_RESPONSE (This page isn’t working)

Deployment success:
25-Jul-2021 11:35:06.847 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
25-Jul-2021 11:35:06.847 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
25-Jul-2021 11:35:06.854 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1d 10 Sep 2019]
25-Jul-2021 11:35:07.275 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
25-Jul-2021 11:35:07.340 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-8443"]
25-Jul-2021 11:35:07.650 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1066] milliseconds
25-Jul-2021 11:35:07.721 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
25-Jul-2021 11:35:07.721 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.37]
25-Jul-2021 11:35:07.735 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/jasperserver-pro]
25-Jul-2021 11:35:23.696 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
log4j:ERROR Unexpected char [e] at position 17 in conversion patterrn.
25-Jul-2021 11:35:46.618 INFO [main] java.util.prefs.FileSystemPreferences$1.run Created user preferences directory.
25-Jul-2021 11:36:09.245 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/jasperserver-pro] has finished in [61,507] ms
25-Jul-2021 11:36:09.252 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
25-Jul-2021 11:36:09.267 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-8443"]
25-Jul-2021 11:36:09.276 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [61625] milliseconds

kubectl get services:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
jasperserver-pro LoadBalancer 10.97.214.102 localhost 80:30981/TCP,443:32473/TCP 4h2m

Appreciate if could advise on this. Thank you much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions