[jboss-dev-forums] [Design of Kosmos] - Re: Kosmos Jira Authentication using Soap

melpelotones do-not-reply at jboss.com
Wed Jul 12 04:21:44 EDT 2006


Hi Aron,

Thanks a lot again,in the end I changed to exo-portal,
where the portlets are deployed as well without problems.

I have configured the Jira Portlet as you told me in
former mail.

This is my portlet.xml


	<portlet-name>MyProjectJiraMonitoringPortlet</portlet-name>
	<portlet-class>hu.midori.kosmos.portlet.jira.JiraMonitoringPortlet</portlet-class>
	<init-param>
	  monitored.resource
	  Myproject Issues
	</init-param>
	<init-param>
	  service.url
	  http://localhost:8091/kosmos-server/kosmos-services/jirasoap-service
	</init-param>
	<init-param>
	  monitored.urls
	  
		http://myuser:mypassword@myjiraservice:8080/rpc/soap/jirasoapservice-v2?wsdl:Myproject
	  
	</init-param>
	
	  <mime-type>text/html</mime-type>
	  <portlet-mode>HELP</portlet-mode>
	  <portlet-mode>VIEW</portlet-mode>
	
	<supported-locale>en</supported-locale>
	<supported-locale>fr</supported-locale>
	<resource-bundle>hu.midori.kosmos.portlet.jira.jira_monitoring</resource-bundle>
	<portlet-info>
	  JIRA Monitoring
	</portlet-info>
  


and I have got the following error

[INFO] Http11Protocol - Starting Coyote HTTP/1.1 on http-8443
[INFO] ChannelSocket - JK2: ajp13 listening on /0.0.0.0:8009
[INFO] JkMain - Jk running ID=0 time=0/18  config=/home/ONE/exo-tomcat/conf/jk2.properties
[INFO] Catalina - Server startup in 18918 ms
[INFO] JiraMonitoringPortlet - Initializing...
[INFO] JiraMonitoringPortlet - Viewing...
[INFO] MethodResultCacheInterceptor - Cache-miss: reloading "hu.midori.kosmos.server.jira.JiraSoapServiceImpl.getProjects.http://myuser:mypassword@myjiraserver:8080/rpc/soap/jirasoapservice-v2?wsdl:Myproject"...
[ERROR] JiraSoapServiceImpl - Unable to log out <java.lang.NullPointerException>java.lang.NullPointerException
	at hu.midori.kosmos.server.jira.JiraSoapServiceImpl.disconnect(JiraSoapServiceImpl.java:217)
	at hu.midori.kosmos.server.jira.JiraSoapServiceImpl.getProjects(JiraSoapServiceImpl.java:175)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
	at hu.midori.kosmos.server.MethodResultCacheInterceptor.invoke(MethodResultCacheInterceptor.java:56)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
	at $Proxy3.getProjects(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(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(JdkDynamicAopProxy.java:176)
	at $Proxy4.getProjects(Unknown Source).


When I try to access to 

http://user:password@myjiraserver:8080/rpc/soap/jirasoapservice-v2?wsdl:Myproject

>From mozilla, axis tell me that there is a web service in this adress.

Do you have any Idea?

Thank you in advance and best regards



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957266#3957266

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957266



More information about the jboss-dev-forums mailing list