Why we need to restart server when we compile servlet (not for jsp)

hi
why we need to restart server/appln when we compile servlet .
same thing is not true for jsp
as jsp converts to servlets then also it need not require restart of server/appln.
Danny

Dear Friends
I hope you guys are doing something with tomcat , So please help me.
can anyone solve my problem.
I am starting my tomcat using startup and the dos window just closes after opening . I don't know why?
The errors generated are as:
Using CATALINA_BASE: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29
Using CATALINA_HOME: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29
Using CATALINA_TMPDIR: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29\temp
Using JAVA_HOME: C:\jdk1.3.0_02
Catalina.start: java.util.MissingResourceException: Can't find bundle for base name org.apache.coyote.tomcat4.LocalStrings, locale en_US
java.util.MissingResourceException: Can't find bundle for base name org.apache.coyote.tomcat4.LocalStrings, locale en_US
     at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
     at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
     at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
     at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
     at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     at org.apache.commons.digester.Digester.parse(Digester.java:1548)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
     at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
     at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
     at java.lang.reflect.Method.invoke(Native Method)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Using CATALINA_BASE: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29
Using CATALINA_HOME: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29
Using CATALINA_TMPDIR: C:\TOMCAT 4_1_30\jakarta-tomcat-4.1.29\temp
Using JAVA_HOME: C:\jdk1.3.0_02
Catalina.start: java.util.MissingResourceException: Can't find bundle for base name org.apache.coyote.tomcat4.LocalStrings, locale en_US
java.util.MissingResourceException: Can't find bundle for base name org.apache.coyote.tomcat4.LocalStrings, locale en_US
     at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
     at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
     at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
     at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
     at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     at org.apache.commons.digester.Digester.parse(Digester.java:1548)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
     at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
     at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
     at java.lang.reflect.Method.invoke(Native Method)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
i need your help desperately.
I hope you will respond soon.
thanks
vishal

Similar Messages

  • Why need to restart server while modifying the servlet class

    Hi,
    i have some doubt, i hope any one can clear my doubt about servlet
    why we need to restart the web container while every time we modify the servlet class code
    Thanks & Regards
    vijay

    When you deploy a web application to a web container, you are deploying the
    .class files of your servlet not your source code. There is no servlet source code on the container (shouldn't be).
    So if you change your source code, the container knows nothing about it until you compile the code
    to create new .class files and then replace the container's class files with the new ones.
    You can configure most servers for hot deployment and/or start them in debug mode to ease the cycle during development.

  • If the data network is not available for some time, to get it again we need to restart the phone instead it is not finding the data network instantly. why cant the iphone searches data net work offten if not available. i am totally disappointed with this!

    If the data network is not available for some time, to get it again we need to restart the phone instead it is not finding the data network instantly. why cant the iphone searches data net work offten if not available. i am totally disappointed with this!

    Still it could not find the data network.it searches for voice network instantly and works too. but even full voice network available, there is no data network.when i restart the phone it could find data network.
    Already i reset network settings for two times.

  • Why does Safari go into limbo when I try to search for some things?

         Why does Safari go into limbo when I try to search for some things? I start to enter something in the search window. I get a drop down with suggestion I choose one and it pops up in my search window but just turns a color and does nothing!
        If I quit Safari and bring it back up, then enter the exact same line it's fine. This is just one of the many problems I've been
    having with Safari since I installed Yosemite.
         Has anyone got any suggestions or is anyone having the same problem. Is there a way to maybe force my MacBook pro to reinstall Safari or possibly all of Yosemite. I seem to be having a lot of problems and judging by the responses I've received (That would be None) I must be the only one having any problem at all withYosemite. Not sure what to do.
         Any help or suggestions would be great
         Ron     

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Why I need to restart my my server to update my servlet in WL5.1

              Hai
              We have servlets and ejbs in our acchitecture and using weblogic5.1. For EJBs
              weblogic have given hot deploy. But for every change of servlets currently we
              are stopping the server and replacing the servlet class and starting the server.
              Since we getting drastic changes we need to update or deploy servlet in the existing
              running server. Is there any thing is available for servlets or normal classes
              to update in the server. Thanks In Advance
              Kiran N
              

              Hi,
              What is the service pack you are using?
              You should be able to dynamically load the servlet classes.
              Please make sure that you put your servlet classes in servlet classpath:
              weblogic.httpd.servlet.classpath=....
              For every reload check secs server will check for any changes in the classes
              and loads if they are changed.
              Also make sure that you do not have the same class in the system classpath.
              --Vijay
              "Kir" <[email protected]> wrote:
              >
              >Hai
              >
              >We have servlets and ejbs in our acchitecture and using weblogic5.1.
              >For EJBs
              >weblogic have given hot deploy. But for every change of servlets currently
              >we
              >are stopping the server and replacing the servlet class and starting
              >the server.
              >Since we getting drastic changes we need to update or deploy servlet
              >in the existing
              >running server. Is there any thing is available for servlets or normal
              >classes
              >to update in the server. Thanks In Advance
              >
              >
              >Kiran N
              

  • Why we need a proxy server while we are using Web services?

    Hi guys,
    i am new to web service.
    i tried to implement the web services thru Sun One Application server.
    thru one of my web service operation only i am establishing connection with the database.
    by that time it has thrown the exception "*connection with the host could not be established*".
    but i created a proxy setting thru netbeans and the the database connection established.
    What is the difference?
    When i tried to conect with database thru a normal java program i never created a proxy.
    Why i need in case of web service.
    For kind information: We have firewall in the network...
    can any one tell me briefly What is the need of proxy setting over there???
    thanx,
    subbu

    hi guys,
    after a long struggle, i found the answer for this question.
    that is In Sun One Application Server, we have the WS-Plugin (Web Server Plugin)
    that plugin is used to redirect the HTTP request to a Web Server from the Application server.
    In default this plugin will be in enable mode.
    As long as WS-plugin is enabled, we need to proxy setting to handle any HTTP service.
    is i am right?
    if anyone have better solution that this, pls post that here.
    --Subbu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • After upgrading from tiger to snow leopard i get you need to restart computer when i get done with something

    After upgrading my operating system, after being on different pages for sometime, i get a shaded that comes down and says i need to restart my computer then tells me to send in error report when it reboots....what do i do

    This is called a Kernel panic.
    See here for possible solutions:
    http://support.apple.com/kb/TS3742
    Did you do anything else apart from ungrading OS?
    Did you add memory?
    Bad or not well seated memory modules are often a cause of kernel panic

  • Need to Restart Apache when changing any Javabean

    I've Oracle 8i with Apache HTTP Server.
    I'm developing a simple JSP which uses a very simple JavaBean (Not EJB), but i don't know what may i do if i don't want to restart the apache server each time i change my beans. I've try to add the path with the clause wrapper.classpath at the JServ.Properties file, but it doesn't works (Need to restart)...
    Thanks for all
    Adios

    Hi,
    I've had the same problem and I explained the solution under another topic within this user group. Please search via my USERNAME and and you'll see my writeup.
    Good Luck,
    Dennis

  • Message "you need to restart computer" when shutdown Mac OS X or WIN7

    On my book Pro with Mac OS X 0.7.2 i creted a new Bootcamp Partition and i installed WIN7 Ultimate. When installation was completed i installed Bootcamp driver. Now i'm able to login with OS x or with Win7 and both system seems to work properly.
    When i shutdown Win7 or OSX a gray window is displayed with this message "YOU NEED TO RESTART COMPUTER. HOLD DOWN YHE POWER BUTTON UNTIL IT TURNS OFF, THEN PRESS THE POWER BUTTON AGAIN."; this message is displayed in 5 different langueges; under the message is displayed a black  icon with the force shutdown / restart button of the mac book pro.
    I follow the required procedure: if i choose to restart with OS X an alert essage is dispayed : "COMPUTER WAS RESTARTED DUE TO A PROBLEM"; dialog suggest to send notification to Apple; this message is displayed in my original language: Italian.
    Some one can help me please?
    Thx
    carlo Casoli

    That is hardware and driver issue and to resolve you are probably going to have to find what was installed and uninstall, and disconnect the device.
    AppleHFS.sys can have trouble mounting drives.
    To write to Windows, NTFS driver (Paragon-Software)
    To stop using AppleHFS, again, replace with a Windows HFS driver
    - if that is the cause
    Apple does not support mounting RAID while in Windows.
    Reinstall won't help. And you can't avoid forever.
    Also boot from Windows 7 DVD and repair - go back to prior restore point.

  • Do I need to restart agent when metric collection was disabled ?

    Hi,
    I've got OMS 10.2.0.4 and disabled some metrics. Do I need to restart agent to make him stop collecting that metric.
    Regards.
    Greg

    Well,
    I used browser , connected to OMS (Enterprice Manager) and in 'Metric and Policy Settings' for our SQLServer target I disabled collection of
    'Event Severity' .
    But to be honest I think that we need to disable (entries from MGMT_METRICS):
    TARGET_TYPE     TYPE_META_VER     CATEGORY_PROP_1     CATEGORY_PROP_2     CATEGORY_PROP_3     CATEGORY_PROP_4     CATEGORY_PROP_5     METRIC_NAME     METRIC_TYPE     USAGE_TYPE     METRIC_GUID     METRIC_COLUMN     COLUMN_LABEL     COLUMN_LABEL_NLSID     METRIC_LABEL     METRIC_LABEL_NLSID     KEY_COLUMN     KEY_ORDER     NUM_KEYS     DESCRIPTION     DESCRIPTION_NLSID     UNIT     UNIT_NLSID     SHORT_NAME     SHORT_NAME_NLSID     IS_FOR_SUMMARY     KEYS_FROM_MULT_COLLS     STATEFULL     IS_REPOSITORY     AUTHOR     SOURCE_TYPE     SOURCE     LOAD_TIMESTAMP     IS_TRANSPOSED     IS_TEST_METRIC     HAS_PUSH     HAS_PULL     REMOTE     REPO_TIMING_ENABLED     NON_THRESHOLDED_ALERTS     KEYONLY_THRESHOLDS     IS_LONG_RUNNING     IS_RENDERABLE     EVAL_FUNC
    microsoft_sqlserver_database     4.6                                   MSSQL_ErrorLogEntry_2005     1     0     00D9055D06020E299DA4E9D7364E60A1     categorystring     Category     ms_sqlserver_eventlog_categorystring     Event Log Entry          logfile;recordnumber     0     2                         Category          0     0     1     0     ORACLE     0          2009-02-04 10:51:35     0     0     0     1     0     0     0     0     0     1     
    microsoft_sqlserver_database     4.6                                   MSSQL_ErrorLogEntry_2005     1     0     6129D1142145998ACFEBF9254A28BA7C     timegenerated     Date-Time     ms_sqlserver_eventlog_timegenerated     Event Log Entry          logfile;recordnumber     0     2                         Date-Time          0     0     1     0     ORACLE     0          2009-02-04 10:51:35     0     0     0     1     0     0     0     0     0     0     
    microsoft_sqlserver_database     4.6                                   MSSQL_ErrorLogEntry_2005     1     0     85E9698C488EC0254B1AFB3A414E11E3     type     Event Severity     ms_sqlserver_eventlog_type     Event Log Entry          logfile;recordnumber     0     2                         Event Severity          0     0     0     0     ORACLE     0          2009-02-04 10:51:35     0     0     0     1     0     0     0     0     0     1     
    microsoft_sqlserver_database     4.6                                   MSSQL_ErrorLogEntry_2005     1     0     9EB6E523B593FE7F8DE93B81496657D7     message     Description     ms_sqlserver_eventlog_text     Event Log Entry          logfile;recordnumber     0     2                         Description          0     0     1     0     ORACLE     0          2009-02-04 10:51:35     0     0     0     1     0     0     0     0     0     1     there was a lot of entries like that 'Login succeeded for user ....' , moreover those metrics are filling our MGMT_STRING_METRIC_HISTORY
    table with 400 000 entries per 24h .
    I'm not sure where can I disable that :).
    Regards.
    Greg

  • Why does Data (wifi) stop coverage when IPhone 5C plugged in for recharging?

    Why does the Data (wifi) stop working when  IPhone 5c plugged in for recharging?

    It does not, or should not.
    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • HT3737 Why does the Safari toolbar disappear when the cursor is not on it ?

    Why does the Safari tool bar disappear when the cursor is not pointed to it?
    How can I fix it ,Please.

    It sounds like Safari is displaying in 'full-screen'. To reveal the tool bar move the mouse pointer to the top right-hand corner of the screen. You should see two blue arrows, click on those and it should take it out of full-screen mode and leave the menu bar, tool bar, etc. permanently on view.

  • My mac book pro 17" model 1229 does not work. It askes' me to :'you need to restart your computer.Hold down Power button for several seconds or press the Restart button

    Mac book pro 17" model 1229 displaying: "you need to restart your computer. Hold down the power button for several seconds or press the Start button

    Your MBP may have had a kernel panic.  If so, post the kernel panic per these instructions:
    http://support.apple.com/kb/ht2546
    An Apple Hardware Test may be useful:
    http://support.apple.com/kb/ht1509
    Note that an error free AHT is not definitive.
    Ciao.

  • All Browsers not able to open any Website while able to Ping all Websites but after restart server websites are able to open for 5 to 10 minutes only

    All Browsers not able to open any Website while able to Ping all Websites but after restart server web sites are able to open for 5 to 10 minutes only.
    Please Suggest me a solution.

    Hi, we miss some information;
    - do you use a proxy ?
    - can you provide an ipconfig /all please
    - do you use any firewall product that could block the computer on port 80
    Regards, Philippe
    Don't forget to mark as answer or vote as helpful to help identify good information. ( linkedin endorsement never hurt too :o) )
    Answer an interesting question ? Create a
    wiki article about it!

  • MTS Recovery Service Terminates on Time-Out - Need to Restart Server

    Has anyone encountered this error before?
    We have an Oracle9i Release 2 Database Server (patched 9.2.0.8) installed on a Windows 2000 Server (latest service pack). Once in while we get this haphazard error that pops up in the Windows Event Viewer:
    MTS Recovery Service Terminated With the Following Error -
    The Wait Operation Timed Out.
    When this error occurs, application end users notice that either their connection to the database becomes extremely slow or are disconnected. The fix is to restart the server. What is the cause of the problem and is there a workaround?
    Thanks!
    TJ

    Hi,
    I understand you install the services on a single PC. Are those services set to run automatically? I remember facing this issue myself several times and I guess it's because of the time gap and order that the services start. I.e. when database service is just starting and in the meantime any EPM service is trying to start, it can not start.
    It would be better if you set them to run manually. You can then create a small batch file to call in the correct order.
    the content of the batch would be like:
    net start Hysl9SharedServices
    net start Hysl9Workspace
    etc.
    Cheers,
    Alp

Maybe you are looking for

  • Can my mid 2011 macbook air be upgraded to wifi 802.11ac?

    Can my mid 2011 macbook air be upgraded to wifi 802.11ac? I am considering replacing my 802.11n router with the 802.11ac time capsule. Will this effect my download speed on my 802.11n macbook air (mid 2011)? can it be upgraded?

  • Mail won't open....

    I've using my imac for 3 months now and I updated it to OS Lion 2 days after I brought it. Yesterday my Mail app suddenly won't open. Everytime I open It say"expectedly shut down". I've shut computer down and restarted, but nothing changed. Please he

  • Connect to Oracle using DAC Client in command line

    Hi, I'm trying to connect to Oracle DB using DAC client. I have configured a connection and tested, it works. When I use the connection to connect to the DB, its giving me an error "unknown error, please start in command line mode and see the stack e

  • XMP Custom File Info Panels

    I've downloaded the new XMP Custom File Info Panels software. I installed the sample xmp panel descripter files in the proper location. Is it possible to view the customized metadata on a computer that doesn't have the descripter files? I hope the de

  • System Preferences glitch

    Hey guys, when i got my macbook back for RSD i had to run system updater, when i did that everything was perfect. THe only downside that i noticed was that in my system preferences, the picture or Print&Fax is glitched to a picture of a light switch