Hi mailing list,

today quite a strange (at least in my opinion) behaviour of my struts application. I'm 
developing an application based on weblogic 8.1 SP2. So far so good, everything works 
fine (struts and tiles), but as soon as i add the validator plugin in the 
struts-config.xml and redeploy my application, weblogic throws the below mentioned 
exception while loading both validation.xml and validation-rules.xml. I'm not quite 
sure if the problem is struts or weblogic related, but i hope, the struts mailing list 
is able to help me solving this problem. 

Additional information: 
        - web archive (.war) is located inside an enterprise archive (.ear)
        - deploying the war-file individually leads to the same exception
        - deployment failed in different weblogic domains -> same exception
        - validation configuration should be correct (i have another running 
application (.war), that works with validation on weblogic)
        - deployment also failed using the validator.xml and validator-rules.xml of 
the running application
        - the validator xml files are well-formed and validated

I appreciate any ideas, as i spent way too much time trying to solve this problem...

2004-05-19 16:12:19,667 [main] INFO  org.apache.struts.validator.ValidatorPlugIn - 
Loading validation rules file from '/WEB-INF/validator-rules.xml'
<19.05.2004 16.12 Uhr CEST> <Warning> <Net> <BEA-000905> <Could not open connection 
with host: jakarta.apache.org and port: 80.>
2004-05-19 16:12:41,028 [main] ERROR org.apache.struts.validator.ValidatorPlugIn - 
Tried all: '1' addresses, but could not connect over HTTP to server: 
'jakarta.apache.org', port: '80'
java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP 
to server: 'jakarta.apache.org', port: '80'
        at weblogic.net.http.HttpClient.openServer(HttpClient.java:275)
        at weblogic.net.http.HttpClient.openServer(HttpClient.java:327)
        at weblogic.net.http.HttpClient.<init>(HttpClient.java:128)
        at weblogic.net.http.HttpClient.New(HttpClient.java:196)
        at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:117)
        at 
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:293)
        at java.net.URL.openStream(URL.java:913)
        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:1567)
        at 
org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:259)
        at 
org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:222)
        at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:161)
        at 
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at 
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at 
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
        at 
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
        at 
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
        at 
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
        at 
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
        at 
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
        at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
        at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
        at 
weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
        at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
        at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
        at weblogic.Server.main(Server.java:32)


Thanks in advance for your efforts

joachim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to