Regarding Error 404-please help!

Hi Wisemen,
I'm trying to deploy a servlet on my fresh installated tomcat. I believe I've succeded on installation as I can see the main page and run its servlets on http://eawars.sytes.net:8180/, which is the domain and port of my remote tomcat. (I run tomcat on a server on my LAN, but I've opened ports for you on router to check it and because we're deploying a java application as soon as I get it to work.
Actually, it USED to work three days ago, then, I don't know why, the basic servlets I tried for testing stopped working, although the main page and servlets keep working.
Anyway, I just tried a basic HelloWorld servlet. I assume the compilation was good and the .class file is correct, as it was before. I deploy the servlet structure into the webapps folder. However I get the resource not available error.
Here's my web.xml:
<?xml version="1.0" encoding="ISO-8859-15"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>Hello</servlet-name>
<servlet-class>HolaMundo</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Hello</servlet-name>
<url-pattern>eawars</url-pattern>
</servlet-mapping>
</web-app>
I run tomcat on an ubuntu server with shorewall (it has the port open). I'm putting the servlets not on the ROOT/webapps but on the /usr/share/tomcat5.5/webapps/
the .class name is HolaMundo.class
At first, I had the invoker mapping commented on /conf/web.xml, as suggested (though unrecommended) on many pages, I tried uncommenting it, and restarting, with no result. Same thing with
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
Which is not what they point out to be uncommented.
I didn't do a backup of the conf web.xml file, I'm afraid I may have screwed it up...
I also tried deploying some *.war (one you provide and another one). Same result.
I feel totally lost, I may re-install tomcat but I feel like it can be solved easily... I'm stuck.
It's my first contact with servlets, I'll be reading the servlet basics, but I'm not sure it helps...
Thank you for your attention, if you'd need any extra information, I'll gladly provide it.
See ya!
Quim

I'll try recompiling the HelloWorld.java adding a package. I'll then have to put it on a folder inside the WEB-INF/classes/packagename/ and change the mapping to packagename.HolaMundo then. The tutorial seems highly oriented to NetBeans, which I don't have on this computer. It doesn't refer on plain-text configuration as far as I've read. And it focuses on a lot on features of NetBeans, while I would like to just test the servlet deployment of tomcat before going in-depth to a real web application. I've tried as well two .war files with no result, which I assume are properly set as the author claims. I guess it's more a tomcat issue?
However, the final objective is to test a Netbeans project servlet a co-worked sent me and which I would like to upload it to the server I have at home. I haven't tried yet, but tomcat uses a diferent structure than the one used on the NetBeans project, I guess I have to copy just the web folder? -Absolute Beginner Talk on that-
Thanks for your support,
Quim
pd. I forgot to say that the HelloWorld.java is the one provided by Tomcat example on tomcat default main page
Edited by: QuimNuss on Nov 14, 2008 9:18 AM

Similar Messages

  • Export error. Please help

    Hi ALL,
    When i try to export the database i am getting the following error. Please help
    C:\>exp cas/compass@prd_test file='I:\Prd_dumb222_refresh\backup_before_refresh\exp_cas_backupbeforefresh_020310.dmp' log='I:\Prd_dumb222_refresh\backup_before_refresh\exp_cas_backupbeforefresh_020310.log'
    Export: Release 10.2.0.1.0 - Production on Wed Feb 3 06:04:25 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    EXP-00056: ORACLE error 6550 encountered
    ORA-06550: line 1, column 41:
    PLS-00302: component 'SET_NO_OUTLINES' must be declared
    ORA-06550: line 1, column 15:
    PL/SQL: Statement ignored
    EXP-00000: Export terminated unsuccessfully
    The version of the db and export utility is same as u see from below.
    C:\>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 3 06:06:35 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    Regards
    Arun Kumar

    One of the most common causes of these errors is that you are using a higher version of the export utility compared to your RDBMS version. For instance, you might be using the Oracle 10.2.0 exp utility against an Oracle 9.2.0 database. Use the 9.2.0 exp utility instead. Metalink Note 132904.1 discusses the compatibility matrix between exp and database versions.

  • TS3694 My iphone 3GS is struck , when i am trying to restore it is giving me an error 29 . please help

    Hi Friends .
    My iphone 3GS is struck , when i am trying to restore it is giving me an error 29 . please help.
    Regards,
    Bharathi

    Error 20, 21, 23, 26, 28, 29, 34, 37
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    http://support.apple.com/kb/TS3694#error29

  • Photoshop Elements 8. "Could not use Clone Stamp Tool because of a program error."  Please help.

    Photoshop Elements 8.  "Could not use Clone Stamp Tool because of a program error."  Please help.

    Try this:
    Open your picture file
    Access the clone stamp tool
    Hold down the ALT key on the keyboard and left click on the area from which you wish to clone, then release the ALT key, and click to place the pixels at the destination
    TIPS:
    It is a good idea to open a blank layer at the top in the layers palette, and do the cloning on this layer. Be sure that "sample all layers" at the top is checked. You can change the layer opacity if necessary
    Use the bracket keys next to the letter p on the keyboard to increase & decrease the size of the cursor
    Let us know  how you make out with the error message now.

  • It says "error 7, windows error 127" Please help

    It says "error 7, windows error 127" Please help

    I tried that, got this error:
    An error occured during the installation of assembly "Microsoft.VC80.CRT.type="win32".version="8.0.50.727.6195".publicKeyToken="1fc8 b3b9a1e18e3b".processorArchitecture="x86". Please refer to help and Support for more information. HRESULT: 0x8007422.
    Please help!

  • Can't install Adobe Flash player ERROR. Please help

    I tried to download the update of Adobe Flash Player BUT every time I try to download it... Look at the screen shot. ERROR.
    Please help me I am really happy if someone here can help me.

    Hello,
    The log file indicates there are permissions issues on a couple of files and they are not being removed.  This is preventing the installation of the new version.  Please run the uninstaller, posted here Uninstall Flash Player | Windows, and post an updated FlashInstall.log file, and a screenshot of the files remaining in the /Macromed/Flash directory after running the uninstaller.  Please only run the uninstaller and do not attempt to re-install at this time.
    Thank you.
    Maria

  • After the IOS7 update, i can no longer use my imessage and facetime. It says "waiting for activation" and tried to log in on my apple id but it turned out to connection error. Please help me guys! Thank you.

    After the IOS7 update, i can no longer use my imessage and facetime. It says "waiting for activation" and tried to log in on my apple id but it turned out to connection error. Please help me guys! Thank you.

    Have you tried to reboot your phone(hold home and lock button simutainiously)?

  • Error 1001 - please Help!

     I am going crazy!  the software update keeps on displaying the error code 1001.
    I've been trying to activate my tablet since saturday, but it won't let let... it keeps on informing me of the unknown error!@
    please help!

     I am going crazy!  the software update keeps on displaying the error code 1001.
    I've been trying to activate my tablet since saturday, but it won't let let... it keeps on informing me of the unknown error!@
    please help!

  • My iPod is jailbroken and does not work. It is now in DFU mode. It doesnt let me fix it When I restore it, it says error 3194.Please Help

    It is now in DFU mode. It doesnt let me fix it When I restore it, it says error 3194.Please Help me!

    Go elsewhere. JB voids the Apple warranty and means you will get no support from Apple, including from this Apple forum.

  • TS3221 my iphone 4s is not connecting with itunes and giving me a message of unknow error 0xE8000012 Please help me out

    my iphone 4s is not connecting with itunes and giving me a message of unknow error 0xE8000012 Please help me out

    You've managed to permanently damage the phone. As gdgmacguy suggests, buy a new one. Preferably from a legitimate source.
    You may also want to keep in mind that it is illegal to use the Gevey SIM in pretty much every country on the planet. It may still be legal on the continent of antarctica, but that's only because penguins don't use cell phones as a rule.

  • After i updated my iphone 4s from 8.1.2 to 8.1.3 problem occurred.i cant restore and update my phone?saying that iphone could not be restored,an unknown error ocuurred.please help me?

    After i updated my iphone 4s from 8.1.2 to 8.1.3 problem occurred.i cant restore and update my phone?saying that iphone could not be restored,an unknown error ocuurred.please help me?

    Thanks for the update and clarification. In researching the issue it seems that the 2003 error code may have something to do with the USB connection. I would use this section of one of the above articles:
    Get help with iOS update and restore errors
    If the USB connection between your device and computer is interrupted, you might not be able to update or restore.
    To narrow down the issue, you can try different equipment:
    Use the USB cable that came with your device, or a different Apple USB cable. 
    Plug your cable into a different USB port directly on your computer. Don't plug it into your keyboard.
    Try a different computer.
    Solve other issues with the USB connection, then with your security software.
    If you still see the error message, check for hardware issues by following the next section.
    Check for hardware issues
    Related errors: 1, 3, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    These errors mean that your device or computer might have a hardware issue that stops the update or restore from completing.
    Check that your security software and settings aren't blocking your device from communicating with the Apple update server.
    Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
    Make sure that your security software and settings are allowing communication between your device and update servers.
    If you still see the error message when you update or restore, contact Apple support.

  • HT201210 i cannot get my phone out of recovery mode, when I tried to restore on itune it gives me error 1608. please help me

    i cannot get my phone out of recovery mode, when I tried to restore on itune it gives me error 1608. please help me

    While YOU may not have attempted to jailbreak the phone, SOMEONE ELSE did.  Error 1015 occurs by attempting to restore a previously jailbroken phone. 
    It's very likely you may NEVER get your phone out of recovery mode and your phone may be rendered permanently bricked.
    Terms of Use of this forum prohibit the discussion of jailbroken phones.  You'll have to scour the internet for a solution to your problem, if indeed one exists.

  • Hi i have problem with my hp mini is giving me a error CNU9391WZR PLEASE HELP

    Hi i have problem  with my hp mini is giving me a error CNU9391WZR PLEASE HELP
    Hp mini 110 1140el

    Yes  bios password, i forgot  my windows password so im trying to reset to manufacturing settings but keeps asking me for bios password... Please help 

  • Hi, someone please help me out... am Nelson and got an issue with my apple Qmaster... I got OSX maverix and on my system preferences the Apple Qmaster dosent load but only gives an error, someone please help.

    hi, someone please help me out... am Nelson and got an issue with my apple Qmaster... I got OSX maverix and on my system preferences the Apple Qmaster dosent load but only gives an error, someone please help.

    the error is like "Could not load Apple Qmaster preference pane"
    if there is a way around it please help me coz I cannot render my video projects on Compressor anymore...

  • WWS-32136 UTL_HTTP error. Please help

    Hello,
    I am trying to get all content area content
    to show up inside the folder(or area). When I want to get WebDB reports or external sites
    to display within the content area, I get
    a utl_http error. Here is what I did:
    1. Create a Content Area
    2. Create an item or type URL
    3. Check the "link displays item in folder area" as the display options attribute.
    When I click on the link, webdb reports take
    up the entire page, while external url or
    external apps (like giving a link to www.oracle.com) ends up giving me a utl_http error.
    Please help !!
    Sanjay

    Sanjay
    Did you review the looking at the troubleshooting guide on OTN: http://technet.oracle.com/products/iportal/htdocs/portal_troubleshooting.htm
    Seaching this page using the keyword 'utl_http' returned a likely solution:
    Cause: This is most likely happening because of a bug in the UTL_HTTP package that shipped with early versions of the Oracle 8.1.6 database on Windows NT.
    Solution: You must download and install the 8.1.6.2 patch from http://metalink.oracle.com (click patches, and then select "product: Oracle Server - Enterprise Edition", "platform: MS Windows NT"). You must be registered to use Metalink.

Maybe you are looking for

  • Where can i get a replacemen​t board (motheroba​rd, main board) for H430?

    I have the following desktop that just died on me one day...i was told my main board died.  It has the i3 processor and i was wondering where i can get a replacement board only?  not sure what model or brand to look for so that it drops in my case...

  • Tried to install photoshop cs6 and when i downloaded it, it just gave me a blank screen and no option to finish the install

    I downloaded Photoshop CS6 from the internet today onto my MacBook Pro and it is now on my desktop but when I double click on the icon, it only gives me a blank page and no options to complete the installation or to put in my serial number. Please he

  • SAP Crystal Report Support

    Hi, we having a licensed version of Crystal Reports 2011. When I register for SAP Coummunity Network , Its asking SAP Market Place ID & Passoword, We having Order Id, How to get SAP Market Place ID & Password? Regards, Esha Abdullah M

  • Jdeveloper + OC4J Problem

    Hi all, I have an application that runs fine on tomcat and any other app server. When I try to run it from within Jdeveloper, for some reason I get all sort of class-loader or xml parsing problems. So it turns out that embedded oc4j tries to use its

  • Google Chrome will not install on MacBookPro OS 10.7.5

    I had to remove Google Chrome from my laptop because it kept crashing and now it will not install. I am using OS version 10.7.5. In the Application folder this is the image I get. This looks like it is not supported. I need to use Chrome for work and