facebook

Setting Tomcat JVM in MyEclipse

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #305200 Reply

    JC Wouters
    Participant

    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:

    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:

    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

    #305201

    JC Wouters
    Participant

    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.

    #305241

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

    #307742

    jouli
    Member

    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.

    #307756

    support-joy
    Member

    jouli,

    Good to hear you are all set.

    Best.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Setting Tomcat JVM in MyEclipse

You must be logged in to post in the forum log in