Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003035 [Resin] major always 11-03-08 05:51 12-15-08 12:28
Reporter skipper13 View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0003035: webApp.url && UnknownHostException
Description When I test Hessian service (resin-doc) I have error UnknownHostException:
===

com.caucho.hessian.client.HessianRuntimeException:
java.net.UnknownHostException:
default
    at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:321)
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:166)
    at $Proxy37.add(Unknown Source)
    at _jsp._demo__jsp._jspService(demo.jsp:7)
    at _jsp._demo__jsp._jspService(demo.jsp:5)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
    at com.caucho.jsp.Page.pageservice(Page.java:580)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:189)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:292)
    at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:577)
    at com.caucho.server.port.TcpConnection$AcceptTask.doAccept(TcpConnection.java:1211)
    at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1152)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:759)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:681)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.UnknownHostException: default
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
    at java.net.Socket.connect(Socket.java:520)
    at java.net.Socket.connect(Socket.java:470)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
    at sun.net.www.http.HttpClient.New(HttpClient.java:304)
    at sun.net.www.http.HttpClient.New(HttpClient.java:321)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:857)
    at com.caucho.hessian.client.HessianProxy.sendRequest(HessianProxy.java:319)
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:166)
    at $Proxy37.add(Unknown Source)
    at _jsp._demo__jsp._jspService(demo.jsp:7)
    at _jsp._demo__jsp._jspService(demo.jsp:5)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
    at com.caucho.jsp.Page.pageservice(Page.java:580)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:189)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:292)
    at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:577)
    at com.caucho.server.port.TcpConnection$AcceptTask.doAccept(TcpConnection.java:1211)
    at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1152)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:759)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:681)
    at java.lang.Thread.run(Thread.java:595)

===
Additional Information If I change in resin-web.xml
===
<uri>hessian:url=${webApp.url}/math/</uri>
===

to
===
<uri>hessian:url=http://myhost:8080/resin-doc/examples/hessian-service/math/ [^]
</uri>
===
demo can work properly.
Attached Files

- Relationships

- Notes
(0003642)
ferg
12-15-08 12:28

php/4316
 

- Issue History
Date Modified Username Field Change
11-03-08 05:51 skipper13 New Issue
11-03-08 07:42 skipper13 Issue Monitored: skipper13
12-15-08 12:28 ferg Note Added: 0003642
12-15-08 12:28 ferg Assigned To  => ferg
12-15-08 12:28 ferg Status new => closed
12-15-08 12:28 ferg Resolution open => fixed
12-15-08 12:28 ferg Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker