My webApplication works just with TOMCAT 3

I've done a web application server/client.
It's a Servlet and an applet.
I developed that app with tomcat 3 but with tomcat 4 it does not work.Why?
I tried to use the manager servlet of TOMCAT 4 for deploing but after installing the web appplication it does not work.

It 's better but maybe you can help me with this problem.
I have this web.xml on my web-inf folder:
<web-app>
<display-name>Server Application</display-name>
<description>
     This is a simple web application with a source code organization
     based on the recommendations of the Application Developer's Guide.
</description>
<servlet>
<servlet-name>EchoServlet</servlet-name>
<servlet-class>EchoServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>EchoServlet</servlet-name>
<url-pattern>/MM2</url-pattern>
</servlet-mapping>
</web-app>
The problem is that Tomcat 4 cannot find the url pattern /MM2 and so my Servlet.With Tomcat 3 it works.
I configured the server.xml and web.xml (not the web-inf/web.xml) as the http://www.moreservlets.com/Using-Tomcat-4.html#Enable-Invoker
author suggested me to do.And with these new features some easy Servlets work correctly.Except my servlet with the url-pattern above specified.Help please!

Similar Messages

  • Do we need appache and ssl work together with tomcat

    Hi all,
    I have experience use tomcate+ sql2000 +JDK to develop and web search site.  Now I hope somebody told me
    1) do I need add apache with tomcat?
    2) do I need to add SSL?
    thank you every much

    Hi all,
    I download mod_jk 1.2.5_2.0.47.dll from (http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/) rname it as mod_jk.dll and put it down to apache modules, at this step I still get Syntax Ok when I try c:\apache|apache2\bin|Apache.exe -t. but when I add
    <Listener className="org.apache.ajp.tomcat5.config.ApacheConfig" modJk="c:/Apache/Apache2/modules/mod_jk.dll" /> just below the
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    I can't not star my tomcat.
    what is wrong??
    I have apache 2.0.50 and tomcat 5.0.25 on my Pc and before I add apache my tomcat work fine.
    Thank you

  • IMessage dosen't work just with one contact

    hi,
    i used to write this person with iMessage, but today i couldn't.just sms.it doesen't try to write with iMessage but directly sent an sms.i can write anyone else with iMessage but this person, and this person can write anybody but me with iMessage.
    i'm getting crazy trying to understand.Please help me!!
    thaks
    PS:sorry for my english!

    Recently I was able to send Imessages (I have an iPhone 4S) to my boyfriend (he has an iPhone 5) and now I can't. Yesterday everything was in blue, but now everything is green. I am able to send Imessages to other people but I can't do it for him. What's happening????

  • Iphone 6 working just with third part cables!

    One week old, Iphone 6, IOS 8.1.2 runned out of battery, and don't charge anymore with Apple original cable (I have 4 original... they all work with my iphone 5s and with another iphone 6 from my family)...
    But my faulty Iphone 6 can charge with my third part cable(don't know if it is apple certified)!!
    So I could turn it on, and save information thanks for a China cable.
    (I already restarted, restored, followed:
    If you can’t charge your iPhone, iPad, or iPod touch - Apple Support
    Can someone help please? Any suggestion will be welcome
    -If I plug to itunes, even doing a hard reset(itunes red icon) with original cable. Nothing changes... Itunes don't show any message... the cellphone continue showing the red itunes icon.
    -Also I want to thanks Apple for this technology, to you win 10 dollars extra from some users. I'm spending a lot of hours to fix this issue.

    Did you use recovery mode to connect to your computer?
    If you can't update or restore your iOS device
    If recovery mode does not work with the Apple USB cable, contact Apple support, the cable for your device is also covered by the warranty.
    You can also visit an Authorized Apple Service Provider and let them test your device and USB cable.
    iPhone - Contact Support - Apple Support

  • Server login works just with Open Dir user not local user ?

    Hi,
    New to MAC server and trying to learn.
    I configured the server with a local account and then took into use the OpenDir
    service and made some new users.
    Now I can login an the server just using my OpenDir username NOT my local serveradmin username
    that was used when setting up the server.
    This is a login on the actual server itself - not remotely.
    Have I configured something wrongly or should this behave like this?
    Sincerely,
    DB
    Message was edited by: DominicusB

    No names are identical.
    Tried to look in the place where the login cridentials are
    configured (login options) and there was a searchpath "local" and "LDAP"
    so it seems to me that it's allright.
    Hope someone sees something obvious that I'm missing.
    I can login using one of the OD users and then authenticate when changing something
    on the server using the serveradmin username.
    Sincerely,
    DB
    Message was edited by: DominicusB
    Message was edited by: DominicusB

  • Getting started with tomcat 4

    Lets say I wanted to setup a workstation and a server to develop JSP and servlets.
    would this configuration work:
    workstation - J2SE java servlet sdk
    server - J2SE & Tomcat
    or do i also need J2EE ?

    if you only need servlets and JSP, no need for EJB, you're fine with tomcat and j2se on the server side.
    there is a free EJB container : http://www.jboss.org that can work together with tomcat.
    raphaele

  • Using Eclipse with Tomcat

    I'm trying to get eclipse to work correctly with tomcat server. but when i create a project it creates it in my workspace folder and i can't run it on the server.
    I assume it has to create the project in the tomcat root directory in order for it to run properly but i don't know how to get eclipse to do this.
    Any help would be appreciated.

    What I use to do is
    File -> Export -> War File and it generates a war file. You set that war file in the webapps directory of tomcat and it self extracts the files in order to be used from the navigator

  • Tomcat 5.5 issues, has anyone got JSF working with tomcat 5.5 yet?

    Hi,
    Firstly I'm wondering if anyone has got JSF 1.1 working with tomcat 5.5 yet.
    I'm trying to move from tomcat 5.0.25 to 5.5.4 and my JSF webapps have not liked the move at all.
    The classpath doesn't seem to be a problem as I have all the .jars that are required in the classpath of tomcat just like before.
    I see the error log in stdout.log (catalina.out on linux) have been reduced to only show the precise error. Or at least is seems at lot easier to read.
    My error is simply
    SEVERE: Error listenerStart
    SEVERE: Context startup failed due to previous errors
    I reverted back to using the examples provided like jsf-guessNumber and the car-demo but neither of these will start-up.
    This issue seems to have occurred to lots of other people previously but I couldn't find a particular fix or direct compatability issue with tomcat.
    Has anyone encountered this before?

    Back again,
    Allright well after a little thought I concluded that this issue had to be some to do with the classpath and the changes between the two tomcat versions.
    I had a look at
    http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES.txt
    and noticed that tomcat 5.5 leaves out some important .jar as they are only needed for java 1.4.
    -------------------- EXTRACT ------------------------
    Installing the compatibility package will add the following to the list, which are
    needed when running on J2SE 1.4:
    * jmx.jar (Java Management Extensions API 1.2 or later)
    * xercesImpl.jar (Xerces XML Parser, version 2.6.2 or later)
    --------------------END EXTRACT ------------------------
    Therefore I tried putting xercexImpl.jar back onto the tomcat classpath and JSF works once again.
    Ah what a relief.

  • Does MS Access work with Tomcat?

    Hi,
    I'vw setup a access database with pageview under Tomcat. I can access the page in the same machine, but, when it's accessed from other machines, It returns error:
    'c:\jakarta-tomcat-3.2.2\webapps\Access_data\xyz1.mdb' is not a valid path.
    It is defined in the connection setup under Acces. I tried to change it to URI address and that doesn't help. Can someone tell me how can I correct this problem for users?
    TIA

    Hi,
    I created a database using MS Access. In Access, there's an option to create HTML page which would call the DB. I did that and saved it under Tomcat. I can access the page, but, problem is MSAccess isn't saving the parameters like permissions, etc. Any ideas.
    BTW, your solution worked just once. I did the mapping under web.xml as 'mdb' and 'application/mdb'. It started throwing the same error again.

  • I have a mid-2010 iMac and just purchased a 2TB TC, can't join existing wireless network with AC standard so attached to iMac via ethernet with TC wifi turned off.  How do i access TC now? not showing up in disk utility or on desktop. working fine with TM

    I have a mid-2010 iMac and just purchased a 2TB TC, I just found out that it can't join existing wireless network with new AC standard so attached to iMac via ethernet with TC's wifi turned off.  How do i access TC now? not showing up in disk utility or on desktop. It is working fine with TM.  My cheeper seagate drives etc kept crashing, so i didnt trust cheeper back up options anymore.  Connected those drives to TM via firewire and could see the drives and access them.
    Also, I didn't want to bridge TC with my new fios router that I paid 100 dollars for, to get N speed and also paying 10 dollars more a month for fast speed.  I heard that bridging slows down everything and then there can be port issues with mail etc.  I connect to the internet via airport only and it is pretty fast. Getting over 50mbs downloads and over 30mbs uploads.  Plus everything in my home it connected to my fios router, airport express for music streaming, two apple tvs, vuezone camer system.  I really didn't want to monkey around too much with my system.  But are there other options to connect the new TC.  Can't find info anywhere for this and called apple who gave me the info above.  after hanging up, i see that i cant access my TC and I am wondering if i would have to reset it to turn wifi on again to make changes to the drive, turn off blinking light  or repair it in disk utility if it should become corrupted.
    For other with similar issues i did solve some other problems: when i connected it to my ethernet port on my iMac wifi stopped working.  Found that I had to turn off the ethernet in the system>network screen, but then TM didn't see the TC so i restarted after changes and then it saw it.
    Now a rant.  I can't believe in this wireless age that Apple would make a product that cant join a wireless net work.  The apple rep said i could return it and look for the previous TC that would join an existing wireless network.  Are we going backwards?
    Thanks!
    lennydas

    Ok... it is getting a bit clearer but there are still some questions.
    I connect to the internet via airport only and it is pretty fast.
    I was assuming airport in this statement in your first post meant the TC or the Express.. but I now realise we are still in the mass confusion stage where apple calls everything wireless an airport. So what you mean is the airport internal card of the computer??
    Also, I didn't want to bridge TC with my new fios router that I paid 100 dollars for, to get N speed and also paying 10 dollars more a month for fast speed.  I heard that bridging slows down everything and then there can be port issues with mail etc.
    I think this is mistaken.
    Putting the TC in bridge mode plugged into your FIOS will not slow the network.. nor will it cause mail or port issues.. in bridge the TC is just a fancy WAP and switch plus the network hard drive.
    If the computer is close it will be faster than the FIOS.
    You can run both wireless networks with different names.. so it is clear which is which. But you can also setup roaming so the computers themselves pick which is the best wireless.
    I tried extending the wireless net work and tried joining wireless network, but the TC kept crashing and I had to keep resetting the TC.  the Apple support person said these, extend wireless network and joint wireless network, are no longer a connection option with the new TC because of the new AC protocol.
    Thanks again!
    You cannot extend to a non-apple wireless router.
    You cannot use join a wireless network because when you do the ethernet ports will be cut off.
    But that has not changed.. I don't think Apple support is correct.. there has been no change with the AC model.. it is simply a fact that apple routers do not work in join wireless mode other than as a dumb client. The same applies to AC as to the earlier version.. but I have asked another person to check this.
    Join in the express is the only apple router that still allows an ethernet connection.
    For now you best use of the TC is bridged to the FIOS. Wireless you can sort out between several options.

  • Mini DisplayPort to VGA isn't working. It won't recognize any external monitor. It worked just fine with my older spring 2011 MacBook Pro running Snow Leopard, but now with my brand new 2012 MacBook Pro running Mountain Lion, it no longer works

    I just bought a new MacBook Pro this summer and was all excited. But I'm very frustrated right now because I can't connect to any external monitors through VGA. My thunderbolt (DisplayPort Mini) to HDMI works just fine, but when I try with my other connector to go from Thunderbolt (DisplayPort Mini) to VGA, Nothing works. my screen goes blue and changes size like it recognized something but nothing is ever detected on the external moniter or projector. I'm not sure what is wrong but it's very frustrating. I'm just very depressed that it worked just fine with my 2-year-old MacBook Pro but isn't working now. I'm running OS X 10.8.2. I just upgraded yesterday from 10.8.1 but that upgrade did nothing to fix my problem. Can anyone help? Thanks

    I am haveing this exact same issue. I have plugging in 3 monitors and tried two different VGA to mini displayport and nothing is working. I recently bought a Acer monitor and it work for an hour and now it back to doing the same thing.
    When I plug the VGA adapter in to the monitor the monitor think its not connected to a computer then when disconnecting the VGA adapter the monitor thinks it is connected to a computer.
    NEED SOME HELP!!! at the point of all my hair is pulled out.
    ^^^
    that is the same problem i am having! if anyone can help that would be great i'm losing my mind over here

  • HT1296 i just downloaded the latest version of itunes but now i cant zync my ipod. i tunes does not detect my ipod. ut just to work perfectly with the older version of itunes but not now. what is something i can do?

    i just downloaded the latest version of itunes but i cant zync my iphone nor my ipod. it just to work perfectly with the older version of itunes  but now itunes does not detect my ipod nor iphone. i have a windows pd and iwindows detects the iphone and ipod. what is something i can do to fix the problem??

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Featurs appin the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests

  • Can't use my HP Deskjet F4580 Wireless Printer with the AirPort Extreme Base. The printer is NOT connected at the USB port of the AirPort Extreme, and is placed in another room. It worked just fine with my previous router (Linksys WRT54G). Help me!

    Hey Guys!
    I just got my AirPort Extreme Base, but I can't use my HP Deskjet F4580 wireless printer with it.
    The printer is not connected to the AirPort Extreme's USB port. It is placed in another room, and I'd like to use it (the printer) wirelessly (not connected to the USB port os the AirPort Extreme), as I used to. There is no place for the printer close the AirPort Extreme. It worked just fine with my previous wireless router (Linksys WRT54G). I'm very disappointed with the AirPort Extreme Base Station because of that!...
    Can you help me? Please?!
    Thanks Folks!

    This must be a tough one, no suggestions at all.

  • HT2515 My cam works fine with every program except yahoo.  If I just sign into yahoo or even if I use ichat for yahoo, the webcam button will not highlight up.  How can I fix this and/or what am I doing wrong?

    Hello, my father recently passed (using his ID) and I took over the payments on his mac and took his computer.  I am not that familiar with mac, but am usually computer savy.  However, this one has me stumped.  I have no problem starting the built in cam and it seems to work fine with all other programs I've tried using it with.  However, it will not work with yahoo.  Whether I use normal yahoo messenger or if I try using Yahoo through I chat.  The cam button will not light up, therefore, it is not clickable.  Which ultimately means I cannot use my cam on yahoo, which is something I use 99% of the time compared to other programs.  So why is this happening and what solutions can I take to try and fix this?  The mac I am using is: Mac OS X, Version 10.7.4
    Thank you for any and all help, it is much appreciated. 

    Welcome to Apple Discussions!
    1) If the iTunes preference window is open when you connect your iPod, the iPod will not be recognized by iTunes.
    Also, iPods can work with many iTunes libraries, so that is not the problem here.
    Is all the software on your computer up to date?
    iTunes
    iPod Updater
    Updating iPod's Software
    Does the iPod show up in My Computer when connected to your computer? Does it say Do Not Disconnect?
    Try the steps listed here...
    iPod shows up in Windows but not in iTunes
    If you are going to use your iPod with multiple iTunes libraries (home and school)...
    Using iPod with multiple computers
    2) What part aren't you understanding. Here are a couple of free programs you can use to convert videos...
    MPEG Streamclip
    Videora iPod Converter
    The programs should come with documentation and instructions to convert videos.
    3) You can go to file-->add file to library, file-->add folder to library, or have iTunes open and drag the files into the iTunes library while viewing the library.. You can also import from CDs.
    iTunes needs to be adding the songs to the iPod. You cannot just add the song files to the iPod.
    btabz

  • I can't print. When I go to file-print, nothing happens. My printer is working just fine with IE and everything else.

    I can't print. When I go to file-print, nothing happens. My printer is working just fine with IE and everything else.

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

Maybe you are looking for

  • My Macbook Pro's navigation is not smooth and screen shakes after after i open folders

    I just bought my macbook pro 15" and i am experiencing some problems For example, i put safari or any application to full screen. So whenever i move my curser to the top of the screen to i can activate the bar (File - Edit - View - .. etc) It doesn't

  • Motion with Avid

    I need help badly! I'm on this project that has a tight deadline. I've used motion with FCP in the past with no problem. But for the life of me I can not get the alpha channel to work with Avid. I'm not real knowledgeable in this field. Could someone

  • Ihome dock damaged ipod?

    I have a new ipod dock (the iHome iH5), not an Apple product. I put my iPod (20GB) in the dock & charged it. Then, I turned it on to shuffle. Songs skipped a bit & now my iPod is totally screwed up. All the songs are gone; my computer doesn't recogni

  • Fixed Value Ranges in Domain

    Hi all,             i have create table in DDIC and use some domain in that. Now my problem is that there is a option in Domain which is Value Range.I am not able to find the reason why we use this in domain. Means what is the benifit of using Value

  • C# plug-in for XCode

    hi is there any C# plug-in for XCode i mean a reliable one ? and can its compiled applications work on windows ?