Telling which resource was not found on a 404 page

Hello.
          I thought that it would be nice to have a 404 page that tells the user what
          he was trying to get but wasn't there.
          Full of hope I constructed the file error_404.jsp containing this:
          The requested document
          <%
          if ( null != request ) {
          out.println("<i>" + request.getRequestURI() + "</i>");
          %>
          could not be found.
          Unfortunately, this only tells the user that error_404.jsp could not be
          found, and that's not even true! =)
          How can I find out which resource was originally requested by the browser?
          Regards,
          Björn
          

Hello,
It looks like the classloader used to load TopLink cannot find your jar or sessions.xml. Have you tried using the SessionManager api that takes in a specific classloader, for instance:
(DatabaseSession)SessionManager.getManager().getSession("default", yourPersistenctClass.class.getClassLoader() );
Best Regards,
Chris

Similar Messages

  • Error while trying to restore - "Resource was not found"

    I just got a replacement for my old 60GB color Ipod.
    I plug it in to restore to make it compatible for windows, and this is what I get:
    "THERE WAS A PROBLEM DOWNLOADING THE iPOD SOFTWARE FOR THE iPOD. THE REQUESTED RESOURCE WAS NOT FOUND".
    That's the error message that comes on when I try to restore.
    I am using the brand new iTunes.

    Thanks for the reply.
    I did try and changed it several times but that didn't work. After about 4 hours of trying and disconnecting and removing deamon tools like someon suggested, i got it to be read, only to tell me that it is corrupt and that it needs to be restored.
    After many tries again, i managed to restore it and start from scratch. It is currently working fine as I am loading it up with music. But if I disconnect it, that's it. No way to add any more new music, which completely *****.
    I dont even know what I can do by now, and I dont see what could be the problem.

  • Cannot Connect to the iTunes Store. Request Resource was not found

    I hope you can help me.
    I get the following error when trying to connect to the iTunes store.
    iTunes could not connect to the iTunes store, the requested resource was not found.
    I am running Norton Internet security and have allowed all permissions for iTunes.
    Following is the diagnostics log:
    Thanks,
    Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    Dell Inc. Latitude D820
    iTunes 7.1.1.5
    Current user is an administrator.
    Network Adapter Information
    Adapter Name: {21F2991F-5976-4BE0-8031-064BC7AC9AF0}
    Description: Intel(R) PRO/Wireless 3945ABG Network Connection - Minipuerto del administrador de paquetes
    IP Address: 192.168.2.26
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.2.200
    DHCP Enabled: No
    DNS Servers: 192.168.2.25
    168.243.165.225
    Adapter Name: {CB99A2BD-1A04-482A-BC5C-53E5597BA70B}
    Description: Broadcom NetXtreme 57xx Gigabit Controller - Minipuerto del administrador de paquetes
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway:
    DHCP Enabled: Yes
    DHCP Server: 192.168.0.1
    Lease Obtained: Mon Feb 12 11:09:06 2007
    Lease Expires: Tue Feb 13 11:09:06 2007
    DNS Servers: 192.168.2.25
    168.243.165.225
    Network Connection Information
    Active Connection: Conexión LAN
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Enabled
    Firewall Information
    Windows Firewall is off.
    Connection attempt to Apple web site was successful.
    Connection attempt to iTunes Store was successful.
    Secure connection attempt to iTunes Store was unsuccessful.
    A secure network connection could not be established.

    Has anyone actually tried this suggestion posted by jeffporfiro's. He seems to be posting in any topic related to iTunes Store connection probs.
    Is there any credibility to his suggestion? (below)
    <<jeffporfirio wrote:
    Solution is as follows:
    Goto your C:\WINDOWS\system32\drivers
    find a file named “hosts”, mine was located in a directory named “etc” under the “drivers” directory, rename the file, to something other than its name (eg. rem-old.host) and done ! >>

  • Problem restoring my iPod - "Resource was not found"

    My iPod hardrive is a little bit dodgy (to say the least.) When I try to connect it to my computer, it comes up with an error message that says "ITunes has detected an iPod that appears to be corrupted. You may need to restore this iPod before it can be used with iTunes. You may also try disconnecting and reconnecting the iPod."
    So I restore it, but then another message pops up that says "There was a problem downloading the iPod software for the iPod “iPod.” The requested resource was not found." and then iTunes stops recognizing my iPod.
    Any suggestions?

    i was also having the same problem. i seem to have fixed the problem but time will tell.
    here is what i did.
    1. you have to get rid of itunes 7. i did a lot of reading on the internet looking into error 1418 and 1429 and this is happening to a lot of people after they do the software update. trash everything except the itunes music folder, (where all of your mp3's a stored. don't empty the trash until you have your old songs back on your new old version of itunes 6, just to be safe.
    2. find a download for itunes 6. not the easiest thing in the world but you should be able to find it on a bit torrent or ask a friend that might still be running on that to send you a copy.
    3. you can try and restore your ipod with the old ipod updater that comes with itunes 6, (2006-01-10). it might not work the first time, it might not work after several. but at least give it a go. mine would update sometimes but then when i tried to play songs on it later it would just tear through songs and not play anything.
    4. open up your disk utility program. i ran a repair permissions and repair disk first, both times i got a message saying there was a bad btree situation going on. if you don't get this message, i suggest trying to restore it again before you go to step five.
    5. you are going to have to completely erase the **** thing. choose erase and pick the default option that comes up (mac os extended (journaled))
    6. your ipod is going to be in disk mode now, don't trip out.
    7. run the ipod updater again. once again, mine wouldn't allow me to eject the ipod once it was done so i just restarted it.
    after all this, it opened up itunes and asked me to name my ipod. everything has been cool now since this morning. good luck!

  • HT201210 Hey guys, i was trying to restore my ipad 3 through itunes but it shows an error "The requested resource was not  found".. so what do i do now?

    Guys im getting an error "The requested resource was not found. what do i do???

    Make sure you disable antivirus and firewall.
    Reboot iPad and computer.

  • Requested Resource Was Not Found

    I tried accessing the Music Store, but get a message popup saying
    "iTunes could not connect to iTunes Store. The Requested Resource was not found."
    I quit and restarted the computer, and launched again. Same message. It was working yesterday just fine.

    Some basic information would probably be helpful: your OS version, your iTunes version, how your system connects to the Internet, and what changes if any you've made to the system since it last worked. Otherwise people will be working in the dark to guess what to suggest.
    Regards.

  • HT201210 Im getting a message that says the ipad cant be restored because the requested resource was not found. what does this mean?

    Im getting a message that says the ipad cant be restored because the requested resource was not found. what does this mean?

    Hi timtim89,
    Thanks for visiting Apple Support Communities.
    You may need to restore your iPhone after placing it in recovery mode. See this article for the steps:
    iOS: Unable to update or restore
    http://support.apple.com/kb/ht1808
    Regards,
    Jeremy

  • HT201210 When trying to restore the iPhone 4, I get a message that says "The requester resource was not found." What does this mean?

    When trying to restore the iPhone 4, I get a message that says "The requester resource was not found." What does this mean?

    Hi timtim89,
    Thanks for visiting Apple Support Communities.
    You may need to restore your iPhone after placing it in recovery mode. See this article for the steps:
    iOS: Unable to update or restore
    http://support.apple.com/kb/ht1808
    Regards,
    Jeremy

  • Can not create a mobile Service RDFE: The upstream server reported that the resource was not found.

    Hi,
    I am trying to create a mobile service and no matter what I do I receive the attached error:
    RDFE: The upstream server reported that the resource was not found.
    What does this error mean and how do I resolve it.
    I have created mobil services on this account a few days ago.. I deleted most of my azure resources and I am not sue I deleted one that is required for this

    Thanks for reporting this problem. The Mobile Service team is looking into this, and we believe that we identified the issue. We are working on a fix now. I'll let you know when we've resolved the issue.

  • Sorry, this page was not found.

    I've been getting the 404 error almost every day when navigating in the forums. There is no link in particular that causes it. It can happen in any forum and when clicking on any thread to read further.
    After I get the 404 page, I cannot get to any page that is not cached. After waiting anywhere from 15 minutes to 30 minutes, I can ususally get back into the forums.
    I sent an e-mail to the webmaster as suggested and received a form reply but nothing else. I wonder if the webmaster reads these or just deletes them because of the potential volume.
    A reply saying, "yeah, we know it's a problem, we're working on it" would be nice.
    Sorry, this page was not found. (ErrorDocument 404)
    This website is an ever-changing collection of information on Oracle products and technology, and we've either removed or relocated the document you requested.
    Please find your document using one of these resources below:
    1. Search Oracle.com
    2. Try our Product Index - a quick and easy-to-use list of all of Oracle's products.
    3. Email our webmaster and give us your feedback.
    -Tracy

    Still find this to be an every day problem. Yesterday, the times were 11:00, 1:47, and 3:00.
    As mentioned, it is never one link in particular. It happens while browsing the forums and reading threads. Once you get the error, you're done. You can't go to any other page in the forum that is not cached.
    -Tracy

  • I've just installed iTunes on my Windows 8.1 (64-bit) laptop, but i can't open it. It keeps telling me that Apple application was not found. What should i do now?

    I've just installed iTunes on my Windows 8.1 (64-bit) laptop, but i can't open it. It keeps telling me that Apple application was not found. What should i do now?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    The section Install missing components has advice on breaking down the iTunes installer into the individual .msi files which might prove useful if AAS won't install normally.
    tt2

  • I have downloaded itunes to my computer which has windows based 7 and I get an error saying Apple Application Support was not found error 2.  What do I need to do.

    I have downloaded itunes to my computer which is windows 7 and I get an error 2 which says Apple Application Support was not found does anyone know how to overcome this error?

    Install 7-Zip (free), or a free trial of WinRAR, and use one of them to extract the contents of the iTunesSetup.exe or iTunesSetup64.exe installer file, then try installing AppleApplicationSupport.msi as a standalone component. Even if it won't install you may get a more useful error message as to why not.
    tt2

  • The VCC property was not found on the resource

    Hi all,
    I used a subversion to download/upload process in one of my application.
    At a point it give an error like this.
    svn: The VCC property was not found on the resourceCan someone tell me what that error means, and how to fix it.
    Thanks in advance,
    itsjava :)

    There are several resources available if you do a Google (or other favorite search engine) search on this such as [this one|http://www.svnforum.org/2017/viewtopic.php?t=6271&highlight=vcc+property+resource] and [this one|http://svn.haxx.se/dev/archive-2003-10/0674.shtml] and [this one|http://readlist.com/lists/subversion.tigris.org/users/2/11220.html] (that talks about this usually being a web server configuration error). I recommend specifically focusing on Subversion forums such as the [General Setup & Troubleshooting forum|http://www.svnforum.org/2017/viewforum.php?f=16] at [SVNForum.org|http://www.svnforum.org/].

  • I cant install iWork9.1Update? It keeps telling me ¨An eligible Keynote application was not found in the location /Applications/iWork '09.¨?

    I cant install iWork9.1Update? It keeps telling me ¨An eligible Keynote application was not found in the location /Applications/iWork '09.¨?
    I have OS X Version 10.6.8
    Thank you very much for help

    Jerrold Green1 wrote:
    Kinur,
    Yes, it's a good idea to purchase first, upgrade later.
    As far as I know, there is no other way.
    We can't upgrade iWork '08 into iWork '09 and, applying an updater require the availability of an existing set of applications of the same generation.
    Yvan KOENIG (VALLAURIS, France)  mercredi 30 janvier 2011 15:57:10
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Ever since I installed Safari 5.1 I can no longer access the pdf files on my website. I keep on getting an error with Webkit2webprocess.exe telling me that LogTransport2.dill was not found. Please help..

    Ever since I installed Safari 5.1 on my PC (XP) I can no longer access the pdf files on my website. I have no problems with Chrome and  Firefox. I keep on getting a message from WebKit2WebProcess.exe that the LogTransport2.dill was not found. (I HATE PCs...) I tried reinstalling Acrobat 9. I tried reinstalling Safari. I even tried an older version of Safari. Nothing Helped.  Others have tried it on their machine, and it worked fine. But I do not know what is the matter with mine. I suspect the root cause is the missing LogTransport2.dill file. But I do not know how to go about getting it.  Your help is truly appreciated. My website is http://www.hlmartworks.com.

    I have also found the article that provides 3 solutions but none of the solutions worked.

Maybe you are looking for

  • Sharing between two accounts on the same Windows Vista PC

    Is it possible to home share between two different accounts on the same computer? On my son's account, iTunes for some reason won't connect to the iTunes Store.  So I would like to enable him to purchase stuff on my account and then use home share to

  • Using package constant in SQL

    I am trying to use a package constant in a query as follows: SELECT field1 FROM table t WHERE CEIL(sysdate - t.field2) > schema.package.constant field1 is a name field2 is a timestamp constant is an integer indicating the expiration time in days basi

  • Stop auto updating of extension

    I use the extension 'Tab Mix Plus' When they went to version 4.0.X , one of the functions was discontinued. I contacted them and they say there will be no change. I load an earlier version, but periodically it auto updates. I can reload it but this r

  • PRD account different between good entry and invoice entry

    Hi all I have a company with purchase account posting active,  with the posting method "at clearing account amount". In the good entry the PRD account is of "calculation" type (not balance sheet relevant) like the stock account and the offsetting pur

  • Current date and time

    What is the simpliest call in Visual C++ with Measurement Studio to extract the current date and time? I am trying to have such info as 1315032804 for March 28th, 2004 at 1:15 pm. Thanks in advance for your advice.