Very strange Access / JDBC problems

Hi there,
I am running a simple jdbc program which uses MS Access 2000.
I am getting this really strange problem. My program does not update the table and throws no exception - when I run the same program through a remote debugger - it does update the table.
Is there any known JDBC / Access problems?
Many Thanks

There's no such thing as 91% Java Developer - you're either certified or you're not. Sounds like you're 0%.
If you're really that knowledgable about Java, go back and re-read your question. Ask yourself: "Could the problem be me? Is there anything I'm doing wrong with JDBC that could have caused this?" I think it's likely. I'm telling you that I can insert, delete, and update with Access via the JDBC-ODBC bridge and make them stick. If you can't, I'd say you've done something wrong.
Access 2000, Win 2000/XP Professional, JDK 1.4.1 are what I'm using. If those are the versions you've got, then there's no bug. It's you.
JDBC-ODBC bridge isn't a M$ product, either. You can find bugs on it in the database.
I don't see how anybody here has been that abusive of you. (I've read far worse.) It sounds like your ego would prefer that the problem lie elsewhere than inside your code.
Do you want to make your code work or not? If so, stop calling us idiots and post something so we can take a look.
I'd get a new ID. If you don't want to be treated as a newbie, don't use a newbie name. - MOD

Similar Messages

  • Very strange EL evaluation problem

    Hi,
    I have a very strange problem atm.
    I'm trying the JNDI Resources example on tomcat.
    My test.jsp page looks like this:
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <html>
    <head>
    <title>DB Test</title>
    </head>
    <body>
    <h2>Results</h2>
    <c:out value="${1+2+3}"/>
    <sql:query var="rs" dataSource="jdbc/JavaTest">
    select id, foo, bar from testdata
    </sql:query>
    <c:out value="${rs.rowCount}"/>
    <c:forEach var="row" items="${rs.rows}">
    Foo ${row.foo}
    Bar ${row.bar}
    </c:forEach>
    <br>
    </body>
    </html>
    The output of this page is this:
    Results
    ${1+2+3} ${rs.rowCount} Foo ${row.foo}
    Bar ${row.bar}
    As you can see these expressions are just written out to the browser and they are not being evaluated.
    The problem is not with tomcat itself because other jsp's without database access work perfectly.
    My web.xml file looks as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>blah</description>
    <res-ref-name>jdbc/JavaTest</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    my context.xml file looks as follows:
    <Context path="/DBTest" docbase="DBTest.war" debug="5" reloadable="true" crossContext="true" useNaming="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_DBTest_log." suffix=".txt" timestamp="true"/>
    <Resource name="jdbc/JavaTest"
    auth="Container"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/JavaTest">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>100</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>30</value>
    </parameter>
    <parameter>
    <name>maxWait</name>
    <value>10000</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>THiNG</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>**********</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>com.mysql.jdbc.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
    </parameter>
    <parameter>
    <name>removeAbandoned</name>
    <value>true</value>
    </parameter>
    <parameter>
    <name>logAbandoned</name>
    <value>true</value>
    </parameter>
    <parameter>
    <name>removeAbandonedTimeout</name>
    <value>300</value>
    </parameter>
    </ResourceParams>
    </Context>
    I've included the jstl.jar and standard.jar from the jstl package in the WEB-INF/lib directory, also the mysql-connector-java.jar (JDBCDriver) is included in the web-inf/lib directory.
    Here is the logfile, which might contain the answer to my problem: (I removed the ResourceRef specification because it's exactly the same as in the context.xml file)
    2004-09-29 13:45:01 NamingContextListener[Catalina/localhost/DBTest]: Resource parameters for jdbc/JavaTest = ResourceParams[]
    2004-09-29 13:45:01 NamingContextListener[Catalina/localhost/DBTest]: Adding resource ref jdbc/JavaTest
    2004-09-29 13:45:01 NamingContextListener[Catalina/localhost/DBTest]: ResourceRef[............]
    2004-09-29 13:45:01 NamingContextListener[Catalina/localhost/DBTest]: Resource parameters for UserTransaction = null
    2004-09-29 13:45:10 NamingContextListener[Catalina/localhost/DBTest]: Resource parameters for jdbc/JavaTest = ResourceParams[......................]
    2004-09-29 13:45:10 NamingContextListener[Catalina/localhost/DBTest]: Adding resource ref jdbc/JavaTest
    2004-09-29 13:45:10 NamingContextListener[Catalina/localhost/DBTest]: ResourceRef[...........]: Resource parameters for UserTransaction = null
    Can somebody help me with this. I've been looking for a sollution for hours.
    I've been having problems setting up the jdbc-driver also, but I think this is solved now with these deployment descriptors. I don't have a single clue what is going on right now.
    ${} expression are simple NOT being evaluated.
    I don't think it's a database problem because I can see the user connections in the mysql monitor.
    Any ideas? All help is welcome and very much appreciated. :-)
    THANKS !!!
    PS: sorry for the extreme long post, I wanted to post all relevant information to track this strange behaviour down.

    Seems to be a problem with your web.xml not pointing to version 2.4.
    Just check this link too:
    http://www.mail-archive.com/[email protected]/msg07006.html
    HTH

  • A Very Strange Post Update Problem

    Hi guys, new to the forum here, wondering if I could get some help with a most disturbing problem...
    Off the bat, I use a ppc Mac G5 running 10.4.11. I use this for Music production, and general music listening in my studio. For Audio I use pro tools HD 7.3 (as well as logic 8), with a digidesign 192 IO interface, and run most ofmy audio thru that. Now that we have that out the way... I normally dont agree to updates, as I would not like to upset a balance thats been working perfectly for me for some time, but 2 days ago, one of my assistants was using the computer and agreed to the latest update for Itunes, quicktime, and logic (but not the security update). Immedietly after the update finished (during which he said the quicktime update crashed), the system started going haywire, pro tools was shutting down, itunes wouldn't open, the like... Well after uninstalling and reinstalling itunes and quicktime, all order was restored, except for one AWFUL problem.. the sound coming out of any program BESIDES pro tools (itunes, logic, toast) is very strange, as if its coming thru very cheap speakers. I've run itunes through both the digi interface and the standard sound card (it has the same problem), and checked the EQ settings (flat), my sample and bit rates are straight... I have no idea! if anyone could offer some insight, It would be much appreciated! Thanks!!

    HI and Welcome to Apple Discussions...
    It's possible there's an underlying problem with your hard drive.
    Insert the installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger and later) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    *(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)*
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    Also, make sure you have sufficient drive space. Control or right click the MacintoshHD icon on your Desktop. Click "Get Info". Under the General tab you will see Capacity and Available. Make sure there is at least 10% available disk space, 15% is better.
    If the drive appears to be ok and you have enough available disk space, you could try the 10.4.11 combo update available here. http://www.apple.com/downloads/macosx/apple/macosx_updates/macosx10411comboupdat eppc.html
    Make sure and run Disk Utility and repair disk permissions BEFORE and AFTER the installation.
    Quit any open applications/programs. Launch Disk Utility. Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac.
    Carolyn

  • Very strange iPod charging problem...

    Hi to all...
    I have now 3 days a iPod mini, and I love it...
    But the next thing is happenend to me, I wanted to charge the battery but the battery icon said fully loaded (lightning + fully loaded battery) something like this: [||||] and normal is it: [|| ] and you know how it goes...
    When I disconnect my iPod I see this in the battery icon:
    [| ](only one)...
    My battery doesn't want to charge... very strange on a 3 days old iPod mini...
    Thanks in advance!

    Welcome to Apple Discussions.
    Have you attempted to play it for some time to see whether there is a problem with that battery display or whether your battery does not hold the charge?

  • Very strange USB keyboard problem

    I am using the latest style USB extended keyboard, with my iMac G5
    The "5" key and control key have gone wrong. I just get a beep when either is pressed. I note in Keyboard Viewer that pressing either the control key OR the five key shows that BOTH the 5 key and control key appear to be pressed. It is like the 5 and control keys have been locked together. To be clear, pressing just the five key = cntrl5
    The 5 key on the number keypad works fine.
    I have reset PRAM
    repaired permissions.
    set Keyboard Shortcuts in sysprefs->keyboard/mouse to default.
    Confirmed that nothing is activated in Universal Access
    I have tried the keyboard with another imac I have and the problem remains.
    I have tried a different keyboard with the iMac G5 and all works fine.
    I can only conclude the issue is with the keyboard and not with the set-up of the computer, OS etc. but I struggle to understand how this issue could be mechanical.
    Does the keyboard have any sort of firmware that could be corrupted?
    Note that the keyboard has suffered no abuse or mishap. The problem just "appeared" a few days ago.
    Suggestions/ideas to fix?
    TIA
    edit:
    I have just noted...
    Pressing the left control key produces control-5 key stroke in Keyboard viewer as described above, but...
    Pressing the RIGHT control key results in control-f5 key stroke.
    So it seems the 5 key and left control key are locked together, and, f5 key and right control key are locked together.
    weird!

    Thomas,
    I would concur with all the answers that the keyboard itself is the problem.
    Here's a pic I took of the traces on a Pro keyboard:
    http://s291.photobucket.com/albums/ll306/spudnuty/?action=view&current=Keyboardt races.jpg
    Those lines are conductive. Where they run parallel to each other they are very susceptible to shorting. However most often they open up due to fluids dropped on the keyboards. Just the tiniest drop on a trace will lead to a fault, especially if it's tea or coffee.
    Richard

  • VERY STRANGE IPOD TOUCH PROBLEM

    Hey guys,
    I think i have a problem and i havent been able to find anyone else that has been experiencing the same thing.
    Every once in awhile (like every 2 or 3 times) I try to sync my ipod touch, i get an error. I either get an error that says that the ipod has timed out or that itunes could not connect to the iphone due to an unkown error (even though i have a touch, not an iphone)
    I then unplug my ipod, and plug it back in...my computer does not recognize that it is plugged back in. I realized that ALL my usb ports on my computer have stopped working at this point...i try my usb mouse, doesnt work, i try my ipod again, doesnt work...and i try them on different usb ports, doesnt work.
    so i restart my computer, and as it is booting up, i get this blue screen that like flickers and what not across my laptop screen. after its done booting up i get a message on my laptop that says "windows has recovered from an unexpected shutdown" The thing is, I clicked restart...so it should not of been unexpected. It says that the problem was "blue screen" and that it was caused by the usb ports somehow.
    Well then i load up itunes, plug my ipod into the comp again, and it syncs fine (at least for the nest 2 or 3 times) And all my usb ports work once again.
    Any ideas on what is going on here? Is it a problem with my ipod, itunes, or computer?
    Oh and after my ipod has been turned on for awhile and im using it, the grey area around the apps in the dock area flickers very slightly. I dont know if this is related.
    Thanks alot guys
    Message was edited by: XxTimxX

    ok thanks guys...but i have an update and it quite strange.
    so i set my itunes so that it would NOT open when my ipod is plugged in (so that i could just plug my ipod into my comp and charge it without it automatically opening itunes and syncing it). So i plug my ipod into one of my two usb ports on the side of my laptop (i also have 2 in the back).
    Oh and keep in mind i have a usb mouse plugged in using 1 of the rear usb ports during this process.
    so my ipod starts charging and itunes doesnt open, so im happy. When the ipod was fully charged i unplugged it. after a min i decided i wanted to shop for some apps, so i decided to plug it back into my comp so i didnt use any battery...but my laptop didnt recognize it. i tried unpluggin then plugging back in a few times....didnt work. my usb mouse in the back still worked....and i also tried unpluggin that and pluggin it back in, and it continued to work as it should.
    i then tried pluggin my touch into the second usb port on the side....didnt work. So i decided that since my usb mouse was working like it should in one of the rear ports, i would unplug that and then plug my ipod into that port. so i did this, but my ipod still was not recognized by my computer. so i unplugged my ipod and plugged my mouse back into the usb port...but now my mouse wasnt recognized either! so its like wherever i plug my touch into, it disables that usb port.
    any help at all guys! this is so weird. im gonna try to update my drivers but i have tried previously and it didnt work so im not sure what to do.
    thanks alot

  • Very strange hard disk problem - Boot Camp/Windows related?

    On my first gen 1.83 GHz MacBook Pro (now at 10.5.2 with all System Updates applied), I've had Win XP Home installed under Boot Camp (from the very first beta, updated to the release Boot Camp assistant now) for well over a year. At one time about 14 months ago I tried using Parallels, but that used too much battery power, so I deleted Parallels. I don't know whether that left any traces of itself behind.
    More recently I've been amazed at how well VMWare Fusion works on my Mac Pro, so I decided to try it on my laptop. I installed the Fusion application and tried to "adopt" my Boot Camp partition installation of Win XP. I think I goofed and didn't install VMWare tools at the proper moment, because Windows went on a self-directed hunt for drivers after installation, and when I tried to start the virtual machine inside Fusion, Windows told me it needed to be activated by Microsoft and wouldn't even allow me to log in to do the activation.
    Wondering whether there might be some residual of the Parallels "hooks" to Windows contaminating things, I decided just to reinstall Windows.
    I used Boot Camp Assistant to remove the Windows partition. The first clue that something was now amiss was that I decided to reboot the laptop after reclaiming the Windows partition, and when I did so I encountered a black screen with a decidedly "microsoft pre-start up" text message on my screen, something like "press any key to start up from the removable media drive", then "press any key to start up", neither of which would work (even with a bootable disk in the optical drive).
    So, I rebooted holding down the option key and was able to start up Mac OS X 10.5.2. Only one volume was shown now in "About this Mac" and on my desktop, so I ran Boot Camp Assistant again to re-create a Boot Camp partition. UNFORTUNATELY, in the midst of this, I encountered my first ever kernal panic ("windowshade" effect descending down the screen and multiple-language dialog telling me I needed to reboot).
    I rebooted and ran Disk Utility, which told me my partition map was wrong and that I was missing about the amount of disk space I'd allocated to Windows in my previous Boot Camp partition. I thought at THAT point I'd solved my problem - I could just run disk utility from my Leopard startup disk. HOWEVER, the Leopard installation disk will no longer reboot the laptop!
    I confirmed that the problem is not the Leopard installation DVD, because it will boot my Mac Pro and it mounts on the desktop and Disk Utility says it's fine.
    So, I tried to repair my laptop's drive using DiskWarrior 4. That worked (at least it made a new directory, and after it did so, when I boot into the Mac OS, Disk Utility run from the hard drive also says the disk is fine). HOWEVER, the Leopard DVD still won't boot the MacBook Pro. I made one more attempt to create a Windows partition using Boot Camp assistant, and once again generated a kernal panic in the midst of partitioning.
    It seems that I've done something to the stuff on the hard drive that's needed at boot time or partitioning time. I can't erase and reformat the drive, because the Leopard install DVD won't start up the machine. Even though DiskWarrior creates a directory that Disk Utility says is fine, I cannot recreate a Windows partition.
    Any advice what I can or should do next? I can try using the System Install DVD that came with the laptop, or perhaps the system restore DVD, but my bet is they won't start the machine either.
    Please feel free to ask any questions, send me to any other resources, or contact me via email if you have ideas. I have a 10 day business trip beginning Sunday March 30, and I desperately need a working laptop by then.
    Thanks so much.

    "Responding" to my own post: the Install DVD that came with my MacBook Pro will boot it!
    So, I'll try running the earlier version of Disk Utility that came on IT (10.5.4, current Leopard version is 11.0) to repair the MacBook Pro's internal hard drive, THEN see if I can boot from the Leopard install disk (the notion being that I can (groan) recreate a virgin Leopard environment on the laptop with no traces of prior disk formatting nightmares.
    (a few minutes later): the Leopard Installer DVD will now boot the MacBook Pro. As one last attempt to avoid the whole reinstall nightmare, I'll try running Disk Utility from the Leopard Install DVD, and if it passes, make one more attempt to create a boot camp partition on my hard drive. If that doesn't work, next step is to wipe the internal drive and do a clean install of Leopard and all my other necessary stuff.
    Any other ideas?

  • A very strange Wi-Fi problem..

    I've been reading round as many sites as I can find, and yet no-one seems to have the problem I've encountered with my iPod Touch's wi-fi.
    Everything was fine and dandy, I have a JB'd 1.1.1 iPod, and I could use the internet fine on both my wireless networks at home (both using 128 WEP security, Airport Extreme old model, and BT Homehub), until one day a friend connects to my airport network with his iPod touch.
    As soon as this happens, my iPod touch, and his, and every computer on the network grinds to a halt.
    Now whenever I turn my iPod on and connect to Airport, it slows every computer on the network to less than dial up speeds.
    Turn iPod off, network is back to normal.
    The iPod works perfectly on my other router, and several other routers I've tried when away from home.
    I've looked at all the settings, and although not very knowledgeable with networks, nothing seems to have changed.
    Does anyone have any idea how this could have happened, and how I could fix it?
    (Oh, I also tried factory restoring to 1.1.1, and 1.1.2, and both had the same problem)

    Airport Extreme has no modem built in, and as I had a router with a modem built in, I just ran the Airport Extreme through it.
    Basically the second wireless router is used for nothing but a modem, and for Xbox 360 (As the NAT settings are easier to change on the BT router).
    If it makes any difference, the house is also quite big, so the network has 3 airport express extending the network range, and a second airport extreme as a relay base.

  • Very strange index.jsp problem (Apache2 + Jboss/Tomcat)

    I've been working on this for 6 hours until the current time of 4.30 am - any help is very much appreciated.
    I (thought) I had successfully integrated Jboss/Tomcat with apache 2 using mod_jk 1.2.8 - and added an alias for jmx-console. But I just can't make index.jsp serve when loading the default directory. I also tried with a fairly straightforward jsp site I have 'ConnectSite' (just a conference name).
    I have created deployment and alias called connect, results
    http://localhost:8080/ConnectSite [success]
    http://localhost/ConnectSite/index.jsp [success]
    http://localhost/ConnectSite/ [fail] - Apache treats it like any other directory.
    But what's really strange is if i take out mod_jk from apache and leave in DirectoryIndex index.jsp - then apache will serve the .jsp file unprocessed. All the static content is served by apache just fine.
    I am baffled. Should I just try proxy for the moment.
    Many Thanks,
    -Mike D
    Config files -
    Apache section (Have of course added DirectoryIndex index.jsp)
    LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
    <IfModule mod_jk.c>
    JkWorkersFile /usr/local/apache2/workers.properties
    JkLogFile /usr/local/apache2/logs/mod_jk.log
    JkLogLevel error
    JkOptions +ForwardDirectories
    DirectoryIndex index.jsp
    # JkAutoAlias /usr/java/jboss/server/default/deploy
    # send all requests ending in .jsp to worker1
    JkMount /*.jsp foo
    # send all requests ending /servlet to worker1
    JkMount /*/servlet/ foo
    </IfModule>
    (running apachectl configtest returns syntax OK)
    workers.properties ...
    # Tomcat and Java configuration
    workers.tomcat_home=/usr/java/jboss/server/default/deploy/jbossweb-tomcat50.sar
    workers.java_home=/usr/java/jdk
    ps=/
    worker.list=foo
    # Definition for local worker using AJP 1.3
    worker.foo.type=ajp13
    worker.foo.host=localhost
    worker.foo.port=8009
    worker.foo.cachesize=20

    Workaround for anyone interested:
    In apache conf:
    use JkMount /ContextName/ to explicitly send each directory with index.jsp to Tomcat

  • IPod not syncing, very strange and different problem compared to others

    I have an 80 GB iPod Classic, when i plug it in to sync with my computer. The computer makes the noise showing that the computer recognizes a USB port being used, however iTunes immediately freezes up while the iPod sits in limbo on its screen saying Connected while showing the Sync sign. While the iTunes is frozen, nothing happens and it does not change until I unplug the iPod. It doesn't matter how long I leave it for. When i unplug the iPod the device menu finally shows in iTunes however it doesn't do any good because the iPod is no longer plugged in. Instead it shows the DEVICE menu in the background with an error message saying either "The iPod "Customer's iPod" cannot be found. The required file cannot be found" or that with a (-53) error message at the end. I have tried many different things including system restore and still does not work. I have tried different ports, different cords. I really don't know what I can do from this point. I have installed and uninstalled iTunes 8.1.

    Use the SHIFT-Launch iTunes method to get iTunes waiting for a library. Stick the iPod in disk mode and connect to the computer. Browse *My Computer* and right-click on the drive for the iPod, click Properties, then click Tools. Under Error-checking, click *Check Now*. Under Check disk options, select *Scan for and attempt recovery of bad sectors* (Optional - takes ages but a good idea if you've reason to suspect physical damage). Click Start. Mac users should run *Disk Utility / Repair Disk* for the equivalent process. This should find and correct any errors in the logical & physical structures of your iPod's hard drive which may be causing the problem. When the process is complete disconnect the iPod and then reset it (hold Menu+Select ). Cancel the waiting iTunes dialog and then try to connect in the normal way.
    If that still doesn't work you could try Erase your iPod - The Super Fix for most iPod Problems. Basically a low level format of the iPod’s hard drive to get around whatever problems are stopping iTunes from working with it.
    Have you tried connecting the iPod to another computer to see if the issues is focused on the iPod or iTunes?
    tt2

  • Very strange virus like problems.

    I have a brand new iMac and a G4 Powerbook both running 10.5.1.
    Earlier today my Powerbook wouldnt boot up, all i got was the grey screen. I could do nothing to get it boot past that point. I tried resetting PRAM, Repairing Disk to no avail then tried to repair permission from the DVD but got an error message saying 'underlying task reported failure on exit'. I then tried archive and install and got an error saying mac os x could not be installed on this computer so i erased and installed which worked fine.
    Half an hour later i restarted my iMac Aluminium and the same thing happened, grey screen with exactly the same symptoms as above.
    If i boot in safe mode i get 'root device is mounted read only'
    then if i type exit i get this error:
    /usr/sbin/mDNSResponder", . . .) No such file or directory.
    I have booted under firewire target mode and that file is there.
    what shall i do! I really would like not to have to reinstall everything.
    thanks
    Steven

    Steven Cooper1 wrote:
    I have a brand new iMac and a G4 Powerbook both running 10.5.1.
    Earlier today my Powerbook wouldnt boot up, all i got was the grey screen. I could do nothing to get it boot past that point. I tried resetting PRAM, Repairing Disk to no avail then tried to repair permission from the DVD but got an error message saying 'underlying task reported failure on exit'. I then tried archive and install and got an error saying mac os x could not be installed on this computer so i erased and installed which worked fine.
    Half an hour later i restarted my iMac Aluminium and the same thing happened, grey screen with exactly the same symptoms as above.
    If i boot in safe mode i get 'root device is mounted read only'
    then if i type exit i get this error:
    /usr/sbin/mDNSResponder", . . .) No such file or directory.
    I have booted under firewire target mode and that file is there.
    what shall i do! I really would like not to have to reinstall everything.
    thanks
    Steven
    What do the two computers have in common? Are they networked? Did you download a common item to both or visit the same website?
    If it were only one I would say it's something broken, but with two, and not being much a believer in coincidences, I suspect it may be some malware, but that's a rarity for Macs, although there are some out there in the wild.
    However, /usr/sbin/mDNSResponder is a Winders related thing tied in with BonJour and iTunes, and it might mean that someone or something has gotten into your computers.
    If you are engaged in "file sharing" and are using your comptuter to allow others to "share" files, then it may well be an attack.
    However, if you have not done any of these things, or have no Winders boxes on your network, then I have no idea what the problem is.

  • A very strange /r/n problem in mysql

    Dear friends,
    I have a jsp form with textarea field which people can add article.
    Before I change mysql to big5 charset, everything works fine. However, after I change it to big5, and when I execute an insert operation
    The /r/n which should save as 10,13
    are now becoming 92 114 92 110 ,i.e. mysql saves it as real string instead of escaped ones.
    Please Help me to solve this nightmare. Thx
    Yours
    Thomas Li

    Crossposted in dozens of forums. Not relevant to this one.

  • A very strange problem in microsoft access

    Hi all,
    Recently I wrote a simple java application which use microsoft access as the database. I connect the database sucessfully and I've even done the regular expression to filter the invalid text characters, everything works fine util I do the following SQL:
    insert into test values 'client for updates'
    Here test is my table name
    I found this perticular string 'clent for updates' is very strange, it can't be inserted into the database, I try 'client for up' or something else, they all work.
    Could anyone tell me what happened?
    With my best,
    Zike Huang(jim)

    My problem is, even I've written the SQL in the correct syntax, in my java code, it just look like this
    adc.SQL("insert into test(subject, content) values('" + sf.filter(subject.getText()) +"'"
                                  + "," + "'"
                                  + sf.filter(board.getText()) + "')" );
                                  subject.setText("");
                                  board.setText("");
    where subject is a textfield and board is a JTextArea and sf is a string filter which use regular expression, I basically want to insert the string in these component into the database, Many strings work, but client for updates can't be inserted.
    With my best,
    Zike Huang

  • [Mysql-Connector] A very strange problem !

    Hi everybody!
    Ready to hear a strange story ?
    I have a weird problem to use the MySQL-connector under Linux (Debian).
    I have no problem in windows XP, all is working fine !
    But under Linux when I try to connect to mysql throught mysql-connector wrote in a Servlet I have this message :
    Message: Invalid authorization specification message from server: "Access denied for user 'root'@'monkinetwork' (using password: YES)"
    SQLState: 28000
    ErrorCode: 1045 Here the software I'm using :
    Tomcat 5.0.28
    MySQL-Connector version is : mysql-connector-java-3.0.15-ga-bin.jar
    JDK Version : 1_5_0_01. Servlet-Examples and JSP works fine! So I don't think the problem come from JDK.
    MySQL version : MySQL-SERVER-4.1.9-2 : All is working under console mode !
    Here's My Servlet TESt1.java:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.sql.DriverManager;
    public class TEST1 extends HttpServlet {
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException  {
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
       String url = "jdbc:mysql://localhost:3306/HeroDB";
       String user = "root";
       String password = "password";
    try{
        Class.forName("com.mysql.jdbc.Driver");
        out.println("<br> DRIVERS JDBC : OK!");
        Connection connection = DriverManager.getConnection(url,user,password);
        out.println("<br> Database connection : OK!");
    catch (ClassNotFoundException e)
             out.println("Error with JDBC Drivers !");
    catch(SQLException ex) {
            out.println("<br> ERROR MESSAGE <br>");
       while (ex != null) {
                    out.println("<br>Message: " + ex.getMessage ());
                    out.println("<br>SQLState: "  + ex.getSQLState ());
                    out.println("<br>ErrorCode: "  + ex.getErrorCode ());
                    ex = ex.getNextException();
          out.println("");
    AND THE HTML PAGE in order to access to the Servlet :
    <HTML>
    <HEAD>
    <TITLE>DataBase Test</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H2 ALIGN="CENTER">DataBase TEST</H2>
    <FORM ACTION="http://localhost:8080/TEST1">
    <CENTER>
    <INPUT TYPE="SUBMIT" VALUE = "CONNEXION TEST">
    </CENTER>
    </FORM>
    </BODY>
    </HTML>
    Theses codes works very well under windows, but under linux system here what I've got :
    DRIVERS JDBC : OK!
    ERROR MESSAGE
    Message: Invalid authorization specification message from server: "Access denied for user 'root'@'monkinetwork' (using password: YES)"
    SQLState: 28000
    ErrorCode: 1045 Well, the web.xml file is well configured.
    Anyway : I already tried with class: org.gjt.mm.mysql.driver, but I have the same message error !
    By the way, it's very strange that I can play with MySQL under the terminal but not throught tomcat.
    Any suggestions please , because it's giving me a very hard time ! ?
    Thank you !
    ++
    maki

    MySQL does authentication based on usernames and hosts. See http://dev.mysql.com/doc/mysql/en/connection-access.html

  • Very Strange Internet Problems

    I own a MacBook Pro 15.4 Inch that I purchased about a year and a half ago. I recently upgraded to Leopard and have all the latest updates. I am from the US, and when I am home my internet works fine. However, I am on travel to Seoul, South Korea right now and am having a very strange internet problem.
    As far as I can tell, the URLs that I type in to my browser are, sparodially, not translated correctly into the webpages that they are supposed to represent. This problem is probably effective 75% of the time, and the rest of the time my internet works roughly correctly. For instance, when I enter http://www.google.com, instead of being taken to the Google homepage, I am taking to the homepage of Jammin Beats DJ Service, an obscure website about a company in northern Pennsylvania. The actual URL of this website is http://www.jamminbeats.com, but when my internet is malfunctioning, 'jamminbeats' is for all intensive purposes replaced by 'google' (that is, it applies not only to the main page, but to sub pages, so "http://www.google.com/weddings" takes you to "http://www.jamminbeats.com/weddings" and etc). For most other webpages, one of two things happens. Either I am taken to the correct page but it is displayed without any images or frames (just the html text and links), or I am taken to a blank page with the header "Under Construction", which I assume is the default for a page that doesn't exist. This is why it seems as though the URLs are simply being interpretted erroneously.
    This problem occurs when connecting both to the wireless and the wired internet at my hotel, and it occurs on both Safari and Firefox, so it is not a connection-specific or browser-specific problem. It may be a problem with the hotel's internet, and as of yet I have not had a chance to test the computer at another location. However, a colleague using an IBM computer has had no problems, and I am currently on a Samsung machine in the business center of the hotel and it is working correctly as well. I have searched extensively online for a similar problem but have come up empty handed, and more than anything, I am confused about what might be causing this problem. The strangest thing is that a fraction of the time, the internet functions normally, but it is usually roughly 15 minutes out of every hour, and eventually I am inevitably taken back to Jammin Beats.
    I am a computer science graduate but I still have no idea what would cause this problem. At first I thought it might be a hacker, but if it is, he or she has been at it consistently for 3 days now, and only seems to be targeting my computer. Any ideas or solutions would be greatly appreciated, as I have been forced to resort to the hotel's business center for checking email, doing work, etc. Thanks in advance.

    I did consider that, as I was in Beijing last week and there are a number of censored sites. However, in Korea I have had problems with very basic sites like facebook, wall street journal, google, yahoo, Korean google, my hotel's webpage, etc. Further, I have successfully gotten all of these sites to load seemingly at random, and can access them without problems on other computers. The only disconnect seems to be between my MBP and the internet, not between Korean internet and the web. I have toyed around with the network settings, and although sometimes after switching from "Automatic" to a fixed connection I get some sites to work, it usually only lasts a short time and eventually the same sites stop working. I reset my cache regularly to make sure I'm not getting sent to cached sites, but this also doesn't help. Further, my Apple Mail, Skype and AIM accounts jump between being connected and disconnected randomly as well. Again, this is isolated to my own computer, which is why I'm so confused.

Maybe you are looking for

  • Syncing iphone and losing apps

    I registered my replacement iphone and backed it up on itunes. when completed the apps were gone from my phone. I looked in itunes and they were still located there, but would not let me resync them to the phone. I tryed to redownload them on the pho

  • Assignment of production order to network

    Hi, How can we assign a production order to the network or vice versa. I know the WBS can be assigned to production order through assignment tab in production order. Thanks, Santhosh

  • Problem in creating a Lookup query in OIM.

    i have written LookupQuery. My query is :select lkv_encoded,lkv_decoded from lkv lkv,lku lku where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.BB.InstitutionRoles' and lkv_encoded not in '$Form data.UD_BLKBRD_PORTALROLE$' i am getting the

  • Jcombobox not visible in unix using JRE 1.6

    There is a Java based admin tool in our project which is implemented using java swing. This admin tool works fine on Windows with all the JRE’s. But when I run it on Sun Solaris with Sun JRE 1.6.0_12, the drop down feature of jcombobox fails. It open

  • Screen won't flip

    I had to change my iPhone today because the earphone jack was not working. Now i noticed that when in safari, the image will not flip horizontally when I flip the iPhone. Is anyone else having this problem or could this be my phone?