- This topic has 8 replies, 2 voices, and was last updated 21 years, 3 months ago by Scott Anderson.
-
AuthorPosts
-
possenMemberI have myeclipse installed on another OS X machine and the start/stop tomcat feature works fine but I installed it on a new OS X at work and when I try to start tomcat, I get the following error.
“A configuration error occurred during startup. Please verify the preference field with the prompt. Error during initialization of VM. Could not find -Xrun library: libjdwp.jnilib (searched /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Libraries:.)”This happens whether I use tomcat 5. or 4. I searched everywhere for this library and even on a PC where I have my eclipse installed and the tomcat launching works, but can not find it. So I am thinking the error is suspect but maybe not.
I am running using the default OS X JavaVM 1.4.1_01-23 version for the tomcat installation.
possenMemberForgot to list configuration: MyEclipse 2.6.2, Eclipse 2.1.1, Mac OS X 10.2.7 on a G5
Scott AndersonParticipantWow, a G5. Must be sweet. 🙂
Which JDK are you using to launch Eclipse itself? It should be 1.3.1 as Eclipse 2.1.x and MyEclipse 2.6.2 will not function properly on 1.4.1. Please see the configuration in the .plist file (Eclipse.plist?) in the Eclipse.app directory under the Eclipse installation. It’s an XML file that you’ll have to navigate to using the Terminal. If 1.4.1 is referenced, simply change it to 1.3.1.
If that’s OK, make sure you’ve got the latest Apple update for the 1.4.1 JDK on the G5. If the problem still persists, try configuring Tomcat to run on 1.3.1 and see if that resolves the issue. The problem you’re seeing is in the actual Eclipse handoff to the JDK so something is iffy there. We don’t actually set the parameter that is in question, so this is a low-level tooling thing that is most likely some sort of JDK configuration problem. Taking the steps above should help us to isolate it as it is most likely unique to the G5.
Please let us know what you find.
–Scott
MyEclipse Support
possenMemberThe G5 is definitiely nice. 🙂
The Info.plist has 1.3.1 for the IDE.
Right now the java version number is:
java version “1.4.1_01”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-68)
Java HotSpot(TM) Client VM (build 1.4.1_01-23, mixed mode)Software Update does not seem to want to get the absolute latest which was released this week with System 10.2.8. So I assume this is the latest that will run on the G5.
I tried switching to run Tomcat under 1.3.1, I get the same error except the error reports the Library path is 1.3.1 rather than 1.4.1. I did this using the MyEclipse JDK settings for the Tomcat 4 Appliction server.
possenMemberAnother data point. I used another G5 and did a fresh install of Eclipse IDE 2.1.1, MyEclipse 2.6.2 and Tomcat. I get the same error when I try to start Tomcat. I also removed all deployments and get the same error.
possenMemberTo be sure my code was not involved, I installed again using the following procedure to a new diretory on my G5. Unpacked Eclipse 2.1.1, ran Enterprise Workspace Installer 2.6.2 and launched Eclipse. I did not checkout any of my source code from CVS. Enabled Tomcat 4 in the Application Servers tab under the MyEclipse Preferences and set it to Tomcat 4 directory (and disabled JBoss 3). Tried to start the web server using the Tomcat 4 -> Start menu. I still get the error so that absolves my code of responsibility. 😉 So that leaves us with some G5 specific error or that there something wrong with the installation procedure. Does that mean that Genuitec needs to invest in a G5? 🙂
Scott AndersonParticipantI just looked up the suspect library on my iBook (/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Libraries/libjdwp.jnilib) and it exists exactly where your G5 says it doesn’t. So it looks like there is at least a difference between the way Java is configured on the G5 from the other Mac platforms. It could be a bug or perhaps Apple just isn’t really “finished” yet, or it may be by design. At this point it’s really a question for Apple to say why the library doesn’t exist in the G5 java builds.
So that leaves us with some G5 specific error or that there something wrong with the installation procedure.
I’m going with “G5-specific” at this point.
Does that mean that Genuitec needs to invest in a G5? 🙂
No need, because it won’t run MyEclipse. 😉 Seriously though, given the pain it took to get this iBook for testing I think a G5 is out of the question. Unless you work for Apple and have some connections….?
–Scott
MyEclipse Support
possenMemberOK. Finally. Problem resolved! it seems that the Software Update on G5 does not detect the latest version of the Java VM. Originally, I looked on Apple’s web site for a way to download it manually but could not find it. Someone pointed me to that location and now everything work. So it will not work unless you go to this website http://www.apple.com/downloads/macosx/apple/java.html. Once that is installed check the version number.
java version “1.4.1_01”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-69.1)
Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)I think you also might need the Java Developer Tools Update 1 too which is available from Apple’s Developer Connection (ADC).
Scott, thanks for the help and for going though the hassle of installing it on an iBook, that information was helpful.
PS missing libraries was the Java Debugging Wire Protocol (JDWP libjdwp.jnilib), Debug Transport over TCP/IP (libdt_socket.jnilb), and Debug Transport over local sockets (libdt_local.jnilib)
Thanks.
– Paul
Scott AndersonParticipantPaul,
Excellent news! You’ve now blazed the trail for G5’ers everywhere. Who knows, that may be the fastest MyEclipse development platform in existance, at least according to Apple’s ads. 🙂
Scott, thanks for the help and for going though the hassle of installing it on an iBook, that information was helpful.
It wasn’t a hassle at all. We already have a full MyEclipse development installed on the iBook because we use it for testing each build before it goes out the door. So, it was already quite handy.
–Scott
MyEclipse Support -
AuthorPosts