BD Lookup Error _ Not using the COmmunication channel!

Dear all,
I Tried to  do DB Lookup as told in this blog by siva
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
I used the below code.
I am not Getting any error, the mapping is successfully ACTIVATED. But in the Receiver field i am Getting Null as output , the DB lookup which i have mentioned is not connecting to the Database and executing and fetching the query. Just inthe receiver field its througing the Null valuse. The Required Value is not fetched by using the communication channel.
I am getting the above error when i try to TEST THE MAPPING in IR.
Below is the code i used.
SERVER:XI 3.0
SP:18
RECEIVER DATABSE: MSQL SERVER 2000
CODE----
//write your code here
String Query = "";
Channel channel = null;
DataBaseAccessor accessor = null;
DataBaseResult resultSet = null;
Query = "Select cir_id from circle where cir_sap = 'IDBL'";
try{
channel = LookupService.getChannel("<Business Service/System Name>","JDBC_channel_receiver Communication channel");
accessor = LookupService.getDataBaseAccessor(channel);
resultSet = accessor.execute(Query);
for(Iterator rows = resultSet.getRows();rows.hasNext();){
Map rowMap = (Map)rows.next();
result.addValue((String)rowMap.get("cir_id"));
catch(Exception ex){
result.addValue(ex.getMessage());
finally{
try{
if (accessor!= null) accessor.close();
catch(Exception ex){
result.addValue(ex.getMessage());
END CODE----
Please help me out.
I am getting output as null. But in database value is there for cir_id where cir_sap='IDBL'.
Regards,
Prakash

As i told before i have tested the interface, its not showing any error, its Activated and throwing Null as output.
Its not fetching the value from database. In CC Monitoring also the adapter is in Green Status. No error over there. Its throwing the output as Null (Default value in the code.)
Below is the connection parameter i have used:
DRIVER:com.microsoft.jdbc.sqlserver.SQLServerDriver
CONNECTION : jdbc:microsoft:sqlserver://<IP>:1433;DatabaseName=test_db
But in the blog
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
If u can see properly, he has mentioed some extra parameters in the JDBC Connection Parameters.
But the screenshot is not proper so i am not able to see the querry he has used in Connection parameters.
Please help
Could anyone tell how to write the Select statement in Connection Parameter for Adapter as given (Partialy in screenshot in BLOG)?
Regards,
Prakash
Edited by: senthilprakash selvaraj on Jul 1, 2008 7:33 AM

Similar Messages

  • Photoshop cs6 error "could not use the type tool because the target channel is hidden.  happens when im typing in photoshop, go to another layer and then come back. can't alter text at that point

    photoshop cs6 error "could not use the type tool because the target channel is hidden.  happens when im typing in photoshop, go to another layer and then come back. can't alter text at that point.  i really need to get thsi figured out. thank you.

    You may have answered my question. I AM using the 64bit version of Illustrator CS6. I had no idea there were bugs in it that affected paths copied and pasted from Illustrator to Photoshop.
    A bit more about what I'm trying to accomplish... I'm trying to follow Deke's tutorial (http://www.deke.com/content/dekes-techniques-018-creating-a-3d-pie-chart) which is already difficult since so much has changed between CS5.5 and 6, but then on top of that, I keep getting errors!
    So I created the pie chart exactly as he shows and copied and pasted into Photoshop exactly as he does. Before submitting this post, though, I tried drawing just two very simple triangle shapes, copying them both and pasting them into Photoshop as a shape layer. The shapes weren't overlapping, but they were a part of the same shape layer just like the pie chart tutorial.
    Thanks for your help. If there is anything else I should try before just giving up because of the 64bit bugs, please let me know.

  • Configuration Wizard in ID is not using existing Communication Channel

    Hi,
    I am using PI 7.1.
    I created a Communication channel FileSenderCC for a Business System Sys_Sample_One_D with Party as blank.
    After creating i can see below object in the list of communication channels in the left pane.
    |Sys_Sample_One_D|FileSenderCC
    After this when i use Menu: Tools -> Configuration Wizard -> Internal Communication, to configure the scenrio, I selected the Business System Sys_Sample_One_D and Adapter Type "File", and proceed, while selecting the sender communicaiton channel, it cannot find the FileSenderCC that i created.
    If i manually enter FileSenderCC, and complete the scenario, it is creating a new communication channel with the samename, and not using the exisitng one.
    After that i see two communication channels in the left pane.
    |Sys_Sample_One_D|FileSenderCC
    *|Sys_Sample_One_D|FileSenderCC
    does this happen in PI 7.1 only, because when i worked in 7.0 long time back, i dont think i got this issue.

    Hi,
    I had the same issue on PI 7.1, it looks like a bug, but I found no note about it.
    I think you should open an OSS message for this.
    Kind Regards,
    Sergio

  • "Could not use the clone stamp because the area to clone has not been defined (Alt-click to define a source point)".

    Few users access our Photoshop through Citrix on a mac but use a Windows 7 platform once they're in Citrix.  They're all having issues using the Clone Stamp tool.  Get the error "Could not use the clone stamp because the area to clone has not been defined (Alt-click to define a source point)". We've reset the clone stamp tool, reset all the tools, and reset the preferences. We've made sure that we're in All Layers.  Nothing seems to be working.  None of the other forums helped either.  Adobe support is no help either.
    Thanks,
    Moe.

    Did you check with Citrix support?  Did you try both of the Alt keys.

  • In repository what is the use of communication channel templates

    Hi People
                     what is the use of communication channel templates in integration repository? and  when we are using that please tell me the ASAP
    Thanks & Regards
    shekar

    HI,
    The communication channel template is for the documentation purpose that will give the information about the sender and receiver communication channels in IR. So No need to goto ID and check the related CCs each time for every scenario.
    You can preconfigure a communication channel with a communication channel template. You can use the communication channel template as a template to define a communication channel at configuration time.
    If you want to create multiple communication channels with some identical configuration data, you should use a communication channel template.
    Thanks
    Swarup

  • Using time warner road runner. when I try to open up safari to home page I get error message that this version does not support the "community toolbar" can't proceed until closing the error message. sick of seeing it

    using time warner road runner. when I try to open up safari to home page I get error message that this version does not support the "community toolbar" can't proceed until closing the error message. sick of seeing it

    That toolbar/ct plugin seems to cause problems for all who install it!
    Close Safari, then locate and delete the following files and it should be gone:
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/Receipts/ctloader.pkg
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    /Users/<User name>/Library/Application Support/Conduit
    where / is the root library on your Hard Disk.
    If you are running Snow Leopard you should also look here:
    Library/launchAgents/com.conduit.loader.agent.plist
    Library/Application support/conduit plugins
    Also, as mentioned by Gilli2000:
    Library/Receipts - If you read it, it has information in it at the bottom referring extensively to "CT" and "community toolbar".
    Maybe it is harmless, but trash those items anyway!
    Note: Safari does not support any third-party toolbars except those supplied as an extension to Safari via the Extension Gallery.

  • I keep getting the following error message---"We're sorry but the Safari browser version you are currently using does not support the community toolbar."

    When I log in I get this message I keep getting the following error message---"We're sorry but the Safari browser version you are currently using does not support the community toolbar."
    Also, I can seem to down load my Adobe Flash, I did download what I thought was the correct down load for Safari, but I'm still getting this message "We're sorry but the Safari browser version you are currently using does not support the community toolbar."  I was even going to purchase the Leopard for 29.99 to see would this solve my problem but I want to purchase another pc and sale this one, can you help me?
    Thank you

    See this link.
    Also look at More Like This on the right side of these pages for realted threads on this topic (and on the pages those link to).

  • I keep getting an error message that says the safari browser version you are currently using does not support the community toolbar.  how do I fix it?

    Everytime I open my imac I get an error message that says: "We're sorry but the Safari browser version your are currently using does not support the community toolbar."  I can't see where it affects anything else, but getting an error message on an imac, just doesn't seem right, ya know?  How can I get rid of the message. 

    Apparently an add-on named Community Toolbar was installed at one time, and is causing the problem. To get rid of it, quit Safari, then throw away these files -
    Macintosh HD/Library/Application Support/Conduit
    Macintosh HD/Library/InputManagers/CTLoader
    Macintosh HD/Library/Receipts/ctloader.pkg
    Macintosh HD/Library/Receipts/<Toolbar name>.pkg
    Macintosh HD/Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    Macintosh HD/Users/<User name>/Library/Application Support/Conduit
    Note - if you are using Lion, the Library folder in your home folder (user name folder) is hidden. To get into it, in Finder open the Go menu; with that menu open, press and hold the Option key. An item "Library" will be added to the list, and can then be selected. That will open the Library folder in your home folder.

  • HT203175 I have no problem signing on to iTunes my issue is once on the site I can not use the "search". It says there is a runtime error R6025 pure virtual function call. Has anyone had this problem and how do I fix it. Thanks

    I do not have a problem getting in the iTunes stores. My issue is once on the site I can not use the "search". It says there is a pure virtual function call R6025. How can I solve this problem? Do I have to create a new account? Do I have to uninstall and re-install? Thanks

    Thanks so much for your feedback. I really appreciate any input here.
    If someone from Adobe could GUARANTEE that this problem would go away if I
    purchased CS4, I would pony up the cash and do it. However, I'm skeptical
    about that because I just saw someone else post a message on the forum today
    who is running CS4 and getting the exact same runtime error as me.
    I'll try un-installing and re-installing as Admin, and if that doesn't work,
    maybe I can find a used copy of CS3.
    In the meantime, I'm also wondering if a Photoshop file can carry any sort
    of corrupt metadata inside it once it has errored out? Reason I ask is, I
    had to port all of my old PSD files to the new computer, and I only seem to
    be getting this error when I attempt to work on one of the files that
    previously got the runtime error when they were sitting on my XP machine.
    When I create new files from scratch on this new computer, they seem to be
    working just fine (at least, for now).
    If so, I would probably be smart to never open those troublesome
    "errored-out" files again.

  • I am trying to burn a music cd on iTunes, but I am getting an error that reads that the cd burner is being used by another application.  I know that I am not using the cd burner for anything else.  I have restarted the Mac and nothing.  Any ideas?

    I am trying to burn a music cd on iTunes, but I am getting an error that reads that the cd burner is being used by another application.  I know that I am not using the cd burner for anything else.  I have restarted the Mac and nothing.  Any ideas?

    One other thread said it was fixed by waiting till prompted by iTunes to insert the blank disk, instead of putting it in first. Does that work? Found a number of hits on this Googling.

  • 'You Are Not Using The Correct Type of Phone Cord' Error

    Having a issue with my fax on my HP Officejet Pro 8500 wireless.  Tried to send a fax, it  received a send error.  I ran fax test and it came back with "You are not using the correct type of phone cord".  Nothing has changed since I last fax'd but I check the lines and connection, everything appears ok.  Phone jack is connected to 1-line and Officejet '2-ext' is connected to the phone.  I use a dedicated phone # and the Officejet is set to auto answer.   I can call out and receive calls on the phone connect to the Officejet.  My assumption is that since I can use the phone without issue there is nothing wrong with the phone line.  Any ideas?
    This question was solved.
    View Solution.

    I was having the same problem.  I'm using a the 2 wire phone cord provided with the printer and still getting this error.  Turns out that it related to have a phone extension plugged into the printer.  If I unplug the telephone form the extension jack on the back of the printer, then the fax test passes.   I was even using a 2 wire cord on the phone extension but it seems that simply having a telephone plugged into the extension jack will cause this error. 
    Run the test without a telephone plugged into the printer's extension jack and you should be fine.
    Worked for me!

  • "Could not use the ***** because of a program error"

    I'm using Photoshop CS CC on the new Mac which looks like a rubbish bin, and keep receiving "Could not use the ***** because of a program error". Does anyone know a work around or fix as I can't work with photoshop.

    There seem to be recurring permissions errors for Photoshop running under OS X Mavericks. You might check into disk utility : repair permissions, or very carefully manually altering permissions here and there.
    Not entirely sure this relates to your issue, but it might help:  http://forums.adobe.com/thread/1404674?tstart=0
    And  http://forums.adobe.com/thread/1403095?tstart=120
    And I'm sure you can search for several more threads related to permissions issues with Mavericks. I think Apple needs to do an update to Mavericks. But with careful permissions alteration, you can probably get PS working.
    Once you're pretty secure in what permissions can change and what permissions should never change, you can Google a permissions utility called BatChmod. It rocks, is extremely powerful, and in the wrong hands can destroy your entire system.  :+)  So be careful ...

  • Could not use the spot healing brush because of an internal error!

    Hi All. I have been trying out the Photoshop CC trial and all is well but all of a sudden I have been getting the "could not use the spot healing brush because of an internal error" message when I'm using the healing brush rapidly! I'm sending the tiff file from Capture One Pro 8 as a Tiff file so I'm not sure if this has anything to do with it.
    Many Thanks

    Hi it does not crash but I looked in the Photoshop Crashes folder anyway and it was empty! The message flags up and then press OK to remove it.

  • Why when i click to open safari does it keep telling me the safari browser version i am using does not support the community toolbar ?

    Why when I am clicking into safari does a message appear telling me that the Safari Browser version I am using does not support the community toolbar ???

    You installed the Conduit spyware. To remove it, back up all data, then follow these instructions.
    If the instructions don't work, proceed as follows.
    Triple-click the line below to select it:
    ~/Library/Application Support/Conduit
    Copy the selected text to the Clipboard (command-C). From the Finder menu bar, select
    Go ▹ Go to Folder…
    Paste into the box that opens (command-V), then press return. A Finder window should open with a folder named "Conduit" selected. If it does, delete the selected item.
    Repeat with this line:
    /Applications/Toolbars
    Now you're deleting a folder named "Toolbars". You may be prompted for your login password. Next, copy this line:
    /Library
    Select Go to Folder… again and paste. Don't delete the Library folder. Delete only the following items inside it, if they exist.
    Application Support/Conduit
    InputManagers/CTLoader
    LaunchAgents/com.conduit.loader.agent.plist
    ScriptingAdditions/ct_scripting.osax
    Close the Finder windows you opened. Log out and log back in.
    I've seen a report that Conduit may be bundled with a scam "utility" called "MacKeeper." If you installed MacKeeper, you should remove it according to the developer's instructions. It's worthless and causes many problems reported on this site.

  • When I start my computer the safari icon jumps up and down and i get a note: 'Community Toolbar' I'm sorry, but Safari browser version you are currently using does not support the community toolbar.  How do i get rid of this

    when I start my computer the safari icon jumps up and down and i get a note: 'Community Toolbar' I'm sorry, but Safari browser version you are currently using does not support the community toolbar.  How do i get rid of this?

    Carolyn Samit has answered this question before.  I did it with this info.  Thank you Carolyn for your awesome help.

Maybe you are looking for

  • Multiple user accounts on iMac (Lion latest)

    1 account with 1 itunes doesn't cut it when there are 5 ipods, 3 iphones, and 2 pads in the house all with varying tastes, so I have 5 user accounts on the iMac so everyone can manage "their own itunes" the way they want. Now, to avoid file redundanc

  • Calculation of basic date and schedule date

    I update material master from routing with CA97 to material master work scheduling data with base quantity 1000 When MRP running, planned order for 54000 PCS is schedule with work scheduling data. when i schedule planned order (change) the calculatio

  • Time machine is not working

    I just got a new imac intel core i7 which is an upgrade from my power mac G4 MDD which I got in 2003. I transferred all the information from the power G4 using time machine and it worked fine. I then upgraded the OS to 10.6.4 given imac is intel core

  • Error creating backup file

    Hi, I'm running adobe digital editions on a Mac OS X 10.6.3 and I keep getting this error message whenever I open adobe digital editions. Error creating backup file: /Users/yongrufui/Documents/Digital Editions/backup_manifest.xml Error detail: Error

  • Content protection problem

    Hi. I've got that content protection problem when downloading from blackberry app world. Every time I try to download something, a message comes up that says, "An error has occurred communicating with the BlackBerry App World Client. If you have cont