This article applies to clients that use Microsoft Endpoint Configuration Manager to launch the Apache Tomcat server.
Problem
By default, Apache Tomcat binds to ports 8005, 8080, and 8009. However, in environments using Configuration Manager’s express update tools, port 8005 is instead bound to the SYSTEM Process (PID: 4). When this occurs, it can prevent Apache Tomcat from starting up (because port 8005 is already in use), which then prevents Typefi Server from launching.
How to change the default port
- Make sure that Typefi Workgroup, Typefi Desktop, or Apache Tomcat 2.x (if installed) are not running.
Typefi Workgroup Server or Apache Tomcat 2.x Typefi Desktop a. Open Services and right-click on Typefi Workgroup Server or Apache Tomcat 2.x.
b. Click Stop in the context menu.
a. Open Task Manager and locate Typefi Desktop Server 8.x.
b. Shut down Typefi Desktop Server 8.x.
- In the start menu, type the command (cmd) netstat -ano, to find a list of ports currently in use on your device. Choose an available port to replace port 8005.
- Locate the server.xml file for your installation.
- Typefi Server: C:\ProgramFiles\Typefi\Server\conf\
- Typefi Desktop: C:\ProgramData\Typefi\DesktopServer\conf\
- Right-click on Notepad (or your preferred text editor) and run as administrator. Then, open the server.xml file in the text editor.
- Change the shutdown port 8005 to a new port value.
Example Shutdown port Change <Server port="8005" shutdown="SHUTDOWN"> To <Server port="8006" shutdown="SHUTDOWN">
- Save the changes to the server.xml file.
- Restart Typefi Desktop, Typefi Workgroup Server, or Apache Tomcat 2.x (if installed) to verify that Typefi is running correctly.
Typefi Workgroup Server or Apache Tomcat 2.x Typefi Desktop a. Open Services and right-click on Typefi Workgroup Server or Apache Tomcat 2.x.
b. Click Start in the context menu.
a. Click on the Start Typefi Desktop shortcut.
b. Wait 30 seconds before launching the Typefi Desktop Shortcut. Then, verify the login page appears.
If you have any questions, please contact us. We're here to help.
Comments
0 comments
Please sign in to leave a comment.