I am using tomcat 7 and it is the latest. Anyways i will try with other options as you said and will find out a workaround. Thank you so much for your time.
*Thanks and Regards,* Muralidhar Yaragalla. * * On Mon, Sep 23, 2013 at 11:28 AM, Lukasz Lenart <lukaszlen...@apache.org>wrote: > Here is the root of your problem: > > Caused by: java.lang.ClassCastException: > org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast > to org.apache.xerces.xni.parser.XMLParserConfiguration > > but really don't know why, maybe Tomcat is too old? Or instead of > redeploying try to write unit tests / selenium tests and use some CI > server? > > You can try antiJARLocking or antiResourceLocking options in Tomcat > context configuration. > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/9/22 Yaragalla Muralidhar <yaragallamur...@gmail.com>: > > No I don't have any problem. Sorry if i bothered you. Thank u so much for > > asking back. > > > > what i am talking about is the redeployment issue in tomcat with eclipse > > when using struts. When ever we do modifications in the code in eclipse > the > > tomcat tries to redploy the app and when it tried we get the following > > error and the app gets un deployed. This is very problematic in > > development. Always we have to stop and start the tomcat. > > > > Stack trace is as below:- > > > > INFO: Illegal access: this web application instance has been stopped > > already. Could not load > > META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration. > The > > eventual following stack trace is caused by an error thrown for debugging > > purposes as well as to attempt to terminate the thread which caused the > > illegal access, and has no functional impact. > > 2013-09-23 00:19:14 ERROR Dispatcher:38 - Dispatcher initialization > failed > > Unable to load configuration. - [unknown location] > > at > > > com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70) > > at > > > org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:429) > > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:473) > > at > > > org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) > > at > > > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) > > at > > > org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656) > > at > > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309) > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > at > > > org.apache.catalina.core.StandardContext.reload(StandardContext.java:3926) > > at > > > org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426) > > at > > > org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1345) > > at > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530) > > at > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) > > at > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) > > at > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519) > > at java.lang.Thread.run(Unknown Source) > > Caused by: Caught exception while loading file struts-default.xml - > > [unknown location] > > at > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1017) > > at > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:165) > > at > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132) > > at > > > com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:225) > > at > > > com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) > > ... 18 more > > Caused by: java.lang.ClassCastException: > > org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast > > to org.apache.xerces.xni.parser.XMLParserConfiguration > > at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) > > at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) > > at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source) > > at > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument(Unknown > > Source) > > at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(Unknown > > Source) > > at > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:213) > > at > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:198) > > at > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:189) > > at > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:175) > > at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:111) > > at > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1009) > > ... 22 more > > Sep 23, 2013 12:19:14 AM org.apache.catalina.core.StandardContext > > filterStart > > SEVERE: Exception starting filter struts2 > > Unable to load configuration. - [unknown location] > > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:485) > > at > > > org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) > > at > > > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) > > at > > > org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656) > > at > > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309) > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > > at > > > org.apache.catalina.core.StandardContext.reload(StandardContext.java:3926) > > at > > > org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426) > > at > > > org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1345) > > at > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530) > > at > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) > > at > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540) > > at > > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519) > > at java.lang.Thread.run(Unknown Source) > > Caused by: Unable to load configuration. - [unknown location] > > at > > > com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70) > > at > > > org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:429) > > at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:473) > > ... 16 more > > Caused by: Caught exception while loading file struts-default.xml - > > [unknown location] > > at > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1017) > > at > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:165) > > at > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132) > > at > > > com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:225) > > at > > > com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) > > ... 18 more > > Caused by: java.lang.ClassCastException: > > org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast > > to org.apache.xerces.xni.parser.XMLParserConfiguration > > at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) > > at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) > > at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown Source) > > at > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument(Unknown > > Source) > > at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(Unknown > > Source) > > at > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:213) > > at > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:198) > > at > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:189) > > at > > > com.opensymphony.xwork2.util.DomHelper$DOMBuilder.<init>(DomHelper.java:175) > > at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:111) > > at > > > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1009) > > ... 22 more > > Sep 23, 2013 12:19:14 AM org.apache.catalina.core.StandardContext > > startInternal > > SEVERE: Error filterStart > > Sep 23, 2013 12:19:14 AM org.apache.catalina.core.StandardContext > > startInternal > > SEVERE: Context [/ums] startup failed due to previous errors > > Sep 23, 2013 12:19:15 AM org.apache.catalina.core.StandardContext reload > > INFO: Reloading Context with name [/ums] is completed > > > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > * > > * > > > > > > On Sun, Sep 22, 2013 at 11:41 PM, Lukasz Lenart <lukaszlen...@apache.org > >wrote: > > > >> Joke? Still don't get it. Do you have any problem related to the > >> latest release? Changes included in security releases are tiny - just > >> to fix security vulnerability, nothing else. > >> > >> > >> Regards > >> -- > >> Łukasz > >> + 48 606 323 122 http://www.lenart.org.pl/ > >> > >> 2013/9/22 Yaragalla Muralidhar <yaragallamur...@gmail.com>: > >> > nice joke. Thanks. > >> > > >> > *Thanks and Regards,* > >> > Muralidhar Yaragalla. > >> > * > >> > * > >> > > >> > > >> > On Sun, Sep 22, 2013 at 10:42 PM, Lukasz Lenart < > lukaszlen...@apache.org > >> >wrote: > >> > > >> >> 2013/9/21 Yaragalla Muralidhar <yaragallamur...@gmail.com>: > >> >> > when ever we do modifications in the code the webapp is trying to > >> reload > >> >> > automatically. at that point of time there is error happening and > the > >> >> > webapp gets undeployed. Is this solved or still the problem exist? > >> >> > >> >> eeeee...... I don't know what you talking about :\ > >> >> > >> >> > >> >> Regards > >> >> -- > >> >> Łukasz > >> >> + 48 606 323 122 http://www.lenart.org.pl/ > >> >> > >> >> --------------------------------------------------------------------- > >> >> 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 > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >