facebook

Want to Configure a Tomcat Server with Just a JRE

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

    We’re running MyEclipse 9.1 and 10.6 (we’re in transition to the latter) and are reviewing our configurations. We deploy to Tomcat running on a JRE (which it can do because it bundles a version of JDT for compilation) in production, and want to ensure that our development server environment is as close to production as possible.

    We tried setting up the Installed JREs as true JREs (pointing them to the /jre folder rather than the jdk root folder) and all works great until we try and set up the server. I can point my Tomcat server to the JRE I configured, but can’t launch it. (Error dialog.)

    I did find this link which says explicitly that we can’t use a JRE but must use a JDK in order to provide JSP compilation capability:
    http://www.myeclipseide.com/documentation/quickstarts/appservers/

    I’m sure that’s true for most other servers, but it is NOT required for Tomcat.

    I’m hesitant to call this a MyEclipse bug because it is working “as designed” but it does represent a slight development inconsistency here for Tomcat users.

    So I’d like to submit an enhancement request to allow certain servers (a la Tomcat) to be run with just a JRE from within MyEclipse.

    What else would you need in this post to complete that enhancement request?

    #329213 Reply

    Brian Fernandes
    Moderator

    Scott,

    I’ll send this on to the dev team. Do you have any documentation which mentions the fact that for Tomcat the JRE is sufficient and the JDK is not required?

    Thank you for asking.

    #329215 Reply

    Straight from their FAQ: http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q20

    Tomcat 4 requires the full JDK. Tomcat 5.5 onwards will work with a JRE or a JDK.

    #329336 Reply

    Brian Fernandes
    Moderator

    Scott,

    Thanks for the link. We’ve filed a bug for this and should be able to take a look at this during the MyEclipse 11 release stream. Unfortunately there isn’t a workaround that I can suggest for now.

    #332661 Reply

    support-tony
    Keymaster

    Scott,

    This issue has now been fixed in release 10.7. You can use the Configuration Center to update to 10.7. Alternatively download the MyEclipse or MyEclipse Blue installer from our download page.

    Thanks again for reporting it.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Want to Configure a Tomcat Server with Just a JRE

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