RE: JDK 1.6 or JDK 1.7

2012-12-06 Thread Williams, Nick
 -Original Message-
 From: Shanti Suresh [mailto:sha...@umich.edu]
 Sent: Thursday, December 06, 2012 1:04 PM
 To: Tomcat Users List
 Subject: JDK 1.6 or JDK 1.7

 All,

 I am trying to decide whether to run Tomcat 7.0.33 on JDK 1.6 or JDK 1.7.
 Tomcat-7 release notes say:

 Tomcat 7.0 is designed to run on Java SE 6 and later


 But I remember reading on this list about some issues folks are having with 
 JDK 1.7.  Appreciate your advice.

 We plan to run a vendor application on Tomcat but will customize it to natch 
 our needs, using JSPs.

 Thanks.

   -Shanti

We have been using Tomcat 7.0.25-7.0.33 for about 9 months now on Java 7. We 
haven't experienced any issues at all so far. Everything runs really smoothly.

AFAIK, the most import question is, does the vendor application you are 
running support Java 7? Tomcat 7 runs well on Java 7, but the application you 
want to run in Tomcat may not run well on Java 7.

Also, keep in mind that while Tomcat 7 does run well on Java 7, by default it 
compiles JSPs with a target version of Java 6. If the vendor application DOES 
support Java 7 and is meant to be compiled with Java 7, you may need to change 
compilerSourceVM and compilerTargetVM from the default value of 1.6 to 1.7. 
See http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html#Configuration for 
more information.

Hope this helps,

Nick

This e-mail may contain privileged or confidential information. If you are not 
the intended recipient: (1) you may not disclose, use, distribute, copy or rely 
upon this message or attachment(s); and (2) please notify the sender by reply 
e-mail, and then delete this message and its attachment(s). Underwriters 
Laboratories Inc. and its affiliates disclaim all liability for any errors, 
omissions, corruption or virus in this message or any attachments.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: JDK 1.6 or JDK 1.7

2012-12-06 Thread Shanti Suresh
Hi Nick,

Thanks!  That helps a lot.

 -Shanti


On Thu, Dec 6, 2012 at 2:24 PM, Williams, Nick nicholas.willi...@ul.comwrote:

  -Original Message-
  From: Shanti Suresh [mailto:sha...@umich.edu]
  Sent: Thursday, December 06, 2012 1:04 PM
  To: Tomcat Users List
  Subject: JDK 1.6 or JDK 1.7
 
  All,
 
  I am trying to decide whether to run Tomcat 7.0.33 on JDK 1.6 or JDK 1.7.
  Tomcat-7 release notes say:
 
  Tomcat 7.0 is designed to run on Java SE 6 and later
 
 
  But I remember reading on this list about some issues folks are having
 with JDK 1.7.  Appreciate your advice.
 
  We plan to run a vendor application on Tomcat but will customize it to
 natch our needs, using JSPs.
 
  Thanks.
 
-Shanti

 We have been using Tomcat 7.0.25-7.0.33 for about 9 months now on Java 7.
 We haven't experienced any issues at all so far. Everything runs really
 smoothly.

 AFAIK, the most import question is, does the vendor application you are
 running support Java 7? Tomcat 7 runs well on Java 7, but the application
 you want to run in Tomcat may not run well on Java 7.

 Also, keep in mind that while Tomcat 7 does run well on Java 7, by default
 it compiles JSPs with a target version of Java 6. If the vendor application
 DOES support Java 7 and is meant to be compiled with Java 7, you may need
 to change compilerSourceVM and compilerTargetVM from the default value of
 1.6 to 1.7. See
 http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html#Configurationfor 
 more information.

 Hope this helps,

 Nick

 This e-mail may contain privileged or confidential information. If you are
 not the intended recipient: (1) you may not disclose, use, distribute, copy
 or rely upon this message or attachment(s); and (2) please notify the
 sender by reply e-mail, and then delete this message and its attachment(s).
 Underwriters Laboratories Inc. and its affiliates disclaim all liability
 for any errors, omissions, corruption or virus in this message or any
 attachments.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Shanti Suresh
Application Systems Analyst Lead
LSA Development
500 S. State Street
Ann Arbor MI 48109-1382
Office: 734-763-4807
sha...@umich.edu


Re: JDK 1.6 or JDK 1.7

2012-12-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Shanti,

On 12/6/12 2:03 PM, Shanti Suresh wrote:
 I am trying to decide whether to run Tomcat 7.0.33 on JDK 1.6 or
 JDK 1.7. Tomcat-7 release notes say:
 
 Tomcat 7.0 is designed to run on Java SE 6 and later
 
 But I remember reading on this list about some issues folks are
 having with JDK 1.7.  Appreciate your advice.

The first few releases of Java 1.7 had some things that broke a few
things badly. I believe those have all been corrected by now.

I've been using Oracle Java 1.7.0 64-bit JVM for a while (6 months?)
in development and I have had no problems at all. We have a non-Tomcat
server (Mule ESB) running on OpenJDK 1.7 in another development
environment and that seems to be very stable as well.

As always, test everything. I dunno how others do it, but I generally
run with a new major version of Java in my own, personal development
environment for about 6 months before we put it into our general
development environments. Then we run in development for a few
test/release cycles before we push it out to demo/production.

We do the same thing with Tomcat, actually. We're just about to go
into production with Tomcat 7 and probably a few months later, we'll
upgrade to Java 1.7 as well.

Just in time for Tomcat 8. ;)

Hope that helps,
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEAREIAAYFAlDBI5QACgkQ9CaO5/Lv0PBm3gCdHfkFwTvsVCioEdxobqWTMApo
rl4AnAnxRqaqP1UsBq/uJTZaaHaSrH0q
=pVuF
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: JDK 1.6 or JDK 1.7

2012-12-06 Thread Shanti Suresh
Hi Chris,

Perfect!  Thanks so much.

 -Shanti


On Thu, Dec 6, 2012 at 6:00 PM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Shanti,

 On 12/6/12 2:03 PM, Shanti Suresh wrote:
  I am trying to decide whether to run Tomcat 7.0.33 on JDK 1.6 or
  JDK 1.7. Tomcat-7 release notes say:
 
  Tomcat 7.0 is designed to run on Java SE 6 and later
 
  But I remember reading on this list about some issues folks are
  having with JDK 1.7.  Appreciate your advice.

 The first few releases of Java 1.7 had some things that broke a few
 things badly. I believe those have all been corrected by now.

 I've been using Oracle Java 1.7.0 64-bit JVM for a while (6 months?)
 in development and I have had no problems at all. We have a non-Tomcat
 server (Mule ESB) running on OpenJDK 1.7 in another development
 environment and that seems to be very stable as well.

 As always, test everything. I dunno how others do it, but I generally
 run with a new major version of Java in my own, personal development
 environment for about 6 months before we put it into our general
 development environments. Then we run in development for a few
 test/release cycles before we push it out to demo/production.

 We do the same thing with Tomcat, actually. We're just about to go
 into production with Tomcat 7 and probably a few months later, we'll
 upgrade to Java 1.7 as well.

 Just in time for Tomcat 8. ;)

 Hope that helps,
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
 Comment: GPGTools - http://gpgtools.org
 Comment: Using GnuPG with undefined - http://www.enigmail.net/

 iEYEAREIAAYFAlDBI5QACgkQ9CaO5/Lv0PBm3gCdHfkFwTvsVCioEdxobqWTMApo
 rl4AnAnxRqaqP1UsBq/uJTZaaHaSrH0q
 =pVuF
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Shanti Suresh
Application Systems Analyst Lead
LSA Development
500 S. State Street
Ann Arbor MI 48109-1382
Office: 734-763-4807
sha...@umich.edu


Re: JDK Version Mismatch

2012-01-13 Thread Mark Eggers
- Original Message -

 From: deniz denizdurmu...@gmail.com
 To: users@tomcat.apache.org
 Cc: 
 Sent: Thursday, January 12, 2012 11:25 PM
 Subject: RE: JDK Version Mismatch
 
 Hello Chuck,
 
 thank you for your response, I have changed tomcat env to 1.7 so i am not
 getting the error right now. 
 
 i have another question about the same issue but i am not quite sure if this
 is the right place...
 
 so right now eclipse doesnt support jdk 1.7 and you need to download a
 maintenance version to use it. it really works well except something: you
 cant create webapps with it. so to overcome the problem what should i do? I
 have tried something and till now it seems okay... I have created 
 and
 compiled my class files with jdk 1.7 and then put them in a jar and included
 that jar file in my webapp project on jdk 1.6 which i create jsp files. is
 this a feasible way to fix the problem? or should i change the classes in my
 webapp folder under tomcat manually, with jdk 1.7 compiled classes? 
 
 thank you in advance again... 


Or use an IDE that fully supports JDK 7.

. . . . just my two cents.
/mde/

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: JDK Version Mismatch

2012-01-12 Thread Caldarale, Charles R
 From: deniz [mailto:denizdurmu...@gmail.com] 
 Subject: JDK Version Mismatch

 Unsupported major.minor version 51.0

Looks like your diagnosis is backwards.  Version 51.0 is from a class built 
with JDK 7, trying to be loaded by an older version of the JVM - which means 
your Tomcat is actually running on JRE/JDK 6, and you built your .war file (or 
some component therein) with JDK 7.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: JDK Version Mismatch

2012-01-12 Thread deniz
Hello Chuck,

thank you for your response, I have changed tomcat env to 1.7 so i am not
getting the error right now. 

i have another question about the same issue but i am not quite sure if this
is the right place...

so right now eclipse doesnt support jdk 1.7 and you need to download a
maintenance version to use it. it really works well except something: you
cant create webapps with it. so to overcome the problem what should i do? I
have tried something and till now it seems okay... I have created and
compiled my class files with jdk 1.7 and then put them in a jar and included
that jar file in my webapp project on jdk 1.6 which i create jsp files. is
this a feasible way to fix the problem? or should i change the classes in my
webapp folder under tomcat manually, with jdk 1.7 compiled classes? 

thank you in advance again... 

--
View this message in context: 
http://tomcat.10.n6.nabble.com/JDK-Version-Mismatch-tp336p3666730.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: jdk upgrade

2007-03-05 Thread Caldarale, Charles R
 From: Hernâni Cerqueira [mailto:[EMAIL PROTECTED] 
 Subject: jdk upgrade
 
 I already have some apps running on tomcat 5.5 running on java 1.4.2, 
 but i just finished a tapestry application that heavily deppends on 
 annotations so i really need to upgrade to at least java 1.5. 

Make sure you remove Tomcat's 1.4 compatibility package before attempting to 
run it on Jave SE 5 or 6.

 I atached the script hoping that someone can take a look 
 and tell-me wath to change...

Attachments are often stripped off before reaching the list - including this 
time.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jdk upgrade

2007-03-05 Thread Hernâni Cerqueira

Caldarale, Charles R escreveu:

First of all, thanks for your reply


Make sure you remove Tomcat's 1.4 compatibility package before attempting to 
run it on Jave SE 5 or 6.
  
I guess i can find some info online about how to do it, but should i 
just remove it or upgrade it?
I atached the script hoping that someone can take a look 
and tell-me wath to change...



Attachments are often stripped off before reaching the list - including this 
time.

 - Chuck
  

I guess this time i forgot the atchment O:-) , this time i'll send it...

Thank's once again

Hernâni
#!/bin/sh
#
# Startup script for Tomcat 5.0, the Apache Servlet Engine
#
# chkconfig: - 80 20
# description: Tomcat 5.0 is the Apache Servlet Engine RI for Servlet 2.4/JSP 
2.0
# processname: tomcat
# pidfile: /var/run/tomcat5.pid
# config:  /etc/tomcat5/tomcat5.conf
#
# Gomez Henri [EMAIL PROTECTED]
# Keith Irwin [EMAIL PROTECTED]
# Nicolas Mailhot [EMAIL PROTECTED]
#
# version 1.02 - Removed initlog support
# version 1.03 - Removed config:
# version 1.04 - tomcat will start before httpd and stop after httpd
# version 1.05 - jdk hardcoded to link /usr/java/jdk and tomcat runs as nobody
# version 1.06 - split up into script and config file
# version 1.07 - Rework from Nicolas ideas
# version 1.08 - Fix work dir permission at start time, switch to use tomcat4
# version 1.09 - Fix pidfile and config tags
# version 1.10 - Fallback to su direct use on systems without Redhat/Mandrake 
init.d functions
# version 1.11 - Fix webapps dir permissions
# version 1.12 - remove initial start/stop level for chkconfig (- 80 20)
# version 1.13 - remove chown of logs/work/temp/webapps dir, owned by tomcat4 
at install time
# version 1.14 - correct the start/stop ugly hack by waiting all the threads 
stops
# version 1.15 - ensure we're looking for TOMCAT_USER running catalina
# version 1.16 - Add support for CATALINA_PID env var
# version 1.17 - Remove run files only tomcat started correctl
#in start area, check that tomcat is not allready running
# version 1.18 - Fix kill typo (thanks Kaj J. Niemi)
# version 1.19 - Add jar relinking
# version 1.20 - Check there is no stalling tomcat4.pid
# version 1.20tc5 - Changed all instances of tomcat4 to tomcat5 except 
TOMCAT_USER
# version 1.21 - Add status command
#

# Source function library.
if [ -x /etc/rc.d/init.d/functions ]; then
. /etc/rc.d/init.d/functions
fi

# Get Tomcat config

TOMCAT_CFG=/etc/tomcat5/tomcat5.conf

[ -r $TOMCAT_CFG ]  . ${TOMCAT_CFG}

# Path to the tomcat launch script (direct don't use wrapper)
TOMCAT_SCRIPT=/usr/bin/dtomcat5

# Path to the script that will refresh jar symlinks on startup
TOMCAT_RELINK_SCRIPT=/usr/share/tomcat5/bin/relink

# Tomcat name :)
TOMCAT_PROG=tomcat5

# if TOMCAT_USER is not set, use tomcat5 like Apache HTTP server
if [ -z $TOMCAT_USER ]; then
TOMCAT_USER=tomcat4
fi

# Since the daemon function will sandbox $tomcat
# no environment stuff should be defined here anymore.
# Please use the /etc/tomcat.conf file instead ; it will
# be read by the $tomcat script

RETVAL=0

# See how we were called.
start() {
echo -n Starting $TOMCAT_PROG: 

if [ -f /var/lock/subsys/tomcat5 ] ; then
if [ -f /var/run/tomcat5.pid ]; then
read kpid  /var/run/tomcat5.pid
if checkpid $kpid 21; then
echo process allready running
return -1
else
echo lock file found but no process running 
for pid $kpid, continuing
fi
fi
fi
 
export CATALINA_PID=/var/run/tomcat5.pid
touch $CATALINA_PID
chown $TOMCAT_USER:$TOMCAT_USER $CATALINA_PID

$TOMCAT_RELINK_SCRIPT

if [ -x /etc/rc.d/init.d/functions ]; then
daemon --user $TOMCAT_USER $TOMCAT_SCRIPT start 
else
su - $TOMCAT_USER -c $TOMCAT_SCRIPT start
fi

RETVAL=$?
echo
[ $RETVAL = 0 ]  touch /var/lock/subsys/tomcat5
return $RETVAL
}

stop() {
echo -n Stopping $TOMCAT_PROG: 

if [ -f /var/lock/subsys/tomcat5 ] ; then
  if [ -x /etc/rc.d/init.d/functions ]; then
  daemon --user $TOMCAT_USER $TOMCAT_SCRIPT stop
  else
  su - $TOMCAT_USER -c $TOMCAT_SCRIPT stop
  fi
  RETVAL=$?

  if [ $RETVAL = 0 ]; then
count=0;

if [ -f /var/run/tomcat5.pid ]; then

read kpid  /var/run/tomcat5.pid
let kwait=$SHUTDOWN_WAIT

until [ `ps --pid $kpid | grep -c $kpid` = '0' ] || [ $count -gt 
$kwait ]
do
echo waiting for processes to exit;
sleep 1
let count=$count+1;
done

if [ $count -gt $kwait ]; then
echo killing processes which didn't stop after $SHUTDOWN_WAIT 
seconds
kill -9 $kpid
 

RE: jdk upgrade

2007-03-05 Thread Caldarale, Charles R
 From: Hernâni Cerqueira [mailto:[EMAIL PROTECTED] 
 Subject: Re: jdk upgrade
 
 I guess i can find some info online about how to do it,

Actually, you probably won't.

 but should i just remove it or upgrade it?

Just remove it - there is no upgrade.  It's for use only with JRE 1.4, and 
consists of only two or three jars, depending on the exact version of Tomcat 
5.5 that you have installed.  Look inside the compat.zip or compat.tar.gz file 
for the Tomcat level you have to find out what to get rid of.

 I guess this time i forgot the atchment O:-) , this 
 time i'll send it...

This is just a wrapper for the real script, which appears to be in:
   /usr/bin/dtomcat5

There may be some pertinent config info in:
   /etc/tomcat5/tomcat5.conf
but you won't really know until you look at it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jdk upgrade

2007-03-05 Thread Hernâni Cerqueira

Thanks for your help, 5*...

Caldarale, Charles R escreveu:
From: Hernâni Cerqueira [mailto:[EMAIL PROTECTED] 
Subject: Re: jdk upgrade


I guess i can find some info online about how to do it,



Actually, you probably won't.

  

but should i just remove it or upgrade it?



Just remove it - there is no upgrade.  It's for use only with JRE 1.4, and 
consists of only two or three jars, depending on the exact version of Tomcat 
5.5 that you have installed.  Look inside the compat.zip or compat.tar.gz file 
for the Tomcat level you have to find out what to get rid of.

  
I guess this time i forgot the atchment O:-) , this 
time i'll send it...



This is just a wrapper for the real script, which appears to be in:
   /usr/bin/dtomcat5

There may be some pertinent config info in:
   /etc/tomcat5/tomcat5.conf
but you won't really know until you look at it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JDK

2006-10-30 Thread Jim Weir

From: Caldarale, Charles R [EMAIL PROTECTED]

Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: RE: JDK
Date: Sun, 29 Oct 2006 22:57:39 -0600

 From: Jim Weir [mailto:[EMAIL PROTECTED]
 Subject: JDK

 I recently upgraded to jdk1.5.0_09, now when I start tomcat I
 get this in the error log and can't run my webapps,

You don't say what version of Tomcat you're using, but if it's 5.5.x,
you must remove the 1.4 Compatibility Package when running on a 1.5 JRE
or JDK.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




It's 5.5.4..

How do I remove the 1.4 Compatibility Package?

Thanks,
Jim

_
Add a Yahoo! contact to Windows Live Messenger for a chance to win a free 
trip! 
http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-ushmtagline



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JDK

2006-10-30 Thread Caldarale, Charles R
 From: Jim Weir [mailto:[EMAIL PROTECTED] 
 Subject: RE: JDK
 
 It's 5.5.4..

That's pretty old, and a lot of fixes have gone in since then.  I'd
suggest moving up.

 How do I remove the 1.4 Compatibility Package?

In 5.5.20, the Compatibility Package adds three jars:
bin/jmx.jar
common/endorsed/xercesImpl.jar
common/endorsed/xml-apis.jar

Simply delete them and restart Tomcat.

5.5.4 may have had only the last two - I don't remember for sure.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JDK

2006-10-30 Thread Jim Weir

From: Caldarale, Charles R [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: RE: JDK
Date: Mon, 30 Oct 2006 12:53:47 -0600

 From: Jim Weir [mailto:[EMAIL PROTECTED]
 Subject: RE: JDK

 It's 5.5.4..

That's pretty old, and a lot of fixes have gone in since then.  I'd
suggest moving up.

 How do I remove the 1.4 Compatibility Package?

In 5.5.20, the Compatibility Package adds three jars:
bin/jmx.jar
common/endorsed/xercesImpl.jar
common/endorsed/xml-apis.jar

Simply delete them and restart Tomcat.

5.5.4 may have had only the last two - I don't remember for sure.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Tthe jk connector has changed and it would create a lot of work for me to 
modify each webapp.


I renamed this file, common/endorsed/xml-apis.jar.  It was the oinly one 
there..


now I get this error...

Oct 30, 2006 9:39:12 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 30, 2006 9:39:13 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1364 ms
Oct 30, 2006 9:39:13 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 30, 2006 9:39:13 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.4
Oct 30, 2006 9:39:13 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 30, 2006 9:39:13 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive JavaBridge.war
Oct 30, 2006 9:39:13 PM org.apache.catalina.core.ApplicationContext log
INFO: default: DefaultServlet.init:  input buffer size=2048, output buffer 
size=2048

INFO - WebAppSecurityFilter.init(25) | SecurityFilter 1
Oct 30, 2006 9:39:29 PM org.apache.catalina.core.ApplicationContext log
INFO: default: DefaultServlet.init:  input buffer size=2048, output buffer 
size=2048

ERROR - Error loading WebappClassLoader
 delegate: false
 repositories:
   /WEB-INF/classes/
-- Parent Classloader:
[EMAIL PROTECTED]
org.apache.cocoon.servlet.CocoonServlet
java.lang.ClassNotFoundException: org.apache.cocoon.servlet.CocoonServlet
	at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
	at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
	at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:988)

at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:886)
	at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3817)
	at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4079)
	at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:755)

at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:886)
	at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:849)

at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1079)
	at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
	at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:437)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2010)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
ERROR - Servlet /ourwebsite threw load() exception

RE: JDK

2006-10-30 Thread Caldarale, Charles R
 From: Jim Weir [mailto:[EMAIL PROTECTED] 
 Subject: RE: JDK
 
 Tthe jk connector has changed and it would create a lot of 
 work for me to modify each webapp.

I'm confused; although I don't use the AJP connector, I wasn't aware of
any incompatible changes in it between 5.5.4 and 5.5.20, especially any
that would require modifying webapps.  If you're talking about mod_jk,
that's not part of Tomcat proper, and I thought Tomcat was compatible
with any version of JK 1.2.  What am I missing?

 I renamed this file, common/endorsed/xml-apis.jar.  It 
 was the oinly one there..

By renaming, I presume you changed the extension to something other than
.jar; if it's still .jar, it can still be found by the classloader.

 now I get this error...
 
 java.lang.ClassNotFoundException: 
 org.apache.cocoon.servlet.CocoonServlet

Cocoon is also not part of Tomcat or the JRE/JDK; any Cocoon jars needed
would normally be packaged with the webapp they were required by.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JDK

2006-10-29 Thread Caldarale, Charles R
 From: Jim Weir [mailto:[EMAIL PROTECTED] 
 Subject: JDK
 
 I recently upgraded to jdk1.5.0_09, now when I start tomcat I 
 get this in the error log and can't run my webapps,

You don't say what version of Tomcat you're using, but if it's 5.5.x,
you must remove the 1.4 Compatibility Package when running on a 1.5 JRE
or JDK.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: jdk

2006-08-27 Thread Abbey - Jonbysoft
Hi Steve,

That did it... Many thanks. I have been stumped for 3 days with this. I
really appreciate your help.

Kind regards

Abbey

-Mensaje original-
De: Steve Ochani [mailto:[EMAIL PROTECTED]
Enviado el: domingo, 27 de agosto de 2006 0:12
Para: Abbey - Jonbysoft
CC: Tomcat Users List
Asunto: RE: jdk


Date sent:  Sat, 26 Aug 2006 20:46:55 +0200
From:   Abbey - Jonbysoft [EMAIL PROTECTED]
Subject:RE: jdk
To: Tomcat Users List users@tomcat.apache.org,
[EMAIL PROTECTED]

 Hi Steve,

 I unistalled Apache 2.2.3 completely and downloaded and installed
 Apache 2.2.2 and followed the original procedure to place both JK_mod
 and workers2.properties in their respecive locations...as before

 Now when I try and restart Apache I get a strange error!

 httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
 Software Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
 structure 'k2_module' in file C:/Program Files/Apache Software
 Foundation/Apache2.2/modules/mod_jk.so: No error


I just re-read your original e-mail. It seems you might be mixing up mod_jk
with mod_jk2 (jk2
is no longer developed/supported)

Your loadmodule line should be this

LoadModule jk_module modules/mod_jk.so

Try that and see if it works





 Any advice?

 I understand there is a http server with tomcat called catalina.
 However, I am trying to emulate as close as possible the actual
 hosting enviroment on my local pc for development.

 Kind regards

 Abbey


 -Mensaje original-
 De: Steve Ochani [mailto:[EMAIL PROTECTED]
 Enviado el: sabado, 26 de agosto de 2006 16:24
 Para: Abbey - Jonbysoft
 CC: Tomcat Users List
 Asunto: Re: jdk


 Date sent:Sat, 26 Aug 2006 14:49:01 +0200
 From: Abbey - Jonbysoft [EMAIL PROTECTED]
 Subject:  jdk
 To:   users@tomcat.apache.org
 Send reply to:Tomcat Users List users@tomcat.apache.org

 
 
  I have downloaded and installed the following in this order:
  I am running Windows XP Professional with all updates.
 
  Apache 2.2 (apache_2.2.3-win32-x86-no_ssl)
  Got that working on Port 8080
 
  JDK 5.0 (jdk-1_5_0_08-windows-i586-p)
  Seems ok!
 
  Apache Tomcat 5.0 (jakarta-tomcat-5.0.28)
  That too seems to work
 
 
  Apache_Tomcat_Connectors (mod_jk-apache-2.2.2.so) Rename to
  mod_jk.so and placed in Apache2/modules directory. I got this from
  http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win3
  2/ jk-1.2 .18/
 
  And put workers2.properties.sample into
 
  C:\Program Files\Apache Software Foundation\Apache2.2\conf
 
  And saved it as workers2.properties.
 
  After this Tomcat starts ok but Apache no go!!
 
  It has a problem with the mod_JK2.so file.
 
  When I restart apache I get this error:
 
  httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
  Software Foundation/Apache2.2/conf/httpd.conf: Cannot load
  C:/Program Files/Apache Software
  Foundation/Apache2.2/modules/mod_jk.so into server: The specified
  procedure could not be found.
 

 This is most likely because you're using mod_jk binary built for
 apache httpd 2.2.2 but you are using 2.2.3. You should try finding and
 using apache httpd 2.2.2. You can also re-evaluate the need for apache
 httpd alltogether since you are trying to use Tomcat which serves
 static content just fine.

 Also remember you can only run one listening service on a port.


 
  Many Thanks for your help.
 
  PS. I am not a computer expert and don't even know what it is to
  Compile from source. Any advice gratefully recieved.
 
 
  Abbey
 
 
 
 
  
  - To start a new topic, e-mail: users@tomcat.apache.org To
  unsubscribe, e-mail: [EMAIL PROTECTED] For
  additional commands, e-mail: [EMAIL PROTECTED]
 



 -
 To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
 e-mail: [EMAIL PROTECTED] For additional commands,
 e-mail: [EMAIL PROTECTED]








-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jdk

2006-08-26 Thread Steve Ochani
Date sent:  Sat, 26 Aug 2006 14:49:01 +0200
From:   Abbey - Jonbysoft [EMAIL PROTECTED]
Subject:jdk
To: users@tomcat.apache.org
Send reply to:  Tomcat Users List users@tomcat.apache.org

 
 
 I have downloaded and installed the following in this order:
 I am running Windows XP Professional with all updates.
 
 Apache 2.2 (apache_2.2.3-win32-x86-no_ssl)
 Got that working on Port 8080
 
 JDK 5.0 (jdk-1_5_0_08-windows-i586-p)
 Seems ok!
 
 Apache Tomcat 5.0 (jakarta-tomcat-5.0.28)
 That too seems to work
 
 
 Apache_Tomcat_Connectors (mod_jk-apache-2.2.2.so) Rename to mod_jk.so
 and placed in Apache2/modules directory. I got this from
 http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/
 jk-1.2 .18/
 
 And put workers2.properties.sample into
 
 C:\Program Files\Apache Software Foundation\Apache2.2\conf
 
 And saved it as workers2.properties.
 
 After this Tomcat starts ok but Apache no go!!
 
 It has a problem with the mod_JK2.so file.
 
 When I restart apache I get this error:
 
 httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
 Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
 Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so into
 server: The specified procedure could not be found.
 

This is most likely because you're using mod_jk binary built for apache httpd 
2.2.2 but you 
are using 2.2.3.
You should try finding and using apache httpd 2.2.2.
You can also re-evaluate the need for apache httpd alltogether since you are 
trying to use 
Tomcat which serves static content just fine.

Also remember you can only run one listening service on a port.


 
 Many Thanks for your help.
 
 PS. I am not a computer expert and don't even know what it is to
 Compile from source. Any advice gratefully recieved.
 
 
 Abbey
 
 
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
 e-mail: [EMAIL PROTECTED] For additional commands,
 e-mail: [EMAIL PROTECTED]
 



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: jdk

2006-08-26 Thread Abbey - Jonbysoft
Hi Steve,

I unistalled Apache 2.2.3 completely and downloaded and installed Apache
2.2.2 and followed the original procedure to place both JK_mod and
workers2.properties in their respecive locations...as before

Now when I try and restart Apache I get a strange error!

httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
Software Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
structure 'k2_module' in file
C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so: No
error


Any advice?

I understand there is a http server with tomcat called catalina. However, I
am trying to emulate as close as possible the actual hosting enviroment on
my local pc for development.

Kind regards

Abbey


-Mensaje original-
De: Steve Ochani [mailto:[EMAIL PROTECTED]
Enviado el: sabado, 26 de agosto de 2006 16:24
Para: Abbey - Jonbysoft
CC: Tomcat Users List
Asunto: Re: jdk


Date sent:  Sat, 26 Aug 2006 14:49:01 +0200
From:   Abbey - Jonbysoft [EMAIL PROTECTED]
Subject:jdk
To: users@tomcat.apache.org
Send reply to:  Tomcat Users List users@tomcat.apache.org



 I have downloaded and installed the following in this order:
 I am running Windows XP Professional with all updates.

 Apache 2.2 (apache_2.2.3-win32-x86-no_ssl)
 Got that working on Port 8080

 JDK 5.0 (jdk-1_5_0_08-windows-i586-p)
 Seems ok!

 Apache Tomcat 5.0 (jakarta-tomcat-5.0.28)
 That too seems to work


 Apache_Tomcat_Connectors (mod_jk-apache-2.2.2.so) Rename to mod_jk.so
 and placed in Apache2/modules directory. I got this from
 http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/
 jk-1.2 .18/

 And put workers2.properties.sample into

 C:\Program Files\Apache Software Foundation\Apache2.2\conf

 And saved it as workers2.properties.

 After this Tomcat starts ok but Apache no go!!

 It has a problem with the mod_JK2.so file.

 When I restart apache I get this error:

 httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
 Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
 Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so into
 server: The specified procedure could not be found.


This is most likely because you're using mod_jk binary built for apache
httpd 2.2.2 but you
are using 2.2.3.
You should try finding and using apache httpd 2.2.2.
You can also re-evaluate the need for apache httpd alltogether since you are
trying to use
Tomcat which serves static content just fine.

Also remember you can only run one listening service on a port.



 Many Thanks for your help.

 PS. I am not a computer expert and don't even know what it is to
 Compile from source. Any advice gratefully recieved.


 Abbey




 -
 To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
 e-mail: [EMAIL PROTECTED] For additional commands,
 e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: jdk

2006-08-26 Thread Steve Ochani
Date sent:  Sat, 26 Aug 2006 20:46:55 +0200
From:   Abbey - Jonbysoft [EMAIL PROTECTED]
Subject:RE: jdk
To: Tomcat Users List users@tomcat.apache.org, [EMAIL 
PROTECTED]

 Hi Steve,
 
 I unistalled Apache 2.2.3 completely and downloaded and installed
 Apache 2.2.2 and followed the original procedure to place both JK_mod
 and workers2.properties in their respecive locations...as before
 
 Now when I try and restart Apache I get a strange error!
 
 httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
 Software Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
 structure 'k2_module' in file C:/Program Files/Apache Software
 Foundation/Apache2.2/modules/mod_jk.so: No error
 

I just re-read your original e-mail. It seems you might be mixing up mod_jk 
with mod_jk2 (jk2 
is no longer developed/supported)

Your loadmodule line should be this

LoadModule jk_module modules/mod_jk.so

Try that and see if it works




 
 Any advice?
 
 I understand there is a http server with tomcat called catalina.
 However, I am trying to emulate as close as possible the actual
 hosting enviroment on my local pc for development.
 
 Kind regards
 
 Abbey
 
 
 -Mensaje original-
 De: Steve Ochani [mailto:[EMAIL PROTECTED]
 Enviado el: sabado, 26 de agosto de 2006 16:24
 Para: Abbey - Jonbysoft
 CC: Tomcat Users List
 Asunto: Re: jdk
 
 
 Date sent:Sat, 26 Aug 2006 14:49:01 +0200
 From: Abbey - Jonbysoft [EMAIL PROTECTED]
 Subject:  jdk
 To:   users@tomcat.apache.org
 Send reply to:Tomcat Users List users@tomcat.apache.org
 
 
 
  I have downloaded and installed the following in this order:
  I am running Windows XP Professional with all updates.
 
  Apache 2.2 (apache_2.2.3-win32-x86-no_ssl)
  Got that working on Port 8080
 
  JDK 5.0 (jdk-1_5_0_08-windows-i586-p)
  Seems ok!
 
  Apache Tomcat 5.0 (jakarta-tomcat-5.0.28)
  That too seems to work
 
 
  Apache_Tomcat_Connectors (mod_jk-apache-2.2.2.so) Rename to
  mod_jk.so and placed in Apache2/modules directory. I got this from
  http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win3
  2/ jk-1.2 .18/
 
  And put workers2.properties.sample into
 
  C:\Program Files\Apache Software Foundation\Apache2.2\conf
 
  And saved it as workers2.properties.
 
  After this Tomcat starts ok but Apache no go!!
 
  It has a problem with the mod_JK2.so file.
 
  When I restart apache I get this error:
 
  httpd.exe: Syntax error on line 115 of C:/Program Files/Apache
  Software Foundation/Apache2.2/conf/httpd.conf: Cannot load
  C:/Program Files/Apache Software
  Foundation/Apache2.2/modules/mod_jk.so into server: The specified
  procedure could not be found.
 
 
 This is most likely because you're using mod_jk binary built for
 apache httpd 2.2.2 but you are using 2.2.3. You should try finding and
 using apache httpd 2.2.2. You can also re-evaluate the need for apache
 httpd alltogether since you are trying to use Tomcat which serves
 static content just fine.
 
 Also remember you can only run one listening service on a port.
 
 
 
  Many Thanks for your help.
 
  PS. I am not a computer expert and don't even know what it is to
  Compile from source. Any advice gratefully recieved.
 
 
  Abbey
 
 
 
 
  
  - To start a new topic, e-mail: users@tomcat.apache.org To
  unsubscribe, e-mail: [EMAIL PROTECTED] For
  additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
 e-mail: [EMAIL PROTECTED] For additional commands,
 e-mail: [EMAIL PROTECTED]
 
 
 
 
 



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jdk 1.3 and tomcat 4.1

2006-06-17 Thread Mark Thomas
t malu wrote:
 The error message starts out as ...

Which exactly which Tomcat version?
What OS?
Which file did you download?
How did you install Tomcat?
Please provide the full stack trace.

And finally, if you have to use a 1.3 JDK Tomcat 4 should be fine but
I would use a later JDK if possible.

Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jdk 1.3 and tomcat 4.1

2006-06-17 Thread Steve Ochani
 Hi,
 I'm a new user of java and tomcat. I have installed
 jdk 1.3.  I downloaded the apache tomcat 4.1. But

If you are a new user of java and tomcat then you should use the current 
version of jdk and 
tomcat. 
jdk 1.3 and tomcat 4.1 are very old.



 everytime I start the server, the following message
 comes up and then closes.
 The error message starts out as ...
 [ERROR] Digester -- Begin event threw exception
 java.util.missingresourceexception: can't find the
 bundle for base name or
 org.apache.coyote.tomcat4.LocalStrings.locale en_US
 
 Please help,
 Malavika
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
 e-mail: [EMAIL PROTECTED] For additional commands,
 e-mail: [EMAIL PROTECTED]
 



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jdk 1.3 and tomcat 4.1

2006-06-17 Thread Bill Barker

t malu [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi,
 I'm a new user of java and tomcat. I have installed
 jdk 1.3.  I downloaded the apache tomcat 4.1. But
 everytime I start the server, the following message
 comes up and then closes.
 The error message starts out as ...
 [ERROR] Digester -- Begin event threw exception
 java.util.missingresourceexception: can't find the
 bundle for base name or
 org.apache.coyote.tomcat4.LocalStrings.locale en_US


If it's 1.3.0, the problem is the broken jar index handling in that JVM. 
Just remove the index file in this case.  If it's 1.3.1, then I've got no 
clue.

 Please help,
 Malavika

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JDK 1.4 Compatibility package for Tomcat 5.5.x

2006-05-18 Thread Mark Thomas
Carlos Alberto Peláez Ayala wrote:
 Someone can tell me the exact URL where I can to download the JDK 1.4 
 Compatibility package for Tomcat 5.5.x ?, because I can not found this in the 
  http://tomcat.apache.org/download-55.cgi#5.5.12 URL.

Look down that page until you find JDK 1.4 Compatability Package

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jdk 1.3.2 with Tomcat 5.5.15

2006-03-12 Thread Mark Thomas
David Ziants wrote:
 Constraints of my new project say that I have to use jdk 1.3.2
 (otherwise I would gladly move it to Java 5).
 
 
 I still want to try and use the latest version of Tomcat (5.5.15 is what
 I have installed), and configure for jre 1.3 .

Tomcat 5.5.x requires 1.4 or later. Getting it working with 1.3 will
require source code changes. It shouldn't be impossible but I am not
aware of anyone that has done it.

You could use 5.0.28 (stable) or 5.0.30 (beta) which only require JDK
1.3. Be aware that there has been little work on 5.0.x for quite some
time. If you hit a bug there is little chance of it getting fix and
even less of there being another 5.0.x release.

I guess 4.1.x is an option as well. It's last release was around the
same time as 5.0.28 and it requires JDK 1.2. On the down side it is a
generation older than 5.x but I have been fixing the reported bugs in
4.1.31 and there is a chance of a 4.1.32 release at some point.

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jdk 1.3.2 with Tomcat 5.5.15

2006-03-12 Thread Mark Lowe
On 3/12/06, Mark Thomas [EMAIL PROTECTED] wrote:
 David Ziants wrote:
  Constraints of my new project say that I have to use jdk 1.3.2
  (otherwise I would gladly move it to Java 5).
 
 
  I still want to try and use the latest version of Tomcat (5.5.15 is what
  I have installed), and configure for jre 1.3 .

To my knowledge the jdbc driver for ms express only claims to run with
jre 1.4+. I know that the 1.3 constraint is probably some misguided
soul thinking that its somehow safer using ye olde versions, in which
case there's probably little anyone can do to convince him/her
otherwise.

You have several choices all of which will mean having a different
development envionment to production. Ideally you could see if the
existing code runs on 1.4 and move to that. If this isn't possible and
you have a staging envionment running MS sql normal and jre 1.3 then
develop with 1.4 on your dev machine, and then iron out any potential
problems when you stage the application.. Alternatively see if the
jdbc driver runs with 1.3 even if the docs wash their hands of any
support for such things.

tomcat 5.0 stable + java 1.4 should be all stable enough, the java
will certainly run faster than 1.3. I cant see any sensible reasons
for sticking to 1.3.

Mark


 Tomcat 5.5.x requires 1.4 or later. Getting it working with 1.3 will
 require source code changes. It shouldn't be impossible but I am not
 aware of anyone that has done it.

 You could use 5.0.28 (stable) or 5.0.30 (beta) which only require JDK
 1.3. Be aware that there has been little work on 5.0.x for quite some
 time. If you hit a bug there is little chance of it getting fix and
 even less of there being another 5.0.x release.

 I guess 4.1.x is an option as well. It's last release was around the
 same time as 5.0.28 and it requires JDK 1.2. On the down side it is a
 generation older than 5.x but I have been fixing the reported bugs in
 4.1.31 and there is a chance of a 4.1.32 release at some point.

 Mark


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Carl Olivier
It appears you are running the 1.4 javac using 1.5 rt.jar library.  Ensure
that you have your compiler (JDK home) set up correctly.

Regards,

Carl 

-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED] 
Sent: 22 November 2005 20:26
To: Tomcat Users List
Subject: JDK Date version 49.0 vs 48.0 problem

I recently download jdk 1.5. When I compile the java code with JBuilder 9, I
get the error:

CreateCustomer.java: cannot access java.util.Date,bad class file:
C:\Sun\AppServer\jdk\jre\lib\rt.jar\java\util\Date.class,class file has
wrong version 49.0, should be 48.0,Please remove or make sure it appears in
the correct subdirectory of the classpath. at line 3, column 18

My program ran well before with jdk 1.4, and Tomcat 5.

Please help.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Carl Olivier
Hmm sorry, but just thought of another option/potential cause here.

Try and clean out your cimpilation directory (the classes output location) -
may be classes there that are already compiled which require 1.4 rt libs -
clear that all out and rebuild your entire source tree from scratch using
1.5.

Regards,

Carl

-Original Message-
From: Carl Olivier [mailto:[EMAIL PROTECTED] 
Sent: 22 November 2005 20:33
To: 'Tomcat Users List'
Subject: RE: JDK Date version 49.0 vs 48.0 problem

It appears you are running the 1.4 javac using 1.5 rt.jar library.  Ensure
that you have your compiler (JDK home) set up correctly.

Regards,

Carl 

-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: 22 November 2005 20:26
To: Tomcat Users List
Subject: JDK Date version 49.0 vs 48.0 problem

I recently download jdk 1.5. When I compile the java code with JBuilder 9, I
get the error:

CreateCustomer.java: cannot access java.util.Date,bad class file:
C:\Sun\AppServer\jdk\jre\lib\rt.jar\java\util\Date.class,class file has
wrong version 49.0, should be 48.0,Please remove or make sure it appears in
the correct subdirectory of the classpath. at line 3, column 18

My program ran well before with jdk 1.4, and Tomcat 5.

Please help.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Daxin Zuo
Thanks for the reply.
I use JBuilder 9. I cleaned the old classes, and set the jdk at tool/Config
JDK...
The error still occurs. It may because the JBuilder 9 does not support JDK
1.5.


-Original Message-
From: Carl Olivier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 22, 2005 12:45 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: JDK Date version 49.0 vs 48.0 problem


Hmm sorry, but just thought of another option/potential cause here.

Try and clean out your cimpilation directory (the classes output location) -
may be classes there that are already compiled which require 1.4 rt libs -
clear that all out and rebuild your entire source tree from scratch using
1.5.

Regards,

Carl

-Original Message-
From: Carl Olivier [mailto:[EMAIL PROTECTED]
Sent: 22 November 2005 20:33
To: 'Tomcat Users List'
Subject: RE: JDK Date version 49.0 vs 48.0 problem

It appears you are running the 1.4 javac using 1.5 rt.jar library.  Ensure
that you have your compiler (JDK home) set up correctly.

Regards,

Carl

-Original Message-
From: Daxin Zuo [mailto:[EMAIL PROTECTED]
Sent: 22 November 2005 20:26
To: Tomcat Users List
Subject: JDK Date version 49.0 vs 48.0 problem

I recently download jdk 1.5. When I compile the java code with JBuilder 9, I
get the error:

CreateCustomer.java: cannot access java.util.Date,bad class file:
C:\Sun\AppServer\jdk\jre\lib\rt.jar\java\util\Date.class,class file has
wrong version 49.0, should be 48.0,Please remove or make sure it appears in
the correct subdirectory of the classpath. at line 3, column 18

My program ran well before with jdk 1.4, and Tomcat 5.

Please help.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JDK Date version 49.0 vs 48.0 problem

2005-11-22 Thread Kennedy Roberts
Use the unsubscribe directions at the bottom of the message.

Thanks.
  - Original Message - 
  From: Suresh Nair 
  To: Tomcat Users List 
  Sent: Tuesday, November 22, 2005 3:53 PM
  Subject: Re: JDK Date version 49.0 vs 48.0 problem


  You must have send this to me by mistake.

  Please delete me from your message list.

  Thank you.


  SURESH NAIR
  (o) [EMAIL PROTECTED]
  (h) [EMAIL PROTECTED]
  (h) [EMAIL PROTECTED]
  Daxin Zuo [EMAIL PROTECTED]


Daxin Zuo [EMAIL PROTECTED] 
23/11/2005 04:26 AM Please respond to
  Tomcat Users List users@tomcat.apache.org 

   

  To 
  Tomcat Users List users@tomcat.apache.org 


  cc 
 


  Subject 
  JDK Date version 49.0 vs 48.0 problem 
  
   

  I recently download jdk 1.5. When I compile the java code with JBuilder 9, I
  get the error:

  CreateCustomer.java: cannot access java.util.Date,bad class file:
  C:\Sun\AppServer\jdk\jre\lib\rt.jar\java\util\Date.class,class file has
  wrong version 49.0, should be 48.0,Please remove or make sure it appears in
  the correct subdirectory of the classpath. at line 3, column 18

  My program ran well before with jdk 1.4, and Tomcat 5.

  Please help.


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]




  NOTE: Privileged/Confidential Information may be contained in this message. 
If you are not the addressee indicated in this message (or responsible for 
delivery of the message to such person), you may not copy or deliver this 
message to anyone. In such case, you should destroy this message and kindly 
notify the sender by reply email. All opinions, conclusions and other 
information expressed in this message not of an official nature shall not be 
deemed as given or endorsed by Singapore Press Holdings Ltd or any of its 
subsidiaries unless otherwise indicated by an authorised representative 
independent of this message.
  Singapore Press Holdings Ltd
  Co. Regn No. 198402868E