Indeed it was the problem with the path of the DTD Thanks Rahul -----Original Message----- From: Milon Krejca [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 7:58 PM To: Struts Users Mailing List Subject: Re: Error using Struts Validation on Weblogic 8.1 platform
Seems like you do not have DTD configured localy and the server is tryiing to access DTD from web server. See beginning of validation.xml file and look for DTD definition... Milon [EMAIL PROTECTED] wrote: >All, > >The validation doesn't seem to work.Checking the Server logs displays the following >stack trace.Any thoughts as to what needs to be done? > >Thanks >Rahul > >17 Dec 2003 10:20:01,806 INFO ValidatorPlugIn []: Loading validation rules file from >'/WEB-INF/validator-rules.xml' > >17 Dec 2003 10:20:19,031 ERROR ValidatorPlugIn []: jakarta.apache.org >Throwable: java.net.UnknownHostException: jakarta.apache.org >Stack Trace: >java.net.UnknownHostException: jakarta.apache.org > at java.net.InetAddress.getAllByName0(InetAddress.java:1004) > at java.net.InetAddress.getAllByName0(InetAddress.java:969) > at java.net.InetAddress.getAllByName(InetAddress.java:963) > at weblogic.net.http.HttpClient.openServer(HttpClient.java:228) > at weblogic.net.http.HttpClient.openServer(HttpClient.java:292) > at weblogic.net.http.HttpClient.<init>(HttpClient.java:128) > at > weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:122) > at > weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:321) > at java.net.URL.openStream(URL.java:960) > at > weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:836) > at > weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:796) > at > weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:275) > at > weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:841) > at > weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329) > at > weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525) > at > weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581) > at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) > at > weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175) > at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135) > at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138) > at org.apache.commons.digester.Digester.parse(Digester.java:1562) > at > org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:256) > at > org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:224) > at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:167) > at > org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105) > at > com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.registerModule(DynamicSubappActionServlet.java:346) > at > com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.ensureModuleRegistered(DynamicSubappActionServlet.java:520) > at > com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.getModuleConfig(DynamicSubappActionServlet.java:455) > at > com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:389) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502) > at > com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:348) > at > com.bea.wlw.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1196) > at com.bea.wlw.netui.pageflow.FlowController.lookup(FlowController.java:1615) > at > com.bea.netuix.servlets.controls.content.PageflowContent.preRender(PageflowContent.java:343) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) > at > com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) > at > weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:385) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317) > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) > at > weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:286) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1017) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1033) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:912) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:806) > at > org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401) > at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:429) > at > com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) > at > com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) > at > weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:385) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317) > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) > at > weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:286) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1017) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1033) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:912) > at > com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:416) > at > com.bea.wlw.netui.pageflow.DynamicSubappActionServlet.process(DynamicSubappActionServlet.java:405) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) > at > com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313) > at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317) > at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) > at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622) > at > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569) > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) > >17 Dec 2003 10:20:19,031 INFO ValidatorPlugIn []: Loading validation rules file from >'/WEB-INF/validation.xml' > > > > >Confidentiality Notice > > >The information contained in this electronic message and any attachments to this >message are intended >for the exclusive use of the addressee(s) and may contain confidential or privileged >information. If >you are not the intended recipient, please notify the sender at Wipro or [EMAIL >PROTECTED] immediately >and destroy all copies of this message and any attachments. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]