Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jcwouters
Post subject: Setting Tomcat JVM in MyEclipse  PostPosted: Jan 08, 2010 - 09:26 AM
Registered Member
Registered Member


Joined: Sep 18, 2006
Posts: 2

Hi support,

Been researching for hours now on this issue and have searched the MyEclipse forums, but found nothing relating to my issue.

I recently needed to upgrade to Java 1.6. Problem lied in updating Tomcat's JVM within MyEclipse to Java 1.6.

When I ran Tomcat outside of MyEclipse (using Configuration Manager) I was able to change the JVM to Java 1.6. This worked fine and the manager reported the JVM being 1.6.

In MyEclipse IDE I changed the installed JRE to 1.6. (Window > Preferences > Java > Installed JREs. It now points to "C:\Program Files\Java\jdk1.6.0_02".

When I ran Tomcat through MyEclipse, I then went to the Tomcat manager (locahost:8080/manager/html) and it reported it was using Java 1.5's JVM, not 1.6.

I then decided to delete all other Installed JREs from MyEclipse and now Tomcat is not working at all. When I run Tomcat I get this error:
Quote:

A configuration error occurred during startup. Please verify the preference field with the prompt: Tomcat JDK name


I then get a link of "Show preference page" which takes me to the following screenshot:
Image

I do not see anything wrong here with my Tomcat setup.

Additional info:
Apache Tomcat version 5.5
MyEclipse Version: 7.1.1 - Build id: 7.1.1-20090310
Java 1.6.0 Update 02

I would appreciate any advice or help with this, as I am completely stuck.

Thanks in advance.

JC
 
 View user's profile Send private message  
Reply with quote Back to top
jcwouters
Post subject: RE: Setting Tomcat JVM in MyEclipse  PostPosted: Jan 08, 2010 - 10:06 AM
Registered Member
Registered Member


Joined: Sep 18, 2006
Posts: 2

Ok I found out the issue.

Had to go to Window > Prefs > MyEclipse Enterprise Workbench > Servers > Tomcat > Tomcat 5.x > JDK and choose my JDK, which I set to 1.6 and all works fine now.
Silly mistake, sorry about that.
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Setting Tomcat JVM in MyEclipse  PostPosted: Jan 11, 2010 - 08:54 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

jcwouters,
Good to know that you are all set.
do let us know if you have any issues.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jouli
Post subject: SOOOO nice  PostPosted: Apr 19, 2010 - 05:28 AM



Joined: Apr 19, 2010
Posts: 2

I read your post and totally agree with you.Its nice sharing.I also needed to upgrade to Java 1.6. Problem lied in updating Tomcat's JVM within MyEclipse to Java 1.6. web sites are source of information and this is one of them I book mark it and mail all of my friends to must check it.
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: SOOOO nice  PostPosted: Apr 19, 2010 - 08:34 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3242

jouli,

Good to hear you are all set.

Best.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits