Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

TIBCO 5.13 'Invoke-REST-API' Issue PLS HELP!


sandeep neelam

Recommended Posts

Hi Team,

I have developed a simple Rest application using 'Invoke-REST-API' palette. I am able to invoke the client API, by modifying my local designer.tra file.

I then deployed it in our SIT tibco server, modified the application.tra file with the same (below) rest properties, but getting exception as shared below.

java.property.com.ibm.jsse2.overrideDefaultTLS=true

java.property.https.protocols=TLSv1.2

 

Job-7 Error in [Processes/Flows/Viaplay/RestRequests/ViaplayAuth.process/Invoke REST API]

 

Activity invocation failed

at com.tibco.pe.plugin.Activity.postEval(Unknown Source)

at com.tibco.pe.plugin.Activity.postEval(Unknown Source)

at com.tibco.pe.core.TaskImpl.eval(Unknown Source)

at com.tibco.pe.core.Job.a(Unknown Source)

at com.tibco.pe.core.Job.k(Unknown Source)

at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)

at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)

caused by: javax.ws.rs.ProcessingException: java.net.ConnectException: Frbindelse vgras (Connection refused)

at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287)

at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:252)

at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:701)

at org.glassfish.jersey.internal.Errors.process(Errors.java:315)

at org.glassfish.jersey.internal.Errors.process(Errors.java:297)

at org.glassfish.jersey.internal.Errors.process(Errors.java:228)

at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)

at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:697)

at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:448)

at com.tibco.plugin.json.activities.RestActivity.sendReqeustWithBody(RestActivity.java:472)

at com.tibco.plugin.json.activities.RestActivity.doPostAlike(RestActivity.java:452)

at com.tibco.plugin.json.activities.RestActivity.doService(RestActivity.java:417)

at com.tibco.plugin.json.activities.RestActivity$1.run(RestActivity.java:366)

at com.tibco.pe.util.ThreadPool$ThreadPoolThread.run(Unknown Source)

Caused by: java.net.ConnectException: Frbindelse vgras (Connection refused)

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

at java.net.Socket.connect(Socket.java:589)

at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673)

at sun.net.NetworkClient.doConnect(NetworkClient.java:175)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)

at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)

at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)

at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)

at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)

at org.glassfish.jersey.client.internal.HttpUrlConnector$4.getOutputStream(HttpUrlConnector.java:390)

at org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:200)

at org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:194)

at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:228)

at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:299)

at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)

at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)

at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)

at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)

at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)

at org.glassfish.jersey.message.internal.ReaderWriter.writeToAsString(ReaderWriter.java:193)

at org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider.writeToAsString(AbstractMessageReaderWriterProvider.java:130)

at org.glassfish.jersey.message.internal.StringMessageProvider.writeTo(StringMessageProvider.java:99)

at org.glassfish.jersey.message.internal.StringMessageProvider.writeTo(StringMessageProvider.java:59)

at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)

at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)

at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)

at org.glassfish.jersey.spi.ContentEncoder.aroundWriteTo(ContentEncoder.java:138)

at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)

at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)

at org.glassfish.jersey.client.ClientRequest.doWriteEntity(ClientRequest.java:517)

at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:499)

at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:393)

at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)

... 13 more

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...