Restart Tomcat with every JSP change??

I hope I'm missing something obvious here...
Using JWSDP-1.2 (EA4).
Every time I make a change to the component tree by adding an <h:whatever> tag in my page, JSF breaks when I refresh.
For example, if I have the code below:
      <h:input_text id="password" valueRef="testBean.password">
           <f:validate_required/>
      </h:input_text>             
      <h:command_button id="submit" label="Submit"
        commandName="submit" />And I insert this line before the <h:command_button>:
<h:output_errors  for="password"/>  The command button does not render.
I find that the only way to get the page to render correctly is to go to the Tomcat manager, reload the webapp, and then use another JSP to invalidate my session. Then the page functions correctly. Pretty cumbersome for someone who develops JSPs with the "modify and refresh" method.
Is this standard behavior that all of you are encountering? Will it continue to be so?

From what I learned with tryout and error, you need to force JSF to recreate the components tree for it to register modifications.
The easiest way I found was to load another page with JSF, so I made a link to another page from within the page I was testing.
Hope this help.
Patrick

Similar Messages

  • Footnotes - restart numbering with every chapter (workaround)

    Hello Everyone,
    AFAIK there is no way how to reset the footnote numbering in ID CS4 (it would be ideal to have any possibility to choose the paragraph style, which could invoke that). There are available only three options for reseting, every IMHO quite useless for double sided documents - page, pair of pages and division (I have it localized so names can differ). My chapters starts always on the recto page. If individual 'divisions' would be created for every chapter and reseting set to the beginning of each that division, as the division starts on the verso page !!! (cannot be changed), it resets footnote numbers of the previous chapter if they appear on that verso page. But I agree that for single side documents this option would be sufficient for me.
    Is there any workaround how to restart footnotes numbering with every chapter in double sided documents? Could it be scripted? I really need this...
    Regards,
    Jan

    There you go. Don't forget, where it says "head", fill in the paragraph style name for your start of chapter style.
    The first two lines delete ALL EXISTING SECTIONS, which may come in handy. If you defined some sections yourself (e.g., to change page numbering to roman numerals for some front matter) and wish to preserve them, you must DELETE these lines -- and manually delete all sections made earlier by the script as well.
    //DESCRIPTION:Magic Section Marker
    // A Jongware Script 8-Sep-2010
    // Dangerous Curve: Remove *ALL* existing Sections
    while (app.activeDocument.sections.length > 1)
         app.activeDocument.sections[-1].remove();
    // The script Proper
    // Find the style using the regular Find command
    app.findTextPreferences = null;
    app.findTextPreferences.appliedParagraphStyle = "head"; // <- Change Me.
    list = app.activeDocument.findText();
    // Loop over the found items
    while (list.length)
        // Fetch next item -- a Text -- and get the Frame it's in
        next = list.pop().parentTextFrames[0];
        // It might be nested somewhere 'deep' so go up and up in the chain until ..
        while (!(next instanceof Page || next instanceof Spread || next instanceof Application))
            if (next instanceof Character)
                next = next.parentTextFrames[0];
            else
                next = next.parent;
        // .. we find the actual page. First check if there isn't already a section ..
        if (next instanceof Page &&
            next.appliedSection.pageStart != next)
            // No -- let's add one! All settings are set to sensible defaults, it appears.
            app.activeDocument.sections.add(next);

  • Photoshop CS5 building Histograms with every file change

    I am working in Photoshop CS5 on a MacPro with Snow Leopard, 10.6.4. I have a file that is a little over a gigabyte open. Every time I make any changes to the file (i.e. select a different layers, grab the text tool, etc.) a menu pops up with a progress bar and says it is building the histgrams. This process happens with EVERY move. As you can imagine, this has slowed my productivity down to a crawl. Can I do anything to make it stop rebuilding the histograms at every step?

    Adobe Photoshop Version: 12.0.3 (12.0.3x20101211 [20101211.r.1222 2010/12/11:02:00:00 cutoff; r branch]) x32
    Operating System: Windows 7 64-bit
    Version: 6.1
    System architecture: Intel CPU Family:6, Model:12, Stepping:2 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 16
    Processor speed: 2399 MHz
    Built-in memory: 24516 MB
    Free memory: 18748 MB
    Memory available to Photoshop: 3255 MB
    Memory used by Photoshop: 100 %
    Image tile size: 1028K
    Image cache levels: 2
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Normal
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: False.
    OpenGL Crash File: Not Detected.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GTS 250/PCI/SSE2
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 1080, right: 1920
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTS 250
    Driver Version: 8.17.12.6099
    Driver Date: 20101016000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode: 1920 x 1080 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTS 250
    Video Card Memory: 1024 MB
    Serial number: 95478128905099778705
    Application folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\
    Temporary file path: C:\Users\Designer\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      E:\, 556.9G, 544.5G free
      C:\, 556.8G, 289.5G free
    Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2010/10/04-23:36:11   64.441628   64.441628
       adbeape.dll   Adobe APE 2010/02/23-12:40:58   61.421986   61.421986
       AdobeLinguistic.dll   Adobe Linguisitc Library   5.0.0  
       AdobeOwl.dll   Adobe Owl 2010/03/29-17:44:28   3.0.91   61.425789
       AdobeOwlCanvas.dll   Adobe Owl Canvas   3.0.68   61.2954
       AdobePDFL.dll   PDFL 2010/03/04-10:02:26   61.281542   61.281542
       AdobePIP.dll   Adobe Product Improvement Program   5.0.0.2021  
       AdobeXMP.dll   Adobe XMP Core   5.0   61.134777
       AdobeXMPFiles.dll   Adobe XMP Files   5.0   61.134777
       AdobeXMPScript.dll   Adobe XMP Script   5.0   61.134777
       adobe_caps.dll   Adobe CAPS   3,0,116,0  
       adobe_OOBE_Launcher.dll   Adobe OOBE Launcher   1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00)   1.000000
       AFlame.dll   AFlame 2010/02/23-17:27:33   61.421976   61.421976
       AFlamingo.dll   AFlamingo 2010/02/23-17:27:33   61.421978   61.421978
       AGM.dll   AGM 2010/03/10-08:31:04   61.423599   61.423599
       ahclient.dll    AdobeHelp Dynamic Link Library   1,5,0,30  
       aif_core.dll   AIF   2.0   53.422628
       aif_ogl.dll   AIF   2.0   53.422628
       amtlib.dll   AMTLib   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000
       amtservices.dll   AMTServices   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000
       ARE.dll   ARE 2010/03/10-08:31:04   61.423599   61.423599
       asneu.dll    AsnEndUser Dynamic Link Library   1, 7, 0, 1  
       AXE8SharedExpat.dll   AXE8SharedExpat 2010/02/23-17:27:33   61.421978   61.421978
       AXEDOMCore.dll   AXEDOMCore 2010/02/23-17:27:33   61.421978   61.421978
       Bib.dll   BIB 2010/03/10-08:31:04   61.423599   61.423599
       BIBUtils.dll   BIBUtils 2010/03/10-08:31:04   61.423599   61.423599
       boost_threads.dll   DVA Product   5.0.0  
       cg.dll   NVIDIA Cg Runtime   2.0.0015  
       cgGL.dll   NVIDIA Cg Runtime   2.0.0015  
       CoolType.dll   CoolType 2010/10/04-23:36:11   64.441628   64.441628
       data_flow.dll   AIF   2.0   53.422628
       dvaadameve.dll   DVA Product   5.0.0  
       dvacore.dll   DVA Product   5.0.0  
       dvaui.dll   DVA Product   5.0.0  
       ExtendScript.dll   ExtendScript 2010/10/19-10:22:12   61.445301   61.445301
       FileInfo.dll   Adobe XMP FileInfo   5.0   61.134777
       icucnv36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       icudt36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       image_flow.dll   AIF   2.0   53.422628
       image_runtime.dll   AIF   2.0   53.422628
       JP2KLib.dll   JP2KLib 2010/02/24-17:43:58   61.131544   61.131544
       libeay32.dll   The OpenSSL Toolkit   0.9.8g  
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2, 0, 1, 11  
       MPS.dll   MPS 2010/09/20-23:34:37   64.436825   64.436825
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4927  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.4926  
       msvcp71.dll   Microsoft® Visual Studio .NET   7.10.3077.0  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4927  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.4926  
       msvcr71.dll   Microsoft® Visual Studio .NET   7.10.3052.4  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.4927  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.4926  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS5   CS5  
       Plugin.dll   Adobe Photoshop CS5   CS5  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (32 bit)   2.0.0.746  
       PSArt.dll   Adobe Photoshop CS5   CS5  
       PSViews.dll   Adobe Photoshop CS5   CS5  
       SCCore.dll   ScCore 2010/10/19-10:22:12   61.445301   61.445301
       shfolder.dll   Microsoft(R) Windows (R) 2000 Operating System   5.50.4027.300  
       ssleay32.dll   The OpenSSL Toolkit   0.9.8g  
       tbb.dll   Threading Building Blocks   2, 1, 2009, 0201  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   1.0.0.68
       WRServices.dll   WRServices Thursday January 21 2010 12:13:3   Build 0.11423   0.11423
       wu3d.dll   U3D Writer   9.3.0.113  
    Installed plug-ins:
       Accented Edges 12.0
       ADM 3.11x01
       Angled Strokes 12.0
       Average 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Bas Relief 12.0
       BMP 12.0.2
       Camera Raw 6.3
       Chalk & Charcoal 12.0
       Charcoal 12.0
       Chrome 12.0
       Cineon 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Clouds 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Color Halftone 12.0.2
       Colored Pencil 12.0
       CompuServe GIF 12.0.2
       Conté Crayon 12.0
       Craquelure 12.0
       Crop and Straighten Photos 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Crop and Straighten Photos Filter 12.0.2
       Crosshatch 12.0
       Crystallize 12.0.2
       Cutout 12.0
       Dark Strokes 12.0
       De-Interlace 12.0.2
       Difference Clouds 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Diffuse Glow 12.0
       Displace 12.0.2
       Dry Brush 12.0
       Embed Watermark 4.0
       Extrude 12.0.2
       FastCore Routines 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Fibers 12.0.2
       Film Grain 12.0
       Filter Gallery 12.0
       Fresco 12.0
       Glass 12.0
       Glowing Edges 12.0
       Grain 12.0
       Graphic Pen 12.0
       Halftone Pattern 12.0
       HDRMergeUI 12.0
       IFF Format 12.0.2
       Ink Outlines 12.0
       JPEG 2000 2.0
       Lens Blur 12.0
       Lens Correction 12.0.2
       Lens Flare 12.0.2
       Lighting Effects 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Liquify 12.0.1
       Matlab Operation 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Measurement Core 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Mezzotint 12.0.2
       MMXCore Routines 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Mosaic Tiles 12.0
       Multiprocessor Support 12.0.3 (12.0.3x20101211 [20101211.r.1222 2010/12/11:02:00:00 cutoff; r branch])
       Neon Glow 12.0
       Note Paper 12.0
       NTSC Colors 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Ocean Ripple 12.0
       OpenEXR 12.0.2
       Paint Daubs 12.0
       Palette Knife 12.0
       Patchwork 12.0
       Paths to Illustrator 12.0.2
       PCX 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Photocopy 12.0
       Picture Package Filter 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Pinch 12.0.2
       Pixar 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Plaster 12.0
       Plastic Wrap 12.0
       PNG 12.0.2
       Pointillize 12.0.2
       Polar Coordinates 12.0.2
       Portable Bit Map 12.0.3 (12.0.3x20101211 [20101211.r.1222 2010/12/11:02:00:00 cutoff; r branch])
       Poster Edges 12.0
       Radial Blur 12.0.2
       Radiance 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Read Watermark 4.0
       Reticulation 12.0
       Ripple 12.0.2
       Rough Pastels 12.0
       Save for Web & Devices 12.0
       ScriptingSupport 12.0.3
       Send Video Preview to Device 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Shear 12.0.2
       Smart Blur 12.0.2
       Smudge Stick 12.0
       Solarize 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Spatter 12.0
       Spherize 12.0.2
       Sponge 12.0
       Sprayed Strokes 12.0
       Stained Glass 12.0
       Stamp 12.0
       Sumi-e 12.0
       Targa 12.0.2
       TextAuto 10.0
       Texturizer 12.0
       Tiles 12.0.2
       Torn Edges 12.0
       Twirl 12.0.2
       Underpainting 12.0
       Vanishing Point 12.0
       Variations 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Video Preview 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Water Paper 12.0
       Watercolor 12.0
       Wave 12.0.2
       WIA Support 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       Wind 12.0.2
       Wireless Bitmap 12.0 (12.0x20100407 [20100407.r.1103 2010/04/07:14:00:00 cutoff; r branch])
       ZigZag 12.0.2
    Plug-ins that failed to load: NONE
    Flash:
       Flash
       Mini Bridge
       Access CS Live
       CS News and Resources
       Flash
       Kuler
       CS Review
    Installed TWAIN devices: NONE

  • Restart tomcat at every servlet modify?

    Hi,
    I'm using tomcat 5.5 and working on some servlets, but when I execute a servlet (http://localhost/my_servlet)
    and then I modify and recompile it, I have to shutdown and restart tomcat to see the new version on work.
    Is this normal? Can I avoid this?
    Thanx

    Well, I have solved the problem editing contex.wml file modifying the line:
    <Context>into the line:
    <Context reloadable="true">Now it works even if refresh time is not so low...
    Thanx to all.
    P.S.
    Adding the line
    <DefaultContext reloadable="true"/>into server.xml file I don't have obtained any result.

  • WHY!?!?! Why do I have to make a CSS RULE with every Font Change

    I am no major developer, but I have been using dreamweaver to build basic HTML sites for years. Just downloaded CS5 and I am ready to put my fist through the screen.
    I am creating a NEW HTML document. I dont know much about CSS so I am avoiding it.
    So I create a few tables, put text in the table, and go to change the attibutes like size, color, etc. Now I need to define it by making a CSS rule. Ok, perhaps I am a bit behind, but I selected a new HTML document, NOT CSS. Why do I have to define anything with CSS?
    Yes, this is a basic basic thing I am trying to do. For years if I wanted to change the color, size, position, etc of some simply text in DW, it would just do it. I would never be asked to make a rule.
    What is frusterating me is that I am making a rule, adjusting text, I can partially live with that. But now it is changing the attributes of text on the other wide of the page in a different table because it had similar attributes.
    How do I go back to old school html, stright forward, no CSS.
    thanks!
    Jason

    KeyWestInc wrote:
    I am no major developer, but I have been using dreamweaver to build basic HTML sites for years. Just downloaded CS5 and I am ready to put my fist through the screen.
    I am creating a NEW HTML document. I dont know much about CSS so I am avoiding it.
    So I create a few tables, put text in the table, and go to change the attibutes like size, color, etc. Now I need to define it by making a CSS rule. Ok, perhaps I am a bit behind, but I selected a new HTML document, NOT CSS. Why do I have to define anything with CSS?
    Yes, this is a basic basic thing I am trying to do. For years if I wanted to change the color, size, position, etc of some simply text in DW, it would just do it. I would never be asked to make a rule.
    What is frusterating me is that I am making a rule, adjusting text, I can partially live with that. But now it is changing the attributes of text on the other wide of the page in a different table because it had similar attributes.
    How do I go back to old school html, stright forward, no CSS.
    thanks!
    Jason
    This question comes up a lot and it always interests me.  If you choose a profession, why would you choose something you don't want to continue learning about?  Would you be mad if your mechanic wouldn't repair your hybrid car engines because they only want to work on engines from the muscle cars of the 60s and 70s?  Or would you prefer a doctor only give you penicillin for everything because they don't want to learn about the modern advances in medicine? It just doesn't make sense.
    Best advise I can give you is that CSS is the way all web browsers and email clients are going whether through the use of attached style sheets with defined styles, or with inline styles for email security reasons.  CSS is the styling for anything web based.  Even if you are not in a CSS document, HTML pages use CSS to render styles from colors and margins to borders and backgrounds.  Then if you use a rule over and over you don't have to click through this color and that size and that underline with this font.  You just select a style where you want it and keep going.  The learning is worth the time invested.
    http://w3schools.com/css/default.asp

  • Changing Servlets w/o Restarting Tomcat

    Hello,
    I've heard that you can edit your Servlets/Jsps on the fly without having to restart Tomcat to view the changes. How do you set this up?
    -Brendon

    Or even better, you can reload the whole web application by issuing the URL
    http://localhost:8080/manager/reload?path=/<context name>
    where <context name> is the name of your web application. You will be asked for the username/password of Tomcat's administrator in order to do this.

  • My husban raises the volume and as soon as he keys go if the button it immediately decreases. He had restarted several times and nothing changes. He has cleaned around the buttons with a soft brush.

    My husband's 4s will not hold he volume in the loud position. Every time he raises the volume and as soon as he lets go of the button it immediately decreases. He had restarted several times and nothing changes. He has cleaned around the buttons with a soft brush.  No luck. Ideas?

    Try resetting your device.
    http://support.apple.com/kb/ht1430
    Austin

  • Argh! Stop the need to restart Tomcat on servlet changes

    Hi Guys
    I am running tomcat 6.0.18 and everytime I change a servlet I have to restart the whole app before changes are applied. I know its something to do with deployment. I've tried editing the context.xml (adding reloadable="true" privileged="true") and web.xml(removing comments from invoker xml) files in /conf dir to no avail. Can someone inform me what changes I need to make so that I dont need to restart everytime I change a servlet.

    Nope. This is not a Tomcat problem, it is designed into the Sun Servlet Specification.
    Think of it like this: You are in a car on a highway going about 70 miles and hour and you try to change the engine while still going down the highway. Yeah, not really possible. Why can't you just throw it into neutral and do it? Because, just like the car's clutch, the server will grind the gears until it is no longer usable.

  • Form Based Authentication on Tomcat with custom index.jsp page...

    Hi there ppl,
    I've got Form Based Authentication working correctly on my Tomcat server but I want to override the default generated index.jsp after successfully logging on. I've tried placing my own index.jsp in the directory that's restricted, but its only overridden by the default one when successfully logged on which displays:
    "Authentication Mechanism FORM"
    This means having to navigate by typing the url in the address bar to another page which is gets really annoying afterawhile.
    Any help on this would be much appreciated,
    thanks already

    Yes there's a default generated index.jsp page that I'm having trouble overriding with one of my own. Have you used Form Based Authentication before? To do so you have edit the WEB-INF/web.xml file by adding:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Secure Area</web-resource-name>
    <url-pattern>/test/secure/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>admin</role-name>
    </auth-constraint>      
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/test/secure/loginpage.jsp</form-login-page>
    <form-error-page>/test/secure/errorpage.jsp</form-error-page>
    </form-login-config>
    </login-config>
    When you attempt to first go to any page in my /test/secure/ directory you get redirected to the /test/secure/loginpage.jsp where you have to login as a tomcat user, when succesfully logged on you get redirected to an index.jsp page which is NOT the one I created in test/secure/index.jsp. Even when I type in the url to go to my own test/secure/index.jsp I still don't get my own one that exists there, but instead get the default one that's generated that displays:
    "Authentication Mechanism FORM".
    Hope that makes more sense.
    I've tried restarting tomcat but it makes no difference.

  • Restart tomcat from JSP----recall for jsp guru's

    hi thr
    I have buid a web based portal which give administrator power to do changes but to make these changes i need to restart tomcat server but my users are not It guys they found it very difficult to it.Is there anyway that i can restart server programatically.from JSP page using Java beans.Any idea will be helpful.
    Thanks in advance

    thanks guys i will go through that link but is there any code sample or a logic which can give idea how this works.
    Just like is we go to JRUN admin. we can start or restart server from front end in jsp.

  • Weblogic server 10.3 needs restart to reflect jsp changes.

    Hello,
    I am using weblogic 10.3.5. My problem is when I make changes to JSPs, it is not getting reflected when I refresh the page. Always I have to perform restart of the server.
    I checked my weblogic.xml and I have the below configuration also.
    <jsp-param>
    <param-name>pageCheckSeconds</param-name>
    <param-value>0</param-value>
    </jsp-param>
    I saw this thread: Weblogic server 10.3 needs restart to reflect jsp changes. , but it not helping me.
    Can anyone help me?
    Thanks.

    you should also need to change the name space please try below
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.1/weblogic-web-app.xsd"
    xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
    <jsp-descriptor>
    <page-check-seconds>0</page-check-seconds>
    </jsp-descriptor>
    </weblogic-web-app>
    http://docs.oracle.com/cd/E23943_01/web.1111/e13712/weblogic_xml.htm#BEIBCAJH
    http://docs.oracle.com/cd/E23943_01/web.1111/e13712/weblogic_xml.htm#i1038490
    Regards,
    Sunil

  • Hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    hello am using ios 7.0.4 I have a question about messages that it does not show the time of a particular message after first message that I recive form a paricular person so please in the next version change this and with every message show time and date

    Hi,
    How is everything going? Have you checked this issue from OWA? If so, please let me know the result.
    In adition, please also try to use the following powershell commands to check if the assistant has right permissions:
    Get-MailboxFolderPermission -Identity
    CEO’s email address:\Calendar -User assistant’s email address
    Also check with:
    Get-Mailbox -Identity CEO’s mailbox
    | fl *GrantSendOnBehalfTo
    Please let me know the result.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • HT201184 My computer is infected with the DNS changer virus. I installed the Macscan DNS Changer Removal Tool but after restarting the virus is still there!

    My computer is infected with the DNS changer Virus. I installed the Macscan DNS Changer Removal tool but after running it and restarting the laptop, the virus is still there .

    "Hinweis: Für die korrekte Durchführung dieses Tests dürfen keine Proxy-Server in den Einstellungen Ihres Webbrowsers aktiviert sein. Diese werden häufig bei Firmenrechnern verwendet. Sie sollten daher im Zweifel Ihren IT-Support kontaktieren, der Ihnen mitteilen kann, ob dieser Test in ihrer Umgebung genutzt werden kann."
    Google Translate:
    Note: For proper implementation of this test may not be a proxy server enabled in your browser settings. These are often used in corporate machines. You should contact your IT support in doubt, you can tell whether this test can be used in their environment.
    and
    fane_j wrote:
    Does the US site use a different script, which works even when proxies are used?
    No idea.

  • Application "Pages" opens with every restart of computer?

    Recently downloaded Lion from the App Store.  Now "Pages" opens with every restart of computer?

    Could be two things
    1. Look in you system prefs and look for login items for your user.   If pages is there, remove it......or
    2.   Lion now thinks that if you "quit" apps or restart without first closing documents, then it will restart and re- open apps and documents you had open when you restarted.    So make sure you close the documents, and then quit the app.   I don't like this much......I hear some programs have some settings for this, but I'd like yo turn it off globally......

  • How can i avoid restarting tomcat server when servlet is modified?

    please advice me that how can i avoid restarting the tomcat server, whenever a servlet file is modified in my application. is their any way ?

    No probs. Here's how I do things...
    1. Install tomcat as normal (e.g. I install to C:\Apps\jakarta-tomcat-5.5.4)
    2. Create a webapps directory in your eclipse project with the following directory structure
    MyEclipseProject
       - src
       - conf
       - webapps
          - MyApplication
             - META-INF
             - WEB-INF
                - classes
                - lib
                - pages3. Set the project's output folder (e.g. bin folder) to webapps/MyApplication/WEB-INF/classes
    4. Put all your jar files in the lib directory
    5. Put JSPs / HTML in the pages directory (you may also want to create additional directories for TLDs, config files etc)
    6. Ensure your web.xml is in the WEB-INF directory
    7. Although it isn't essential I create a context.xml file and store it in META-INF, e.g.
    <Context reloadable="true">
        <!-- Default set of monitored resources -->
         <WatchedResource>WEB-INF/web.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/struts-config.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/tiles-defs.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/validation.xml</WatchedResource>     
    </Context>I use this to set monitored resources that will trigger an automatic appliation reload and to configure JAAS (not shown). See the Tomcat documentation for additional information.
    8. In the 'conf' directory I create a server.xml file used to configure Tomcat (you can copy the one from your <TOMCAT_HOME>/conf/server.xml).
    After copying the file change appBase attribute in the host element to be the full path to the webapps directory. You can also change the HTTP and HTTPS ports if you wish
    9. Download and install the Tomcat Launcher plugin from Sysdeo.
    10. In Eclipse's Preferences menu you will see a new entry for Tomcat. Click this then
    a. Set your Tomcat Version
    b. Set your Tomcat Home
    c. Set "Context declaration mode" to server.xml
    d. Set the configuration file to the full path to your server.xml file created in step 8
    On the "Advanced " sub page select all relevant projects to add to the Tomcat classpath
    On the "JVM Settings" page add all the jars in your WEB-INF lib directory to the class path
    On the "Source Path" page select all relevant projects
    Now if you start Tomcat using the Tomcat icon, you will be able to remote debug your application. If you change web.xml (or any other file in your context.xml watched resources) it will automatically reload. Any changes to JSPs will automatically be picked up (providing your tell your browser not to use the page in cache - e.g. CTRL+F5 in IE)
    There are some limitations that I'm still working on however. Primarily that I haven't included the Tomcat Manager application in my webapps directory, so Sysdeo cannot perform a reload. This means that if I change a source file, and eclipse auotmatically rebuilds, Tomcat doesn't pick up the change unless I either change a watched resource file (e.g. web.xml) or stop and restart Tomcat.
    There's no reason why this can't be fixed, I just haven't got round to it yet.
    I'm sure there are lots of other (probably better) ways of achieving the same thing. This was the first method I tried and it worked, so I stuck with it. I'm not a Tomcat config guru and I'm sure other forum users could provide some improvements should they wish.
    Post if you get into trouble, however I won't be able to respond until next week.
    Cheers,
    Steve

Maybe you are looking for

  • Data Load Short Dump (ABAP/4 processor: ASSIGN_TYPE_CONFLICT)

    Hi Experts,   I made few changes to the exisisting data target and transported it to Test system... Today when i loaded test data i got Dump: ABAP/4 processor: ASSIGN_TYPE_CONFLICT error Now i need to reactivate the Transformations and DTP's that wil

  • Chrome will not allow Loading of pdf file on ( probably ) expired Adobe XI?

    I have limited knowledge of a computer.  Mainly because I do not want to Internet SEARCH for secrets, and HACKS that can really destroy my reputation, entertainment, and pleasure of owning a computer... I just want it to WORK... as it SHOULD with suf

  • Displayment  of terms of payment

    Hello, I need to create different terms of payment but I have a problem. If I create the same term of payment with two different limit days when I display the list where appear all the terms of payment, the system duplicate each term. I want to see e

  • Possible Malware or Virus on IMac?

    Today one of my family members visited the site Neopets, as she does almost everyday. What is strange is that every link she clicks on the site, be it for playing a game, checking contact information at the bottom of the site, starting a game etc,wou

  • Notification Settings in Human Task

    Hi, How to get access to the Notification settings (like Notification Message) configured in the "Task Definition" Screen? I am not sure how to make use if options like sending secure emails, attachments and actionable emails. Does the "Task" will ta