RE: Tomcat 4.1 -- Newbie Question
Yep, check out the "logs" directory. There will be a catalina.out file that captures all stdout and stderr. -Original Message- From: Gopalakrishnan Govindakrishnan [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 8:23 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.1 -- Newbie Question Hi: I am new to Tomcat and would like some help ... 1) Does Tomcat write out a log file when I initially start it? I have installed Tomcat 4.1 under windows 2000 and when I use the start programs --> Apache Tomcat 4.1 --> Start Tomcat, it opens a command window, but, it disappears quickly and I am not able to see if there any errors to resolve it. Thanks -- Gopal -- --- G. Gopalakrishnan | Life is not measured by the Ext - 76967 | number of breaths we take, Phone: (303) - 272 - 6967 | but by the moments that [EMAIL PROTECTED] | take our breath away. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4.1 -- Newbie Question
Nothing, nada, zip, zilch ... in the log files ... I was expecting to see all my servlets defined in web.xml in the log file as being loaded, but, nothing. Here's the flow of my app: 1) index.jsp ( form ... login with user id and password). Error happens saying that /loginservlet is not found. 2) sends request to loginservlet (defined in web.xml as /loginservlet). 3) servlet forwards to valid application menu options. Does the above help? I have tried to deploy by different methods, but same result. -- Gopal Shapira, Yoav wrote: Howdy, If your war file worked under JBoss, it should work in tomcat. What errors does your log contain? Yoav Shapira Millennium ChemInformatics -Original Message- From: Gopalakrishnan Govindakrishnan [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 9:56 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.1 -- Newbie Question Hi: I am fairly new to installing and configuring Tomcat. But, 4.1 version seemed easy enough. Thanks. Now, I am not an expert on java or web apps, but, here's my problem. I have a webapp test. I want to deploy it under Tomcat 4.1. I create the war file with the web.xml under WEB-INF dir and all the exploded classes under WEB-INF/classes etc. I copied the war file to webapps dir under tomcat and restarted Tomcat. My jsp page pulls up fine, but, the servlet is not being recognized. Somehow, it seems to me that the web.xml is not being loaded and Tomcat is yelling at me saying that it cannot find the context. So, 1) Why are my servlets not loaded from web.xml? I was expecting to see all my servlets and the context in some log file, but, I don't see it. 2) Why is my welcome-file-list file (index.jsp) not loaded at context? It shows me a dir listing and I physically type in the contextpath/index.jsp ... The same war file works fine under jboss ... but, I would like to deploy it under Tomcat ... Any help would be appreciated .. Thanks -- Gopal -- --- G. Gopalakrishnan | Life is not measured by the Ext - 76967 | number of breaths we take, Phone: (303) - 272 - 6967 | but by the moments that [EMAIL PROTECTED] | take our breath away. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- --- G. Gopalakrishnan | Life is not measured by the Ext - 76967 | number of breaths we take, Phone: (303) - 272 - 6967 | but by the moments that [EMAIL PROTECTED] | take our breath away. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.1 -- Newbie Question
Howdy, If your war file worked under JBoss, it should work in tomcat. What errors does your log contain? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Gopalakrishnan Govindakrishnan [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 06, 2003 9:56 AM >To: [EMAIL PROTECTED] >Subject: Tomcat 4.1 -- Newbie Question > >Hi: > >I am fairly new to installing and configuring Tomcat. But, 4.1 >version seemed easy enough. Thanks. Now, I am not an expert on java or >web apps, but, here's my problem. > >I have a webapp test. I want to deploy it under Tomcat 4.1. I create >the war file with the web.xml under WEB-INF dir and all the exploded >classes under WEB-INF/classes etc. I copied the war file to webapps dir >under tomcat and restarted Tomcat. > >My jsp page pulls up fine, but, the servlet is not being recognized. >Somehow, it seems to me that the web.xml is not being loaded and Tomcat >is yelling at me saying that it cannot find the context. > >So, > >1) Why are my servlets not loaded from web.xml? I was expecting to >see all my servlets and the context in some log file, but, I don't see it. >2) Why is my welcome-file-list file (index.jsp) not loaded at >context? It shows me a dir listing and I physically type in the >contextpath/index.jsp ... > >The same war file works fine under jboss ... but, I would like to deploy >it under Tomcat ... > >Any help would be appreciated .. > >Thanks >-- Gopal > >-- >--- >G. Gopalakrishnan | Life is not measured by the >Ext - 76967 | number of breaths we take, >Phone: (303) - 272 - 6967 | but by the moments that >[EMAIL PROTECTED] | take our breath away. > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]