I use 32-bit linux. I distilled all commands from this file

/opt/local/djatoka/bin/env.sh

as applicable to my Linux OS and put them directly into my custom
script that runs Tomcat (before calling Tomcat):

=======
export DJATOKA_HOME="/opt/local/djatoka"
export KAKADU_HOME="$DJATOKA_HOME/bin/Linux-x86-32"
export KAKADU_LIB="$DJATOKA_HOME/lib/Linux-x86-32"

JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true
-Dkakadu.home=$KAKADU_HOME
-Djava.library.path=$KAKADU_LIB
-DLD_LIBRARY_PATH=$KAKADU_LIB"
=======

Note: this will overwrite original LD_LIBRARY_PATH values with what is
needed for djatoka. Yo may also do in last line:

-DLD_LIBRARY_PATH=$MY_ORIG_LD_LIBRARY_PATH:$KAKADU_LIB

if $MY_ORIG_LD_LIBRARY_PATH is defiled before.

Serhiy



On Thu, Jun 23, 2011 at 4:50 AM, Chalk, Stuart <sch...@unf.edu> wrote:
> I wondered if anyone knows of a website that has a clear explanation of how 
> you modify the djatoka 1.1 install for Tomcat 6.
>
> After reading several email threads (including comments about the environment 
> variables) I have added . /opt/local/djatoka/bin/env.sh to my tomcat startup 
> script /opt/local/fedora/tomcat/bin/startup.sh.  However, it still does not 
> work because when I run http://localhost:8080/adore-djatoka/ no image shows 
> up. When I click on "Open Image in new window" I get a tomcat error ("HTTP 
> Status 500 -") and a java applet(?) opens up 
> (org.apache.catalina.startup.Bootstrap) on my OS (OSX 10.6). It looks like it 
> is trying to open another instance of tomcat?
>
> Tomcat is in /opt/local/fedora/tomcat
> Djatoka is in /opt/local/djatoka (with the war file deployed in tomcat/webapps
>
> Any thoughts appreciated...
>
> Stuart Chalk, Ph.D.
> Associate Professor of Chemistry
> Department of Chemistry, University of North Florida
> 1 UNF Drive, Jacksonville FL 32224
> P: 904-620-1938
> F: 904-620-3535
> E: sch...@unf.edu
> W: http://www.unf.edu/coas/chemistry/
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to