| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Jan 10, 2006, at 2:35 AM, Paul Howland wrote:
The first obvious guess would be that somehow you are missing this. I show it for some reason in googleapi.jar but normally I think it should probably come from crimson.jar? Somewhat odd as well is that this almost seems to be saying it is trying to start 2 different versions of Tomcat? *** OpenTool com.borland.jbuilder.server.tomcat.Tomcat50Server failed to initialize *** OpenTool com.borland.jbuilder.server.tomcat.Tomcat41Server failed to initialize Since this does seem to be trying to directly use the parser class not being found...
The following probably does not apply but I'll throw it in anyways. I was seeing errors something like yours in trying to use the Apache commons-launcher code to launch OS/X applications via 'ant'. I tweaked the code somewhat and at some point tried to pattern some code after theirs with this... Thread.currentThread().setContextClassLoader(utillib.psuedoGestalt.GestaltLoader.getInstance().getContext("extended")); This turned out to be getting too clever for my own good as I started seeing errors like yours. What I think applied from Launcher.java was... // Cache the current class loader for this thread and set the class // loader before running Ant. Note that we only set the class loader // if we are running a Java version earlier than 1.4 as on 1.4 this // causes unnecessary loading of the XML parser classes. parentLoader = Thread.currentThread().getContextClassLoader(); boolean lessThan14 = true; try { Class.forName("java.lang.CharSequence"); lessThan14 = false; } catch (ClassNotFoundException cnfe) { // If this class does not exist, then we are not running Java 1.4 } if (lessThan14) Thread.currentThread().setContextClassLoader(Launcher.class.getClassLoader()); So being past 1.4 I turned off the line where I tried to use my ClassLoader in the same way as the lessThan14 here and the problem went away. This is a way the jvm version might apply to the problem but that would have to be a < 1.4 version so probably is not related to any 1.4 vs. 1.5 situation you are having. Mike Hall mikehall at spacestar dot net |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| References: | |
| >JBuilder 2005 with J2SE 5.0 Release 4 DP3? (From: Paul Howland <email@hidden>) | |
| >Re: JBuilder 2005 with J2SE 5.0 Release 4 DP3? (From: Michael Rogers <email@hidden>) | |
| >Re: JBuilder 2005 with J2SE 5.0 Release 4 DP3? (From: Paul Howland <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.