Re: Deadlock calling NCARG from Apache Tomcat

From: Dave Allured <dave.allured_at_nyahnyahspammersnyahnyah>
Date: Mon, 13 Oct 2008 18:03:46 -0600

Kevin,

Since no one else has responded about Java and Tomcat, you probably
need to resort to more basic debugging methods. What version of
NCAR Graphics are you running? Did you build NCARG from source, or
use pre-compiled binaries? What platform and OS and version is
NCARG running on, when your C program is invoked? (uname -a)

Is the program set up to output to X11 or to a file format such as
Postscript or PDF? What statement is executed when the program
locks? Are there any error messages? Is it possible that error
messages to stdout or stderr were suppressed within the Java/Tomcat
environment?

Dave Allured
CU/CIRES Climate Diagnostics Center (CDC)
http://cires.colorado.edu/science/centers/cdc/
NOAA/ESRL/PSD, Climate Analysis Branch (CAB)
http://www.cdc.noaa.gov/

Stewart, Kevin L. (GSFC-614.5)[INOVM] wrote on 2008-sep-19:
> Hey folks,
>
> Has anyone seen a similar problem before or know where I can get some
> help? I posted this a couple weeks back and didn’t see any replies.
>
> Kevin L. Stewart
> Innovim
> NASA GSFC, Code 614.5
> 301-286-8385
>
> *From:* Stewart, Kevin L. (GSFC-614.5)[INOVM]
> *Sent:* Friday, August 22, 2008 4:26 PM
> *To:* 'ncarg-talk_at_ucar.edu'
> *Subject:* Deadlock calling NCARG from Apache Tomcat
>
> Hi, I’m brand new to this list. I’m currently working for NASA on a
> small exploration project involving visualizing science data on maps.
> Our main application is in Java running in the Apache Tomcat application
> server but we implemented the visualization portion in C that calls the
> NCAR Graphics package. The visualization utility works find from the
> command line but locks every time when we run it from Tomcat/Java. I
> have code in place to read and flush the input and error buffer streams
> but that didn’t fix the locking problem. As anyone else every had
> similar problems between NCARG and Java or Tomcat? BTW, I’ve verified
> that the NCARG_ROOT and PATH properties are defined correctly.
>
> Kevin L. Stewart
> Innovim
> NASA GSFC, Code 614.5
> 301-286-8385
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Mon Oct 13 2008 - 18:03:46 MDT

This archive was generated by hypermail 2.2.0 : Sat Nov 01 2008 - 07:16:33 MDT