What is missing ?? -  JDBC and webdynpro

Hello!!:
I'm traying to get some data vias JDBC from a Data base to display info in a webdynpro project's view.
The code is:
public void wdDoInit()
    //@@begin wdDoInit()
  wdContext.nodeAddressbook().invalidate();
  IPrivateAddressbookView.IAddressbookNode
  addressNode = wdContext.nodeAddressbook();
  IPrivateAddressbookView.IAddressbookElement addressElement;
  try {
       InitialContext ctx = new InitialContext();
     Object obj = (Object)ctx.lookup("jdbc/PDIM");
     DataSource ds = (DataSource)PortableRemoteObject.narrow(obj, DataSource.class);
     Connection con = ds.getConnection();
     Statement stmt = con.createStatement();
     ResultSet rs = stmt.executeQuery("SELECT * FROM INTERNOS" );
     String nombre;
     String departamento;
      con.close();
  }catch (SQLException e) {
          // handle exception
     System.out.println(e.getCause());
      System.out.println(e.getMessage());
  }catch (NamingException e) {
          // handle exception
     System.out.println(e.getCause());
      System.out.println(e.getMessage());
  }catch (Exception e){
          // handle exception
            System.out.println(e.getCause());
            System.out.println(e.getMessage());
at line:
Object obj = (Object)ctx.lookup("jdbc/PDIM"); an Naming exception is throw, it says:
com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of PDIM.
PDIM = alias and name of de data base.
The connector and alias are well difine in the portal as I look up for some steps to do it at the SDN an all of them were well done. I was wondering if there's some file, as data-source-aliases.xml or something like that's missing (what and where should I put it?).
All the examples using JDBC that I saw were with EJB + Web dynpro, not just Webdynpro and JDBC. THERE IS NOT EJB ON MY PROJECT.
Thanks a lot for your time.

Nagarajan Kumarappan Thanks a lot for your answer.
You said:
"Note:This should be added only if the alias does not exist."
by that you mean "if the alias SAP/PDIM is NOT display on the aliases'list"
is it ok? or the alias could have been created from the portal side, this is
htp://<host>:50000/irj/portal  --> system configurations --> portal content -->(from context menu) New --> System
THANKS!!

Similar Messages

  • "Failed to open midi support library". What is missing? And if so, how do I get it back? What to do?

    I own a new Macbook pro 15" quadcore with OS X Mountain Lion 10.8.4
    When trying to start software Reason 7 I only get the message "Failed to open midi support library".
    What is missing? And if so, how do I get it back? Reinstalling Mountain Lion did not solve anything.
    What may I do? Is there separate MIDI-drivers or else that Macbook needs to be running audio at all?
    My audiocard Apogee Duet 2 is´nt working well either and I cannot even open the MIDI-window in Mac,
    so that road is blocked. I´ve seen more ppl having problem but found no explaination.
    Some say to remove midi-drivers but that folder is empty (or hidden?) when opening.
    Also, Garage Band cannot open. It´s no problem with graphic apps, only with audio/midi.
    My 2011 Macbook pro13" with OS X Lion runs like a charm. So how can this be? It really puzzles my mind.
    Have thoughts on having OS X Lion on the new Mac as well but will not do it until I know where the real problem is.
    Hope there is an easy fix to it. Thanks in advance.

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • Trying to start itunes - message appears "APSDAEMON.EXE MSVCR80.DLL is missing.  Then another box indicates "Error 7 (Windows error 126).  Itunes will not start.  Can someone tell me what the problem is and how to fix?

    when I tried to update to the new version of Itunes - message box appears "APSDAEMON.EXE MSVCR80.DLL is missing".  Then another box indicates "Error 7 (Windows error 126)".  Itunes will not start.  Can someone tell me what the problem is and how to fix?

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • I clicked "yes" to upgrade iTunes and now it doesn't work. I get an error message stating my computer is missing MSVCR80 and then a message stating Error 7 (Windows Error 126). I've tried reloading iTunes twice. What can I do?

    I clicked "yes" to upgrade iTunes and now it doesn't work. I get an error message stating my computer is missing MSVCR80 and then a message stating Error 7 (Windows Error 126). I've tried reloading iTunes twice. What can I do?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Firefox is refusing to start. It says that my profile is missing, which it appears to be. Yet the way in which one goes about creating a new profile wont' work either. Anybody have a bloody clue what's going on and how to fix it?

    Firefox is refusing to start. It says that my profile is missing, which it appears to be. Yet the way in which one goes about creating a new profile wont' work either. Anybody have a bloody clue what's going on and how to fix it?

    AIR give you classes to detect an on-line or off-line status, it's in 
    this way for the sake of flexibility for instance what happens if you 
    only what to sync  data only on Saturdays at 2 am? If it were done 
    automatically that'll be a problem. And it isn't so complicated.
    You can download the SalesBuilder from AIR examples at www.adobe.com/devnet/air
      it's an application that does everything you have in mind.
    I don't understand your question abou file types.
    An AIR app can communicate with almost every backend served tech 
    CF, .Net, PHP, RoR.
    Sincerely,
    Michael
    El 14/05/2009, a las 8:48, IrishAIRMax <[email protected]> escribió:
    >
    I have to say that I'm loving the picture! well cool!
    >
    Sorry but I don't quiet understand. I thought AIR did the updating 
    automatically? I didn't realise the developer had to program the 
    logic of how the updates take place?  Is it a case in most AIR apps 
    that when online the app updates the server and once every intervel 
    (of however long) the local SQLite DB is synced to the more updated 
    server DB. Then when offline the developer has to sense that the app 
    is offline and store a log manually of the updates without any help 
    from AIR itself, and then update once it comes online again?
    >
    Can AIR link to anything more than a database on the server side 
    apart from webservices, for example .as files or any other file types?
    >
    What type of server is a Flex app stored on, is it a specific Adobe 
    server rather than a Java or .NET server?
    >
    Thank you so much for your last comment!
    IrishAIRMax
    >

  • HT3775 I am using OS X Mountain Lion and I have this .avi file but not able to read. What is missing in my setup and what other file do I need to download to enable me to read?  I can read mp4 files though.

    I am using OS X Mountain Lion and I have this .avi file but not able to read. What is missing in my setup and what other file do I need to download to enable me to read?  I can read mp4 files though.

    Here is a link: https://itunes.apple.com/en/app/mplayerx/id421131143?mt=12
    I agree that VLC is also a good choice but MPlayerX is more user friendly.

  • I am creating Contractor request Requisition in iProcurement and it is completed approved still not viewable in Sourcing super user to create RFQ what is missing?

    I am creating Contractor request Requisition in iProcurement and it is completed approved still not viewable in Sourcing super user to create RFQ what is missing?
    is there any profile or set up i am missing?

    Thanks for quick reply
    Yes,
    But client do not want it to open through demand workbench
    instead contractor request requisition  should open in Sourcing super user and i should able to open through  document builder to make New RFQ
    Yogita

  • HT4113 what does pairing file missing mean and how do i fix it to restore ipod touch

    need help restoring ipod touch forgot passcode and tried to restore but message about pairing file missing what does that mean and how do i fix it

    Maybe:
    A fix for those "Pairing Record Missing" errors | TUAW - The Unofficial Apple Weblog

  • The messages on my Iphone and Mac don't match, My Mac is lacking messages. Do they only show if the sender has an iPhone, trying to figure out if thats what the missing names have in common, or if it a different problem?

    The messages on my Iphone and Mac don't match, My Mac is lacking messages. Do they only show if the sender has an iPhone, trying to figure out if thats what the missing names have in common, or if it a different problem?

    Messages on the mac will only show iMessages sent from an iPhone, another mac, iPad etc etc...
    It won't show SMS / Text messages.
    If the messages are green on your iphone then they are text messages... Blue are iMessages

  • I have an iMac and I want to use it as WLAN Hotspot. But I miss Airport in the overview to choose from. What is wrong? And who can help me?

    I have an iMac and I want to use it as WLAN Hotspot. But I miss Airport in the overview to choose from. What is wrong? And who can help me?

    Hello Mark,
    Have you done these 2 things?
    Under he Airport icon choose Create Network...
    And in System Preferences>Sharing, have you setup & enabled Internet Sharing?

  • I make apple id first time but i miss id and password and when i make new id so they want credit card for i tunes i dont have card.........what i do......

    i make apple id first time but i miss id and password and when i make new id so they want credit card for i tunes i dont have card.........what i do......

    There are instructions on this page for how to create an iTunes account without a credit card : http://support.apple.com/kb/HT2534

  • What is the diff between ITS ESS/MSS and Webdynpro ESS/MSS

    Hi all,
    Could anybody tell me the differences between ITS ESS/MSS and Webdynpro ESS/MSS?
    Presently we have ITS based ESS/MSS in our landscape and customer wants to go for Webdynpro ESS/MSS. and Webdynpro ESS/MSS is already installed in the sandbox system where ITS based ESS/MSS is already there.
    my doubt is can we install both ESS/MSS in the same server? if it is installed we may get any problems?

    Karunakar,
    check the compatibility of frontend and backend levels
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/marcio+leoni
    try to restart the portal and check
    Thanks
    Bala Duvvuri

  • I run a mac air on a single user account but multiple people using it, which is ok for the situation. All have their accounts in the apple mail app. what is missing for me is a separate password to access the mail account. otherwise anyone can see anyones

    I run a mac air on a single user account but multiple people using it, which is ok for the situation. All have their accounts in the apple mail app. what is missing for me is a separate password to access the mail account. otherwise anyone can see anyones
    Any clue, how i can add a mail account to apple mail app, but with separate password / pin to open it.
    Years ago there was a program called mail switcher which added this functionality, but thats gone.
    cheers
    Tom

    They would have to be logged in as separate users in order not to see your account in Mail. Whatever accounts put in Mail under your account will show up. All mail accounts usually have there own user and password. The only thing you can do is to remove the password from Keychain and take the account offline so you don't keep getting prompts for passwords each time it checks for mail.
    Not a great solution.
    Best way is to give the other user their own user account with their own mail and enable fast user swithcing to log between the different users if all access the computer frequently.

  • Images have ? symbol on the top right corner of the thumbnail  what does this mean and how do I remove it?

    Q - My images have a
    ? symbol on the top right corner of the thumbnail what does this mean and how do I remove it?
    A - The
    ? symbol is used to identify a file that Lightroom can no longer access; probably because it has been moved using OS drag/drop or Move command rather than Lightroom.
    Click the
    ? symbol will cause a small dialog will appear. This dialog will provide information as to where the file was originally located along with an option to find (Locate) it again.
    As you'll quickly realise, clicking the
    ? symbol is fine for finding individual files that may have been relocated, but not for large numbers. There must be a better way
    Look at the Folder panel (left side of Library module) and you should find that the folder/subfolder containing the files that Lightroom can no longer find are shown in Red text. It is the red text that Lightroom uses to help you identify a folder/subfolder that contains files that it has lost track off.
    On the Mac you should
    Ctrl-click (right-click when using two button mouse) the folder/subfolder, a pop-up menu will appear. From the pop-up menu choose the command
    Locate Missing Folder, a dialog should appear. The dialog gives you access to every hard disk connected to your computer or CD/DVDs if they're in the tray. Use this dialog to navigate to the location where the folder is now located, then select this folder (not the files). Finally, press the
    Choose button and allow Lightroom to do its stuff.
    The method described above also applies to the PC version although the dialog is called
    Browse for Folder and the
    Choose button is replaced by
    OK.
    You can avoid getting into a situation were Lightroom looses track of your folders/subfolders by using a variation of above.
    A tutorial demonstrating above can be found
    Here

    Q - My images have a
    ? symbol on the top right corner of the thumbnail what does this mean and how do I remove it?
    A - The
    ? symbol is used to identify a file that Lightroom can no longer access; probably because it has been moved using OS drag/drop or Move command rather than Lightroom.
    Click the
    ? symbol will cause a small dialog will appear. This dialog will provide information as to where the file was originally located along with an option to find (Locate) it again.
    As you'll quickly realise, clicking the
    ? symbol is fine for finding individual files that may have been relocated, but not for large numbers. There must be a better way
    Look at the Folder panel (left side of Library module) and you should find that the folder/subfolder containing the files that Lightroom can no longer find are shown in Red text. It is the red text that Lightroom uses to help you identify a folder/subfolder that contains files that it has lost track off.
    On the Mac you should
    Ctrl-click (right-click when using two button mouse) the folder/subfolder, a pop-up menu will appear. From the pop-up menu choose the command
    Locate Missing Folder, a dialog should appear. The dialog gives you access to every hard disk connected to your computer or CD/DVDs if they're in the tray. Use this dialog to navigate to the location where the folder is now located, then select this folder (not the files). Finally, press the
    Choose button and allow Lightroom to do its stuff.
    The method described above also applies to the PC version although the dialog is called
    Browse for Folder and the
    Choose button is replaced by
    OK.
    You can avoid getting into a situation were Lightroom looses track of your folders/subfolders by using a variation of above.
    A tutorial demonstrating above can be found
    Here

  • What is missing from Photoshop CS6 ???

         I tried the new PhotoShop CS6 (beta) but aside from some innovations of which my favorite is the interface (The interface is one of the best innovation that Adobe have made finally an interface that does not make you eyes hurt) and content aware move tool (content aware is definitely the best technology in Photoshop, may in the future in Photoshop CS20 will be voice-activated and will do exactly what you say even to draw for you) and maybe the new brushis, nothing that new, especially for those who draw in Photoshop concept artists, Ilustrators and so on ... etc
          In my opinion what is missing from the famous Photoshop CS 6 and should have been is :
         1 : Live symmetry drawing (horizontal and vertical) even the simplest programs like Alchemy / Sketchbook Pro and new Painter 12 has the function they have gone beyond the horizontal and vertical with the function of Kaleidoscope. I really like how the brush works in Alchemy especially in symmetry, in Sketchbook Pro are not so good in symmetry, unless thei are round but if you have a strange shapes thei tend to function as a parallel very strange but it is ther why the famous Photoshop does not have this function ??? I hoped that in PS CS6 (beta) to be, but no, I do hope maybe in the CS7 will be,
         2: I would like to make several sets of brushes, but in different windows on the screen at the same time not only a big one something like Corel Painter 12
         3: If you put a 3d function why do you tried to do something like the Google SketchUP fast, simple to use and easy to learn, or a simplified version of ZBrush sculpture in 3d clay ???
         Ok now let's talk about Bridge CS6: same functions, nothing so new, I hope that in the cs6 to implement something like the function of ACDSee Photo Manager 12 for example:
         Preview Thumbnails in a files, shortcuts that can be modified, such as double click I want to open fullscreen preview not send in photoshop or Camera Raw etc, why not the same as Photoshop, to make what I want to what I want, preview window to have the option of framing the image even if it is small or large (fit image, reduce or enlarge) the same for full screen mode the image will be framed by the edges of the screen (fit image height or widthand reduce or enlarge) from there if you want 100%, 200% etc. and many others
         What is right, there are many other features that I like and love in Bridge much more than ACDSee 12 such as preview multiple images at the same time in preview window and Review Mode (one of my favorite) and many others but ...   ... What was more important to me I said maybe for someone else is something else missing ...

    Trevor.Dennis wrote:
    …Why on earth would you want to restrict Photoshop?…
    Because I may consider it to be bloated already?
    Because I don't need to be driving around in a motor home when my car fills my needs?
    Because I don't need a hammer that doubles as a screwdriver or water-heater when I need to drive a nail?
    Because a scalpel may be more useful for my purposes than a Swiss-army knife?
    Because I would prefer the engineering team to work on refining existing features and improving stability rather than add features that are better served in drawing and painting applications?
    Because I'm not particularly impressed by some of the new "features"?
    Because I would prefer to see improvements to the History panel as have been suggested and requested over the years?
    I could think of many more such reasons why.
    Trevor.Dennis wrote:
    …I suspect there are a great many features in existing versions of Photoshop that you don't use…
    Duh!    Precisely! 
    Software bloat adds to the cost of developing and maintaining an application, delays the release of bug fixes and genuine improvements of existing features and eventually demands greater hardware resources.
    I have no clue as to what the he!! your "Prime Minister" quote is supposed to mean in the context of this discussion, unless you're implying that you feel like a 21-year-old whippersnapper who knows everything.  From your avatar picture you look younger than I am.  Besides, I know of very few "prime ministers" who are, were or have been particularly knowledgeable about "everything", so that may not even be a requirement for the job. 

Maybe you are looking for

  • Dynamic date display as a heading in module pool

    Dynamic date display as a heading in module pool from a ztable the ZTABLE contain the date from which the date value is to be printed as a heading like "BILLING FOR THE MONTH OF MAY 2010 WILL BE CLOSED ON 26/05/2010" thanks, Sree

  • LabVIEW 2010 crash when calling user32.dll

    Interesting LabVIEW 2010 "feature" I discovered this morning. Attached are two identical VIs, one saved in 2010 and one saved in 2009.  These VIs were specifically written to demonstrate the bug I stumbled upon this afternoon.  Each VI when run shoul

  • Work book

    Hi experts, I  have made some changes in properties in the existing query for one of the characteristics  and executed successfully  in development. But the issue there is an existing workbook created on this query.when i open this work book and exec

  • How could i get Mountain lion back if it came with the macbook i bought?

    Hey everyone! i bought a Macbook pro 15 mid 2012, it came with Mountain lion, could i get it back having OS X Yosemite now? Also, and more important, how? i heard that it's possible from Internet recovery (Restating pulsing Cmd+Option+r, i guess??),

  • Gmail is giving my grandparents headaches in mail program

    So i talked my grandparents into ditching their old windows 2000 machine for a new macbook. I signed them up for a gmail acct. and set everything up in Leopards mail program and everything was great for about 4 weeks. Now they are constantly getting