Is there any way to avoid stop/start of tomcat when a java file is modified

Hi all,
we are developing a tool where we use java files for mediation layer and jsp files for presentation layer. so whenever i do a change in any of my java source i need to stop/start the tomcat in order to get the latest change.
is there any way to avoid this kind of stop/start.... i want the changes to get reflected immediately after i compile the file.

hai ,
i wrote a sample test.jsp and TestJava.java file and i tried callin api getValue() in TestJava.java from test.jsp.then i did some modifications to this api i.e., i changed the return type from String to int . then compiled n also touched the file but the changes didn't get reflected instead i got the followin error.
Location: /support/jsp/test.jsp
Internal Servlet Error:
javax.servlet.ServletException: com.adventnet.itm.common.TestJava: method getValue()I not found
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
     at org.apache.tomcat.core.Handler.service(Handler.java:287)
     at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
     at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
     at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
     at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
     at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
     at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
     at java.lang.Thread.run(Thread.java:475)
Root cause:
java.lang.NoSuchMethodError: com.adventnet.itm.common.TestJava: method getValue()I not found
     at jsp._0002fjsp_0002ftest_0002ejsptest_jsp_3._jspService(_0002fjsp_0002ftest_0002ejsptest_jsp_3.java:63)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
     at org.apache.tomcat.core.Handler.service(Handler.java:287)
     at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
     at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
     at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
     at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
     at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
     at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
     at java.lang.Thread.run(Thread.java:475)
kindly help me ASAP.......
Tanxxx in advance,
Ani

Similar Messages

  • Is there any way to avoid a huge memory spike when using CGContextDrawImage for a high resolution image?

    Hi,
    I'm trying to fix the orientation of an UIImage in my app (iPad 2, iOS 7). I'm using the method described here: https://gist.github.com/alex-cellcity/1531596, but a huge memory spike appears when CGContextDrawImage is called. The image size I'm trying to fix is 2848x4288.
    Anybody knows any algorithm to avoid this huge spike?
    Thanks,
    Roberto.

    While I never done iOS code it appears that the code you link to basically does the following:
    takes a large image A
    generates a transformation matrix by doing rotation in 90 degree increments and by mirroring
    creates a large image B
    draws image A into B using the transformation matrix
    releases memory for image A
    goes on using image B
    This results in a memory peak as you have two large images in RAM, until image A gets deallocated, which can't be done until B has been drawn.
    I can see two possible solutions to this, both which probably require you to explicitly modify individual pixels:
    1) Try to simplify the solution - if 180 degree rotation and mirroring is enough to solve your image issues, then a simple in-place (same bitmap) pixel swap could be done.
    2) Find more memory -  if you need 90, 270 or arbitrary degrees of rotation as well, you could instead keep either image A or B on disc.
    Keep image A on disc: read pixels from disc and place appropriately in image B. This may require you to first load image A and write it back to disc as ARGB data (one byte for each color) for easy access.
    Keep image B on disc: get pixel from image A and place it at the right location in image (file) B - this will require pre-creating a file of the correct size for Bs ARGB data and then moving the insertion point for writing around. When done dealloc image A and load image B.
    Keep image A and B on disc: combine using disc for image A and B - this will minimize RAM usage but will probably be the slowest solution and will increases disc (SSD/flash) load and wear.

  • HT4137 Will doing this erase old text messages?  If so, is there any way to avoid losing them?

    I just looked read iOS: How to back up your data and set up as a new device.  I've been having a few bugs, but do not want to lose my old text messages.  Will setting up as a new device and then syncing erase old text messages?  If so, is there any way to avoid losing them?

    You will not lose text message, if you back up your phone correctly and then restore from that backup.  If your going to restore your phone as new and not from backup, then your text will not be there until you decide to restore from that backup.
    If you don't want to lose the message, take a look in the app store to see if you can transfer to your computer.

  • I just planned to install windows 7 on my MBP Mid-2012 using VMware Fusion,so i am bit panic about viruses and malware's affecting through vmware,is there any way to avoid from this??

    i just planned to install windows 7 on my MBP Mid-2012 using VMware Fusion,so i am bit panic about viruses and malware's affecting through vmware,is there any way to avoid from this??

    usamasheikh wrote:
    virus protection in vmware or on my running OS X 10.8.2??plz help me out
    First, you can install Microsoft's Security Essentials in the Win 7 VM and keep it up-to-date. Second, you can turn off Sharing in Fusion's System Settings to keep the VM environment separate from your Mac. Third, you can look into Sophos Anti-Virus http://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-mac-home-ed ition/download.aspx for the Mac host.

  • HT1766 When I have iCloud Backup ON, the battery runs down on my iphone really quickly.  Is there any way of avoiding this ?  Thanks

    When I have iCloud Backup ON, the battery runs down on my iphone really really quickly.  Is there any way of avoiding this.  I want to backup my iphone but don't want to be recharging all day.  Many thanks

    Are you sure the iCloud backup is causing this?  Unless you initiate an iCloud backup manually, it will only back up once per day when the phone is connected to your charger and wi-fi and has the screen locked.  It shouldn't otherwise be consuming any power.

  • Is there any way to prevent fields from being overwritten when importing data via xdp-file?

    In an pdf-form designed with LCD everytime the form gets merged with an xdp-datafile content of all fields get overwritten, regardless which data-binding (normal, global, none) is assigned to the fields and regardless if the fields are exluded in the xdp-datafile. Is this normal behavior and is there any way to prevent fields from being overwritten?

    The xdp-file is first exported from Acrobat Professional 8 (export data as *.xdp) to get the complete structure. Then in the xdp-file some fields are removed manually and other fields are filled with data. When the modified xdp-file is opened again with Acrobat Professional 8 it grabs the original pdf-form and merges the manually filled fields into the form. With the merge all other fields in the form are overwritten, even if they are not defined in the xdp-file. And that is what I want to avoid. I want to merge the xdp-file into the form and keep the data in fields not defined in the xdp-file.

  • Is there any way to export all of my parameters to a text file at once?

    I need my parameter for another report and i don't wan tot create same parameter again, i can export and import the parameters one by one but there are many parameter and i don't want to do this procedure for each of my parameter separately!
    My question is, is there any way to export all of my parameters to a text file at once?
    Thank you

    hi, Jamie Wiseman
    I think my question wasn't clear.
    what i am asking for i want to copy parameters itself as parameter to another report , not just parameter field name.
    I put some picture about where i want please check attached.
    As you see there is export function inside of export but i dont want to do this procedure of each of my parameters , i want to export them at once.
    SO do you have any idea for this

  • My iphone has turned off and is now not working. I plugged it into my computer and it said it was in recovery mode and i had to restore it to fix it. Is there any way i can fix this problem without loosing all my files and photos through restoring it?

    My iphone has turned off and is now not working. I plugged it into my computer and it said it was in recovery mode and i had to restore it to fix it. Is there any way i can fix this problem without loosing all my files and photos through restoring it?

    There's only one thing you can do: make an appointment with Apple genius at the Apple retail store for a out of warranty replacement.

  • I have an i phone ios5 and am purchasing an i pad2 both with i cloud.  I have already uploaded my i tunes files to the cloud.  is there any way to upload all existing i photo and i work files from my mac so that they may be accessed from my i pad?

    I am purchasing an i pad 2 and have an i phone i os 5.0 both with access to the cloud. i have backed up my i tunes files to the cloud.  Is there any way to back up all of my existing i photo files and i work files to the cloud so that I may access them with my i pad?  It's probably time to replace my mac but would like to postpone this expense for another year if possible. 

    There is limited iCloud compatibility on 10.5.8.  To learn what iCloud compatibility exists, visit this article:
    https://discussions.apple.com/docs/DOC-2551

  • Is there any way to avoid rebuilding my iPhone 4 every 6 weeks when "OTHER" fills up my memory?

    I am sick of rebuilding my iphone 4 every 6 weeks: setting up as a new phone, installing the apps again, reconfiguring them, rearranging them how I like them.
    It's a pain in the behind and a very good advertisement for Android at the moment.
    Is there a way to stop this from happening?
    It's to the point now that I call each build as "My iPhone (build YYYYMMDD)". So today's fresh install underway is Build 20120324. The last one was 20120214.
    The best Apple "support" could offer was to rebuild as a new iPhone each time.
    So, with "Other" growing in 6 weeks from <1GB to 5.3 today (when it filled my phone's memory), is there any way to stop this?
    My crappy, free, cheap Android tablet never has this problem!
    GEF.

    If you're restoring your phone so often, I'm minded to think it's something to do with one or more of the Apps and not the phone/iOS itself, (it's unlikely you'd get the same bug everytime).
    Use your phone for a few days and make a note of long it takes for 'other' to build. Then restore as new but this time only sync the apps you really need. Again, make a note of long it takes for 'other' to build.
    Maybe a process of elimination will tell?

  • Is there any way for play/stop to NOT apply to the metronome? [mainstage 2]

    I have EXS24 samplers triggered by drum pads, but like to be able to set one pad to [Play/Stop] so I can stop the samples on the fly. (in case I make a mistake or something) Problem is, I want to send the metronome to my drummer (via a different output on my interface) but I DON'T want [Play/Stop] to stop the click. Is there any way to get better control of the metronome? Does anyone with mainstage 3 know if this is an option? Can I re-wire it with logic 9 and run a click out of logic? Can't seem to get mainstage and logic to work together... Just need my click to run independently.

    What you may try is to replicate your base map but take the point theme out of its definition. Then create a second tile layer for the new base map. You can add both tile layers to the client (but set only one of them to be visible). Then simply switch the tile layers' visibility on/off based on user turning on/off the point theme. The built-in Oracle Maps tutorial #22 (Multiple Base maps) has some sample code you might be able to re-use.
    thanks
    LJ

  • Is there any way to avoid duplicate copies of .docx and .pages files?

    I frequently download .docx files (and .pptx/.xlsx, but let's just stick with .docx for now).  I'm getting used to the pages format, except every time I try to modify a .docx file, I can't save it again without creating a new file.  Ultimately I'll end up with a .docx version and a .pages version of the same file.  Is there any way to edit and save just the .docx version?  Or maybe even have the original .docx version replaced by a .pages version?

    When you open a Word document with Pages you get a translated-to-Pages file & the original Word document is unchanged. There are programs that will save over the original file such as LibreOffice. Pages will not.

  • Is there any way to default to the Bookmarks Toolbar when clicking on the Bookmarking star in the Address Bar?

    When adding a bookmark by clicking the star in the address bar, the bookmark automatically goes to the Unsorted Bookmarks folder, is there any way it can automatically go to the Bookmarks Toolbar? This is a minor inconvenience.

    Try:
    *Add Bookmark Here 2: https://addons.mozilla.org/firefox/addon/add-bookmark-here-2/

  • My iPad was just stolen is there any way to track or locate an iPad when you did not set up iCloud or any of the safety features and you don't have the serial number?  Sincerely , Been Robbed

    I just bought an iPad 4 from an individual - I have not had a chance to set up the iCloud tracking feature or any type of feature like  that - it was just stolen out of my car I do have my Apple ID and username is there any way I can track it or locate it or is there anything I can do it all??
    Sincerely,
    mad sad frustrated and ****** off
    I appreciate any advice you can go me!

    Kyston wrote:
    - I have not had a chance to set up the iCloud tracking feature or any type of feature like  that -
    Sorry... there is no way to track it then...
    See here > http://support.apple.com/kb/HT5668 for Lost or Stolen iOS device

  • Is there any way to activate the keep identity setting when using a Transfer SQL Server Object Task?

    Is there any way to add the "Keep Identity" option to the tables selected for transfer in a Transfer SQL Server Object Task?  It seems that would be very useful, yet I can't find an easily available setting for it.  I would prefer to
    accomplish this within the Transfer SQL Server Object Task since it can copy any new fields added to the source tables, as opposed to having to rebuild a custom Data Flow Task any time a table structure is altered.  I thought setting "CopyPrimaryKeys"
    to True would do the trick, but I found that only ensures that the column settings are transferred; when the transfer happens, the destination id column is populated based on the specified seed and increment value, not what's actually in the source table. 
    I'd like to point out that replication isn't really an option here. This is a package that runs a few times a day to keep some data on our website up to date with data in our protected corporate environment.

    IIRW there is FastLoadKeepIdentity specifies
    whether to keep an identity in OLEDB destination 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for

  • InDesign file saving and exporting S-L-O-W.

    I am a designer using the InDesign/InCopy layout workflow. After my last post things were working pretty good for awhile. But now it is taking more than an hour to save over the network. I tried putting everything in the same folder on the network (l

  • Images disappear when trying to mask

    When I try to make a clipping mask w/two objects (place objects, select both, create clipping mask), both disappear - they're still there, they just don't appear to be.

  • Print Status Dialog Box

    In my printer simulation, I want to display a dialog box that shows the print status. It should consist of a title bar with the X button, and a message. This message will update each time I change the string it uses. An OK (actually I'd prefer a Clos

  • Error in Connecting to MS SQL Server 2000

    Thanks for your reply. My Problem and the Error shown in the command prompt is: java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver Error Trace in getConnection() : com.microsoft.jdbc.sqlserver.SQLServerDriver Error: No act

  • WRT54GS Internet Access Restriction Policies

    I am finding it challenging to correctly define Internet Access Restriction policies on my Linksys WRT54GSv4 wireless router. Documentation does not describe multiple policies being enabled.  I think that multiple policies should be from most restric