Re: Java update from Apple broke Tomcat
Rob, We use Tomcat 6.0.28 on Mac OS X 10.6.4 with the latest Java update and it seems to start up just fine. Stephen Caine Soft Breeze Systems, LLC On Nov 1, 2010, at 1:55 PM, Rob Tanner wrote: Hi, While I run production on Linux servers, I do my development on my iMac. Last week, I ran the most recent Apple Java upgrade , and now Tomcat (which is a critical part of my development environment) won't start up. I get the error: Nov 1, 2010 8:58:54 AM org.apache.catalina.startup.Bootstrap initClassLoaders SEVERE: Class loader creation threw exception java.lang.NoSuchFieldError: IS_DIR at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:167) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391) Other details: java version 1.6.0_22 Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) Tomcat version: 6.0.18 and 6.0.29 — both fail to start, throwing the same exception From the error, it appears that things are missing from the update (or at least one field is). Has anyone else seen this? Is there a known work-around? Thanks, Rob Tanner Linfield College - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Java update from Apple broke Tomcat
Rick, Yep, extraneous jar files that didn't belong there. Don't know why it worked before the upgrade and not after, but the problem was easy enough to fix once it was identified. Everything works now. -- Rob On 11/1/10 3:48 PM, Richard G Curry rgcu...@jcpenney.com wrote: Did you check you classpath? __ _ «€»¥«€»§«€»¥«€»§«€»¥«€»§«€»¥«€»§«€»¥«€»§«€»¥«€»§«€»¥«€»§«€»¥«€»§«€»¥«€» __ _ Rick Curry Common Services - Software Development E2 - 066, MS 5210 972-431-9178 (Voice) 972-585-7585 (Pager) To send a (short) Text Message to my Pager: 9725857...@page.metrocall.com -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, November 01, 2010 5:28 PM To: Tomcat Users List Subject: Re: Java update from Apple broke Tomcat On 01/11/2010 17:55, Rob Tanner wrote: Hi, While I run production on Linux servers, I do my development on my iMac. Last week, I ran the most recent Apple Java upgrade , and now Tomcat (which is a critical part of my development environment) won't start up. I get the error: Nov 1, 2010 8:58:54 AM org.apache.catalina.startup.Bootstrap initClassLoaders SEVERE: Class loader creation threw exception java.lang.NoSuchFieldError: IS_DIR at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:167) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391) Other details: java version 1.6.0_22 Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) Tomcat version: 6.0.18 and 6.0.29 both fail to start, throwing the same exception From the error, it appears that things are missing from the update (or at least one field is). Has anyone else seen this? Is there a known work-around? I updated too. Works just fine for me, on various 6.0.x and 7.0 trunk. p The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Java update from Apple broke Tomcat
There's a Mac mini in our QA shop that is running this version of Java with Tomcat 6.0.26 and testing my app without a problem. On Mon, Nov 1, 2010 at 1:55 PM, Rob Tanner rtan...@linfield.edu wrote: Hi, While I run production on Linux servers, I do my development on my iMac. Last week, I ran the most recent Apple Java upgrade , and now Tomcat (which is a critical part of my development environment) won't start up. I get the error: Nov 1, 2010 8:58:54 AM org.apache.catalina.startup.Bootstrap initClassLoaders SEVERE: Class loader creation threw exception java.lang.NoSuchFieldError: IS_DIR at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:167) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391) Other details: java version 1.6.0_22 Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) Tomcat version: 6.0.18 and 6.0.29 ‹ both fail to start, throwing the same exception From the error, it appears that things are missing from the update (or at least one field is). Has anyone else seen this? Is there a known work-around? Thanks, Rob Tanner Linfield College -- Hell hath no limits, nor is circumscrib'd In one self-place; but where we are is hell, And where hell is, there must we ever be --Christopher Marlowe, *Doctor Faustus* (v, 121-24)
Re: Java update from Apple broke Tomcat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 11/1/2010 1:55 PM, Rob Tanner wrote: Nov 1, 2010 8:58:54 AM org.apache.catalina.startup.Bootstrap initClassLoaders SEVERE: Class loader creation threw exception java.lang.NoSuchFieldError: IS_DIR at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:167) You can check the code here: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_29/java/org/apache/catalina/startup/Bootstrap.java There is only one instance of IS_DIR in that file. IS_DIR is a protected static member of the ClassLoaderFactory class in the same package. An upgrade of only Java should not have caused this error. Are you working with more than one version of Tomcat at the same time by any chance? How do you start Tomcat? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzPISIACgkQ9CaO5/Lv0PBqIwCfbLkz/3vKSz/Dp/SbAp9x0ePB x0oAnR3nMqHn4oAi9AnGYHswuqQg8xMf =X/Cp -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Java update from Apple broke Tomcat
Chris, Normally, I let Eclipse start and stop Tomcat for me. It only knows about 6.0.18 and that's the only version I have on my workstation until this morning when I downloaded 6.0.29 to see if there was any possibility that I could have corrupted my existing server. I left 6.0.29 with its default configuration. I tried starting both 6.0.18 and 6.0.29 (not at the same time of course) simply via the bin/catalina.sh shell script and both version fail identically with the same IS_DIR exception ~ Rob On 11/1/10 1:20 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 11/1/2010 1:55 PM, Rob Tanner wrote: Nov 1, 2010 8:58:54 AM org.apache.catalina.startup.Bootstrap initClassLoaders SEVERE: Class loader creation threw exception java.lang.NoSuchFieldError: IS_DIR at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:167) You can check the code here: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_29/java/org/apa che/catalina/startup/Bootstrap.java There is only one instance of IS_DIR in that file. IS_DIR is a protected static member of the ClassLoaderFactory class in the same package. An upgrade of only Java should not have caused this error. Are you working with more than one version of Tomcat at the same time by any chance? How do you start Tomcat? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzPISIACgkQ9CaO5/Lv0PBqIwCfbLkz/3vKSz/Dp/SbAp9x0ePB x0oAnR3nMqHn4oAi9AnGYHswuqQg8xMf =X/Cp -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Java update from Apple broke Tomcat
From: Rob Tanner [mailto:rtan...@linfield.edu] Subject: Re: Java update from Apple broke Tomcat I tried starting both 6.0.18 and 6.0.29 (not at the same time of course) simply via the bin/catalina.sh shell script and both version fail identically with the same IS_DIR exception Can you tell when the script runs what is being set for the classpath? If you have a CLASSPATH environment variable, get rid of it - it should never be used these days. (The Tomcat scripts should be ignoring it, but...) - 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: Java update from Apple broke Tomcat
On 01/11/2010 17:55, Rob Tanner wrote: Hi, While I run production on Linux servers, I do my development on my iMac. Last week, I ran the most recent Apple Java upgrade , and now Tomcat (which is a critical part of my development environment) won't start up. I get the error: Nov 1, 2010 8:58:54 AM org.apache.catalina.startup.Bootstrap initClassLoaders SEVERE: Class loader creation threw exception java.lang.NoSuchFieldError: IS_DIR at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:167) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391) Other details: java version 1.6.0_22 Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) Tomcat version: 6.0.18 and 6.0.29 ‹ both fail to start, throwing the same exception From the error, it appears that things are missing from the update (or at least one field is). Has anyone else seen this? Is there a known work-around? I updated too. Works just fine for me, on various 6.0.x and 7.0 trunk. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
RE: Java update from Apple broke Tomcat
Did you check you classpath? ___ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» ___ Rick Curry Common Services - Software Development E2 - 066, MS 5210 972-431-9178 (Voice) 972-585-7585 (Pager) To send a (short) Text Message to my Pager: 9725857...@page.metrocall.com -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, November 01, 2010 5:28 PM To: Tomcat Users List Subject: Re: Java update from Apple broke Tomcat On 01/11/2010 17:55, Rob Tanner wrote: Hi, While I run production on Linux servers, I do my development on my iMac. Last week, I ran the most recent Apple Java upgrade , and now Tomcat (which is a critical part of my development environment) won't start up. I get the error: Nov 1, 2010 8:58:54 AM org.apache.catalina.startup.Bootstrap initClassLoaders SEVERE: Class loader creation threw exception java.lang.NoSuchFieldError: IS_DIR at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:167) at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:92) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:207) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391) Other details: java version 1.6.0_22 Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) Tomcat version: 6.0.18 and 6.0.29 both fail to start, throwing the same exception From the error, it appears that things are missing from the update (or at least one field is). Has anyone else seen this? Is there a known work-around? I updated too. Works just fine for me, on various 6.0.x and 7.0 trunk. p The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org