If Maven is a Lamborghini ..then Ant is a Yugo
You can drive to end of the block with Yugo if you dont mind repairing it every 
few feet
Once you start driving your builds with Maven I guarantee you *wont* go back to 
Ant

*keep us apprised*
Martin 
______________________________________________ 
                                                                                
                    


> Subject: Re: Issues with Tomcat 7.0.57 not loading ActionServlets
> From: bsudershan...@gmail.com
> Date: Tue, 19 May 2015 11:28:48 -0500
> To: user@struts.apache.org
> 
> Hi Martin,
> Thanks for your quick response 
> 
> We are not using Maven. It's ant build and have got no documentation. I have 
> just started supporting this application with no proper documentation.
> I will check if tiles.jar file exists under lib folder and get back to you 
> after working on your suggestions
> 
> Thanks
> Raj
> 
> Sent from my iPhone
> 
> > On May 19, 2015, at 5:33 AM, Martin Gainty <mgai...@hotmail.com> wrote:
> > 
> > please confirm url,connection,developerConnection entries are pointed to 
> > struts1 in <scm> section your pom.xml:
> > 
> >  <scm>
> >       
> > <connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts1/trunk</connection>
> >       
> > <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts1/trunk</developerConnection>
> >       <url>http://svn.apache.org/viewcvs.cgi/struts/struts1/trunk</url>
> >    </scm>
> > 
> > please confirm the commons-validator dependency is present in pom.xml:
> >   <dependency>
> >                <groupId>commons-validator</groupId>
> >                <artifactId>commons-validator</artifactId>
> >                <version>1.3.1</version>
> >                <exclusions>
> >                    <exclusion>
> >                        <groupId>xml-apis</groupId>
> >                        <artifactId>xml-apis</artifactId>
> >                    </exclusion>
> >                </exclusions>
> >            </dependency>
> > 
> > please confirm  validatorValidatorPlugin exists in 
> > /WEB-INF/struts-config.xml e.g
> > 
> > <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
> >        <set-property property="pathnames" 
> >                      
> > value="/org/apache/struts/validator/validator-rules.xml,
> >                             /WEB-INF/validation.xml"/>
> >      </plug-in>
> > 
> > please confirm you added add tiles.jar to WEB-INF/lib
> > 
> > finally when something goes awry I usually comment out the 
> > <validator-rules,xml> configuration and bring in one validator entry at a 
> > time
> > <!---
> > <validator...>
> > <validator..>
> > -->
> > if Servlet still wont load then you may have a misconfigure in 
> > struts-config.xml or even possibly misconfig in web.xml
> > or possibly omitted required parameter in pom.xml
> > 
> > if Servlet DOES load then you can enable each of the validators in 
> > validator-rules.xml one at a time
> > 
> > Let us know how it goes,
> > Martin 
> > ______________________________________________ 
> > 
> >> Subject: Re: Issues with Tomcat 7.0.57 not loading ActionServlets
> >> From: bsudershan...@gmail.com
> >> Date: Mon, 18 May 2015 17:40:12 -0500
> >> To: user@struts.apache.org
> >> 
> >> Yes Martin,
> >> That file does exists in that folder.
> >> 
> >> Thanks
> >> Raj
> >> 
> >> Sent from my iPhone
> >> 
> >>> On May 16, 2015, at 7:54 PM, Martin Gainty <mgai...@hotmail.com> wrote:
> >>> 
> >>> Raj-
> >>> 
> >>> did you check for the existence of 
> >>> /WEB-INF/validator-rules.xmlin 
> >>> $TOMCAT_HOME/webapps/NameOfYourWebappGoesHere
> >>> ?
> >>> Martin 
> >>> ______________________________________________ 
> >>> 
> >>> 
> >>> 
> >>>> Date: Wed, 6 May 2015 20:29:34 -0500
> >>>> Subject: Issues with Tomcat 7.0.57 not loading ActionServlets
> >>>> From: bsudershan...@gmail.com
> >>>> To: user@struts.apache.org
> >>>> 
> >>>> I upgraded my application from tomcat 5.5.15, JDK 1.5, Struts 1.1 on 
> >>>> Debian
> >>>> 2.6.32 to
> >>>> tomcat 7.0.57, JDK 1.6, struts 1.1 on ubuntu14.04 and Action Servlets are
> >>>> not loading.
> >>>> I am thinking of this is something to do with version conflict. Please 
> >>>> let
> >>>> me know what I am missing.
> >>>> 
> >>>> Below is the error
> >>>> 
> >>>> Apr 24, 2015 9:00:20 PM org.apache.catalina.core.ApplicationContext log
> >>>> 
> >>>> INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
> >>>> [org.apache.webapp.balancer.RuleChain: RoundRobinRule@643fd34a]
> >>>> 
> >>>> Apr 24, 2015 9:00:20 PM org.apache.catalina.core.ApplicationContext log
> >>>> 
> >>>> INFO: Marking servlet action as unavailable
> >>>> 
> >>>> Apr 24, 2015 9:00:20 PM org.apache.catalina.core.StandardContext
> >>>> loadOnStartup
> >>>> 
> >>>> SEVERE: Servlet  threw load() exception
> >>>> 
> >>>> javax.servlet.UnavailableException: Cannot load a validator resource from
> >>>> '/WEB-INF/validator-rules.xml'
> >>>> 
> >>>> at
> >>>> org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:174)
> >>>> 
> >>>> at
> >>>> org.apache.struts.action.ActionServlet.initModulePlugIns(
> >>>> ActionServlet.java:839)
> >>>> 
> >>>> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
> >>>> 
> >>>> at javax.servlet.GenericServlet.init(GenericServlet.java:158)
> >>>> 
> >>>> at
> >>>> org.apache.catalina.core.StandardWrapper.initServlet(
> >>>> StandardWrapper.java:1284)
> >>>> 
> >>>> at
> >>>> org.apache.catalina.core.StandardWrapper.loadServlet(
> >>>> StandardWrapper.java:1197)
> >>>> 
> >>>> at 
> >>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
> >>>> 
> >>>> at
> >>>> org.apache.catalina.core.StandardContext.loadOnStartup(
> >>>> StandardContext.java:5231)
> >>>> 
> >>>> at
> >>>> org.apache.catalina.core.StandardContext.startInternal(
> >>>> StandardContext.java:5518)
> >>>> 
> >>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >>>> 
> >>>> at
> >>>> org.apache.catalina.core.ContainerBase.addChildInternal(
> >>>> ContainerBase.java:901)
> >>>> 
> >>>> at 
> >>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> >>>> 
> >>>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
> >>>> 
> >>>> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1081)
> >>>> 
> >>>> at
> >>>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1877)
> >>>> 
> >>>> at 
> >>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >>>> 
> >>>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> >>>> 
> >>>> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> >>>> 
> >>>> at
> >>>> java.util.concurrent.ThreadPoolExecutor.runWorker(
> >>>> ThreadPoolExecutor.java:1146)
> >>>> 
> >>>> at
> >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> >>>> ThreadPoolExecutor.java:615)
> >>>> 
> >>>> at java.lang.Thread.run(Thread.java:701)
> >>>> 
> >>>> Thanks
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >                         
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
                                          

Reply via email to