Getting JNDI not found on MySql/Tomcat

Has anyone gotten ADF to work with MySql/Tomcat? I think I finially have the app working in Tomcat but now I'm getting an error with my pool/JNDI lookup. At the tomcat console I get this;
SEVERE: Null component Catalina:type=DataSource,path=/ediweb,host=localhost,class=javax.sql.DataSource,name="jdbc/ediconnDS"
It looks like it can't even create a connection to MySql. My app has a context.xml in the META-INF like this;
<Context>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<ResourceLink global="jdbc/ediconnDS" name="jdbc/ediconnDS" type="javax.sql.DataSource" />
</Context>
And in my server.xml I have this;
<Resource name="jdbc/ediconnDB" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="root" password="password" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/freightedi"/>
In my web.xml I have this resource-ref;
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/ediconnDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
I've tried putting the resource in the context.xml... all kinds of stuff, to no avail.
I tested these connection parameters in Squirrel SQL (java jdbc based SQL tool) and it works?!
Please help :(
Edited by: user10419690 on Apr 15, 2009 8:51 AM

Tomcat isn't giving any errors on boot and I have the MySql JDBC resource in it;
in the server.xml;
     <Resource name="jdbc/ediconnDB" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="root" password="Slgedi01" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/freightedi?autoReconnect=true;ultraDevHack=true;capitalizeTypeNames=true;pedantic=true"/>
in my web.xml
<resource-ref>
<description>MySql Connection</description>
<res-ref-name>jdbc/ediconnDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
in my context.xml
<?xml version="1.0" encoding="utf-8" ?>
<Context>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<ResourceLink global="jdbc/ediconnDS" name="jdbc/ediconnDS" type="javax.sql.DataSource" />
</Context>
The tomcat console says;
WARNING: ADFc: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/ediconnDS
oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/ediconnDS
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1557)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:272)
The ADF Gui on the web page says;
Messages for this page are listed below.
JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/ediconnDS
Name ediconnDS is not bound in this Context
Unexpected exception caught: java.lang.NullPointerException, msg=null
Anything?

Similar Messages

  • JNDI not found deploy bpel in cluster

    Hi I have this problem:
    I install BPEL CLuster in two hosts: mtier01 and mtier02 and I have a lbr (balancer) in front of this servers (mtier01 and 02).
    I deploy bpel using bpel console and I get a error:
    JNDI not found.
    I read log: log.xml of bpel, and it tell me:
    port request of opmn not open of lbr, i need change configuration of host and port opmn for mtier01 and mtier02 (it is open in this hosts).
    I don´t now why bpel or OC4J_SOA need port opmn of lbr01 (not safe, i can´t open).
    If i use ANT i tell which host and port need for deploy.
    * j2ee.hostname
    *opmn.requestport
    *http.hostaname
    What can i do in the configuration of bpel for resolve tis problem?
    Thanks.
    Maximiliano

    How i you installe the cluster, followed the documentation?
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28941/soa.htm
    Marc

  • Get file not found error when I try to sync

    I get file not found error when I try to sync Iphone.

    SteveDVD,
    The use of the .WMV was because that was part of the Library .EM template. I would not anticipate problems with other formats, so long as they are supported and the same for all of your Menus in the Project.
    If you have done several Motion Menu Renderings, you might want to clear Encore's Media Cache, just in case it is still referencing previous Render files.
    And yes, the re-Importation should yield the same result as Linking/re-Linking.
    Unfortunately, I do not have CS4, so I can't test this for you. There do seem to be a few real Bugs in the various CS4 programs, and maybe this is one?
    That "File Not Found" rings a bell in my feeble brain. Seems that there was a post on that, but I do not remember it being related to Motion Menus. Maybe search will yield something of use.
    Good luck,
    Hunt

  • My mac is the OS X 10.8.3.  I tried to update the latest Adobe flash player and kept getting 'Actionlist not found.'  I have uninstalled, enabled and disabled plug-ins and am still unable to download the update and now have no flashplayer at all.  Help!

    My mac is the OS X 10.8.3.  I tried to update the latest Adobe flash player and kept getting 'Actionlist not found.'  I have uninstalled, enabled and disabled plug-ins and am still unable to download the update and now have no flashplayer at all.  Help!
    PS I'm still new to Macs so the more broken down the better.

    Adobe Flash Player 11.8.800.42 is the most recent version from Adobe. It is a pre-release version. I am using it without any noticeable problems.
    The current stable version is Download 11.7.700.169.

  • I get "application not found" when clicking on a http link in a mail, even after having set firefox as the default program for http links.

    After installing firefox 15.0, I can not open links form email or other office 2010 applications. I get "application not found" error. I tried setting firefox as the default program both manually (in the Windows default program panel) and automatically (having Firefox to do it automatically on startup (tools->options->advanced->General). I still have the error.

    That sounds odd. Is this error coming from a particular e-mail program you're using? It could be that that program has its own settings for which web browser to launch, ignoring the "default browser" setting in Windows.
    Does the same thing happen if you click on a web link from any other external (non-browser) application on your computer? If it happens with other apps too, I would suggest to re-download and install Firefox (www.mozilla.org) and see if that takes care of it.

  • When I try to open, I get 404 Not Found.

    When I try to open Mozilla, I only get 404 NOT FOUND and in a seperate tab some advertising. What is wrong and how do I fix it. I uninstalled Mozilla and re-installed and I still get the same problem.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.3; FunWebProducts)

    Hi,
    It should work.
    You need add your schema name
    your_schema.bs_download_file?p_file_attach_id=#FILE_ATTACH_ID#And grant privilege to execute that procedure for DAD user APEX_PUBLIC_USER or public
    Regards,
    Jari

  • Firefox won't open...keep getting "404 not found" WHY? HELP

    firefox won't open...keep getting "404 not found" WHY? HELP

    The 404 message usually indicates a web page can not be found. If you are seeing that message in Firefox then Firefox is up and running but either having problems connecting to the web or not finding a specific target page. Sometimes the address may be wrong, sometimes the site may not be available.
    Have you written this message whilst using Firefox on another computer ?
    See also the article
    * [[error loading websites]] <-- clickable link --
    On the problem computer, if it is a Windows machine it will probably have Internet Explorer, does that work ok ?
    Is it one particular website you are having a problem with, if so what is that site, and what is the web address as written in the location bar. If it is many pages give at least two examples please.
    Copy and paste the location bar contents into your post
    * Keyboard key '''Ctrl + L''' (press the Control key hold it down than press the L key) that will highlight the location bar content, do that while trying to use the web page
    * '''Ctrl + C''' copies the info to the 'clipboard'
    * change to the message you are writing '''Ctrl + V''' pastes/inserts content at mouse cursor in your message

  • Frequently get 'Server not found', have tried all articles solution, what now?

    Frequently get 'server not found' when accessing web sites, no particular websites just randomly all sites, clicking 'try again' always resolves. I am thouroughly sick and tired of this error and no working soloutions! Have tried 'about:config' settings; pipelining, script_run_time, ipv6. Have tried reinstall of Firefox and update of firefox. Have allowed firefox in my firewall which is 'Comodo' and have deleted entry and re-allowed it again. Have tried firefox proxy settings on all choices of settings. These things do not fix the problem. I cannot find anymore information or solutions to try, I have searched everywhere and everything and tried all the things Ive found as mentioned above. What is the problem? Can it be resolved? How can it be fixed?

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls

  • Trying to track a package on FedEx website and get "Framework Not Found" error message

    Either by clicking on the email from FedEx and launching Firefox or by opening the FedEx website and entering the tracking number, I get "Framework not found" error and the search stops. It worked with previous Firefox versions but not with the new 4.0.1 version. Any suggestions?

    I tried it with firefox and chrome and have the problem in both browsers, so it is not browser specific.

  • Why do I keep getting actionlist not found when trying to update to version 11.6.602.180?

    WHy do I keep getting actionlist not found when trying to update to update to version 11.6.602.180?

    This problem and others are outlined in this help document.  In addition, please try installing from the appropriate stand alone Windows installers located here:
    Installation Problems - Flash Player - Windows

  • When trying to follow a link in a email, I get "404 NOT FOUND" this is a ligit address...any ideas?

    When I click on a link received by email to complete registration and activate my membership to a Harley forum, I get "404 NOT FOUND" Not Found
    The requested URL /register.php was not found on this server.
    Any ideas what might account for my inability to reach this site? This sort of thing doesn't happen often. Any help or suggestions would be appreciated. Thank you, Paul (debreeze)

    I'm not sure why you believe that I'm running an outdated version of firefox but according to my files I'm running product version 3.6.12. In the support notification I received questioning the file version running on my computer, the link I had a problem with http://www.harleyhowto.com/forum/register.php\ was also included. When I clicked on the link I went directly to the site with no problem. Then I opened the original email containing the same link, clicked and went to 404 NOT FOUND ! I'm going back to the web site and go through the registration process again and keep my fingers crossed hopping it works when they send a new verification email . I will post the outcome, either pos. or neg and may be asking for further help. Thanks, debreeze

  • Can't get in to my files on cloud - getting page not found - any issues Adobe end or is it my account?

    Second time this has happened, getting page not found when try to access 'files' tab online, on desktops and ipad. Supposed to be collaborating (sigh). Any one else getting this issue on their account? Assuming not an Adobe server issue.

    Account help links...
    Make sure that EVERY DETAIL is the same in every place you enter your information
    -right down to how you spell and punctuate the parts of your name and address
    Change/Verify Account https://forums.adobe.com/thread/1465499 may help
    -http://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id. html
    -Credit card https://helpx.adobe.com/utilities/credit-card.html
    -email address https://forums.adobe.com/thread/1446019

  • Regularly get "Server Not Found" then always works with a retry. Why

    Regularly get Server Not Found" then always works with a "retry".
    == This happened ==
    Every time Firefox opened
    == I started using Firefox

    Issue
    I have another kind of problem with Firefox
    Description
    Regularly get Server Not Found" then always works with a "retry".
    This happened
    Every time Firefox opened
    I started using Firefox
    Firefox version
    3.6.3
    Operating system
    xp windoes
    User Agent

  • Why do certain of my Firefox windows start getting "Server not found"?

    Several times a day, one or more of my many Firefox windows gets into a state where it gets "Server not found" whenever I try to browse to a new URL. Internet Explorer is not affected.
    I usually run Firefox with ~4 windows and more than a hundred tabs. The problem sometimes affects only one of those windows. Sometimes I can solve it by closing and then reopening the window. Sometimes I can solve it by closing and then reopening Firefox. Sometimes I can solve it by rebooting.
    It's hard to say when exactly this started. The computer is only two weeks old.
    I have experimented with the solutions discussed here (played with my firewall, verified that I am not using a proxy server, network.dns.disableIPv6, network.dns.disablePrefetch): http://support.mozilla.org/en-US/kb/Firefox%20cannot%20load%20websites%20but%20other%20programs%20can
    Has anyone else seen this? Does anyone have any suggestions?

    Reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • White spaces in filename (URL) become %20 and get Page Not Found

    I have installed iPlanet Netscape 6.0 sp2 under Solaris sparc 5.8. I also have the Weblogic plugin for Netscape. The problem is that if in the url I have spaces, it does not resolve the flename: http://server:port/dierctory/Hello%20Test.html and I get Page Not Found.
    I already tried the URLDecoder.decode(fileName) and it does not resolve the problem. My guess is that I am missing some configuration for Netscape. I never faced this problem before becasue I always have Netscape and Weblogic or another app server in the same server. Please, any clue would be appreciated. Thanks a lot in advance,
    Marga [email protected]

    I think there's an open bug about this. This thread appears to have a solution. If not, search forums with "+url +uri +%20"
    http://forum.java.sun.com/thread.jsp?forum=31&thread=298361

Maybe you are looking for

  • Is it worth SL - ML to upgrade 9.0.4 to 9.0.8?

    Is there a place that lists all fixes and new features when going from 9.0.4 to 9.0.8? I currently have SL 10.6.8. I have problems with iMovie, as those of you who have read my posts know. Some are due to the unavoidable frame-rate mismatch when work

  • Variables in an action to use in script

    I want to duplicate an image, then change the duplicated image name to the original image name with some extra text at the end to make it slightly different. Example. Original..    Image123 Duplicate...  Image123BW. Or Image123BG. etc. So as not to h

  • Camera Raw Dialog box not opening automatically

    When I try to open a raw image in photoshop CS3 for some reason the camera raw plugin dialog box is not automatically opening and I get a message that says "Could not complete your request because Photoshop does not recognize this type of file" I kno

  • Too long time for editing BEx

    Deal all I have a problem with BEx. Whenever I edit BEx Query Designer for creating or modifing Query, it takes time too long. For instance, when I restrict value in Row or Columns, it need too much time. Is there Tcode for checking this problem? Or

  • Do you have to pay for 3g even if you didnt use it

    do you have to pay if you didnt use the 3g