Hello, Dave: Could you please be more specific on what logging I need to set to DEBUG level? I am using WAS. Which console in WAS I should set the DEBUG to true for logging in this case?
In the project I am working on, I turned on the debug flag for the project but that is the only exception I saw in the server log. The application initialization was successful and I was able to launch the login page. I just got that exception as soon as I logged in. Thanks a lot. Joann On Tue, Mar 20, 2012 at 9:57 AM, Dave Newton <davelnew...@gmail.com> wrote: > Have you set the logging to DEBUG level and checked the logs on startup? > > Dave > > On Tue, Mar 20, 2012 at 9:48 AM, joann luo <joannlu...@gmail.com> wrote: > > > Hello, > > > > Thanks for your quick responses. > > > > Yes. I changed the DTD definitions in all the relevant files: > > > > <!DOCTYPE struts-config PUBLIC > > "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN" > > "http://jakarta.apache.org/struts/dtds/struts-config_1_3.dtd"> > > > > <!DOCTYPE tiles-definitions PUBLIC > > "-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN" > > "http://jakarta.apache.org/struts/dtds/tiles-config_1_3.dtd" > > > > > <!DOCTYPE form-validation PUBLIC > > "-//Apache Software Foundation//DTD Commons Validator Rules > > Configuration 1.3.0//EN" > > "http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd > > > > > > Is there anything else I might have missed which causes this exception? > > > > > > Thanks a lot. > > > > > > 2012/3/19 Łukasz Lenart <lukasz.len...@googlemail.com> > > > > > Did you changed DTD definition ? > > > > > > > > > Regards > > > -- > > > Łukasz http://www.lenart.org.pl/ > > > mobile +48 606 323 122, office +27 11 0838747 > > > Warszawa JUG conference - Confitura http://confitura.pl/ > > > > > > > > > 2012/3/19 joann luo <joannlu...@gmail.com>: > > > > hello, > > > > > > > > > > > > I downloaded the complete Struts 1.3.10 package from > > > > http://struts.apache.org/download.cgi\ > > > > *struts-1.3.10-all.zip< > > > http://apache.mirrors.hoobly.com/struts/binaries/struts-1.3.10-all.zip > > > > > > *. I updated the existing JAR files in my application. > > > > > > > > > > > > > > > > jakarta-oro.jar > > > > > > > > commons-logging.jar > > > > > > > > commons-digester.jar > > > > > > > > commons-validator.jar > > > > > > > > commons-beanutils.jar > > > > > > > > commons-fileupload.jar > > > > > > > > struts.jar > > > > > > > > > > > > > > > > I added the 3 new JAR files as the dependencies. > > > > > > > > commons-chain.jar > > > > > > > > struts-taglib.jar > > > > > > > > struts-tiles.jar > > > > > > > > > > > > > > > > I was able to compile the code correctly. I deployed the new EAR > file. > > > > Once I logged into the application, I got the following exception in > > the > > > > log. > > > > > > > > > > > > > > > > > > > > > > > > org.apache.commons.chain.config.ConfigParser > > > > > > > > javax.servlet.UnavailableException: > > > > org.apache.commons.chain.config.ConfigParser > > > > > > > > at > > > > > > > > > > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:534) > > > > > > > > at > > > > > > > > > > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502) > > > > > > > > at > > > > > > > > > > com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179) > > > > > > > > at > > > > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933) > > > > > > > > at > > > > > > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276) > > > > > > > > at > > > > > > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931) > > > > > > > > at > > > > > > > > > > com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583) > > > > > > > > at > > > > > > > > > > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186) > > > > > > > > at > > > > > > > > > > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445) > > > > > > > > at > > > > > > > > > > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504) > > > > > > > > at > > > > > > > > > > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301) > > > > > > > > at > > > > > > > > > > com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) > > > > > > > > at > > > > > > > > > > com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784) > > > > > > > > at > > > > > > > > > > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) > > > > > > > > at > > > > > > > > > > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) > > > > > > > > at > > > > > > > > > > com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) > > > > > > > > at > > > com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) > > > > > > > > at > > > > com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) > > > > > > > > at > > > > > > > > > > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) > > > > > > > > at > > > com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) > > > > > > > > at > > com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I also tried to put commons-chain.jar either in the WEB-INF\classes > or > > > WEB- > > > > INF\lib directory. I restarted the WAS server but I still got the > same > > > > exception. > > > > > > > > > > > > > > > > Does anyone know what the cause of this issue is? > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Best Regards, > > > > Joann > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > > > > > -- > > Best Regards, > > Joann > > > -- Best Regards, Joann