Help with manual installation

Installation Forum (Inactive)
Help with manual installation philip wu  2015-02-15 15:07
Status: Closed
 
I'm trying to install test version on my local machine but when I start up tomcat I get quite a few errors

1) org.labkey.api.util.ConfigurationException: This server does not appear to be compiled for production mode
2) java.io.IOException: Failed to process C:\Program Files (x86)\LabKey Server\modules\survey.module
3) java.lang.ClassNotFoundException: org.labkey.core.view.ShortURLFilter


The postgres tables are never created

Running windows 7
Apache Tomcat 7.0.56
JDK build 1.7.0_21-b11

Any help would be appreciated

thanks
 
 
adam responded:  2015-02-15 20:48
To address #1, you need to compile the server using the command line "ant production". See these pages for more details:

- https://www.labkey.org/announcements/home/Developer/Forum/thread.view?entityId=42583284-2c04-1032-864b-daf491c38828
- https://www.labkey.org/wiki/home/Documentation/page.view?name=build

Adam
 
Jon (LabKey DevOps) responded:  2015-02-16 10:01
Hi Philip,

In addition to what Adam said, the 3rd error occurs within Apache starting up. Within the documentation that Adam provided you in the second link, it contains the details on how Tomcat should be configured (including the URIEncoding).

I believe your survey module should process once you compile the server using the "ant production" option and you've verified you're setup.

Regards,

Jon
 
philip wu responded:  2015-02-16 13:16
Sorry i should have been more clear.
I'm using the prepackaged binaries for manual installation found here:

http://labkey.s3.amazonaws.com/downloads/general/r/14.3/LabKey14.3-36031.29-bin.zip

So I'm not doing any complications ( or at least based on the instructions from the docs, no compilations should be required?)


Anyhow, I worked around it by using the windows installer for testing purposes, but thought someone should know that the binaries don't appear to be working may be missing some files not found on the classpath.
 
Jon (LabKey DevOps) responded:  2015-02-16 17:47
Hi Philip,

Yes, for the version you downloaded, there should be no compiling of the software.

However, I didn't encounter the issue you did when installing a fresh version of LabKey Server via the binaries on a clean installation of Windows 8.1 Pro, using the steps outlined here:

https://www.labkey.org/wiki/home/Documentation/page.view?name=manualInstall

When you did the install before using the windows installer version, did you follow the instructions in the manual Install documentation?

Regards,

Jon