Randy,
here is my web.xml

<!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>[EMAIL PROTECTED]</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 & Regards.
Vigneswar Nagarathinam


Randy Burgess-3 wrote:
> 
> We need to see your web.xml. I'm running Struts 2 projects on WebLogic 9.2
> without any problems.
> 
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
> 
> 
> 
>> From: Vigneswar Nagarathinam <[EMAIL PROTECTED]>
>> Reply-To: Struts Users Mailing List <user@struts.apache.org>
>> Date: Tue, 5 Feb 2008 17:09:23 +0530
>> To: <user@struts.apache.org>
>> Subject: Struts 2 and Weblogic 9.2 - java.net.ConnectException
>> 
>> Hi All,
>>         I'm trying to implement Struts2 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.loadConfigur
>> ationFiles
>> (XmlConfigurationProvider.java:835)
>>         at
>> 
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocument>
> s
>> (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.loadConfigur
>> ationFiles
>> (XmlConfigurationProvider.java:830)
>>         at
>> 
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocument>
> s
>> (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>
>> 
>> Thanks in advance,
>> Vigneswar Nagarathinam
> 
> 
> 
> This email and any attachments ("Message") may contain legally privileged
> and/or confidential information.  If you are not the addressee, or if this
> Message has been addressed to you in error, you are not authorized to
> read, copy, or distribute it, and we ask that you please delete it
> (including all copies) and notify the sender by return email.  Delivery of
> this Message to any person other than the intended recipient(s) shall not
> be deemed a waiver of confidentiality and/or a privilege.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts-2-and-Weblogic-9.2---java.net.ConnectException-tp15288395p15305654.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to