[jboss-dev-forums] [Design of Kosmos] - Re: Kosmos Jira Authentication using Soap
melpelotones
do-not-reply at jboss.com
Wed Jul 12 09:38:10 EDT 2006
Hi Aron,
I have already configured the cruise control monitoring portlet.Working fine at the moment.
Regarding Jira Portlet:
I have created a filter called Myfilter on my Jira project.
This filter querys any issue.
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@myjiraserver:8080/rpc/soap/jirasoapservice-v2?wsdl:Myfilter
</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>
</portlet-info>
But I am still having the same problem/
[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:Myfilter"...
[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)
I have seen in Jira doc that when configuring the RPC plugin
you have to configure some properties
Allow users to vote on issues
Allo users to watch issues
Allow unassigned issues
Cache issues
External user management
Logout COnfirmation
Use GZip COmpression
Accept Remote API calls.
Which are the exact values of these properties in order to
work with Kosmos?
Sorry for the insistence, but I would really like to monitor my
project with Kosmos.
Thank you in advance and Best Regards,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957358#3957358
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957358
More information about the jboss-dev-forums
mailing list