MyEclipse Forums
 Finding Tomcat 6 logfiles when used as a server in Eclipse Goto page Previous  1, 2
Author Message
 kentucky_b
 Post subject:   Posted: Feb 06, 2009 - 05:59 PM
 Veteran Member Joined: Jul 18, 2008 Posts: 65
 Thanks; I was confused that the base and the home were not the same. I still can't access a servlet that I am calling from the action tag in an html page. I'm not sure what the problem can be now.

 kentucky_b
 Post subject:   Posted: Feb 08, 2009 - 01:41 AM
 Veteran Member Joined: Jul 18, 2008 Posts: 65
 Please see a new topic I have posted; I think it might have to do with the values for home and base as I am using the wrong web.xml file i think. I think this is why I can not deliver the servlet. I am using the Kick Start book by Valcarcel. I think I am following the steps correctly there. My context root is "/MyProject". When I look at the properties for MyProject, the project References tab has a Servers project checked. The only server there is Tomcat v6.0 Server at localhost hiwhc has it's own web.xml. Should this project not be checked? I started out with a separate install of Tomcat; the I decided to use the embedded Tomcat v6.0 server. Perhaps I have confused myself with all this?

 kentucky_b
 Post subject:   Posted: Feb 12, 2009 - 10:52 PM
 Veteran Member Joined: Jul 18, 2008 Posts: 65
 I do have catalina_home and catalina_base clear in my mind now; however, I still have not found where the embedded tomcat server is doing any logging after adding the two VM arguments as suggested above. Am I still missing something?

 ernestz
 Post subject:   Posted: Feb 13, 2009 - 01:50 PM
 Joined: Jan 04, 2007 Posts: 137
 If the VM arguments were added correctly, the logs will be in the path specified as "\${catalina.base}/logs".

 kentucky_b
 Post subject:   Posted: Feb 13, 2009 - 07:06 PM
 Veteran Member Joined: Jul 18, 2008 Posts: 65
 Well, the puzzle continues then. VM arguments: -D catalina.home= C:/Java/JavaSource/plugins/com.genuitec.eclipse.easie.tomcat.myeclipse_6.5.0.zmyeclipse650200806/tomcat -D catalina.base = C:/development/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat However, there are no log files at : C:\development\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\logs

 ernestz
 Post subject:   Posted: Feb 13, 2009 - 11:10 PM
 Joined: Jan 04, 2007 Posts: 137
 What about the VM arguments for "java.util.logging.manager" and "java.util.logging.config.file" I pointed out in post http://myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=102229#102229

 kentucky_b
 Post subject:   Posted: Feb 14, 2009 - 12:04 AM
 Veteran Member Joined: Jul 18, 2008 Posts: 65
 Actually, the arguments in the other post are there: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="C:/development/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat /conf/logging.properties" but for some reason, the catalina.home and catalina.base are not there! I copied those values from a text document I'm keeping with the information from my research. Obviously, I messed up, and I apologize.

 kentucky_b
 Post subject:   Posted: Feb 14, 2009 - 12:08 AM
 Veteran Member Joined: Jul 18, 2008 Posts: 65
 I reread my notes, and took a look at the Integrated Sandbox. The catlina-home and catlina-base are in the VM arguments for the launch configuration. I shall be very familiar with all the configuration options and screens. I am gratefjul for your patience.

 javaboy88
 Post subject:   Posted: Apr 17, 2012 - 04:13 PM
 Joined: May 21, 2009 Posts: 15
 I'm experiencing the same problem (finding the server log for the embedded Tomcat 6) in MyEclipse 10.1, but there is no "launch" under Integrated Sandbox/MyEclipse Tomcat 6. So, I cannot follow the previous advice to discover the value(s) of "catalina.base" and/or "catalina.home". It would be helpful to see the log in order to debug some bean configuration issues in my app. _________________javaboy88

 support-swapna
 Post subject:   Posted: Apr 18, 2012 - 05:47 AM
 Joined: Nov 11, 2010 Posts: 2154
 javaboy88 , Here is an FAQ on how to enable integrated tomcat logging : http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&t=28938 The catalina.txt will contain log messages(e.g. those output via the java.util.logging.Logger class). Let us know how it works for you. _________________Swapna MyEclipse Support

 javaboy88
 Post subject: Finding MyEclipse embedded Tomcat 6 server logfiles  Posted: Apr 24, 2012 - 02:42 PM
 Joined: May 21, 2009 Posts: 15
 Okay, that's a good start. I have a server log now, but it only shows "info" messages. I really need "debug" level to see what is being configured. _________________javaboy88

 support-swapna
 Post subject:   Posted: Apr 25, 2012 - 06:41 AM
 Joined: Nov 11, 2010 Posts: 2154
 javaboy88, Can you check if you can make changes to the logging.properties file as discussed in this thread ? http://stackoverflow.com/questions/4119213/how-to-set-level-logging-to-debug-in-tomcat-6 Hope this helps. _________________Swapna MyEclipse Support

 Display posts from previous:  All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 Jump to: Select a forum Forum index|--[Frequently Asked Questions]|   |-- FAQ - General|   |-- FAQ - Installation & Configuration|   |-- FAQ - Troubleshooting|   |-- FAQ - Subscriptions|   |-- FAQ - Databases|   |-- FAQ - Application Servers|   |--  FAQ - Java Enterprise Development|   |-- FAQ - Complete|--[Announcements]|   |-- Genuitec Announcements|   |-- MyEclipse IDE Announcements|   |-- Eclipse News|--[MyEclipse Portal]|   |-- News|   |-- Comments|--[MyEclipse Blue IDE]|   |-- General|   |-- Feature Requests|--[MyEclipse for Spring]|   |-- General|   |-- Feature Requests|--[MyEclipse IDE]|   |-- Installation, Configuration & Updates|   |-- General Development|   |-- UML Development|   |-- Application Servers and Deployment|   |-- Maven for MyEclipse (Maven4MyEclipse)|   |-- Web Development (HTML, CSS, etc.)|   |-- J2EE Development (EJB, JSP, Struts, XDoclet, etc.)|   |-- Database Tools (DB Explorer, Hibernate, etc.)|   |-- Web 2.0 / AJAX|   |-- Matisse/Swing UI Development|   |-- MyEclipse Reports|   |-- Web Services|   |-- SNAPs (Simple Non-integrated APplications)|   |-- Documentation|   |-- Examples On-Demand|   |-- Feature Requests|   |-- Comments|   |-- Bugs|   |-- Mobile Tooling|--[MyEclipse IDE 3rd Party Tools]|   |-- ICEfaces Integration|--[Off Topic]|   |-- General|   |-- Software Development|   |-- Old Posts
All times are GMT - 6 Hours