Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to debug Web app with Tomcat & Eclipse (JRE mismatch)
How to debug Web app with Tomcat & Eclipse [message #1007205] Mon, 04 February 2013 19:01 Go to previous message
siegfried@heintze.com Mising name is currently offline siegfried@heintze.com Mising name
Messages: 6
Registered: February 2013
Junior Member
I have a web app that runs find with mvn jetty:run and I would like to run it with tomcat.

My value for CATALINA_HOME is "C:\Users\siegfried\Documents\AppBin\tomcat\apache-tomcat-7.0.35".
My value for JAVA_HOME is "c:\Program Files\Java\jdk1.7.0_11".
My value for ECLIPSE_HOME is "C:\Users\siegfried\Documents\AppBin\eclipse\64\eclipse-jee-juno-SR1-win32-x86_64"

Have my project set to us Java 1.7.
To accommodate maven I have inserted these two lines in the top of my eclipse.ini:
-vm
c:\Program Files\Java\jdk1.7.0_11\bin\javaw.exe

I see my Tomcat v7.0 Server at localhost-config. When I run my app I get a dialog box

"Launching Tomcat v7.0 Servr at Localhost' has encountered a problem. The specified JR installation does not exist'.

What the heck am I doing wrong?

Tomcat runs find if I start it directly. I want to start it from eclipse, however, so I can single step thru my java source code.
Thanks
Siegfried
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:change the tomcat startup url to ssl https connector
Next Topic:Removing obsolete files from the server
Goto Forum:
  


Current Time: Thu May 23 07:41:30 EDT 2013

Powered by FUDForum. Page generated in 0.01856 seconds