| Author |
Message |
|
|
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. |
|
|
| |
|
|
|
 |
|
|
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? |
|
|
| |
|
|
|
 |
|
|
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? |
|
|
| |
|
|
|
 |
|
|
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". |
|
|
| |
|
|
|
 |
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 13, 2009 - 11:10 PM
|
|

Joined: Jan 04, 2007
Posts: 137
|
|
|
|
|
 |
|
|
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. |
|
|
| |
|
|
|
 |
|
|
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. |
|
|
| |
|
|
|
 |
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 18, 2012 - 05:47 AM
|
|

Joined: Nov 11, 2010
Posts: 2193
|
|
|
_________________ Swapna
MyEclipse Support
|
| |
|
|
|
 |
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Apr 25, 2012 - 06:41 AM
|
|

Joined: Nov 11, 2010
Posts: 2193
|
|
|
_________________ Swapna
MyEclipse Support
|
| |
|
|
|
 |
|
|