--- title: "Installing the sample website" slug: "oas-fullsdk-pgjava-install-the-sample-authentication-website-3-29" updated: 2026-01-16T13:03:47Z published: 2026-01-16T13:04:37Z canonical: "docs.onespan.com/oas-fullsdk-pgjava-install-the-sample-authentication-website-3-29" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Installing the sample website ## Before you begin To install the sample website, you require the following: - Java 17 - Jakarta EE 10 web profile-compatible web container, for example, Apache Tomcat 10.1. The code samples have been tested on Windows with Apache Tomcat 10.1.48 based on Jakarta EE 10 and JDK 17. ## Install the sample website To install the Java sample authentication website 1. Copy the sample website WAR file to the tomcat_install_dir\webapps directory: - sdk_install_dir\Jakarta\bin\OASAuthSampleSite‑sdk_version.war auth-sdk - sdk_install_dir\Jakarta\bin\OASSampleSite‑sdk_version.war full-sdk 2. Wait 10 seconds to allow the Apache Tomcat service to detect and automatically deploy the web archive file. 3. Restart the Apache Tomcat service to complete the deployment. The application should now be deployed and accessible via: Replace port with: > You can rename the web archive file to change also the URL, e.g. rename it to FriendlyName.war and access it via [https://localhost:8443/FriendlyName/](//localhost:8443/FriendlyName/). - https://localhost:port/OASAuthSampleSite-/ auth-sdk - http://localhost:port/OASSampleSite-/ full-sdk - 8443 if you installed the SDK on a server along with OneSpan Authentication Server using the embedded Apache Tomcat package. - 8080 if you installed the SDK on a server with a regular Apache Tomcat installation.