How to use struts-example application on apache tomcat 4.0
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, June 21, 2002 03:01 AM

Hi, I am new to struts tool.I am trying to run struts-example on apache tomcat 4.0 but I could I could n't able to run struts-example application. What I did: I copied the struts-example.war into webapps folder od apache tomcat4.0 directory. I started my apache server then I got the following errors,I had all xml parsers in my class path.I got the following errors. Thanks in Advance regards Kishore ****************************************************** 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   More>>

Hi,
I am new to struts tool.I am trying to run struts-example on apache tomcat 4.0 but I could I could n't able to run struts-example application.

What I did:

I copied the struts-example.war into webapps folder od apache tomcat4.0 directory.

I started my apache server then I got the following errors,I had all xml parsers in my class path.I got the following errors.



Thanks in Advance

regards
Kishore

******************************************************
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:/Apache/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/strut
s/resources/struts-config_1_0.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C:
/Apache/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/resourc
es/web-app_2_2.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C:
/Apache/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/resourc
es/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:/Apache/webapps/struts-example/WEB-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.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=/logof
f, type=org.apache.struts.webapp.example.LogoffAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/logon
, type=org.apache.struts.webapp.example.LogonAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/saveR
egistration, type=org.apache.struts.webapp.example.SaveRegistrationAction])
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[success])
Pop org.apache.struts.action.ActionForward
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/saveS
ubscription, type=org.apache.struts.webapp.example.SaveSubscriptionAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/tour]
)
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
/addFormBean, type=org.apache.struts.actions.AddFormBeanAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
/addForward, type=org.apache.struts.actions.AddForwardAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
/addMapping, type=org.apache.struts.actions.AddMappingAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
/reload, type=org.apache.struts.actions.ReloadAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
/removeFormBean, type=org.apache.struts.actions.RemoveFormBeanAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
/removeForward, type=org.apache.struts.actions.RemoveForwardAction])
Pop org.apache.struts.action.ActionMapping
New org.apache.struts.action.ActionMapping
Set org.apache.struts.action.ActionMapping properties
Call org.apache.struts.action.ActionServlet.addMapping(ActionMapping[path=/admin
/removeMapping, type=org.apache.struts.actions.RemoveMappingAction])
Pop org.apache.struts.action.ActionMapping
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar
:file:/C:/Apache/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/strut
s/resources/struts-config_1_0.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C:
/Apache/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/resourc
es/web-app_2_2.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C:
/Apache/webapps/struts-example/WEB-INF/lib/struts.jar!/org/apache/struts/resourc
es/web-app_2_3.dtd'
resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://
java.sun.com/j2ee/dtds/web-app_2_2.dtd')
Resolving to alternate DTD 'jar:file:/C:/Apache/webapps/struts-example/WEB-INF/
lib/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
Call org.apache.struts.action.ActionServlet.addServletMapping(action/java.lang.S
tring,*.do/java.lang.String)

   <<Less

Re: How to use struts-example application on apache tomcat 4.0

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, June 21, 2002 07:15 AM

? there are no errors, in that server log you posted?

About | Sitemap | Contact