[Thread Prev][Thread Next][Index]

Re: [las_users] LAS installation problem


We have had some difficulties trying to support different versions of java and Tomcat with a single LAS release.

I would invite you to try the most recent release of LAS which was just added to the downloads page:


You may again need to recompile the LAS java code by typing 'make' in the top level directory but I am hopeful that this version of LAS will solve your problems. Please let us know if it does not.

-- Jon

Roger Olivella wrote:

Hi all,

I'm trying to build a LAS server with this setup:

Ferret 5.81
Apache 2.0.54
Jakarta Tomcat 5.5.4
Java 1.5.0_06
Linux Fedora 4
Perl 5.8.6

While running "configure" to install LAS, I decided to use a different Tomcat installation for LAS (v5.5.4 at /usr/local/tomcat, port 8180) and don't use a proxy pass or connector from the HTTP server to the tomcat server.

Finally, at the end of the installation I get this message from the script: "Configuration completed succesfully". I restart the servers (httpd and tomcat) and try /usr/local/las/bin/initialize_check.sh, but always get the same error:

get_las_page.pl failed, server response was: 500 Internal Server Error
Initialization failed.

Same at my browser:

java.lang.ClassCastException: java.lang.NoClassDefFoundError

I've tried what is suggested at http://ferret.pmel.noaa.gov/Ferret/LAS/Mail_Archives/fu_2005/msg00134.html:

cd $LAS_HOME/las_servlet
ant clean
ant dist

And get:

ant clean

Buildfile: build.xml


Total time: 0 seconds

ant dist

Buildfile: build.xml


[javac] Compiling 111 source files to /usr/local/las/las_servlet/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

[war] Building war: /usr/local/las/las_servlet/las.war

Total time: 7 seconds

After these steps are completed I rerun the "configure" and...get the same "java.lang.ClassCastException"!

What I'm doing wrong?

Any help would be appreciated.


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement