[Thread Prev][Thread Next][Index]
LAS 6_5_0_4 Installation Error
Richard,
I'm ccing the las_users group which bounces non-member submissions.
I've included your email so it'll be in the archives. Our suggestions
are at the end.
-- Jon
Hi,
I am building a las server (have done it before, older
versions).
ferret_v580
las_6_5_0_4
java j2sdk1.4.2_08
Apache 1.3.33
on Linux
When i run "cd /opt/las && ./startserver", it starts
OK.
root 32085 1 1 14:24 pts/1 00:00:07
/usr/bin/java -Djava.awt.headless=true
-Djava.endorsed.dirs=/opt/las/las_servlet/jakarta/common/endorsed
-classpath
/usr/lib/tools.jar:/opt/las/las_servlet/jakarta/bin/bootstrap.jar:/opt/las/las_servlet/jakarta/bin/commons-logging-api.jar
-Dcatalina.base=/opt/las/las_servlet/jakarta
-Dcatalina.home=/opt/las/las_servlet/jakarta
-Djava.io.tmpdir=/opt/las/las_servlet/jakarta/temp
org.apache.catalina.startup.Bootstrap start
/opt/las$ ./startserver.sh
Using CATALINA_BASE: /opt/las/las_servlet/jakarta
Using CATALINA_HOME: /opt/las/las_servlet/jakarta
Using CATALINA_TMPDIR:
/opt/las/las_servlet/jakarta/temp
Using JAVA_HOME: /opt/j2sdk1.4.2_08
Using JAVA_OPTS: -Djava.awt.headless=true
But when i try to access it from webserver, i get ::
java.lang.ClassCastException
gov.noaa.pmel.tmap.ExceptionFilter.doFilter(ExceptionFilter.java:39)
i looked @ archives, and suggestion was to rm las.war
and webapps/las and run "ant dist". I did that...no
changes to the issues.
las_servlet#ant dist
Buildfile: build.xml
prepare:
compile:
dist:
[war] Building war: /opt/las/las_servlet/las.war
BUILD SUCCESSFUL
Total time: 3 seconds
Pse: I am not currently subscribed..so please cc me.
What else am I missing?
Also i cannot load the default configs, I get eror
(during configure) that says::
Generating dataset COADS climatology
Generating dataset Levitus Climatology
UI property in 'file:///ui.xml#VecVariable' must refer
to file:ui.xml at ../xml/perl/LASServlet.pm line 2059.
Error in generating HTML.
The first problem:
You need to add an "ant clean" step before you do the "ant dist" step.
All you did with 'ant dist' was put the existing ".class" files into the
las.war instead of re-compiling them.
You should see a message like:
[javac] Compiling 111 source files to
/home/stout/rhs/las/las_servlet/classes
under the "compile:" ant target message to know that the classes are
being re-compiled.
The second problem relates to a Perl module. Your URI (we think that's
the right one) module is "too new" and it's leaving a slash when it
resolves the file://las.xml url. The LAS configuration code only checks
to make sure that perl module versions are 'higher than x.y'.
Try inserting the following lines into configure.pl at line 1651 (just
before the test for ($module eq 'Template')).
} elsif ($module eq 'URI') {
# More recent versions of URI leave an extra slash when resolving 'file://las.xml'.
require('DBI.pm');
if ($DBI::VERSION <= 1.19) {
$found = 1;
last;
}
After making this change, the configure script should compile the URI
module distributed with LAS if the currently installed URI module has a
higher version number than the one we distribute.
-- Jon
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement