Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 19th, 2004, 02:49 AM
Registered User
 
Join Date: May 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default help me

i send XML with SOAP ,but in receive End (servlet) i look Exception:

NotifyUtil::java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:158)
        at java.net.Socket.connect(Socket.java:426)
        at java.net.Socket.connect(Socket.java:376)
        at sun.net.NetworkClient.doConnect(NetworkClient.java :139)
        at sun.net.www.http.HttpClient.openServer(HttpClient. java:386)
        at sun.net.www.http.HttpClient.openServer(HttpClient. java:602)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java :303)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java :264)
        at sun.net.www.http.HttpClient.New(HttpClient.java:33 6)
        at sun.net.www.http.HttpClient.New(HttpClient.java:31 7)
        at sun.net.www.http.HttpClient.New(HttpClient.java:31 2)
        at sun.net.www.protocol.http.HttpURLConnection.plainC onnect(HttpURLConne
ction.java:481)
        at sun.net.www.protocol.http.HttpURLConnection.connec t(HttpURLConnection
.java:472)
        at sun.net.www.protocol.http.HttpURLConnection.getOut putStream(HttpURLCo
nnection.java:528)
        at org.netbeans.modules.web.monitor.server.NotifyUtil $RecordSender.run(N
otifyUtil.java:237)




 
Old October 14th, 2005, 03:53 PM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had this problem from installing netbeans. I uninstalled it, but there was still some configurations in the <catilina home>/config/web.xml file. Remove the following:

If you want an IDE, perhaps you'd like to try eclipse.

edit your [$TOMCAT_HOME]/conf/web.xml file and rip out the following section from the top - where Netbeans snuck it in, and didn't remove - even if i uninstalled it

=========================================
<filter>
<filter-name>HTTPMonitorFilter</filter-name>
<filter-class>org.netbeans.modules.web.monitor.server.Moni torFilter</filter-class>
<init-param>
<param-name>netbeans.monitor.ide</param-name>
<param-value>127.0.0.1:8082</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>HTTPMonitorFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
=========================================










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.