facebook

Tomcat JDK name || Weblogic JDK name [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #205639 Reply

    drgroove
    Member

    Hello,

    MyEclipse displays erratic behavior in regards to installed JDKs on my Windows 2000 PC.

    I have both Tomcat 4.1 and Weblogic 8.1 setup as Application Servers under MyEclipse.

    After working OK for about 2 months, today MyEclipse shows an error message when attempting to start either server:

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

    A similar error appears for Weblogic.

    Both servers have a JDK selected under Window > Preferences > MyEclipse > Application Servers > (Tomcat 4.1 || Weblogic 8.1) > JDK

    Removing and reinstalling the JDKs from w/in MyEclipse has no effect.
    Enabling or disabling either server has no effect.
    Restarting MyEclipse has no effect.
    Restarting Windows has no effect.

    This is an extremely frustrating scenario (one of many with MyEclipse) which I would appreciate any help with.

    Please let me know if there is any additional information that I can provide to help diagnose & resolve this issue. I have searched on this forum for answers to this question prior to posting, and only posted when no answer could be found on this board, Devshed (where I’m a moderator) or via Google.

    Thank you in advance for your help.

    #205642

    Riyad Kalla
    Member

    DrGroove,
    We are sorry to hear you are having this trouble as I agree, its annoying as hell.

    Can you post what versions of Eclipse/MyEclipse/JDK you are using?

    Also can you try:

      1) Window > Preferences > Java > Installed JREs, remove all JREs
      2) Restart Eclipse
      3) Window > Preferences > Java > Installed JREs, add new JRE BUT point to your JDK installation DIR. Setup any Javadoc or Source attachment if you want. Hit OK
      4) Window > Preferences > MyEclipse > Application Servers > Tomcat 4 > JDK, hit the drop down, select the JRE (really JDK) that you just setup. Hit OK, OK until out of prefs.
      5) Try and start the Tomcat 4 app server.

    If this doesn’t work and you get an error, please immediately check the <eclipse install>\workspace\.metadata\.log file, and copy out the last 2 or 3 entries from it that starts with !SESSION——– into a message here for us to look at.

    #205644

    Riyad Kalla
    Member

    Also you mentioned “one of many (problems) with MyEclipse”, can you give us a quick rundown of the most frequent or annoying problems you run into? We work VERY hard to focus on our users needs and will fix a bug or annoyance ASAP if we can get a detailed description of how to reproduce it, and what the expected behavior is. (In most cases the expected behavior is obvious, but sometimes we need to hear from the users what they want to see).

    If you don’t have time now to report it, that is fine. Maybe next time it happens drop us a quick post so we can look into it.

    #211176

    saialluru
    Member

    I have the same problem. I have installed Eclipse Version: 3.0.0. Build id: 200406251208. I have then installed MyEclipse latest B2 as of July 29th. I have setup the properties for Tomcat 5 with home directory. I have a JRE j2re1.4.2_03 which came with XP. This is setup in the preferences window when I installed eclipse. I tried adding another JRE but did not work. The as you suggested I tried removing all JREs but my eclipse version requires at least 1 JRE. Any help is really appreciated.

    #211183

    Riyad Kalla
    Member

    saialluru,
    To run an app server you need to setup a JDK, not a JRE. By default Eclipse finds/and uses a JRE on your systems, my tip above was for our user to go into his Window > Preferences > Java > Installed JREs settings and actually point the “JRE directory” to his JDK, this works fine for Eclipse and lets you use the JDK to launch your app server. You can also navigate to your app server’s “JDK” settings and just click the “Add” button to add a new JDK.

    Did that help?

    #211606

    naveen427
    Member

    @support-rkalla wrote:

    saialluru,
    To run an app server you need to setup a JDK, not a JRE. By default Eclipse finds/and uses a JRE on your systems, my tip above was for our user to go into his Window > Preferences > Java > Installed JREs settings and actually point the “JRE directory” to his JDK, this works fine for Eclipse and lets you use the JDK to launch your app server. You can also navigate to your app server’s “JDK” settings and just click the “Add” button to add a new JDK.

    Did that help?

    Hi,
    Even I have the above mentioned problem. I changed JRE to point to JDT, but the problem is not solved.

    Thanks,
    Naveen.

    #211607

    Riyad Kalla
    Member

    Naveen,
    Did you mean “JDK”? What location are you pointing the JDK to? Did you select this in the dropdown for the application server? What version of MyEclipse are you using? What version of Eclipse? What application server?

    #211609

    saialluru
    Member

    Riyad,

    Thanks for your help, installing a JDK and pointing to it helped.

    Sai.

    #211626

    Riyad Kalla
    Member

    Glad it worked.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Tomcat JDK name || Weblogic JDK name [Closed]

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