Re: Tomcat Console Messages - Ryan Norman
That is a TomCat question (you can ask at news.basebeans.com / Tomcat.) The messages are sent in both cases, as a service they go to events logs in Windows. They are debug tracking messages that you can turn of. They were nice during development. (In case you take anything to production, you should have very few messages( Vic (You might want to spend some time learning Servlets, JSP, JDBC and an application server, plenty of books on this. Also, it is customary to search the mail-archives before asking a question. Also, bad form to post a hello world message) "Ryan Norman" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... Hi, I am new to struts. I installed struts 1.0.2. I copied the struts-example.war under the webapps directory and restarted tomcat. When I restarted tomcat as a service, I did not notice anything. When I started tomcat as a console application, I saw lot of messages. Can somebody explain me what these messages are? I am pasting the messages at the end of this email. Thanks in advance Ryan Norman == Starting service Tomcat-Standalone Apache Tomcat/4.0.1 New org.apache.struts.webapp.example.User Set org.apache.struts.webapp.example.User properties New org.apache.struts.webapp.example.Subscription Set org.apache.struts.webapp.example.Subscription properties Call org.apache.struts.webapp.example.Subscription.setUser(User[username=user, f ullName=John Q. User]) Pop org.apache.struts.webapp.example.Subscription New org.apache.struts.webapp.example.Subscription Set org.apache.struts.webapp.example.Subscription properties Call org.apache.struts.webapp.example.Subscription.setUser(User[username=user, f ullName=John Q. User]) Pop org.apache.struts.webapp.example.Subscription Call org.apache.struts.webapp.example.DatabaseServlet.addUser(User[username=user , fullName=John Q. User]) Pop org.apache.struts.webapp.example.User register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar :file:/C:/Java/Tomcat40/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apach e/struts/resources/struts-config_1_0.dtd' register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C: /Java/Tomcat40/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/ resources/web-app_2_2.dtd' register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C: /Java/Tomcat40/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/ resources/web-app_2_3.dtd' resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd') Resolving to alternate DTD 'jar:file:/C:/Java/Tomcat40/webapps/struts-example/W EB-INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd' New org.apache.struts.action.ActionFormBean Set org.apache.struts.action.ActionFormBean properties Call org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean[logonForm ]) Pop org.apache.struts.action.ActionFormBean New org.apache.struts.action.ActionFormBean Set org.apache.struts.action.ActionFormBean properties Call org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean[registrat ionForm]) Pop org.apache.struts.action.ActionFormBean New org.apache.struts.action.ActionFormBean Set org.apache.struts.action.ActionFormBean properties Call org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean[subscript ionForm]) Pop org.apache.struts.action.ActionFormBean New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionServlet.addForward(ActionForward[logoff]) Pop org.apache.struts.action.ActionForward New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionServlet.addForward(ActionForward[logon]) Pop org.apache.struts.action.ActionForward New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionServlet.addForward(ActionForward[success]) Pop org.apache.struts.action.ActionForward New org.apache.struts.action.ActionMapping Set org.apache.struts.action.ActionMapping properties New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionMapping.addForward(ActionForward[success]) Pop org.apache.struts.action.ActionForward Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/editR egistration, type=org.apache.struts.webapp.example.EditRegistrationAction]) Pop org.apache.struts.action.ActionMapping New org.apache.struts.action.ActionMapping Set org.apache.struts.action.ActionMapping properties New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionMapping.addForward(ActionForw
Tomcat Console Messages - Ryan Norman
Hi, I am new to struts. I installed struts 1.0.2. I copied the struts-example.war under the webapps directory and restarted tomcat. When I restarted tomcat as a service, I did not notice anything. When I started tomcat as a console application, I saw lot of messages. Can somebody explain me what these messages are? I am pasting the messages at the end of this email. Thanks in advance Ryan Norman == Starting service Tomcat-Standalone Apache Tomcat/4.0.1 New org.apache.struts.webapp.example.User Set org.apache.struts.webapp.example.User properties New org.apache.struts.webapp.example.Subscription Set org.apache.struts.webapp.example.Subscription properties Call org.apache.struts.webapp.example.Subscription.setUser(User[username=user, f ullName=John Q. User]) Pop org.apache.struts.webapp.example.Subscription New org.apache.struts.webapp.example.Subscription Set org.apache.struts.webapp.example.Subscription properties Call org.apache.struts.webapp.example.Subscription.setUser(User[username=user, f ullName=John Q. User]) Pop org.apache.struts.webapp.example.Subscription Call org.apache.struts.webapp.example.DatabaseServlet.addUser(User[username=user , fullName=John Q. User]) Pop org.apache.struts.webapp.example.User register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar :file:/C:/Java/Tomcat40/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apach e/struts/resources/struts-config_1_0.dtd' register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C: /Java/Tomcat40/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/ resources/web-app_2_2.dtd' register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C: /Java/Tomcat40/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/ resources/web-app_2_3.dtd' resolveEntity('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd') Resolving to alternate DTD 'jar:file:/C:/Java/Tomcat40/webapps/struts-example/W EB-INF/lib/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd' New org.apache.struts.action.ActionFormBean Set org.apache.struts.action.ActionFormBean properties Call org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean[logonForm ]) Pop org.apache.struts.action.ActionFormBean New org.apache.struts.action.ActionFormBean Set org.apache.struts.action.ActionFormBean properties Call org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean[registrat ionForm]) Pop org.apache.struts.action.ActionFormBean New org.apache.struts.action.ActionFormBean Set org.apache.struts.action.ActionFormBean properties Call org.apache.struts.action.ActionServlet.addFormBean(ActionFormBean[subscript ionForm]) Pop org.apache.struts.action.ActionFormBean New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionServlet.addForward(ActionForward[logoff]) Pop org.apache.struts.action.ActionForward New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionServlet.addForward(ActionForward[logon]) Pop org.apache.struts.action.ActionForward New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionServlet.addForward(ActionForward[success]) Pop org.apache.struts.action.ActionForward New org.apache.struts.action.ActionMapping Set org.apache.struts.action.ActionMapping properties New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionMapping.addForward(ActionForward[success]) Pop org.apache.struts.action.ActionForward Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/editR egistration, type=org.apache.struts.webapp.example.EditRegistrationAction]) Pop org.apache.struts.action.ActionMapping New org.apache.struts.action.ActionMapping Set org.apache.struts.action.ActionMapping properties New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionMapping.addForward(ActionForward[failure]) Pop org.apache.struts.action.ActionForward New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionForward properties Call org.apache.struts.action.ActionMapping.addForward(ActionForward[success]) Pop org.apache.struts.action.ActionForward Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/editS ubscription, type=org.apache.struts.webapp.example.EditSubscriptionAction]) Pop org.apache.struts.action.ActionMapping New org.apache.struts.action.ActionMapping Set org.apache.struts.action.ActionMapping properties New org.apache.struts.action.ActionForward Set org.apache.struts.action.ActionFo