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

Similar Messages

  • 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

  • Raw device owners change after reboot the server

    The raw device owner change after reboot the server. i have to adjust it manually like
    chown oracle:oinstall /dev/raw/raw*
    any idea to make it permanent after bouncing the Server?
    MY OS is RHEL4 & Rdbms 10.2.0.1

    I got my answer .
    New to Linex. Need suggestions...
    How i can create new file ? like i want to create file oracle.permission
    should i use this command
    touch <filename> or any other command?
    second i want to put these entries raw device 3, 6,7,10,11 etc
    shoud it work ? like in the oracle.permission directory?
    # ASM
    raw/raw[3671011]:oracle:dba:0660

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

  • How to access a JS changed attribute on the server side?

    hi all;
    if i change an attribute on a custom component via java script on the client side.
    how can i access the changed value on the server side?
    in what method will i have the access to this changed field?
    thanks in advance.

    You can hardcode the ID of the component in the backingbean (or some propertiesfile) and use ViewRoot.findComponent(componentId). Using the binding is (much!) more elegant anyway.

  • 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

  • Using the retouch tool, how do you make it change color? The old iPhoto one did, this one seems to be flesh-tone only, which is not how I need it to be. In old iPhoto, used the local color to blend, it was great.

    Using the retouch tool, how do you make it change color? The old iPhoto one did, this one seems to be flesh-tone only, which is not how I need it to be. In old iPhoto, used the local color to blend, it was great.

    I don't know which old version you're referring to but iPhoto 6's,  7's and 8's retouch tool works exactly the same as iPhoto 9's. The color of the enhance tool's area while applying is a light brown color but the retouch works on any color using the surrounding colors as a basis.
    During retouching:
    After retouching:
    OT

  • How to change language of the server monitor ?

    hi all,
    How to change language of the server monitor ? i got it in japanese and would like to turn it into English.
    Thx for your help,

    We use japanese strings only when your server locale has "jp": FindNoCase("Japan", GetLocale()) NEQ 0. So you may not be able to individually change  server monitor's flash client, but there are two ways to change it back to english on server level
    1) Check your server locale and change it to anything but japanese.
    2) Rename smresource_en.xml to smresource_jp.xml in CFIDE\administrator\monitor (take a back up).
    Thanks,
    Chandan Kumar

  • 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

  • I get the following error message day in and day out, what does it mean -- what can I do to make it go away? The server responded: "403" to operation CalDAVWriteEntityQueueableOperation.

    I get the following error message day in and day out, what does it mean -- what can I do to make it go away? "The server responded: “403” to operation CalDAVWriteEntityQueueableOperation."

    Now it keeps saying that it is restored but there is still no music or video on it. And a new error is coming up that says "We could not complete your iTunes store request.The iTunes Store is temporarily unavailable. Please try again later."

  • My Iphone 4 with iOS 5 changes without touching the glass the windows!

    Since a few days my Iphone changes the windows forward and backward without touching the glass. It's very annoying because writing a new sms is very diffucult because the content is deleted an i have start again several times.
    What can I do? I still reseted my Phone and put on it the Backup. But there are no changes.

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these Steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step... Be sure to make an appointment first...

  • If my computer is on a network, may I upgrade from OS 10.6.8 to Mavericks without affecting the server?

    My iMac is one of 3 computers on a network server. I'd like to upgrade mine to Mavericks to take advantage of additional functionality, but need to be sure before doing so that it won't affect functions fo the server or the other computers on the server.  Thanks.

    Depends. If everything including your system files and user folder are contained on your computer, then you can upgrade without causing any problems. However, for security I would log off the server until your installation is completed.
    Your profile shows 10.9.1, so what are you upgrading? That is the current version of Mavericks.
    Be sure to do this before upgrading:
    Repair the Hard Drive and Permissions - Mavericks, Lion/Mountain Lion
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.

  • How can I make a second copy so I can make some changes, but lose the original document?

    How can I make a copy of my new pdf convert to word document without losing the original document?

    Hi mariponce,
    Is it the Word document that you want to make a copy of, or the PDF? In either case, you can choose File > Save As (in the appropriate application), and give the file a new name. For example, if you have a file named "HappyTimes.docx," you could choose File > Save As, and name the file "HappyTimes2.docx." Then, you'll have two Word files, and you can edit one and leave the other intact.
    Best,
    Sara

  • How can i make a Full usage of the server's Rams

    Hello,
    is there any setting made in the registery or what ever b4 oracle installation to make the server take a full or a high perstage of the power capacity of the Ram since the server is very slow during processing.
    Configuration:db 9i,2 giga ram,3.2 m hz procssor.
    ====================================
    Regards,
    Abdetu..

    Thanks Tony for reply,
    but can u give me more details pls it's urgent,i have
    no back ground..!!
    where can i found the SGA and the PGA.?
    and how can i asign them value..?
    we were about to format the whole server..!!
    Clear and precise answers r highly appreciated..
    Abdetu..Playing around with the SGA and PGA parameters is not an simple task, any misconfiguration might slow down your server even more than it might speed it up.
    It has special calculation formulas which vary from system to another, you need to take into consideration the SQLs most frequently executed, use statspack to gather statistics, maybe the slow performance is coming from a missing index?? it can be.
    I suggest you read the documentation on [url http://www.oracle.com/pls/db102/to_URL?remark=ranked&urlname=http:%2F%2Fdownload.oracle.com%2Fdocs%2Fcd%2FB19306_01%2Fserver.102%2Fb14211%2Ftitle.htm%23BEGIN]Performance Tuning and search the [url http://forums.oracle.com/forums/forum.jspa?forumID=61]Database forum.
    Tony

  • How to do with  rfc module which one is changed without effect the applicat

    Hi Masters,
                     i have developed one  webdynpro java application with calling some rfc from r3 side. Now i add extra functionality in rfc . now i have to import that rfc without effecting  the already developed application. How can i do. i came to know that some option is there to do this. please give reply.

    Hello,
    If there is change in business logic without adding any additional parameter in RFC, you can directly use the RFC without importing it. There will not be any adverse impact on existing application.
    However, if there is any addtional parameter or structure change, then you have to re-import he model. It is recommended to restart the J2EE engine after model re-import to clear the metadata cache.
    You may need to do context binding based on your business logic and hence some amount of change is required in existing application.
    Let me know if it clears your doubt
    Abhinav

Maybe you are looking for

  • Multiple iPod's on the same computer????

    Does anyone know of a way that you can use two iPods (1 nano and one 60GB) on the same computer and have seperate libraries of music??? My roommate and I share a computer and both have iPod's but don't want the same music on our players; any thoughts

  • After up grading to Adobe Reader XI why can't I open any PDF files?

    I am running windows vista and had been using Adobe Reader 8 - when I upgraded,  can not open any PDF files. When I attempt to open a PDF file, I receive the following messages: Update available Please take a few seconds to update Adobe AIR and get t

  • Os 10.3.1 problems after update.

    after updating my z10 stl100-1 to the latest official os 10.3.1, i have noticed a few problems with my phone. 1. when i receive a call and after i pressed answer it delays a while. 2. when i am using the default browser, randomly it will restart my p

  • BPC 7.5 NW process dimension

    Hi , We have recently upgraded to SAP BPC 7.5 SP17 from SP14 . When processing one of the dimensions we observed i it is completing successfully but we see the below error.This is causing an error while loading dimensions data in extended analyzer. P

  • Where do we have to send back the old adapter ?

    I ordered the new replacement adapter via web and got the package from Fedex. There was a return label and when I took the package back to fedex, they told that it's not their return label. They told that apple sent via fedex but return is not throug