Svn service can not connect to the repository
wrzep Jan 9, 2006 8:28 AMHello,
I've got the following problem with the Kosmos svn-service.
I create the SvnService and try to get repository statistics in the same way as it is done in the svn monitoring portlet:
HessianProxyFactory factory = new HessianProxyFactory(); SvnService service = (SvnService) factory.create(SvnService.class,"http://62.244.175.21:8080/kosmos-server/kosmos-services/svn-service"); repositories = service.getRepositories("http://anonsvn.labs.jboss.com/trunk/forge/portal-extensions");
Calling getRepositories() throws "java.net.ConnectException: Connection timed out".
I use kosmos jira and cc-services as well, but it is only kosmos svn service that causes this exception.
Any ideas?
Full stack trace below.
Pawel
INFO [STDOUT] com.caucho.hessian.client.HessianRuntimeException: java.net.ConnectException: Connection timed out
10:12:40,443 INFO [STDOUT] at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java)
10:12:40,443 INFO [STDOUT] at $Proxy111.getRepositories(Unknown Source)
10:12:40,443 INFO [STDOUT] at org.jboss.forge.status.plugins.svn.SvnStatusPlugin.getProjectMap(SvnStatusPlugin.java:80)
10:12:40,443 INFO [STDOUT] at org.jboss.forge.status.plugins.KosmosStatusPlugin.getValue(KosmosStatusPlugin.java:121)
10:12:40,443 INFO [STDOUT] at org.jboss.forge.status.Column.fillProjectContext(Column.java:67)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.status.Columns.fillEntries(Columns.java:235)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.status.Columns.fillProjectContext(Columns.java:221)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.status.Columns.fillContext(Columns.java:144)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.status.Status.fillProjectContexts(Status.java:96)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.status.StatusDescriptor.fillContext(StatusDescriptor.java:76)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.status.StatusDescriptor.(StatusDescriptor.java:63)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.status.StatusNodeWatcher.getDesc(StatusNodeWatcher.java:41)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.status.StatusNodeWatcher.init(StatusNodeWatcher.java:64)
10:12:40,444 INFO [STDOUT] at org.jboss.forge.service.ForgeService.addNodeWatcher(ForgeService.java:78)
10:12:40,444 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:12:40,445 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:12:40,445 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:12:40,445 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:12:40,445 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109)
10:12:40,445 INFO [STDOUT] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:32)
10:12:40,445 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
10:12:40,445 INFO [STDOUT] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:113)
10:12:40,445 INFO [STDOUT] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:138)
10:12:40,445 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
10:12:40,445 INFO [STDOUT] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61)
10:12:40,446 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
10:12:40,446 INFO [STDOUT] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63)
10:12:40,446 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
10:12:40,446 INFO [STDOUT] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32)
10:12:40,446 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
10:12:40,446 INFO [STDOUT] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91)
10:12:40,446 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
10:12:40,446 INFO [STDOUT] at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:151)
10:12:40,446 INFO [STDOUT] at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:119)
10:12:40,446 INFO [STDOUT] at org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:154)
10:12:40,447 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
10:12:40,447 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
10:12:40,447 INFO [STDOUT] at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:225)
10:12:40,447 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
10:12:40,447 INFO [STDOUT] at $Proxy92.addNodeWatcher(Unknown Source)
10:12:40,447 INFO [STDOUT] at org.jboss.forge.status.StatusTools.getDesc(StatusTools.java:91)
10:12:40,447 INFO [STDOUT] at org.jboss.forge.status.StatusPortlet.doView(StatusPortlet.java:55)
10:12:40,447 INFO [STDOUT] at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:217)
10:12:40,447 INFO [STDOUT] at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:204)
10:12:40,447 INFO [STDOUT] at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:347)
10:12:40,447 INFO [STDOUT] at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeRequest(DispatcherInterceptor.java:163)
10:12:40,448 INFO [STDOUT] at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invoke(DispatcherInterceptor.java:195)
10:12:40,448 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,448 INFO [STDOUT] at org.jboss.portal.portlet.invocation.PreferencesInterceptor.invoke(PreferencesInterceptor.java:93)
10:12:40,448 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,448 INFO [STDOUT] at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:94)
10:12:40,448 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:12:40,448 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:12:40,448 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:12:40,448 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
10:12:40,448 INFO [STDOUT] at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:49)
10:12:40,449 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
10:12:40,449 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
10:12:40,449 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
10:12:40,449 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:12:40,449 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
10:12:40,449 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
10:12:40,449 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
10:12:40,449 INFO [STDOUT] at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:58)
10:12:40,449 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,449 INFO [STDOUT] at org.jboss.portal.core.invocation.AccessControlInterceptor.invoke(AccessControlInterceptor.java:125)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.server.invocation.component.CacheInterceptor.invoke(CacheInterceptor.java:74)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.server.Component.invoke(Component.java:173)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.server.invocation.portal.MainDispatcherInterceptor.invoke(MainDispatcherInterceptor.java:93)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.core.invocation.StrategyInterceptor.invoke(StrategyInterceptor.java:184)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,450 INFO [STDOUT] at org.jboss.portal.core.invocation.ViewInterceptor.invoke(ViewInterceptor.java:118)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.server.invocation.portal.TargetInterceptor.invoke(TargetInterceptor.java:153)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.core.invocation.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:117)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.core.invocation.UserContextInterceptor.invoke(UserContextInterceptor.java:92)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.server.PortalServer.invoke(PortalServer.java:186)
10:12:40,451 INFO [STDOUT] at org.jboss.portal.server.servlet.AbstractMainServlet.invoke(AbstractMainServlet.java:78)
10:12:40,452 INFO [STDOUT] at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:71)
10:12:40,452 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
10:12:40,452 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
10:12:40,452 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
10:12:40,452 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:12:40,452 INFO [STDOUT] at org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79)
10:12:40,452 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
10:12:40,452 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:12:40,452 INFO [STDOUT] at org.jboss.forge.portal.AttributesFilter.doFilter(AttributesFilter.java:88)
10:12:40,452 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
10:12:40,452 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:12:40,453 INFO [STDOUT] at org.jboss.forge.portal.SSLProcessor.doFilter(SSLProcessor.java:103)
10:12:40,453 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
10:12:40,453 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:12:40,453 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
10:12:40,453 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
10:12:40,453 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:12:40,453 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
10:12:40,453 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
10:12:40,453 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
10:12:40,453 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
10:12:40,454 INFO [STDOUT] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
10:12:40,454 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
10:12:40,454 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
10:12:40,454 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
10:12:40,454 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
10:12:40,454 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
10:12:40,454 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
10:12:40,454 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
10:12:40,454 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
10:12:40,454 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
10:12:40,455 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
10:12:40,456 INFO [STDOUT] Caused by: java.net.ConnectException: Connection timed out
10:12:40,456 INFO [STDOUT] at java.net.PlainSocketImpl.socketConnect(Native Method)
10:12:40,456 INFO [STDOUT] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
10:12:40,456 INFO [STDOUT] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
10:12:40,456 INFO [STDOUT] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
10:12:40,456 INFO [STDOUT] at java.net.Socket.connect(Socket.java:507)
10:12:40,456 INFO [STDOUT] at java.net.Socket.connect(Socket.java:457)
10:12:40,456 INFO [STDOUT] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
10:12:40,456 INFO [STDOUT] at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
10:12:40,456 INFO [STDOUT] at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
10:12:40,457 INFO [STDOUT] at sun.net.www.http.HttpClient.(HttpClient.java:214)
10:12:40,457 INFO [STDOUT] at sun.net.www.http.HttpClient.New(HttpClient.java:287)
10:12:40,457 INFO [STDOUT] at sun.net.www.http.HttpClient.New(HttpClient.java:299)
10:12:40,457 INFO [STDOUT] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:784)
10:12:40,457 INFO [STDOUT] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:736)
10:12:40,457 INFO [STDOUT] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:661)
10:12:40,457 INFO [STDOUT] at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:828)
10:12:40,457 INFO [STDOUT] ... 118 more