Hi Luca,
I installed plugin and did gerrit init. During init I tested for connectivity and it says "Checking Jira connectivity ... [OK]" but when I push the commit it says
"Issue XXX not found or visible in Jira Issue-Tracker". tomcat log is showing below error
[2013-08-29 16:44:00,831] WARN com.googlesource.gerrit.plugins.hooks.validation.ItsValidateComment : Unexpected error accessint ITS
AxisFault
faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode:
faultString: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out.
faultActor:
faultNode:
faultDetail:
{}com.atlassian.jira.rpc.exception.RemoteAuthenticationException:null
{
http://xml.apache.org/axis/}hostname:us02gerrit01p
com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out.
[2013-08-29 16:44:00,249] DEBUG org.apache.axis.client.Call : operation=name: getIssue
returnQName: getIssueReturn
returnType: {
http://beans.soap.rpc.jira.atlassian.com}RemoteIssue
returnClass: class com.atlassian.jira.rpc.soap.client.RemoteIssue
elementQName:null
soapAction: null
style: rpc
use: encoded
numInParams: 2
method:null
ParameterDesc[0]:
name: in0
typeEntry: null
mode: IN
position: 0
isReturn: false
typeQName: {
http://www.w3.org/2001/XMLSchema}string javaType: class java.lang.String
inHeader: false
outHeader: false
ParameterDesc[1]:
name: in1
typeEntry: null
mode: IN
position: 1
isReturn: false
typeQName: {
http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
inHeader: false
outHeader: false
FaultDesc[0]:
name: null
qname: {
http://localhost:8090/jira/rpc/soap/jirasoapservice-v2}fault
type: {
http://exception.rpc.jira.atlassian.com}RemotePermissionException
Class: com.atlassian.jira.rpc.soap.client.RemotePermissionException
FaultDesc[1]:
name: null
qname: {
http://localhost:8090/jira/rpc/soap/jirasoapservice-v2}fault type: {
http://exception.rpc.jira.atlassian.com}RemoteAuthenticationException
Class: com.atlassian.jira.rpc.soap.client.RemoteAuthenticationException
FaultDesc[2]:
name: null
qname: {
http://localhost:8090/jira/rpc/soap/jirasoapservice-v2}fault
type: {
http://exception.rpc.jira.atlassian.com}RemoteException
Class: com.atlassian.jira.rpc.soap.client.RemoteException
[2013-08-29 16:44:00,249] DEBUG org.apache.axis.client.Call : operation.getNumParams()=2
[2013-08-29 16:44:00,249] DEBUG org.apache.axis.client.Call : getParamList number of params: 2
[2013-08-29 16:44:00,250] DEBUG org.apache.axis.client.Call : Enter: Call::invoke(RPCElement)
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.SOAPPart : Enter: SOAPPart ctor(FORM_SOAPENVELOPE)
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.i18n.ProjectResourceBundle : org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.SOAPPart : Setting current message form to: FORM_SOAPENVELOPE (currentMessage is now org.apache.axis.message.SOAPEnvelope)
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.SOAPPart : Exit: SOAPPart ctor()
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.i18n.ProjectResourceBundle : org.apache.axis.i18n.resource::handleGetObject(addBody00)
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.message.SOAPBody : Adding body element to message...
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.client.Call : Enter: Call::invoke()
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.MessageContext : MessageContext: setTargetService(jirasoapservice-v2)
[2013-08-29 16:44:00,251] DEBUG org.apache.axis.i18n.ProjectResourceBundle : org.apache.axis.i18n.resource::handleGetObject(noService10)
[2013-08-29 16:44:00,252] DEBUG org.apache.axis.ConfigurationException : Exception:
org.apache.axis.ConfigurationException: No service named jirasoapservice-v2 is available
org.apache.axis.ConfigurationException: No service named jirasoapservice-v2 is available
at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:755)
I am able to login successfully with the same userid and password in jira but thats not working when I configure the same for hooks-jira plugin.
I was wondering if I need to install jira-rpc plugin and
enable "Accept remote API calls" at Jira side to make hooks-jira work
?