Received HTTP Status 404 After LWA Installation when Navigating to loftwarewebaccess
Problem
Once you have finalized your Loftware Web Access installation and you attempt to navigate to your Loftware WebAccess Login "localhost:8080/loftwarewebaccess" (using your favorite browser). You received an HTTP Status 404 error preventing you from reaching the login screen. Often when we see the description read "The requested resources is not available" usually stems from your Tomcat configuration. Suggesting to begin your troubleshooting with Tomcat.
The details of the error:
- Type: Status report
- Message: n/a
- Description: The requested resources is not available.
Click the Link Below to Expand for Additional Information
Fig.1
Explanation
In my installation it was due an incorrect configured path within the Tomcat6w.exe properties | Java tab. Specifically, the Java Classpath was not pointing to the Loftware "Conf" folder.
Fig.2
Here's the path within the Tomcat Apache Software Folder
C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\Loftware\conf
NOTE: if you have installed the tomcat 64 bit edition your program path will be as follows
C:\Program Files\Apache Software Foundation\Tomcat 6.0\Loftware\conf
Solution
In this example by pointing the Java Classpath to the Loftware>Conf folder corrected the issue.The path below shows the complete default path found in the Java Classpath field. (See fig.2)
C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar
---
The path example below is appended at the end of the default Java Classpath. Be sure to use the ';' semi-colon as the path divider.
;C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\Loftware\conf
An example of the entire Java Classpath
C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar;C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\Loftware\conf
If you are now able to reach the Loftware WebAccess Login page the issue related specifically to this solution. If not, it is suggested to continue troubleshooting with the Tomcat folder.
Fig.3 Loftware WebAccess Login Screen
Keep in mind this information that is addressed in this KB is only one possible reason for why a HTTP Status 404 or Not Found error message can be generated .
In conclusion
It is important to note that step is a part of the Loftware WebAccess and Web Services Installation Guide 2.4.pdf located on page 16 of Installing and Configuring Apache Tomcat. The purpose of this KB Article is to help you troubleshoot in the event you experience a Status 404 error during your installation. Reiterating, that this article is only one of many reasons why you could encounter this particular error.
Article Number
2016043
Versions
All Loftware WebAccess
All supported LPS family product versions.
Environment
All Windows Environments