Getting 104 resource not found error, when deploying my first servlet

Hi,
I am new to servlets, and after doing little home work i have created a small servlet but i am i getting http 104 resource not found error.
steps i followed:
1) installed pre-configured version of tomcat from http://www.coreservlets.com/Apache-Tomcat-Tutorial/.
2)created new directory called ch1 under webapps, created WEB-INF under ch1
3)included web.xml, classes in WEB-INF directly
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>Ch1servlet</servlet-name>
<servlet-class>Ch1servlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Ch1servlet</servlet-name>
<url-pattern>/servlet</url-pattern>
</servlet-mapping>
</web-app>
4) included .class file under classes folder from following Ch1servlet.java file, I have set class path to point to servlet-api.jar file and jsp-api.jar and compliled following java file to get .class file which is included in classes folder
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class Ch1servlet extends HttpServlet
public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException
response.setContentType("text/html");
PrintWriter out=response.getWriter();
java.util.Date today=new java.util.Date();
out.println("<html>"+
"<body>"+
"<h1 align=center>HF\'s Chapter1 Servlet</h1>"
+"<br>" + today + "</body>" + "</html>");
5) I am started tomcat server and when typed http://localhost( changed port from 8080 to 80), its giving tomcat page and not showing any error
6) When i typed http://localhost/ch1/servlet/Ch1servlet, its giving http 404 error
type Status report
message: /servlet/Ch1servlet
description: The requested resource (/servlet/Ch1servlet) is not available.
7) i have uncommented(it comes preconfigured) the invoker part in web.xml.
I have tried including servlet in an package and without package
I am not sure if its problem with server configuration orelse problem with my file placing.
Please let me know if you have any idea what went wrong.

I found this, unable to copy it, so i am typing it:
Feb11,2008 11:55:57 AM org.apache.catalina.core.AprLifecycleLIstener init
INFO: The Apache Tomcat Native Library which allows optimal performance in production environemnt was not found on the java.library.path:c:\program Files\Java\jdk1.6.0\bin;....
last line says
org.apache.cataline.startup.catalina start
INfo: Server startup in 657ms

Similar Messages

  • Most search engines are not working, only Google Search works and I get 404 file not found error when clicking the links.

    I have been trying virus killers, malware software from microsoft, I uninstalled Firefox and reinstalled it, I used the option to change all my options to the basic default installed options, I am able to search without problems using Internet Explorer on all search engines, Google Search engine works in firefox browser; but all the links give the 404 file not found error. Links from my Gmail account do not work either...giving me the 404 error. Firefox is much faster than Internet explorer however, this link problem makes me wonder if firefox is really any good.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Keep getting VncViewer.class not found error when trying to use Windows 7

    Greetings,
    I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\deverej
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class VncViewer.class not found.
    java.lang.ClassNotFoundException: VncViewer.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://141.144.112.202:8888/OVS/faces/app/VncViewer/class.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: VncViewer.class
    I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

  • I am getting a JVM not found error when i try to install tune transfer

    this is what i am getting when after i install the program tune transfer...i updated my java and i am still getting the message....any thign would help thank you
    (Apr 6, 2007 10:25:07 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$Installer, err, ProductException: (error code = 601; message="JVM not found")
    STACK_TRACE: 8
    ProductException: (error code = 601; message="JVM not found")
    at com.installshield.product.actions.JVMResolution.install(Unknown Source)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallPro duct.checkUninstallerJVMResolution(Unknown Source)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallPro duct.install(Unknown Source)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer. execute(Unknown Source)
    at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:613)

    > i updated my java ... message="JVM not found"
    Open System Profiler and click on Frameworks
    The list of Java items and versions should look like this

  • I am getting a 404 Not Found error when I try to access Yahoo Mail from Firefox. I can log in but Yahoo Mail will not open. It will open in IE. The problem is here at home.

    Not Found
    The requested URL /dc/launch was not found on this server.
    Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at us.mg201.mail.yahoo.com Port 80

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Can't Download from iTunes Store - "Requested Resource Not Found" Error

    I am trying to download a couple of (free) apps for my iPhone and iTunes is throwing up an error saying "The requested resource was not found. There was an error in the iTunes Store. Please try again later." Is anyone else having this issue at the moment? Is the store down?

    It has been a few hours now. Same problem. "Resource Not Found" error when trying to download apps from the iTunes store. Anyone else having this problem? Anyone NOT having this problem? Anyone?

  • Get file not found error when I try to sync

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

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

  • When i try to share a movie to idvd from imovie i get a file not found error

    when i to share a movie from imovie to idvd i get a file not found error can anyone help?

    Hey ninimac!
    Here is an article that can help you troubleshoot this issue with burning DVDs in iDVD:
    iDVD: Troubleshooting issues with burning discs
    http://support.apple.com/kb/ht1583
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Captivate 8:  Why am I getting a HTTP 404 Not Found error when I try to preview a responsive project?

    Captivate 8:  Why am I getting a HTTP 404 Not Found error when I try to preview a responsive project?

    Out of curiosity, some here have recommended renaming an EXE file behind the scenes to eliminate that firewall message when starting up. Are you one of those folks that tried this? My thought is that if so, perhaps this is a result?
    Cheers... Rick

  • File not found error when opening securedoc.html

    We are having a sudden issue where recipients of our secure envelope emails will open a message from us with attachments and they will get a "File Not Found" error message.
    We are still using a Post X appliance, but no config changes were made whatsoever and this started happening since last weekend. (Oct. 9-11)
    I did reboot the Post X box and thought the problem was fixed w/ the reboot. I sent a secure message to myself and then opened it along with the attachment and all was good. I sent the second test and the problem was back; "File not found".
    I have noticed that when I get file not found the address bar in my browser is pointing to: https://res.cisco.com/websafe/eo/error?error=notfound
    The time after rebooting when it did work it pointed to file on my local computer hard drive:
    file:///C:/Documents%20and%20Settings/mymachine/Local%20Settings/Temporary%20Internet%20Files/PXTemp/-6pAQ4_Y5hJEmKdQhtG8lhNx0zo!/PX_L_1255377132267.html
    Any ideas what could have caused this sudden issue? How do we resolve? I have a call into support, but they have been researching it all day and our secure mail is down!

    used bridge, didn't work.
    tried right-click, double click..open in program.
    same error.
    files work in other adobe products.....
    only way to get a jpg in there is to "paste" it in.

  • File Not found error when calling Form Post Method to a JSP from JSP Portlet

    I have built a set of JSP forms using post method to call other JSPs. Normally, the code looks like
    <form name="MyForm" action="MyJsp.jsp" method="post">
    I migrated the calling form containing this code to a portlet, but not the MyJsp.jsp. When I submit the form, I get a file not found in Jserv.log
    Exception:javax.servlet.ServletException: java.io.FileNotFoundException: D:\servlet\RegisterCompany.jsp (The system cannot find the file specified)
    [14/06/2001 13:59:59:679 PDT] JspServlet: unable to dispatch to requested page: Exception:javax.servlet.ServletException: java.io.FileNotFoundException: d:\oracle\isuites\apache\apache\MyJsp.jsp (The system cannot find the file specified)
    I notice that launching the calling jsp from a portlet, my opriginal context that uses ../Apache/Apache/htdocs is not being searched for the JSp. Why is this? Moreover, I try to set up an Alias in httpd.conf file to the this director and use it with the jsp in the action tag, but still get an error that my jsp servlets/Myjsp can't be found. Why is it insiting on looking at servlets context instead of htdocs.
    I have none of these issues outside of Portal30 using IAS.
    regard

    Initially, I couldn't do this unless I moved tghe jsp's up to the root directory of IAS, i.e ../Apache/Apache. Nomrally, htdocs is my doc directory for IAS. I could not do http:\\myUrl\htdocs\myJsp. If I tgried this, I got an error in Apache error logg that said can't find file ..\htdocs\htdocs\MyJsp.jsp.
    If I just tried the the URL http:\\myUrl\MyJsp.jsp with Jsp file in htdocs, I would get an error in the Jserve log that file d:\oracle\isuites\apache\apache\MyJsp.jsp could not be found. Once I moved the file MyJsp to Apache/Apache directory, it could be found using http:\\myUrl\MyJsp.jsp. Later, I delted these files and kept the ones in htdocs and they continued to work.
    I'm confused why launching pages through portal isn't consistant with Apache Standards. Where is the documentation that tells me how to configure context and aliases for pages launched from portal pages?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sue Vickers ([email protected]):
    David,
    Passing information using Portal is different than just using Apache/Jserv. Does it work in portal if you use the absolute path?
    <form name="MyForm" action="http://host.domain/MyJSP.jsp" method="post">
    Portal will not be on the same relative path as your Apache, so you may need to adjust your action somehow.
    Thanks,
    Sue<HR></BLOCKQUOTE>
    null

  • Codec Not Found error when trying to render/export layered sequence

    I have a sequence that I never had problems with in the past but as of yesterday when I open the project and try to render or export. I get the infamous dialogue box saying, "Codec not found. You may be using a compression type without the corresponding hardware card."
    I've narrowed it down to only being a problem wherever I have two particular types of media clips layered one on top of the other. In this case it is occurring wherever I have an Apple ProRes 422 (HQ) clip layered with an Animation codec clip containing a graphical bug that was created in After Effects and exported as a Quicktime Movie with RGB+Alpha. Because of the Alpha channel in the bug clip, it is automatically given the Animation codec upon export from After Effects to retain and preserve the transparency needed. I've also narrowed it down to only occurring when all this is combined on a sequence with its compressor set to standard ProRes 422 or ProRes HQ. If I set it to any other codec, such as any DV/DVC Pro or MPEG IMX codec then I can render and export again.
    Also interesting is that I can nest the sequence into another sequence and render and export just fine as well, even with it set to either ProRes codec (which will probably prove to be a suitable workaround for the time being), however, any additional insight into this issue that anyone can provide, pertaining to what may have changed or caused my original sequence to suddenly not want to render anymore would be greatly appreciated.
    And if anyone else reading this comes across this this same type of problem themselves, then I suggest what I just got to work: Duplicate your sequence, then delete the clips from the new sequence and nest the original sequence into it.
    Here is some additional background info if desired:
    I'm using FCP 6.0.6. The sequence I have going here is set to Apple ProRes 422 and consists entirely of Quicktime Movie files. Video Track 1 has the main video clips using the ProRes HQ codec (Again, even with the sequence set to ProRes HQ, it doesn't make any difference here). Track 2 has a graphic bug that was created in After Effects and layered over the Track 1 clips at various places. I was able to work with these clips and render as well as export the sequence with no problems last week. However, I was requested to revise the bug in After Effects, and then replace the old bug with new bug and export the sequence again. So yesterday, I simply opened up the After Effects project file for the bug, made the revisions and exported it with a new name using the same settings as the previous bug. The render problem I'm now facing surfaced right when I opened the FCP project file yesterday, before even importing and replacing the old bug with the new bug. I went ahead and imported the new bug and placed it in place of where the old bug occurred. But the render and problem remained. On this particular problem sequence, I can render the new bug if I actually disable or remove the ProRes clip beneath it, but I cannot in turn render the ProRes clip after disabling/removing the Animation clip above it.
    Now, I can copy either type of clip into their own sequence allowing the clips' respective native settings (ProRes HQ & Animation) to take effect and then they will playback and export just fine. I can even copy the bug clip (Animation codec) and paste it into the other clip's ProRes HQ sequence and it will render and export just fine from there as long as it is placed next to the other clip and not layered over it. On these newer sequences, it is only when the bug (Animation) clip is layered over the ProRes HQ clip with the sequence set to ProRes or ProRes HQ do I tend to still get the "Codec not found" error.
    I've also tried the following steps to try and troubleshoot to no avail:
    1. Copied entire sequence into a new sequence. Problem still occurs.
    2. Closed FCP, trashed preferences, and restarted FCP. Problem still not resolved.
    3. Opened project on another computer, had same problem.

    Thanks for sharing these ideas about dealing with this error message.
    For what it's worth, I finally managed to solve a similar issue by going into sequence settings, choosing the Video Processing tab, and changing Render 10-bit YUV to Render 8-bit YUV.
    Maybe this helps someone?

  • I was stupid enough to try to update my iTunes, now I'm getting Entry Point not found error:

    I was stupid enough to try to update my iTunes, I have troubles every single time i've tried to do this.  In the past I've been able to fix it using the support forum, not this time.  So now I'm getting Entry Point not found error:
    The procedure entry point ADiAdID_AcquireMatchSlotIfNecessary could not be located in the dynamic link library iAdCore.dll
    I've uninstalled, and reinstalled MULTIPLE times. Removed all apple related components,  ran as administrator, repaier .net frame etc etc etc....
    Still get this error when opening itunes. And after I close that error, I receive Error 7 - itunes was not installed correctly....please reinstall.
    WHY is this ALWAYS such a pain?  Andriod phone here I come...

    See Troubleshooting issues with iTunes for Windows updates.
    Try the repair tip in the third box first.
    tt2

  • Help! 'Page not found error' when use the word 'account' on my web page!

    I have encountered the weirdest problem when making some changes to my website.
    When adding text within the <p></p> tags  everything is fine until I type the word 'account' or 'accounts' then I get a 'page not found' error.
    Any other text can go between those tags, only the word 'account' causes the problem.
    Any ideas?
    (I am using Dreamweaver MX 2004 and its a PHP page)
    I am so confused on this one, so any help would be much appreciated!
    Thanks.

    http://www.reformationassociates.com/ - This is the website, the weirdest part is, it is only happening on pages after they have been opened through Dreamweaver, so it's only once I access them that the problem occurs, I dont have to make any changes, just open them and they suddenly show up as 'page not found'.  
    http://www.reformationassociates.com/archive/Pinnacle.php is one of the pages that was accessed yesterday via Dreamweaver and we have had to change the word to 'acct' to stop the 'page not found' error.
    Afriad I dont know what SSI files are? sorry....
    Thanks.

  • Quicktime gets a file not found error in running of set up.  tried downloading twice

    Quicktime gets a file not found error in running of set up.  tried downloading twice

    Hi Spex,
    I can import the VI Logger task OK (from another PC running VI Logger 2.0), but I can't run the task.  I've attached the file.  The "1 channel" task runs OK.  The "x-probe" task starts, takes 1 or 2 data points, then hangs for a few seconds, then pops up the "file not found" error. The data acquisition taks run OK, so I don't think they're the problem.
    This file I've attached includes 2 good data tasks ("1 channel" and xprobe"), 1 good VI Logger task ("1 channel"), and my non-working VI Logger task ("x-probe", which works fine on the PC it was exported from).
    I have also tried exporting the non-working VI Logger task on its own, and it still imports OK, but still doesn't run, and gives the same error.
    Thanks,
    Jake
    Attachments:
    configData1.zip ‏353 KB

Maybe you are looking for

  • Why can't i copy and paste from safari into email?

    I am able to select text, copy it, but nothing happens after pasting it to the an email or notes.

  • Query with Cost Center Hierarchy giving incorrect results

    Hi All, I have a universe built based on BEx query on Cost Center cubes. When enabling hierarchy in BEx Query and building Web intelligence Report based on the universe, I get incorrect results.  The levels of the hierarchy is incorrect, many of the

  • Use remote or local interface in my CMP EB?

    I found it's suggested to writer your CMP EB with Local interface.and a Session Bean with Remote interface.and bundle them into a same EJB JAR file.my end-user client (WAR file) call SB in another JVM. I wrote two methods in my SB named [CreateAuser

  • M:n basic question

    Hi, I have the problem that I want to extend an existing allocation table by an attribute. I have posted this thread also in another Forum but couldn't get some help... I have a table user with an userId, a table group with an groupId and a userGroup

  • Sax parser returned an exception while trying to print/export in PDF

    Hi all , I am getting an error as below when I am trying to export and print my report in PDF and also into POWERPOINT. Sax parser returned an exception. Message: Entity 'nbsp' was not found, Entity publicId: , Entity systemId: , Line number: 40, Col