ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexGeneral IBM MQ SupportTesting JDBC connection with IIB app

Post new topicReply to topic
Testing JDBC connection with IIB app View previous topic :: View next topic
Author Message
dinothedinamite
PostPosted: Mon Jun 24, 2019 4:20 am Post subject: Testing JDBC connection with IIB app Reply with quote

Guest




Hello again,

I've configured my service for JDBC provider to connect to Oracle XE db. Is there a simple way how to test the connection? I know that there is mqsicvp command for ODBC connections, but what is the easiest way to do it for JDBC?
Example would be appreciated because I tried a lot of things and didnt manage to get any info back. Thanks
Back to top
fjb_saper
PostPosted: Mon Jun 24, 2019 4:28 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20107
Location: LI,NY

show us the JDBC configurable service you set up and we might be able to help.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dinothedinamite
PostPosted: Mon Jun 24, 2019 4:34 am Post subject: Reply with quote

Guest




I apologize, here is the JDBC configurable service that I've created:

Back to top
fjb_saper
PostPosted: Tue Jun 25, 2019 4:42 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20107
Location: LI,NY

Did you change the connectionUrlFormat from the original? I don't see in the connectionUrlFormat a placeholder for the dbname... or databaseName...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dinothedinamite
PostPosted: Tue Jun 25, 2019 11:08 pm Post subject: Reply with quote

Newbie

Joined: 25 Jun 2019
Posts: 6

First things first, my account with which i created this post got deleted for god knows which reason, nvm.

Secondly, the connectionUrlFormat is equal to the connectionUrlFormat that is in default Oracle JDBC configurable service, also has no dbname parameter.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 26, 2019 5:43 am Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20107
Location: LI,NY

so can you connect to Oracle from outside the broker using
Code:
jdbc:oracle:thin:username/password/@servername:port:XE


If that is not the case than why do you expect to be able to do it with the configurable service?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dinothedinamite
PostPosted: Thu Jun 27, 2019 10:25 pm Post subject: Reply with quote

Newbie

Joined: 25 Jun 2019
Posts: 6

Found a way how to test it, made a simple app that just checks if the connection is successful or not.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportTesting JDBC connection with IIB app
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.