Jump to content

Plastic + JIRA connection


edupedu

Recommended Posts

Hi,

 

I'm trying to connect Plastic SCM (v4.1.10.454 - Vigo) with JIRA (v6.1.1), but when I test the connection it says "The test connection failed: Error getting response stream (ReadDone1): ReceiveFailure".

 

post-21676-0-87562400-1382627827_thumb.png

 

I don't know what I'm doing wrong. I think I have all well configured. I checked all configuration multiple times, but it always says the same.

 

I have configured JIRA with the custom field and enabled "Accept remote API calls".

 

Anyone has found this problem before?

 

Thanks in advance!

Link to comment
Share on other sites

Hi Carlos,

 

This issue is happening on MAC yes. I'm trying to enable Plastic client log, but i think I'm doing something wrong and when I open Plastic GUI client does not log anything. I've created cm.log.conf, cm.log.txt, plastic.log.conf and plastic.log.txt and changed permissions with sudo chmod 777. If i type "cm ci --stack" in terminal, i get only this:

2013-10-24 18:21:27,051 INFO  -1402349016 cm - STARTING CLIENT
2013-10-24 18:21:27,117 DEBUG -1402349016 ClientConfig - Time loading client.conf (/Users/ebosch/.plastic4/client.conf) 51 ms
2013-10-24 18:21:27,222 ERROR -1402349016 cm - Plastic client version: 4.1.10.454
2013-10-24 18:21:27,222 ERROR -1402349016 cm - /Applications/PlasticSCM/client is not in a workspace.
2013-10-24 18:21:27,222 DEBUG -1402349016 cm - /Applications/PlasticSCM/client is not in a workspace.  at ic.a (System.String A_0, Boolean A_1) [0x00000] in <filename unknown>:0 
  at ic.a (Boolean A_0) [0x00000] in <filename unknown>:0 
  at vk.a (.b A_0) [0x00000] in <filename unknown>:0 
  at w1.c (System.String[] A_0) [0x00000] in <filename unknown>:0 

How can i enable log when i open Plastic GUI Client?

 

Thanks

Link to comment
Share on other sites

Hi,

 

The cm log file seems normal. You are trying to perform a checkin out of a workspace and the error is being shown.

 

Did you copy "cm.log.conf" and "plastic.log.conf" in your Plastic client folder, right?  The .txt files should be created automatically when you perform Plastic operations. Could you try restarting the GUI?

 

 

Regards,

Carlos

Link to comment
Share on other sites

If i start "plastic" from terminal, then i see the problem. Plastic is not able to create log files, but i don't know why. It have 777 permissions, so it should be able to create them, should be?

 

I copy the log when i execute "plastic" from terminal:

X does not support your locale
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
log4net:ERROR [RollingFileAppender] Unable to acquire lock on file /Applications/PlasticSCM/client/plastic20131024-18.log.txt. Access to the path "/Applications/PlasticSCM/client/plastic20131024-18.log.txt" is denied.

How can I allow "plastic" to create log files?

 

Thanks for all! :)

Link to comment
Share on other sites

I'll try this now.

 

Finally I changed the log folder, to a folder with permissions and now i have the log. This is the error whe I try to connect to JIRA:

2013-10-24 19:06:15,486 DEBUG extensions - Jira: using SOAP URL: http://localhost:8082/rpc/soap/jirasoapservice-v2
2013-10-24 19:06:15,486 DEBUG extensions - Logging into Jira with user edupedu
2013-10-24 19:06:15,514 ERROR extensions - JiraExtension: Error getting response stream (ReadDone2): ReceiveFailure
2013-10-24 19:06:15,516 DEBUG extensions - JiraExtension: stack trace: 
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 
  at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0 

I've attached the full log.

 

It may be an incompatibility with JIRA v6? The tutorials to connect Plastic SCM are with JIRA v5.

 

Thanks!

plastic20131024-19.log.txt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...