2 Replies Latest reply on Dec 20, 2005 12:37 PM by wrzep

    Connections on dev

    wrzep

      Hello,

      I've got the following problem:

      I use kosmos svn service to get the statistics for my JEMS Matrix. When called, kosmos service connects to the given svn repo (for example http://anonsvn.labs.jboss.com/trunk/forge/portal-extensions), processes data and returns the statistics.

      When I run Labs locally, on my computer, everything works properly.
      On our dev, kosmos service can not open a connection (see stack trace below).

      Kosmos svn portlet works on dev without any problems. To call kosmos service I use the same code as Aron in his svn portlet.

      Any ideas what that may be caused by?
      Maybe something with dev configuration?

      com.caucho.hessian.client.HessianRuntimeException: java.net.ConnectException: Connection refused
       at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java)
       at $Proxy110.getProjects(Unknown Source)
       at org.jboss.forge.status.plugins.jira.JiraStatusPlugin.getProjectMap(JiraStatusPlugin.java:80)
       at org.jboss.forge.status.plugins.KosmosStatusPlugin.getValue(KosmosStatusPlugin.java:125)
       at org.jboss.forge.status.plugins.WeightedScorePlugin.getValue(WeightedScorePlugin.java:44)
       at org.jboss.forge.status.ProjectByScoreComparator.compare(ProjectByScoreComparator.java:21)
       at java.util.Arrays.mergeSort(Arrays.java:1284)
       at java.util.Arrays.mergeSort(Arrays.java:1295)
       at java.util.Arrays.mergeSort(Arrays.java:1296)
       at java.util.Arrays.sort(Arrays.java:1223)
       at org.jboss.forge.status.Columns.getProjectIdsSorted(Columns.java:198)
       at org.jboss.forge.status.Columns.fillValues(Columns.java:174)
       at org.jboss.forge.status.Columns.fillContext(Columns.java:147)
       at org.jboss.forge.status.Status.fillContext(Status.java:75)
       at org.jboss.forge.status.StatusDescriptor.fillContext(StatusDescriptor.java:72)
       at org.jboss.forge.status.StatusDescriptor.<init>(StatusDescriptor.java:63)
       at org.jboss.forge.status.StatusNodeWatcher.getDesc(StatusNodeWatcher.java:35)
       at org.jboss.forge.status.StatusNodeWatcher.nodeUpdate(StatusNodeWatcher.java:43)
       at org.jboss.forge.service.ForgeService.updateNode(ForgeService.java:101)
       at org.jboss.forge.service.ForgeService.update(ForgeService.java:120)
       at org.jboss.forge.service.ForgeService$1.run(ForgeService.java:190)
      Caused by: java.net.ConnectException: Connection refused
       at java.net.PlainSocketImpl.socketConnect(Native Method)
       at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
       at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
       at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
       at java.net.Socket.connect(Socket.java:507)
       at java.net.Socket.connect(Socket.java:457)
       at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
       at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
       at sun.net.www.http.HttpClient.New(HttpClient.java:287)
       at sun.net.www.http.HttpClient.New(HttpClient.java:299)
       at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:784)
       at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:736)
       at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:661)
       at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:828)
       ... 21 more
      


      Cheers,
      Pawel