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>

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • Is it possible to deploy an EAR to a Netweaver AS without restarting the AS

    The application has been designed to use multiple Java Resource bundles that contain various messages and properties that are updated quite often.  The Resource Bundles have been separated into separate SCAs so that they can be deployed separate from other parts of the application.  Is it possible to deploy the EARs contained within these SCAs without restarting the Java AS?
    We are working with NWDI 7.1 deploying to Java 1.5 running on zLinux

    Hi,
    That should be no problem at all. Any machine with or without NI software can use an FTP client to transfer files to and from an RT target such as CompactRIO.
    You should be able to build the executable on the development machine, transfer it via USB drive to another machine and then use FTP software to transfer the file from there. You'll just need the IP address of the target and login information.
    For more information on FTP transfer with or without MAX to RT targets, see the following KB article:
    http://digital.ni.com/public.nsf/allkb/4DCF9D581C491E9F8625711B005FA539?OpenDocument
    I hope this helps, please don't hesitate to reply with more questions on the subject.
    Regards,
    Tom
    Applications Engineering, NI UK

  • 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

  • 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…

  • Site does not load after some minutes of creation or after restart the server

    Hello,
    I have been asked to create a test enviroment identical to the production enviroment. So, what I did was:
    Backed up the production web application's content database: Prod_WSS_ContentDB
    Created new test servers (domain controller, sql server and sharepoint 2013 server) in a new, completely isolated, network environment, without any connection with the production environment (specifically Azure)
    Created a new web application in test environment with a new content database.
    Dismounted the new content database with powershell: Dismount-spcontentdatabase Test_WSS_Content
    Copy the Prod_WSS_ContentDB database to the test sql server and restored it with Management Studio.
    Mount the Prod_WSS_ContentDB databe to the web application with powershell:
    Mount-spcontentdatabse Prod_WSS_ContentDB -WebApplication http://testsp/
    Then, when I type http://testsp in the browser it redirects me to http://testsp/SitePages/Home.aspx
    and the site loads exactly as the production environment.
    But, after some minutes, or if I restart the Sharepoint Server, when I navigate to
    http://sitesp I am redirected to http://testsp/SitePages/Home.aspx
    as expected, but the site does not load, the browser just show a complety blank page.
    The Central Administration site loads normally.
    Trying to fix it I found that if I dismount the content database Prod_WSS_ContentDB, then mount the test database Test_WSS_Content,
    then navigate to the site, dismount Test_WSS_Content and finally mount again Prod_WSS_ContentDB, the site loads normally, no blank page, but after some minutes or if I restart the same happens again.
    For the error event I receice in event viewer it seems that the problem is related to database. I have not found a solution for this error... How can I solve  this?
    The error is:
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Date:          6/27/2014 2:44:22 PM
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:      
    User:          UCETEST\spaccount
    Computer:      TESTSP01.ucetest.edu.do
    Description:
    Unknown SQL Exception -2146893055 occurred. Additional error information from SQL Server is included below.
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
        <EventID>5586</EventID>
        <Version>15</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-27T14:44:22.743159500Z" />
        <EventRecordID>4742</EventRecordID>
        <Correlation />
        <Execution ProcessID="1688" ThreadID="1692" />
        <Channel>Application</Channel>
        <Computer>TESTSP01.ucetest.edu.do</Computer>
        <Security UserID="S-1-5-21-2552298216-324766354-3392103171-1108" />
      </System>
      <EventData>
        <Data Name="int0">-2146893055</Data>
        <Data Name="string1">A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)</Data>
      </EventData>
    </Event>
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

    Hi,
    According to your post, my understanding is that Site does not load after some minutes of creation or after restart the server.
    Please make sure you create a test environment for existing production site correctly.
    Here are some great articles for your reference:
    Moving content between SharePoint environments
    Copy SharePoint production data to a test environment
    Build a SharePoint 2010 Test/Development Farm
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support
    Hello Linda Li,
    I follwed that steps to create my test enviroment... and I have recreated it some times using that same steps, but the problem persits. After some minutes or after I restart the SharePoint server the site does not load.
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

  • 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

  • How do I restart apex without restarting the database?

    As the title says... How do I restart apex without restarting the database?
    For the second time in as many weeks apex 3.0.1(?) has stopped working while the database (10gR2) hasn't missed a beat.
    How do I restart apex?
    How do I get it to restart automatically on failure.
    How do I receive failure notification messages.
    How do I diagnose the cause of the failure.
    We were looking at using apex in a production environment but the prospect of unplanned restarts of production databases every week is a little daunting.
    Regards,
    David

    David,
    >> We're not using oracle http server as it's a 64 bit version so yes the whole thing is running within the database.
    1) So your Web server is the XDB HTTP protocol server and embedded PL/SQL gateway (basically, the database's embedded Web server)? Is this 11g? If so, what platform?
    2) Are there any reported issues in the database alert log?
    3) When you check the status of the database listener, does it show services running for this specific port (default 8080, I guess)?
    4) If you normally go to http://server:port/apex, when this situation occurs, what happens when you try and go to http://server:port?
    Joel

  • How to disconnect internet connection in Time Capsule and reconnect without restarting the whole device?

    Hi, I would be very grateful if someone could tell me how to disconnect internet connection in Time Capsule and reconnect without restarting the whole device?
    The thing is that as I have a dynamic IP address, everytime I restart the internet connection my IP address changes. I sometimes need it to change, so I need to restart the connection. I don't know another way to restart the connection than restarting the whole Time Capsule.
    Thanks!!
    PD: the computer I use is Windows based, using the Airport Utility for Windows, but I also have a MacBook Pro I could use and an iPhone too.

    The utility in windows is very like Mac so the screenshots are from Mac as I don't have windows available now.
    How this works depends on the setup of the TC.. which you did not tell us.. you cannot change anything if you do not have the TC as the main router in the network.
    So on the internet tab you need to share a public IP address.
    On the next tab where you set IP address.
    Click the renew IP address.
    It might work.. and it might not.. the problem is you are not disconnecting the network.. sometimes the hard disconnection is required before the address will renew..
    What about unplugging the WAN port.. then click renew the IP which will fail.. then plug the wan back in again.
    In the end it is easier and faster to power cycle the TC.

Maybe you are looking for

  • Using external hard drive connected to desktop as time machine disk for laptop

    I recently purchased an external hard drive for the purpose of backing up my laptop and desktop macs. Both are running Mountain Lion (10.7.5). The desktop is physically connected to both the hard drive and to my modem. I have enabled pretty much ever

  • Site Web Analytics Reports - accessdenied.aspx - which page/list/library?

    When I go to the Site Web Analytics Reports of a site and check the "Top Pages" I see on the 1st position "/_layouts/accessdenied.aspx". How can I know on which page/list/library they where when they had the access denied? For example, I have 100 "vi

  • How can I minimise data corruption?

    Mac OS X is great, and one of the greatest things it has achieved is an environment so stable that it almost never crashes. However, for me the next BIG problem with using computers is data corruption. Data corruption problems bug my life as much now

  • Pdf's from mac to playbook, reader won't open?

    I saved pdf files from mac to documents folder on playbook , I launch acrobat reader, I see pdf files but when i try to open, an error message appears that says "file path not valid".  Can anyone shed some light on this? Solved! Go to Solution.

  • Regarding wieghted average

    Hi I have a requirement like this pasted below to calculcate the weighted average. A        B      C=B*A   Wtd avg 2     300$     600$     1.92 1     200$     200$     (1250$/650$)=1.92 3     150$     450$     1.92 Overall Result: 6     650$     1250