| Author |
Struts 2.0.11 & Weblogic 9.2 - java.net.ConnectException
|
Vigneswar Nagarathinam
Greenhorn
Joined: Feb 05, 2008
Posts: 1
|
|
Hi All, I'm trying to implement Struts2.0.11 with Weblogic 9.2. I'm getting the following error while running the Weblogic server. Can you please help me by providing a solution: stack trace: ------------------- <Feb 5, 2008 3:51:35 PM GMT+05:30> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher. Class: weblogic.net.http.HttpClient File: HttpClient.java Method: openServer Line: 320 - weblogic/net/http/HttpClient.java:320:-1 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles (XmlConfigurationProvider.java:835) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments (XmlConfigurationProvider.java:131) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init( XmlConfigurationProvider.java:100) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload( DefaultConfiguration.java:130) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration( ConfigurationManager.java:52) Truncated. see log file for complete stacktrace Tried all: '1' addresses, but could not connect over HTTP to server: ' struts.apache.org', port: '80' - Class: weblogic.net.http.HttpClient File: HttpClient.java Method: openServer Line: 320 - weblogic/net/http/HttpClient.java:320:-1 at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:123) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles (XmlConfigurationProvider.java:830) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments (XmlConfigurationProvider.java:131) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init( XmlConfigurationProvider.java:100) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload( DefaultConfiguration.java:130) Truncated. see log file for complete stacktrace java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'struts.apache.org', port: '80' at weblogic.net.http.HttpClient.openServer(HttpClient.java:320) at weblogic.net.http.HttpClient.openServer(HttpClient.java:375) at weblogic.net.http.HttpClient.<init>(HttpClient.java:149) at weblogic.net.http.HttpClient.New(HttpClient.java:245) at weblogic.net.http.HttpURLConnection.connect( HttpURLConnection.java:160) Truncated. see log file for complete stacktrace> My Web.xml for referrence: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>Sample Project</display-name> <description>Sample Project to Work with Struts2.</description> <context-param> <param-name>webmaster</param-name> <param-value>myaddress@mycompany.com</param-value> <description> The EMAIL address of the administrator to whom questions and comments about this application should be addressed. </description> </context-param> <!-- Filter Mappings --> <!-- Added for Struts 2 testing - Start --> <filter> <filter-name>action2</filter-name> <filter-class> org.apache.struts2.dispatcher.FilterDispatcher </filter-class> </filter> <filter-mapping> <filter-name>action2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <!-- Added for Struts 2 testing - End --> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param> </web-app> Thanks in advance, Vigneswar Nagarathinam
|
 |
 |
|
|
subject: Struts 2.0.11 & Weblogic 9.2 - java.net.ConnectException
|
|
|