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 Index » WebSphere Message Broker (ACE) Support » Can't find the datasource name while configuring in DBNode

Post new topic  Reply to topic
 Can't find the datasource name while configuring in DBNode « View previous topic :: View next topic » 
Author Message
javamaverik
PostPosted: Thu Feb 17, 2011 4:36 am    Post subject: Can't find the datasource name while configuring in DBNode Reply with quote

Newbie

Joined: 25 Jan 2010
Posts: 3

Hi All,

I could not find the DataSource Name in DatabaseRetrival Node

The JDBC Provider name which i have configured using mqsicreateconfigurableservice.



Since two days i am bashing my head to find the solution

Please help
Back to top
View user's profile Send private message
fatherjack
PostPosted: Thu Feb 17, 2011 4:57 am    Post subject: Re: Can't find the datasource name while configuring in DBNo Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

javamaverik wrote:
Hi All,

I could not find the DataSource Name in DatabaseRetrival Node

The JDBC Provider name which i have configured using mqsicreateconfigurableservice.



Since two days i am bashing my head to find the solution

Please help


Where did you look?
_________________
Never let the facts get in the way of a good theory.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 17, 2011 7:03 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The Toolkit knows nothing about any configurations made on the runtime.

The Message Flow Editor only knows about Eclipse level projects - like, for example, Data projects.
Back to top
View user's profile Send private message
javamaverik
PostPosted: Thu Feb 17, 2011 7:36 pm    Post subject: Thnx for replying the prob is Reply with quote

Newbie

Joined: 25 Jan 2010
Posts: 3

First of all thnx to all for replying..

I am a java developer recently i started working on WMB 6.1.

i was doing some samples given in product documentation of WMB. In which i am working with SimpleMessagingRouting Eg after configuring the db with mqsiconfigureproperties command as given and import the sample it showing the datasource name in properties of DatabaseRetreive Node,

but the problem comes when i want to do sample on my own by creating a a new project and try to see the datasource name in databaseretrieve node It is not at all displaying.

please let me know how to configure the datasource name for nodes such as DatabaseRetrievalNode or DatabaseRoute Node in their properties to compile the expression for selecting the data and routing.

Thnx in Advance....
Back to top
View user's profile Send private message
fatherjack
PostPosted: Fri Feb 18, 2011 12:38 am    Post subject: Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

Just enter a data source name in the data source name field in the properties of the database node. Then configure the ODBC ini file to point this data source name to your database alias (see "configuring databases" in the inforcenter.)
_________________
Never let the facts get in the way of a good theory.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 18, 2011 2:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You have to create a Data project that points to the JDBC database.

Then you need to mark this project as a referenced project on the message flow project.

Then you will get a popup for the DatabaseRetrieve node.

As mentioned, though, this has nothing to do with the runtime behavior. If you want to just use the provider you've already configured in runtime, JUST TYPE THE NAME INTO THE BOX.
Back to top
View user's profile Send private message
javamaverik
PostPosted: Sun Feb 20, 2011 8:35 pm    Post subject: Thanx a lot !!! Reply with quote

Newbie

Joined: 25 Jan 2010
Posts: 3

Dear All,

Thanks a lot for your quick reply i got it correctly this time.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Feb 20, 2011 11:21 pm    Post subject: Re: Thnx for replying the prob is Reply with quote

Grand High Poobah

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

javamaverik wrote:
First of all thnx to all for replying..

I am a java developer recently i started working on WMB 6.1.

i was doing some samples given in product documentation of WMB. In which i am working with SimpleMessagingRouting Eg after configuring the db with mqsiconfigureproperties command as given and import the sample it showing the datasource name in properties of DatabaseRetreive Node,

but the problem comes when i want to do sample on my own by creating a a new project and try to see the datasource name in databaseretrieve node It is not at all displaying.

please let me know how to configure the datasource name for nodes such as DatabaseRetrievalNode or DatabaseRoute Node in their properties to compile the expression for selecting the data and routing.

Thnx in Advance....


As a new java developer on broker and maybe an oldtime java developer, let us give you a few pointers:
  • Don't do any XML parsing in your Java code. Let the broker do the parsing for you...
  • Intellectually compare the MbElement to the node you would look at in the XML Domain document
  • Take advantage of the "on demand parsing" that the broker offers
  • Work with the "message tree"
  • Realize that a skilled XML java developer learning the broker is at a disadvantage as he has to relearn how to do most of that stuff the "right" way with WMB.
  • Realize that there are things for which the Java compute node may be less suitable than another node (XSLT, ESQL, PHP, JSON, etc...)


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Can't find the datasource name while configuring in DBNode
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.