I figured it out.  It was a library issue.

Thank you for your help.


John Byrne
System Administrator, IS&T
john_by...@apple.com




On Aug 28, 2012, at 9:42 AM, John Byrne wrote:

> We call a script that sets variables (See below) and then this script calls 
> ...tomcat/startup.sh 
> (See below)
> 
> 
> John Byrne
> System Administrator, IS&T
> john_by...@apple.com
> 
> 
> 
> AppName=Service
> INST=$1
> export SPLUNK_ACCESS_LOGS=/ngs/app/`whoami`/var/`hostname`/accessLogs/$AppName
> export CATALINA_LOGS=/ngs/app/`whoami`/var/log/$AppName
> 
> if [ "$INST" == "" ]; then
>       echo assuming you meant instance 1 since none was given
>       INST="1"
> fi
> 
> if [ "$INST" == "1" ]; then
> export CATALINA_BASE_PORT=7802
> export CATALINA_SHUTDOWN_PORT=7804
> export JAVA_OPTS="-Xms1024m -Xmx2048m -XX:MaxPermSize=1024m 
> -Dport.http.nonssl=$CATALINA_BASE_PORT 
> -Dport.http.shutdown=$CATALINA_SHUTDOWN_PORT -Dcom.sun.management.jmxremote 
> -Dcom.sun.management.jmxremote.port=5802 
> -Dcom.sun.management.jmxremote.ssl=false 
> -Dcom.sun.management.jmxremote.authenticate=false -Denv=qa 
> -Duser.timezone=GMT -Dfile.encoding=UTF-8 -Dorg.apache.cocoon.mode=qa 
> -Dtangosol.coherence.cacheconfig=$CATALINA_BASE/conf/coherence-cache-config.xml
>  -Dsplunk.accesslogs=$SPLUNK_ACCESS_LOGS -DAppName=$AppName"
> fi
> export CATALINA_BASE=/ngs/app/`whoami`/Tomcat/$AppName
> export CATALINA_PID="$CATALINA_BASE/tomcat_$CATALINA_BASE_PORT.pid"
> export 
> CATALINA_OUT="$CATALINA_BASE/logs/catalina_${AppName}_$CATALINA_BASE_PORT.out"
> export JAVA_HOME=/ngs/app/`whoami`/java_home
> /ngs/app/`whoami`/Tomcat/tomcat/bin/startup.sh
> 
> 
> 
> On Aug 27, 2012, at 8:49 PM, Igor Cicimov wrote:
> 
>> On Aug 28, 2012 1:39 PM, "John Byrne" <john_by...@apple.com> wrote:
>>> 
>>> Hello all,
>>> 
>>> I'm trying to upgrade to 7.0.29 from 7.0.8 and I've switched the soft
>> link under Tomcat/ (our setup).  However, this is not upgrading the server.
>> I've looked for environment variables but can't find any that would seem
>> to point to the old version. (see environment variables set below)
>>> 
>>> I was wondering whether there is a way to tell what version is in the jar
>> files.  I've expanded StandardEngine.class in catalina.jar and tried
>> strings and that didn't work.
>>> 
>>> By the way...
>>> I know it's still 7.0.8 when I look at the catalina out file:
>>> .
>>> .
>>> .
>>> Aug 28, 2012 3:26:31 AM org.apache.catalina.core.StandardEngine
>> startInternal
>>> INFO: Starting Servlet Engine: Apache Tomcat/7.0.8
>>> .
>>> .
>>> .
>>> 
>>> Thank you for any help.
>>> 
>>> John Byrne
>>> System Administrator, IS&T
>>> john_by...@apple.com
>>> 
>>> 
>>> 
>>> ---------------------------------
>>> environment variables below
>>> ---------------------------------
>>> BASH=/bin/sh
>>> BASH_ARGC=()
>>> BASH_ARGV=()
>>> BASH_LINENO=([0]="0")
>>> BASH_SOURCE=([0]="/ngs/app/oto2t/Tomcat/tomcat/bin/startup.sh")
>>> BASH_VERSINFO=([0]="3" [1]="2" [2]="25" [3]="1" [4]="release"
>> [5]="x86_64-redhat-linux-gnu")
>>> BASH_VERSION='3.2.25(1)-release'
>>> CATALINA_BASE=/ngs/app/oto2t/Tomcat/Service
>>> CATALINA_BASE_PORT=7802
>>> CATALINA_LOGS=/ngs/app/oto2t/var/log/Service
>>> CATALINA_OUT=/ngs/app/oto2t/Tomcat/Service/logs/catalina_Service_7802.out
>>> CATALINA_PID=/ngs/app/oto2t/Tomcat/Service/tomcat_7802.pid
>>> CATALINA_SHUTDOWN_PORT=7804
>>> DIRSTACK=()
>>> EUID=9674
>>> EXECUTABLE=catalina.sh
>>> GROUPS=()
>>> G_BROKEN_FILENAMES=1
>>> HISTSIZE=1000
>>> HOME=/ngs/app/oto2t
>>> HOSTNAME=roadfever.corp.apple.com
>>> HOSTTYPE=x86_64
>>> IFS='
>>> '
>>> INPUTRC=/etc/inputrc
>>> JAVA_HOME=/ngs/app/oto2t/java_home
>>> JAVA_OPTS='-Xms1024m -Xmx2048m -XX:MaxPermSize=1024m
>> -Dport.http.nonssl=7802 -Dport.http.shutdown=7804
>> -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5802
>> -Dcom.sun.management.jmxremote.ssl=false
>> -Dcom.sun.management.jmxremote.authenticate=false -Denv=qa
>> -Duser.timezone=GMT -Dfile.encoding=UTF-8 -Dorg.apache.cocoon.mode=qa
>> -Dtangosol.coherence.cacheconfig=/conf/coherence-cache-config.xml
>> -Dsplunk.accesslogs=/ngs/app/oto2t/var/
>> roadfever.corp.apple.com/accessLogs/Service -DAppName=Service'
>>> LANG=en_US.UTF-8
>>> LESSOPEN='|/usr/bin/lesspipe.sh %s'
>>> LOGNAME=oto2t
>>> LS_COLORS=
>>> MACHTYPE=x86_64-redhat-linux-gnu
>>> MAIL=/var/spool/mail/oto2t
>>> OPTERR=1
>>> OPTIND=1
>>> OSTYPE=linux-gnu
>>> 
>> PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/java/jdk1.6.0_19/bin
>>> PIPESTATUS=([0]="0")
>>> POSIXLY_CORRECT=y
>>> PPID=3524
>>> PRG=/ngs/app/oto2t/Tomcat/tomcat/bin/startup.sh
>>> PRGDIR=/ngs/app/oto2t/Tomcat/tomcat/bin
>>> PS4='+ '
>>> PWD=/ngs/app/oto2t/Tomcat/bin
>>> SHELL=/bin/bash
>>> SHELLOPTS=braceexpand:hashall:interactive-comments:posix
>>> SHLVL=3
>>> SPLUNK_ACCESS_LOGS=/ngs/app/oto2t/var/
>> roadfever.corp.apple.com/accessLogs/Service
>>> TERM=xterm-256color
>>> TMOUT=900
>>> UID=9674
>>> USER=oto2t
>>> _=---------------------------------
>>> os400=false
>>> Using CATALINA_BASE:   /ngs/app/oto2t/Tomcat/Service
>>> Using CATALINA_HOME:   /ngs/app/oto2t/Tomcat/tomcat
>>> Using CATALINA_TMPDIR: /ngs/app/oto2t/Tomcat/Service/temp
>>> Using JRE_HOME:        /ngs/app/oto2t/java_home
>>> Using CLASSPATH:
>> /ngs/app/oto2t/Tomcat/tomcat/bin/bootstrap.jar:/ngs/app/oto2t/Tomcat/tomcat/bin/tomcat-juli.jar
>>> Using CATALINA_PID:    /ngs/app/oto2t/Tomcat/Service/tomcat_7802.pid
>>> Existing PID file found during start.
>>> Removing/clearing stale PID file.
>> 
>> And you are starting the server how?
> 

Reply via email to