Some test text!

menu
Retrieving Container Informationkeyboard_arrow_down

Retrieving Information about your Container

How do I get the logs for my WebViewer Server?

These logs are on the container in /usr/local/apache-tomcat/logs, you can copy them from the container by finding the ID of the container and then calling copy on the container's log directory.

If you are using docker-compose

docker-compose logs 2>&1 | tee out.log
docker ps ## get container ID
docker cp container_id:/usr/local/apache-tomcat/logs ./mylogs

If you are using only docker

docker ps ## get container ID
docker logs <container id> 2>&1 | tee out.log

If you are using the Windows installer, the logs are present at /<install directory>/apache-tomcat/logs.

How do I find the version of WebViewer Server?

If you refer to the logs, it should be present there as an entry:

INFO: {"PDFNet_version":8.0172545,"num_cpu":8,"os_arch":"amd64","os_name":"Linux","os_version":"5.2.14-arch2-1-ARCH","server_version":"1.4.0","total_memory":481.5}

If you cannot see the start of the logs, you can also go to the demo application on the server at server-link/demo?s and select the Server Info button to see the version.

My server crashed, what information is useful?

On Linux

  • The logs retrieved from docker-compose logs as described above.
  • The marker files at /usr/local/apache-tomcat/internal/Markers/*

    docker cp <container id> /usr/local/apache-tomcat/internal_data/Markers ./
  • hs_err_pid files from within the container if available, at the path /usr/local/apache-tomcat

    docker cp <container id> /usr/local/apache-tomcat/hs_err_pid* ./
  • A way to reproduce the issue if possible

If your container has shut down, it is possible to start it back up by finding its ID and calling docker start on it. To view shutdown containers and start them, do the following:

docker ps -a
docker start <container id>

On Windows

  • The logs at: install_dir/logs/*install_dir/internal/logs/*
  • The marker files at `install_dir/internal/Markers/*
  • hs_err_pid files from within the container if available, at the path /usr/local/apache-tomcat
  • A way to reproduce the issue if possible

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.