HELP ME PLEASE!!! Setting mysql connection

Hi,
I am having troubles setting a jdbc: odbc connection with mysql.
I am using tomcat 3.3.1 as servlet container.
From a normal application, all is working fine and I can retrieve my data but while I insert the code into my servlet,I am getting:
SQLException: No suitable driver SQLState: 08001 VendorError: 0
What should I do?
thanks in advance,
Anis

Did you put mySQL driver in WEB-INFO/lib dir. As I
understand JVM can't find you driver. Must say that I
don't have problem with interacting with mySQL DB from
servlet after doing this.Directory name is:
WEB-INF/lib - not WEB-INFO/lib
case does matter!
Paul

Similar Messages

  • Help me please setting up this

    can anyone help me to set up my L305D-S5934 satellite laptop ,it is in english and I need to change to spanish,what do I need to do .i am not an expert so easy way thanks.
    [Edited by Admin - Sorry forum posts have to be in English]

    Satellite L305D-S5934 
    it is in english and I need to change to spanish..
    There is no really good way to do this.
    You could upgrade from Vista Home Premium to Vista Ultimate and install the Spanish language pack. But there are frequently difficulties upgrading laptops with all the proprietary bells and whistles.
    You could install a clean Spanish version of Vista Home and then install the Toshiba drivers and utilities. You would need to pay for the OS and still would have the added stuff in English.
    And you could try Vistalizator. But I have no information on this.
    Good luck!
    -Jerry

  • Help me please no internet connection solaris 10

    hi
    recently i had downloaded solaris 10 the download to windows only version i have been using ubuntu for some time
    now with solaris 10 i cannot get an internet connection
    when i searched the suns site for help
    and read some of what to do
    the instructions dotn even corresponbd to the version im using.
    (i loge into the java enviroment)
    anyways suns site tell me to do this
    1. Click the [Launch] button and select "Preferences - System".
    2. In the following window, double click the "Hardware" icon.
    3. In the "Hardware" window, double click the "Network Card" icon.
    (((I dont even see a hardwarwe icon there)))
    all i se there is network settings configuration agent
    nothing i do seems to work.can someone please help me
    i ben told solkaris is the best thign out there
    and i really wanna see why
    thank you so much

    Once the steps below have completed successfully, as they
    apparently have, then you have created the correct instructions
    for compiling the drivers for your card.
    # cd /.../vfe-x.x.x
    # rm obj Makefile
    # ln -s Makefile.i386_gcc Makefile
    # ln -s i386 obj
    Then you need to actually do the compilation.
    Check to see if the 'make' command is in your PATH by
    running the following command
    # which make
    If you get back an error message, it's not in your PATH.
    If you get back a directory name, it is.
    If it's not in your PATH,
    # grep -w make /var/sadm/install/contents
    (The word 'none' in that file does not mean a missing
    file, BTW.
    # man pkgmap
    will tell you what the none means -- I've forgotten.
    The first field of each row of results is the path to the installed
    file. )
    On my system, make is installed in /usr/ccs/bin, so I having cd'ed
    into the directory of the Makefile (where you were ln -s'ing), I could
    either run
    # /usr/ccs/bin/make
    or I could temporarily add the directory to my PATH, then run 'make'.
    # PATH = /usr/ccs/bin ; export PATH
    # make
    Your make may be installed someplace else, so you'll have to adjust
    these examples to suit.
    If make completes happily, then your system will have the drivers
    for your card installed.
    To get the system to actually try to use the drivers needs one last
    step:
    # ifconfig -a
    should only give you lo0, the 127.0.0.1 loopbak address
    # ifconfig -a plumb
    tries to find all the network cards it can
    # ifconfig -a
    should give you lo0 and another one (sorry, I don't know what your
    card shows up as).
    If any of the steps above fail, please provide the commands you ran
    and the exact errors messages (good thing you found the floppy! :-> ).
    Once you can see two results from ifconfig -a, run the following command
    # sys-unconfig
    This is the easy way to set up hostname, IP (DHCP), netmask & stuff
    without hand-editing files -- it just runs the section of the installer
    that would have run, had your card been detected in the first place.

  • Ahhh help me please ipod not connecting

    my ipod video brand new today when i connect via usb ive tried both ports it charges but doesnt sync and i dont know what to do ive tried everything the site says yet still nothing works. ive tried authorizing the computer to by clicking on store authorize etc but still nothing please help!!!!

    this might help...
    this is only for everyone using Windows XP...
    search for ipod in microsoft help and support....
    here's a bit here's what microsotft says: (paraphrased)
    To resolve this problem, delete the UpperFilters registry value and the LowerFilters registry value. These values may cause access problems. To do this, follow these steps: 1. Click Start, click Run, type regedit , and then click OK.
    2. Locate and then click the UpperFilters registry value. This value is located in the following registry subkey:
    HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E980-E325 11CE-BFC1-08002BE10318}
    3. On the Edit menu, click Delete, and then click OK.
    4. Locate and then click the LowerFilters registry value. This value is located in the following registry subkey:
    HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Class\4D36E967-E325-11CE-BFC1-08002BE10 318}
    5. On the Edit menu, click Delete, and then click OK.
    6. Exit Registry Editor.
    7. Restart the computer.
    it worked perfectly for me!make sure to follow the directions. it's easy and resolves many Windows XP problems related to ipods. for more info try microsoft help and support and just serch for ipod. it list a bit more info there. it doesn't say anything about reinstalling the apple software, but just to be thorough i unistalled itunes and quicktime before anything just to start with a clean slate, then reinstalled them from my ipod disk after the restart. then i downloaded all the updates from apple. my ipod has never worked better. good luck. theres no link to the page just search for ipod in windows help and support for exact text...

  • Please, help me to set up wireless Internet connection. M...

             Please, help me to set up wireless Internet connection. My router is WRT54GS. I able to get online when computer is wired direct to VPN internet cable.
    First, I can’t open password request screen on http://192.168.1.1. 
    Second, when "Setup wizard" runs step #6 (“Check the router’s status”), the program asks for the password. Default password “admin” is rejected by the program and I can’t install Linksys software. Just in case I already pressed reset switch on the back of the router but to no avail. 
    Third, I don’t find out my Ethernet Adapter Wireless Network Connection and correct router’s IP address using ipconfig/all command after connecting WRT54GS with my computer. Ethernet adapter: DHCP disabled, subnet mask 255.255.255.0, IP address 10.32.132.193, default gate 10.32.132.1.
    Tell me please: what’s the matter?

    Pensive wrote:
             Please, help me to set up wireless Internet connection. My router is WRT54GS. I able to get online when computer is wired direct to VPN internet cable.
    First, I can’t open password request screen on http://192.168.1.1. 
    Second, when "Setup wizard" runs step #6 (“Check the router’s status”), the program asks for the password. Default password “admin” is rejected by the program and I can’t install Linksys software. Just in case I already pressed reset switch on the back of the router but to no avail. 
    Third, I don’t find out my Ethernet Adapter Wireless Network Connection and correct router’s IP address using ipconfig/all command after connecting WRT54GS with my computer. Ethernet adapter: DHCP disabled, subnet mask 255.255.255.0, IP address 10.32.132.193, default gate 10.32.132.1.
    Tell me please: what’s the matter?
    hi pensive ,
     Seems interesting , first do this -  push the reset button on the back of router .
    push it till 30 seconds , unplug the power cable and plug in the power cable back in After completion of 30 seconds.
    then try to log into , 192.168.1.1 again . with the password "admin".
    see if it reply?
    Else -
    strt>cmd>ipconfig /all - post the result ?
    pe@c3
    Message Edited by meteor on 01-09-2008 05:58 AM
    ~~~Nobudy's Perfect , i try To Be So ! Each n every moment of maH LYF , AND I THINK dat wats make Me "Different" From others....~~~

  • I moved to new house where I have wifi base station I made extension via TP-link power line adapter and connect my Airport utility 6.3.2, but I don't now how to set up as a second network with one IP address?Could you help me please?

    I moved to new house where I have wifi base station I made extension via TP-link power line adapter and connect my Airport utility 6.3.2, but I don't now how to set up as a second network with one IP address?Could you help me please?

    Urvergessen wrote:
    +You may have already done this, but do you have the first AirPort Express configured to "Allow this network to be extended"?+
    Could not find that setting anywhere.
    It's in AirPort Utility, AirPort panel, Wireless tab.
    When I'm within the range of the base station I connect normally, but further away the connection drops despite the fact that the other Airport is very close and light is green. Interestingly, my PB Pro has signal almost everywhere in the house, but my iPhone and Mac Mini don't. Most likely just a hardware difference?
    In AirPort Utility with the second Express, in the AirPort panel, Wireless tab, have you checked "Allow wireless clients"?
    The second AP does show an IP address: 10.0.1.3.
    With a "Configure IPv4" setting of "Using DHCP", that suggests that the second Express really is connecting to the first Express. In that case I have no other explanation of your your problem.

  • How can i get ios 7 in my ipad 2? i have tried to update it but in my setting general there is no icon for software update.so help me please!

    how can i get ios 7 in my ipad 2? i have tried to update it but in my setting>general there is no icon for software update.so help me please!

    If you are using iOS 4 (or earlier) there is no Software Update in Settings. That feature was first added in iOS 5.
    To update you will have to connect your iPad to iTunes on a computer (preferably the one you sync with and backup to).
    See here: http://support.apple.com/kb/HT4972

  • I got an iphone 3g off a friend of mine and i have tried to set it up and it wont activate it says it cannot do this at this time and the server is down help me please

    please help me please i got an iphone 3g off a friend of mine and when i have tried to set it up it says that (your iphonecould not be activated because the activation server is temporerally unavailerble. Try connecting ypur iphone to itunes to activate it, or try again in a few muinites. if this problem persists, contact apple support at apple.com/support) but it says the same when i connect it to itunes as well someone help me please

    Hello tom,
    I understand you are having issues activating an iPhone 3G. The following article addresses the exact error message you included:
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/TS3424
    Resolution
    - Restart the iPhone.
    - Try another means of reaching the activation server and attempt to activate.
              - Try connecting to Wi-Fi if you're unable to activate using a cellular data connection.
              - Try connecting to iTunes if you're unable to activate using Wi-Fi.
    - Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore.
    Thanks,
    Matt M.

  • NEED HELP! can't create mysql connection in DW MX 2004

    I re-format my computer last week and after reformatting i
    install my PHP Triad and Dreamweaver MX 2004, but i can't create
    mysql connection using DW wizard, i already follow the step:
    1. create / manage site
    2. choose document type
    3. set up testing server ( i use php mysql @ localhost)
    and when i create new connection (fill the hostname,
    username, password, and select databases) it failed and show
    message "unidentified error occur".
    it never happen before (before i re format my computer).
    can anyone help me how to solve this problem.
    sorry for my bad english i came from Indonesia,
    thx before
    rgrds
    zhastro

    I re-format my computer last week and after reformatting i
    install my PHP Triad and Dreamweaver MX 2004, but i can't create
    mysql connection using DW wizard, i already follow the step:
    1. create / manage site
    2. choose document type
    3. set up testing server ( i use php mysql @ localhost)
    and when i create new connection (fill the hostname,
    username, password, and select databases) it failed and show
    message "unidentified error occur".
    it never happen before (before i re format my computer).
    can anyone help me how to solve this problem.
    sorry for my bad english i came from Indonesia,
    thx before
    rgrds
    zhastro

  • I baught Seagate Backup plus 2T hard drive to use as my Backup time machine. But its not working when i connect to time machine its not coping files, it keep saying preparing files. Can someone help me please...

    i baught Seagate Backup plus 2T hard drive to use as my Backup time machine. But its not working. when i connect to time machine its not coping files, it keep saying preparing files. Can someone help me please...

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I am trying to update my iPhone 3gs. Every time the download is complete, the connection "times out". Can somebody help me please?

    My connection times out everytime the installation for the software update is complete. I have tried multiple times ans still the same thing happens. Can somebosy help me please?

    Yes it does matter whether you're doing an update or an upgrade. To find out which, under the Apple menu, select About this Mac. It will tell you which OS you currently have installed. Since it didn't come originally with OS 10.9, if About this Mac says it's 10.7.X or 10.8.X, you'll need to go to the Apple App Store program and download Mavericks (which is Mac OS X 10.9) and run the installer. If it does say you have 10.9, see if it says 10.9.1, since you might have Software Update set to install updates automatically. Otherwise, are you running Software Update and that's when the circle is spinning constantly?
    BTW, are you sure you want to upgrade to Mavericks (if that's what you're doing)? Check on the Mavericks forum to see the problems users are having with it.

  • Help Please, extremely slow connection speed with ...

    Please can someone help me with my broadband conection, it is extremely slow.
    I have posted the stats from my router and a set of results fr0m the BT Speedtester.
    I know the connection time on here is new, and I know to leave the router on permanantly, it is not normally swtched off at all.
    My IP Profile is only 0.25Mbps. How do I get this reset ?
    Thanks
    Russ.
    FAQ
    1. Best Effort Test: -provides background information.
    Download  Speed
    0.23 Mbps
    0 Mbps
    0.25 Mbps Max Achievable Speed
    Download speedachieved during the test was - 0.23 Mbps For your connection, the acceptable range of speeds is 0.1 Mbps-0.25 Mbps. IP Profile for your line is - 0.25 Mbps
    2. Upstream Test: -provides background information.
    Upload Speed
    0.34 Mbps
    0 Mbps
    0.83 Mbps Max Achievable Speed
    Upload speed achieved during the test was - 0.34Mbps Additional Information: Upstream Rate IP profile on your line is - 0.83 Mbps
    We were unable to identify any performance problem with your service at this time. It is possible that any problem you are currently, or had previously experienced may have been caused by traffic congestion on the Internet or by the server you were accessing responding slowly. If you continue to encounter a problem with a specific server, please contact the administrator of that server in the first instance.
    We have identified that you have additional services enabled on you broadband line, please click continue to run advanced service tests.
    ADSL Line Status
    Connection Information
    Line state:
    Connected
    Connection time:
    0 days, 00:20:35
    Downstream:
    287.1 Kbps
    Upstream:
    440 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.5 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    26.3 dB / 29.5 dB
    Line attenuation (Down/Up):
    16.9 dB / 8.8 dB
    Output power (Down/Up):
    14.4 dBm / 11.8 dBm
    FEC Events (Down/Up):
    0 / 0
    CRC Events (Down/Up):
    0 / 57
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    0 / 7
    Error Seconds (Local/Remote):
    0 / 0

    are you connected to the master or test socket?  do you have other sockets?  are you having connection problems with internet dropping out even though the router is connected 24/7?
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Help with mySQL Connection string

    Here is hoping someone can help & once I get it down I promise I'll post all my work on this list so some other newbie can benefit.
    I'm simply trying to run a very very straightforward JDBC test with mySQL & I keep getting the "Server configuration denies access to data source" error. But before you tell me that I must simply look at what my mysql.db & mysql.user table allows - I'VE TRIED THAT. I realize that the error is probably there somewhere - but I can't see it.
    I've tried connecting with 2 different accounts - the provided "root" & a user I created "deep" to 2 different databases the provided "test" & "testdb" which I created) . Here is what mysql says about the two different databases
    mysql> select * from db;
    Host  | Db         | User |.......
    -----+------------+-------
    | %         | test    |       | ......
    | %         | test\_% |     | ........
    | localhost | testdb  | deep |........Note that "root" should have access to "test" & deep@localhost should have access to "testdb" right?
    So here are all the connection strings I have tried - all return the same error below
            Connection conn = DriverManager.getConnection(
                "jdbc:mysql://localhost:3306/test", "root", "mypass"
    //            "jdbc:mysql://localhost:3306/testdb", "deep", "mypass"
    //            "jdbc:mysql://localhost/testdb?user=deep&password=mypass"
    //            "jdbc:mysql://localhost/testdb", "deep", "mypass"
    //            "jdbc:mysql://localhost:3306/testdb?user=deep@localhost&password=mypass"
    //            "jdbc:mysql://localhost:3306/testdb?user=deep&password=mypass"
    //            "jdbc:mysql://localhost/testdb", "deep@localhost", "mypass"
    //            "jdbc:mysql:///test", "root", "mypass"
    //            "jdbc:mysql://localhost/test", "root@localhost", "mypass"
    );My Error:
    Exception in thread "main" java.sql.SQLException: Server configuration denies access to data source
            at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:193)
            at org.gjt.mm.mysql.Connection.connectionInit(Connection.java:261)
            at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
            at org.gjt.mm.mysql.Driver.connect(Driver.java:167)
            at java.sql.DriverManager.getConnection(DriverManager.java:517)
            at java.sql.DriverManager.getConnection(DriverManager.java:199)
            at TestMySQL4.main(TestMySQL4.java:76)BTW:
    I am using MacOSX 10.1
    MySQL 3.23.42
    The driver is: mm.mysql-2.0.6.jar
    Please help!
    'deep

    hi amandeep
    well i m getting the same error message when trying to connect MYSQL using mm.jdbc driver.
    java.sql.SQLException : Server configuration denies access to data base source.
    query.jdbcDriver org.gjt.mm.mysql.Driver
    query.databaseURL jdbc:mysql://aaa.bbb.com/pluto
    query.databaseUserName samin
    query.databasePwd samin
    query.summaries true
    i hve installed mysql on server aaa.bbb.com network 1
    and trying to run application on network 2
    Thanks
    samir

  • Please help!  I try to connect to the Internet but appears inscription There is no expansion of kernel PPP. Yesterday I used internet through the same connection- Dsl pppoe

    Please help!  I try to connect to the Internet but appears inscription There is no expansion of kernel PPP. Yesterday I used internet through the same connection- Dsl pppoe. Wi fi cannot connect too. On ipad and iphone it is work.

    That's odd.
    Try this: Unplug your Time Capsule and your router. On your MBP, click the Wi-Fi icon and select "Open Network Preferences".
    Click the lock icon to authenticate, then click the "gear" and select "set service order". Wherever AirPort (or Wi-Fi - I forget what Snow Leopard calls it) appears, drag it elsewhere in the list. Click OK, then Apply, then power up your router and TC.
    If that doesn't result in any change, repeat the above but try making the service(s) you do not need "inactive".
    The purpose of this is to reset or at least change your Network Preferences, which somehow got confused upon upgrading to SL.

  • I recently got a new iPad from Apple, everything was stored to the cloud now I have set up new iPad i have nothing. Apps can b replaced pics cannot. Can anyone help me please?

    I recently got a new iPad from Apple, everything was stored to the cloud now I have set up new iPad i have nothing. Apps can b replaced pics cannot. Can anyone help me please?

    Sorry to read about this. A relative had a similar experience. Just a few things she was told to do. Hopefully one will get your content back. Make sure you are logged in to the same Apple Account the last iPad was. You should have a recent backup that can be downloaded to have your new iPad look like the one you replaced. When I changed from one iPad to another I used my last backup and all my apps and photos reloaded with no issues. This was done over wifi.
    Another way is connecting your iPad to a computer that is logged into your iTunes account. It will show what backups you have available to download To your iPad. Again hopefully a recent backup was made of your iPad with all your most recent content.
    In my cloud settings I made sure any photos I took were uploaded to the cloud to be downloaded automatically to my iPhone and visa versa.
    If you had your photos setup to be uploaded to the cloud they should still be there. You just need to be logged into your Apple ID and your new iPad and I see no reason you cannot access them. Hopefully it is a simple fix.
    good luck.  Jeff

Maybe you are looking for

  • I have an ipad2 and the screen shattered. It still works but is there a way to safely fix it without having to buy a new one?

    We were on April vacation this past week and my ipad fell onto the road and shattered the screen. I can still get onto it and maneuver around my apps but the screen is spider webbed and shattered. I have heard their are screen kits you can but to rep

  • Display XML in DWMX2004 page

    I've been able to create a valid XML doc. I wanted to display the data inside a DWMX2004 templated page. Tried the standard things on WC3 and other XML books and resources and did not have any luck. (Most of it is over my head, parsers, js and the li

  • EDI Outbound Purchase Order Please check

    Hi, My requirment is i  have one outbound  IDOC, i have to change some data inthe segment E1EDKA1 form some coustam tables The Basic type is Orders05, i should do some changes in the segment E1EDKA1 based on E1EDKA1-PARVW  in the exit EXIT_SAPLEINM_0

  • How do you sync icloud to new device

    my old iphone broke so i got a new one. i need to sync my photos from icloud to my new iphone

  • HH5 port forwarding not working !!

    I have recently moved to BT Infinity, all was good. Installed my Synology DS212 with its previous working configuration and it worked fine for several days (have all the logs) The incoming backup started failing and upon investigation it appears that