Modify JSP file without restarting the server

Hi guys,
I need to do small change in the JSP in the production.
How can I do it without restarting the server?
I have deployed the application as an EAR file.
I use WLP8.1 SP3
IS there any way?
Ananth

You can try expanding (use jar util) that ear into temp dir, then make the change, use jar util again to create the ear. try redepolying it. Make sure change the jsp recheck and hit that page. see if it works. Incase if it works put the jsp recheck back to -1.
Note: This is just an idea, I never done.
Thanks
Srini

Similar Messages

  • Deployment without restarting the server

    If we change java files,why we need to restart the server,I am using JBoss-2.2.1_Tomcat-3.2.1.Can we deploy the java file without restarting the server?Thanks in Advance

    Yes we may
    All u need to do is change
    TOMCAT: %WEBSERVER_HOME%\conf\context.xml
    JBOSS: %WEBSERVER_HOME%\server\default\deploy\jbossweb-tomcat55.sar\context.xml
    file from
    TOMCAT:
    =======
    <!-- The contents of this file will be loaded for each web application -->
    <Context >
        <!-- Default set of monitored resources -->
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
        <!-- Uncomment this to disable session persistence across Tomcat restarts -->
        <!--
        <Manager pathname="" />
        -->
    </Context>To
    <!-- The contents of this file will be loaded for each web application -->
    <Context reloadable="true" >
        <!-- Default set of monitored resources -->
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
        <!-- Uncomment this to disable session persistence across Tomcat restarts -->
        <!--
        <Manager pathname="" />
        -->
    </Context>JBOSS :
    ======
    <!-- The contents of this file will be loaded for each web application -->
    <Context cookies="true" crossContext="true">
       <!-- Session persistence is disable by default. To enable for all web
       apps set the pathname to a non-empty value:
       <Manager pathname="SESSIONS.ser" />
       To enable session persistence for a single web app, add a
       WEB-INF/context.xml
       -->
       <Manager pathname="" />
       <!-- Install an InstanceListener to handle the establishment of the run-as
       role for servlet init/destroy events.
       -->
       <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
    </Context>to
    <!-- The contents of this file will be loaded for each web application -->
    <Context reloadable="true"  cookies="true" crossContext="true">
      <!-- Session persistence is disable by default. To enable for all web
       apps set the pathname to a non-empty value:
       <Manager pathname="SESSIONS.ser" />
       To enable session persistence for a single web app, add a
       WEB-INF/context.xml
       -->
       <Manager pathname="" />
       <!-- Install an InstanceListener to handle the establishment of the run-as
       role for servlet init/destroy events.
       -->
       <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceListener>
    </Context>

  • Deploying, ReDeploying JAR file to WebLogic EM without restarting the serve

    Hi
    Can any one help me how to re-deploy .jar file on weblogic EM with steps.
    Deploying, ReDeploying JAR file to WebLogic EM without restarting the server
    Appriciate if you provide information in steps with screenshot.
    Note: Not in weblogic 11g console.
    Thanks,
    Phani

    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA

  • Deploying the new war file without stopping the server

    How can i deploy my updated application war file without stopping the server as the user sessions in my application and transactions as well as users request has to be carried out during the deploy process.
    Edited by: Kaywin on Jan 28, 2008 10:39 AM

    You can update web application via Administration GUI and then deploy the configuration. You don't have to restart the server for it. Assuming you are using 7.0 u2, follow the steps as below to update the web application:-
    - Login to Administration Console
    - Go to Virtual Servers tab under a Server Configuration, for deploying a web application (Configurations -> <config_name -> Virtual Servers -> <vs_name>)
    - Click on Web Applications tab and check the web application in the "Web Applications" table and then click on Update button.
    - Point to the updated war file in the pop up and click ok
    - Now just deploy the configuration by clicking on "Deployment Pending" link on the top right of the page
    Here is the docs page which has more information about web application deployment -
    http://docs.sun.com/app/docs/doc/820-2202/gbrmp?a=view
    Hope this helps

  • Modify jsp files without redeploy

    Hello,
    i modify jsp files without redeploy using tomcat.is there anyone know how
    to enable wls has this future.
    do you have any advice
    Best Regards,
    rechete

    Hey Rechete. Check out "Split Development Directory Environment" which we introduced in 8.1.
    The WebLogic split development directory provides these benefits:
    * Fast development and deployment. By minimizing unnecessary file copying, the split development directory Ant tasks help you recompile and redeploy applications quickly without first generating a deployable archive file or exploded archive directory.
    * Simplified build scripts. The BEA-provided Ant tasks automatically determine which J2EE modules and classes you are creating, and build components in the correct order to support common classpath dependencies. In many cases, your project build script can simply identify the source and build directories and allow Ant tasks to perform their default behaviors.
    * Easy integration with source control systems. The split development directory provides a clean separation between source files and generated files. This helps you maintain only editable files in your source control system. You can also clean the build by deleting the entire build directory; build files are easily replaced by rebuilding the project.
    http://e-docs.bea.com/wls/docs81/programming/environment.html#1097239

  • How do I turn on -XverboseTimeStamp without restarting the server?

    The execute method on the getDiagnosticCommand seems pretty handy for invoking things programatically. I can turn on verbose GC with this command, but how can I turn on the verbose timestamps so I know when the gc occured (without restarting)?
    Thanks

    Try the "decorations" parameter to the "verbosity" command. Something like this:
    bq. verbosity change=memory=info decorations=timestamp
    See [http://e-docs.bea.com/jrockit/jrdocs/refman/optionX.html#wp1001095] for possible decorations.
    Edited by: Staffan Larsen on Feb 24, 2009 9:39 AM

  • NOT GETTING DISK SPACE WITHOUT RESTARTING THE SERVER.

    WHEN I AM DELETING FILES FROM MY EDIT VOLUME, THE DISK SPACE IS NOT INCRESING,UNTIL I RESTART THE XSERVE. WHY? PLZ HELP

    Cache? Are you direct attached to the Xsan volume or are you deleting the files through a network share of the Xsan volume?
    Which Xserver are you rebooting? The Metadata Controller?
    Drew

  • Make code changes without restaring the server

    hi everyone,
    how can we make the code changes reflect in the server without restarting the server is case of jboss using startDynamoOnJBOSS.bat.
    because every time i make a small change in the code i am restarting the server to see the change in the output.

    Hi,
    You can use debug mode of the eclipse. Follow the steps below:
    1. If you're using Jboss goto your run.bat and find the line:
    set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=n,suspend=n %JAVA_OPTS%
    Just make server=y
    2. Put debug points in your file in eclipse. Put the point where ever you think you need to make changes.
    3. Open "Debug Configuration" in eclipse and select "Remote Java Application" and click new. Fill the details and click apply.
    4. Use f5 to go inside a method and f6 to goto next step. Use ctrl+shft+i to see the value of any parameter or just keep your mouse on the parameter.
    I hope its clear.
    Regards,
    Rahul

  • How to modify JSP on Weblogic without restarting a server

    Hello,
    Could someone explain how to modify JSP on Weblogic without restarting a server?
    We use WL 10.2.
    I search and modify required jsp on a server, but nothing happens on a Web Browser. I run in Development mode.
    Please advice,
    Thanks,
    Yuri

    Hi Yuri,
    As you are in Development mode you have one options to use the Auto Deploy folder which can be found in the following path (domain_name/autodeploy).
    More information on Auto Deployment check the below link:
    http://download.oracle.com/docs/cd/E11035_01/wls100/deployment/autodeploy.html#wp1021626
    Other option is to use the following parameter "*page-check-seconds*" in your weblogic.xml file
    For more information check out the below link
    Topic: jsp-descriptor
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webapp/weblogic_xml.html#wp1038491
    Hope this helps you.
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Middleware Magic | Come, Join Us and Experience The Magic…

  • Enque Server was restarted without restarting the J2EE engine (MSCS)

    Hello All,
    I've installed the Portal on Microsoft Cluster (MSCS) and everything is working well. Now when i try to move the Group from Node 1 to Node 2 to test whether it fails over or not?? It does fail over however, server node on CI and DI(Dialog Instance) gets crashed. I checked the log files and got the following:-
    <b>Enque Server was restarted without restarting the J2EE engine. This could lead to data inconsistencies and requires a restart of the entire system.</b>
    Has someone experienced this before, any ideas.
    Regards
    Vaib

    Hi vaibhav,
               We are planning to install a HA & Load balanced NW portal. I was looking to get some information regarding same. While going through SDN, I came across this message. Thought of writing to you, since you have already implemented this solution.
          Do you have any IDEA, whether SAP(Ok with other Institute also..) offer's any courses / Training for setting up HA (High-Availability) & LOAD BALANCING solutions for NetWeaver Enterprise Portal ?
    Or any books available for the same at SAP Press?
    PS: you also may refer to my message at SDN with the subject line: Courses / Books For HA & Load balancing for NW Portal
    Courses / Books For HA & Load balancing for NW Portal
    Regards
    Sunil Kulkarni

  • Error while accessing a file located in the server from JSP

              Hi
              I am having problem while accessing the file located in the server from a JSP
              page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              The same code is working if the jsp placd under defaultwebApp directory and not
              working if i create a war and deploy the same.
              I am using weblogic server 7.0 trail version.I am setting the context path also.
              Can any help me in this regard.
              Thank And Regards
              Anand Mohan
              

              Hi
              Thank you.Is there a way to read a file which is existing in the war file.
              Regards
              Anand Mohan
              "Wenjin Zhang" <[email protected]> wrote:
              >
              >In Weblogic, if your files are archived in a WAR, you cannot get an entry
              >as individual
              >file since it is only bytes in a large archive file. So getRealPath will
              >give
              >you null result. If you only want the path, try to use other getXXXPath,
              >getURL,
              >or getURI method. If you want to read the content, use getResource.
              >
              >
              >"Anand" <[email protected]> wrote:
              >>
              >>Hi
              >>I am having problem while accessing the file located in the server from
              >>a JSP
              >>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              >>
              >>The same code is working if the jsp placd under defaultwebApp directory
              >>and not
              >>working if i create a war and deploy the same.
              >>
              >>I am using weblogic server 7.0 trail version.I am setting the context
              >>path also.
              >>
              >>Can any help me in this regard.
              >>
              >>Thank And Regards
              >>
              >>Anand Mohan
              >
              

  • File shares not be re-created when restart the Server (Windows 2012 Std R2)

    Hi Team,
       We are facing below issue whenever restarting my server (windows 2012 R2 STD)
    1. File shares are invisible.
    2. Every time i need to restart server service to make file shares availability
    Please look in to the above issue and revert if any suggestion.
    Regards
    K Sreenivasan

    Hi,
    According to your description, my understanding is that you create a file share under File and Storage Services but the file is invisible. If you restart the server make the file share, then you can see the file share.
    Can you see the file share when you directly create in Windows Explorer? Please check if you have enabled ABE on the file share.
    Access-based Enumeration
    http://technet.microsoft.com/en-us/library/dd772681(v=ws.10).aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to restart the Netweaver Server without restarting the whole OS (Suse)

    We are setting up the SAP Netweaver Java on Suse Linux Trial in VMWare.
    We require to restart the Netweaver Server several times. Is there a possibilty to restart the Netweaver Server without restarting the whole Suse Linux Server Operating System?

    Hello Deniz,
    startsap and stopsap have the folllowing syntax :
    startsap [db|r3|j2ee|all|check] [<instance>]
    you could use startsap/stopsap to start/stop any of the db or r3 or j2ee or any particular instance.
    e.g.
    startup db
    startsap r3
    startsap j2ee (just j2ee part)
    similarly for stopsap
    if you have multiple instance you could use the instance ABC as
    startsap ABC
    If you just want to restart any particular process of j2ee engine, you could use jcmon.
    Hope that helps.
    Snehal

  • How to make changes effect in log4j.xml without restarting weblogic server

    Hi ,
    I have successfully configured log4j in my weblogic server 8.1.
    Everytime i made a change in log4j.xml i need to restart the server
    is there any configuration or parameter to set without restarting server??
    Thanks in advance,
    CK

    I don't think you need to restart the server, atleast I never needed to when making changes to jsp pages. You only need to restart when you make changes to java classes. Some might argue jsp is converted to servlet which is a java class.....
    Try refreshing the page when you make any changes. This works for me, if it doesn't work try turning reloadable="true" in your context path in tomcat's server.xml

  • Reload web-inf/web.xml file without restarting tomcat

    Please help me if any one have a solution .
    I am doing development in jsp, servlet. I am using tomcat5 as a webserver.
    i want to reload web-inf/web.xml file without restarting tomcat.

    From the tomcat admin page you can stop/start and refresh individual applications. See the tomcat documentation. Which, when you have a question about tomcat, you should always do first.

Maybe you are looking for

  • "Protect" printer - ensure only I can print to it?

    Hello! I have an HP Deskjet 5150, attached to my PowerMac G4, which is shared so that I can print from my Powerbook from anywhere in/near my room - so that I'm not tethered to my USB cables. I'm in a dorm - and the LAN/Wireless LAN seems to cover sev

  • On windows xp i cant find my netgear router or set a wireless connection up

    when i go onto windows i cant get onto the internet. I have a wireless netgear router that works with mac os x but i cant set it up for the windows

  • Yahoo Mail Error in Mail App

    When I go to system preferences then mail, contacts & calendars; I have an option to add different accounts. I click on Yahoo! add my Yahoo! ID and Password and I get this error: A connection error occurred. Does anybody know why this is happening, a

  • Invalid column name 'PROC_TYPE'.

    Hi all, After upgrading SAP ME to 6.1.4, IDOC are not coming in SAP ME Queue monitor and we see the following message in logs. [ERROR] [Enqueuer_0] Action: Runtime threw an exception. Exception: [com.microsoft.sqlserver.jdbc.SQLServerException: Inval

  • Help for inserting/updating new record

    hi, i am trying to insert new data in account record in CRM OD from java using (web service v2.0 ) following methods AccountInsertInput accountinsert=new AccountInsertInput(); accountinsert.setListOfAccount(accountDataList); Here accountDataList is o