SvnMonitoringPortlet
lamerbot Oct 19, 2006 4:47 AMHello. I'am new to kosmos and when i try to deploy SvnMonitoringPortlet i had next exception:
[hu.midori.kosmos.server.svn.SvnServiceImpl] Unable to proces s the SVN repo org.tmatesoft.svn.core.SVNException: svn: REPORT of '/repos/asf/!svn/bc/465523/d b': 400 Bad Request (http://svn.apache.org) 08:35:38,135 ERROR [hu.midori.kosmos.server.svn.SvnServiceImpl] Unable to proces s the SVN repo org.tmatesoft.svn.core.SVNException: svn: REPORT of '/!svn/bc/6907/labs/shotoku/ trunk': 400 Bad Request (http://anonsvn.labs.jboss.com) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana ger.java:43) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.log(DAVRepositor y.java:487) at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:629)
Portlet.xml contains next:
<portlet> <portlet-name>JBossSvnMonitoringPortlet</portlet-name> <portlet-class>hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet</portlet-class> <init-param> <name>monitored.resource</name> <value>JBoss Labs Subversion</value> </init-param> <init-param> <name>service.url</name> <value>http://localhost:8085/kosmos-server/kosmos-services/svn-service</value> </init-param> <init-param> <name>monitored.urls</name> <value> http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/, http://anonsvn.labs.jboss.com/labs/kosmos/trunk/, http://anonsvn.labs.jboss.com/labs/shotoku/trunk/, http://svn.apache.org/repos/asf/commons/, http://svn.apache.org/repos/asf/db/ </value> </init-param> <supports> <mime-type>text/html</mime-type> <portlet-mode>HELP</portlet-mode> <portlet-mode>VIEW</portlet-mode> </supports> <supported-locale>de</supported-locale> <supported-locale>en</supported-locale> <supported-locale>fr</supported-locale> <supported-locale>hu</supported-locale> <supported-locale>ja</supported-locale> <supported-locale>pl</supported-locale> <resource-bundle>hu.midori.kosmos.portlet.svn.svn_monitoring</resource-bundle> <portlet-info> <title>Subversion Monitoring</title> </portlet-info> </portlet>
I try to start it on liferay and jboss.
Also, uner liferay i catch next exception:
java.lang.ClassCastException: com.liferay.util.axis.SimpleHTTPSender at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:216) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at _soapclient.JirasoapserviceV2SoapBindingStub.logout(JirasoapserviceV2 SoapBindingStub.java:3194) at hu.midori.kosmos.server.jira.JiraSoapServiceImpl.disconnect(JiraSoapS erviceImpl.java:217) at hu.midori.kosmos.server.jira.JiraSoapServiceImpl.getProjects(JiraSoap ServiceImpl.java:175) at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at hu.midori.kosmos.server.MethodResultCacheInterceptor.invoke(MethodRes ultCacheInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy128.getProjects(Unknown Source) at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo inpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:148) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor .invoke(RemoteInvocationTraceInterceptor.java:68) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:176) at $Proxy129.getProjects(Unknown Source) at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java :157) at org.springframework.remoting.caucho.HessianServiceExporter.handleRequ est(HessianServiceExporter.java:110) at org.springframework.web.servlet.mvc.SimpleHandlerAdapter.handle(Simpl eHandlerAdapter.java:46) at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch erServlet.java:792) at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche rServlet.java:726) at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame workServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ let.java:360) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard ContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16 0) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:683) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassCastException: com.liferay.util.axis.SimpleHTTPSender at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSD DTargetedChain.java:157) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSD DDeployableItem.java:274) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDe ployableItem.java:260) at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeplo yment.java:410) at org.apache.axis.configuration.FileProvider.getTransport(FileProvider. java:257) at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163) ... 64 more
What's wrong?