Tomcat 404 when trying to open labkey.

Installation Forum (Inactive)
Tomcat 404 when trying to open labkey. nstafford  2019-07-30 10:36
Status: Closed
 

Hello,

I've went through the tutorial to install labkey community edition on my windows 10 laptop. I've installed all the required software, and confirmed that postgres and tomcat are working. I've built a demo website in tomcat to confirm that it's been installed correctly.

I'm just having trouble linking it all together. the labkey.xml file clearly isn't functioning right, as when i navigate to localhost:8080/labkey, i get a 404 error:

HTTP Status 404 – Not Found
Type: Status Report
Message: Not found
Description: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Attached is a picture of my labkey.xml file. Currently, this file only resides in <CATALINA_HOME>/conf/Catalina/localhost/labkey.xml. Is this correct?
I'm really quite lost as to the issue. any help would be appreciated.

Thanks,
Noah

 
 
Jon (LabKey DevOps) responded:  2019-07-31 23:41
Hi Noah,

Your labkey.xml file looks slightly off. Typically database URLs should just be the server, the port (if applicable), and the database name.

For example:

jdbc:postgresql://localhost:5432/labkey

Your screenshot shows the word "postgres" between the port and the database name.

Can you try updating your XML file and then restart Tomcat?

Regards,

Jon
 
nstafford responded:  2019-08-01 10:11
This did the trick! Thanks!

Noah