- This topic has 4 replies, 3 voices, and was last updated 11 years, 11 months ago by support-tony.
-
AuthorPosts
-
Scott HamiltonMemberWe’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?
Brian FernandesModeratorScott,
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.
Scott HamiltonMemberStraight 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.
Brian FernandesModeratorScott,
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.
support-tonyKeymasterScott,
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.
-
AuthorPosts