Debugging mode in server - How does it work?

Hi
How does debugging mode in a server work ?
Is the code compiled line by line as we proceed or how ?
When we make a code change how is the hot code replaced when in debug mode and why not in normal run mode?
Why is it not necessary to restart a server when we make changes to jsp when in normal mode?
Thanks in Advance

How does debugging mode in a server work ?Just like in any othe rprogram.
Then how is it possible to change the values when
the program is running . i.e. we have a option that
we can change the values right !!
Because the debug api allows you to do that.
>
s the code compiled line by line as we proceedor
how ?
No. Line number information is stored in the.class
file, and the editor simply displays the line the
bytecode mentions. Whether bytecode and sourcecode
match is a different thing.
I had previously read that the compiler compiles
the code with break points at the beginning of every
class (for step by step method)
I agree with Rene. It happensthat you debug with the wrong source code and you will in that case notice that the debugger is saying that you are executing a line between methods.
>
>
When we make a code change how is the hot code
replaced when in debug mode and why not innormal
run
mode?I guess the executed bytecode for a method issimply
replaced in memory... the entry point was probably
stored and will be used to re-set to method entry
before running the new bytecode.
Then why is it not done when we are running the
server in the normal mode.
Why would it? What code should it replace it with?
>
>
Why is it not necessary to restart a server when
we
make changes to jsp when in normal mode?
Because the server can notice the change andunload
and reload the class.
I meant that when the jsp is compiled the servlet
is created when i run the server right.(i'm not
sure).
So when I change the code and without restarting the
server I run a jsp file it reflects the changes...
HOW??
Because some servlet runners can be configured to check changes on disk, and recompile if needed.
Kaj

Similar Messages

  • Linked clones , sysprep sql server , how does storage works

    Hi,
    I have created a sysprep install of SQL Server 2008 R2 . deployed linked clones from this templates.
    Everything works fine !!!
    I just want to know how the installatioon takes place. will the linked clones share the binaries and files from parent ?
    will there be any performance degration in future ?
    or all the SQL Server program files and installation files actually gets copied over ?
    What exactly happens ...
    Thanks

    The deployed linked clones of your SQL template contain only the difference in data between themselves and the original template.  Therefore when they are 1st deployed there is very little data attributable to them.  Once you've powered them on, and loaded some data in, the linked-clone's virtual disk files will contain, the difference between themselves and the base template, and will grow in size as they're used and data changes.
    So (overly simplifying things) the OS and SQL application will reside in the VM template, and the SQL data imported after clone/deployment will reside in the linked clone.  If you update the OS or SQL install (or make any otehr changes that will affect data stored on the VM's disks), these changes will occur in the linked-clone, but will still be dependant on the original template.
    So far as performance is concerned, there can be some performance drop when using linked clones as opposed to full fat VM's, in a similar fashion to normal VM's with snapshots.  Normally it isn't a problem, even if you have a chain of linked clones of linked clones, but it can be.  All depends on how much you need to push your SQL servers, and how much grunt is available from your ESX's and the storage that your VM's are running from.

  • How does this work?

    This is not a complaint, but a confused sigh of admiration. I've got an email account at the university where I teach. When I got my iBook, it took me a while, and a few conversations with IT at the school, to get this account working in the Mail application. (Since I have a Verizon DSL at home, I had to include that SMTP as the outgoing server.) Anyway, I synched this mail account (along with my AOL and .Mac accounts) onto the iPhone, and it works perfectly, both incoming and outgoing. I didn't have to change any of the settings. I thought I was computer savvy, but I can't wrap my mind around this. It seems like magic. How does it work?

    The sync process with iTunes transfers the email account settings (for your chosen accounts via your iPhone sync preferences) from the Mail application on your Mac to the iPhone's email application.
    The iPhone is running OS X and the iPhone's email client can be considered a mobile version of the Mail application.

  • Itunes 11.1.5 will not sync new apps with iPhone 5 iOS 7.0.6 and gives grayed out "install" no message?  How does one work around this?

    Itunes 11.1.5 (MacBook Pro,OS 10.6.8) will not sync new apps with iPhone 5 iOS 7.0.6 and gives grayed out "install" no message?  How does one work around this?

    Just reboot your laptop... While its rebooting try to reboot your phone also by holding the home and power buttonn for 10-15 seconds...When your phone is turned off try to connect it to iTunes and it will recognize your phone in recovery mode.
    If you have the .ipsw file for iOS 7.0.6 saved in your desktop then in itunes press shift and click on Restore.
    Select the ipsw file and let it restore.
    If you dont have it downloaded then simply click on restore.
    I hope it works
    Cheers !

  • What is efax and how does it work?

    Hi!
    eFax® is a service provided by eFax®, not Hewlett-Packard, that allows you to send and receive faxes using the Internet rather than a phone line. eFax® is easy to use, but it is different than a typical phone-based fax machine. You don't require a phone line to use it, so you don't have to worry about busy signals and you can place your printer where you want it, not where the phone jacks are located! The fax number you are provided will not typically be a local number, and may even be in a different country. You will receive 20 incoming and 20 outgoing fax pages per month for free with this service. Your page counts will reset at midnight Pacific Time on the first of each month. You can also subscribe to eFax® Plus to obtain additional pages per month by visiting: http://www.eFax.com/products/internet-fax.
    How does it work?
    eFax® uses the printer Internet connection to send and receive faxes. When you send a fax, it is sent over the Internet to the eFax® server and then eFax® sends your fax to the recipient's fax machine over a standard phone line.
    Your faxes are received in a similar manner, but the order is reversed. The sender sends the fax over a phone line to eFax® and then eFax® sends the fax to your printer using HP's ePrint service.
    This question was solved.
    View Solution.

    Hi Im_cheesecake,
    Great information, if you don't mind I just wanted to piggy back off of your post, to clear any potential confusion.
    The 20 free incoming & 20 free outgoing faxes are with HP printer's that include the eFax service print app.  As of now, we have three printer series' that include the pre-installed eFax print app: HP Photosmart 7510 Series, HP Envy 110 Series, and the HP Photosmart eStation C510a.  
    eFax also has a free plan which allows you to receive a limited number of faxes but does not allow you to send any faxes. If you exceed the number of received faxes allowed, eFax will prompt you to upgrade to a paying account. Here are the main details of the free plan:
    One remote (i.e. non-local) eFax number
    Area code/prefix is selected by eFax and cannot be changed (unless you upgrade to a paid account)
    20 incoming fax pages per month (receive-only)
    You are prompted to upgrade to a paying account if you exceed 20 incoming pages, or if you need send capability.
    Say "Thanks" by clicking the blue Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"; therefore, it's easier for others to find.
    I am an HP employee.

  • How to start weblogic in debug mode ? and how to set the eclipse in the deb

    how to start weblogic in debug mode ? and how to set the eclipse in the debug

    Put this in JAVA_OPTIONS :
    Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
    After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999)

  • Outbound Dialer records to cache. how does it work?????

    Im confused, on the campaign manager one of the settings for the campaigns is
    Records to cache.  The Outbound guide says that this is "the minimum number of dialing numbers
    that each dialer caches for each of your outbound option skill groups.  Default is 100"
    how often does it cache?
    how does this work?
    Lets says I have an agent campaign mode:Predictive_Blended,
    Records to cache: 1, everything else default.
    My Admin script is set to cycle every 1 minute.
    does this mean that 1 record get cached every minute?
    thanks

    Hi
    From what I have seen it is the number of records that the dialer fetches from the database at any given moment. The dialer cahches these records and dials them.  As soon as it exausts then it fetches more.
    Victor

  • Corecell, how does it work?

    Hello!
    I'm being puzzled by Corecell features. MSI web pages tell me that Corecell has four different settings (Speedster, Buzz free etc.). I have installed Core Center (ver. 1.6.1.0) but there is no possibility to change into Buzz free mode.
    How can it be changed? I have found fan controls and auto-button but do I have to make settings by my self? Auto-button does not have any effect!
    Thanks in advance for your help!
    Niko
    system specs:
    Antec 380W True-Power
    MSI KT6 FISR
    AMD Athlon XP 2600+ Barton
    512Mb DDR400
    80Gb Samsung S-ATA HDD

    You gotta throw use a bone here... How does what work? More info please.

  • What is "Assisted GPS" on the iPad and how does it work?

    What is "Assisted GPS" on the iPad and how does it work?

    I purchased the iPad mini Wi-Fi & Cell because it has GPS. OK, it is assisted GPS but the GPS works very well as stand alone. I got the iPad mini for use in flight, so I dont even have a sim card in it. The GPS works perfectly in flight under all conditions. I have cross checked it against typical approved aircraft installations and it is very accurate at all times. I use it in Wi-Fi mode on the ground when updating my aviation database, when planning a flight, or similar circumstances. The primary advantage of A-GPS is quick location reading when first turned on, when on the ground where the GPS satellites signal may be of reduced quality. At 10,000 feet plus, it is a stand alone GPS. I have frequently turned the iPad off in flight for periods of time and when powering up, it gave me accurate positioning in a few seconds, never exceeded 10 seconds. I have also tested my iPad on the ground, using the aviation maps, and the GPS works perfectly also.
    It remains possible that there is some feature that enhances the GPS when on the ground, even if there is no sim card in the iPad. But I doubt that any of these would work in an aircraft at high altutide. Nonetheless, I would appreciate knowing more about this.

  • What is 'mobile account' and how does it work?

    This is a hidden feature in Mac OS Leopard, that I believe require an Leopard Server on the network.
    I have not found it in the regular user interface, but it can be revealed by following the below process:
    1. Go to System Preferences > Accounts
    2. Unlock
    3. Search for mobile account, and press Enter
    4. Wait for the Mobile account options to show up
    What is this feature? How does it work?
    I have found no references to it in the normal documentation.

    Google is your friend:
    "A mobile account is a Mac OS X Server user account that has been copied to a local computer and remains synchronized with the server account so that both locations contain a matching set of data."(Mac OS X Server User Management, p. 46).
    And it has been around since 10.3, so it is not something new to Leopard.
    see: http://www.afp548.com/articles/Panther/mcx2.html

  • What is Bootstrapping in LYNC ? how does it work?

    could anyone explain..whats bootstrapping in LYNC? how does that work? what is it used for.??

    bootstrapper.exe is called by setup.exe, bootsrapper.exe is responsible for deployment and configuration of server roles.
    The bootsrapper receive the configuration from the configuration of the topology builder
    regards Holger Technical Specialist UC

  • ORACLETEXTSEARCH - How Does it work?

    Hi experts,
    I had a many disccusions with my coleagues about ORACLETEXTSEARCH in the UCM11g. We found that we don't undestrand How does it work.
    I have a basic questions:
    1. Does ORACLETEXTSEARCH use only database engine for the indexing?
    2. Can I start fulltext indexing without Oracle UCM? Only by database.
    3. Are some differences between UCM10g and 11g?
    Thank you for the answers and the explanation.
    Martin

    1. Oracle text is a DB tool installed at the DB level, however as others say the triggers to kick it off are done by UCM not independently at the DB. I do not think it could work that way.
    2. No, but other indexing options are available like SES
    3. 10g required a component to be added to the UCM server and required an 11.1.0.7.0 or greater oracle DB. 11g requires no extra component but still has the db requirement.
    SES can be configured to index multiple different repositories (including UCM) and you can control the index rebuilds directly from SES as an option for number 2.

  • How does autoFS work?

    How does it work? I guess on a more technical aspect. Why do some of my samba shares not show up? Would they show up better if they were afp or ftp or something? And why do they then show up after I go to server and put in the ip address? I've added a share to my login items but I guess that only means when I boot up and not when I login from sleep. I even have an alias to a folder on the share on my desktop hoping that would create the link needed but it doesn't really work. How can I make the Finder/AutoFS scan the network for shares?

    AirPlay is a means to wirelessly stream audio from your iTunes host device to an AirPlay-Ready one. Both the AirPort Express and the Apple TV are examples of AirPlay-Ready devices.
    Please see the following Apple Support article for more information: Using AirPlay

  • How does it work the reading (list) function on a mac?

    Hello there,
    Well, I was wondering how does it work, I mean, What's necessary to get this funtion work.. When you're reading something you see that there's is an options it lets you to get in a reading mode but sometimes some web pages won't let you do that
    Why?
    How does it work?
    Shortcuts:
    To show reading mode (shift + comand + R)
    To show the list bookmarks (shift + cmd + L)
    Thank you very much

    Then there's something going on with Safari on your Mac.
    Try troubleshooting Safari extensions and third party plugins.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test. If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow all other plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.

  • My iPhone was stolen and I have contacted the police who are using the meid number to locate.  How does this work and what are my chances of getting the phone back?

    My iPhone was stolen.  I used Find My iPhone app to lock it and display a message.  The phone has not connected to the internet to locate it.  I contacted the police and they have taken my meid number.  How does this work and what are my chances of getting the phone back?  Are there other ways the theif can use it.  I was told once they put in a new sim card and use it, whatever software the police have, it will show up.

    Honestly? In the US (I can't speak to other countries, though I doubt it works much differently in a lot of the world) The police took your report and filed it either in their computers or, on paper. They will now not think of this again. The only time it will cross anyones mind is if, in the course of entering information into evidence about items recovered or seized at a crime scene, the serial number of an iPhone that was found/seized happens to match yours, in which case you will be contacted.
    The police in the US can and will do nothing to 'blok' the phone and it's not worth their time to try and locate it unless you know for a fact that it was stolen by a big time drug lord, master criminal, or some other such prime target and they can get a court order to track the location of the phone in order to locate this individual for your own purposes.  If they do that, they'll probably keep him under surveilance for a year or so before they act.
    Basically, the police don't care about your phone. If they find it, they will give it back to you. They are not, however, going to go looking for it. They have better things to do.
    I'm sorry, but that's the way it is.

Maybe you are looking for