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

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?

  • Jsp debugging under jboss/tomcat

    empty

    When you stop at a breakpoint you should be able the see the JSP page
    with a marker pointing to the current JSP line. In your case that should
    be maintenance/ad/adEdit.jsp
    Can you debug the demo application from NitroX on your server?
    What version (build number) of NitroX are you using?
    M7 Support
    [email protected] wrote:
    I am using jboss 3.2.5 with embedded tomcat 5.0.26I am able to set up a web project, set a breakpoint on my jsp page, and
    NitroX will stop at the breakpoint. However, it says it can't find the
    source for my jsp page (i.e. "The source of the type
    'org.apache.jsp.maintenance.ad.adEdit_jsp' could not be shown as the
    type was not found.")
    What do I need to do to get that to show up? Jboss/Tomcat makes a new
    temp folder each time the project is deployed, do I have to change it
    every time? I can't even get it to work by pointing the source folder
    to that temp folder.
    Thanks!

  • 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 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

  • JSP problem when running Tomcat in Eclipse

    Hello,
    Eclipse newbie here.
    I just started using Eclipse and I have installed the Tomcat plugin. When I run Tomcat within Eclipse, http://localhost:8080 works fine, but when I tried to access a JSP that I've created, I'm getting this error:
    HTTP Status 404 - /JSPDemo.jsp
    type Status report
    message /JSPDemo.jsp
    description The requested resource (/JSPDemo.jsp) is not available.
    Using Eclipse version 3.1.2
    Tomcat Plugin = sysdeo 3.1
    Tomcat version 5.0.28
    JDK + JRE = 1.4.2_08
    I was just following this tutorial:
    http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    Thanks in advance.

    why not use Web Tools Project of Eclipse, it comes with all plugins necessary for J2EE and Web development
    http://www.eclipse.org/webtools/
    it's much easier to use

  • 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

  • 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

  • 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.

  • 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.

  • Very Strange exception in JMS in JBoss, EJB3

    My Client program is:
    env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NameingContextFactory");
    env.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:jnp.interfaces");
    env.put(Context.PROVIDER_URL,"jnp://localhost:1099");
    QueueConnectionFactory qconFactory;
    QueueConnection connection;
    QueueSession session;
    QueueSender sender;
    Queue queue;
    TextMessage msg;
    qconFactory = (QueueConnectionFactory) ctx.lookup("QueueConnectionFactory");
    connection = qconFactory.createQueueConnection();
    session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    queue = (Queue) ctx.lookup("queue/testQueue");
    msg = session.createTextMessage();
    sender = session.createSender(queue);
    msg.setText("Hello World");
    connection.start();
    sender.send(msg);
    session.close();
    connection.close();
    MY MDB is:
    @MessageDriven(name="LongProcessMessageBean", activationConfig = {
    @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
    @ActivationConfigProperty(propertyName="destination", propertyValue="queue/testQueue")
    public class LongProcessMessageBean implements MessageListener {
    @Resource
    private MessageDrivenContext context;
    public void onMessage(Message message) {
    String name = null;
    try {
    if (message instanceof ObjectMessage) {
    ObjectMessage objMessage = (ObjectMessage) message;
    Object obj = objMessage.getObject();
    if (obj instanceof TextMessage) {
    System.out.println("My Message from the Consumer is:"+obj.toString());
    } else {
    System.err.println("Expecting ProcessDTO in Message");
    } else {
    System.err.println("Expecting Object Message");
    I am getting exception as on console
    19:22:18,328 INFO [STDOUT] MyException is::javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassCastException: org.jboss.naming.LinkRefPair cannot be cast to org.jboss.naming.LinkRefPair]
    How to get rid of this? please explain me.
    Thanks,
    Rahul

    My Client program is:
    env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NameingContextFactory");
    env.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:jnp.interfaces");
    env.put(Context.PROVIDER_URL,"jnp://localhost:1099");
    QueueConnectionFactory qconFactory;
    QueueConnection connection;
    QueueSession session;
    QueueSender sender;
    Queue queue;
    TextMessage msg;
    qconFactory = (QueueConnectionFactory) ctx.lookup("QueueConnectionFactory");
    connection = qconFactory.createQueueConnection();
    session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    queue = (Queue) ctx.lookup("queue/testQueue");
    msg = session.createTextMessage();
    sender = session.createSender(queue);
    msg.setText("Hello World");
    connection.start();
    sender.send(msg);
    session.close();
    connection.close();
    MY MDB is:
    @MessageDriven(name="LongProcessMessageBean", activationConfig = {
    @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
    @ActivationConfigProperty(propertyName="destination", propertyValue="queue/testQueue")
    public class LongProcessMessageBean implements MessageListener {
    @Resource
    private MessageDrivenContext context;
    public void onMessage(Message message) {
    String name = null;
    try {
    if (message instanceof ObjectMessage) {
    ObjectMessage objMessage = (ObjectMessage) message;
    Object obj = objMessage.getObject();
    if (obj instanceof TextMessage) {
    System.out.println("My Message from the Consumer is:"+obj.toString());
    } else {
    System.err.println("Expecting ProcessDTO in Message");
    } else {
    System.err.println("Expecting Object Message");
    I am getting exception as on console
    19:22:18,328 INFO [STDOUT] MyException is::javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassCastException: org.jboss.naming.LinkRefPair cannot be cast to org.jboss.naming.LinkRefPair]
    How to get rid of this? please explain me.
    Thanks,
    Rahul

Maybe you are looking for

  • Problem in Forms navigator

    i'm sorry. i'm not good english writer. but i have one question. In forms navigator, if i click OAF Page, OAF Page will create in new Browser every time. so, multi oaf page exists. when i calll a dbtransaction's operation in a oaf page of multi, some

  • NI cRIO-9004 safemode improper installation

    We are now working with 'CompactRIO Real-Time Controller - NI cRIO-9004', and facing many problems. hardwares we're using: CompactRIO Real-Time Controller - NI cRIO-9004 chassis: cRIO-9104 modules: NI 9472, NI cRIO-9411, NI cRIO-9221 Softwares we're

  • Images scrolling into address bar

    I was browsing a page avclub and scrolling down the page when I noticed the static image of a video appearing in the address bar of the current tab. I was able to repeat the effect right down the page. As I scrolled down and the page with video previ

  • BATCH and VALUATION TYPE

    Dear All, Can anyone, please explain me clearly the difference between BATCH and VALUATION TYPE in MIGO and PO screen? What is the link between them ? pls explain in detail.... Edited by: Raju on Nov 17, 2008 8:02 AM

  • HT1414 Volume has gone on iPhone 5 . Still not working after restore. Any ideas?

    Volume on iPhone has gone. No music,calls etc . Help please