Transferring Data from RTC[5.0.2] to DOORS[9.6] via OSLC through Follow-up Operation
![]()
Hello Everyone,
We have a requirement to transfer data from a few attributes in RTC to a module in DOORS. A class(say adapter) using eclipse lyo packages was built to transfer the required data to the DOORS system. Then we have created a follow-up operation that will extract the data from the attributes of the work item (for ex: summary,planned for etc..) on the work item save operation and pass theese values to the adapter.
The lyo component was able to transfer the data to the DOORS module successfully when tested through a sample application in eclipse. but when when included in the follow-up operation this component is not working with the following stack trace:
Enter this URL in a browser and run again: http://doorsserver:8080/dwa/oauth
-authorize-token?oauth_token=18689471-45b3-4427-9617-840165510a0c
oath exception caught
org.apache.http.conn.HttpHostConnectException: Connection to https://doorsserver:8443 refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnect
ion(DefaultClientConnectionOperator.java:158)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.ja
va:149)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPool
edConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(Default
RequestDirector.java:562)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReq
uestDirector.java:415)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:754)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl
ient.java:732)
at com.daimler.stan.doorsclient.CrAdapter.validateTokens(CrAdapter.java:
319)
at com.daimler.stan.doorsclient.CrAdapter.transferDatatoCr(CrAdapter.jav
a:128)
at com.daimler.stan.changerequest.CrDoorsAdapter.run(CrDoorsAdapter.java
:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:60)
On going through the stacktrace it is observed that the port is beeing changed in the redirect url but that was not the case when i was running the program through eclipse..
Can anyone help me out with this!!
Thanks in advance..
|