To know about the tsr in java

Hi
I am a novice in java world. I am very excited to learn tsr programming in java. I do not know wether it is possible or not in java. If it is possible please any one can help me.

If you use Linux/NT/2000/XP you can create a service with :
http://wrapper.tanukisoftware.org/doc/english/introduction.html
--Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Where we can know about the stuck threads without taking thread dump.

    Hi Everyone,
    Where we can View/know about the stuck threads without taking thread dump.
    Thank You

    Hi!
    WebLogic Server diagnoses a thread as stuck if it is continually working (not idle) for a set period of time. You can tune stuck threads in the Weblogic Server.
    You can tune a server’s thread detection behavior by changing the length of time before a thread is diagnosed as stuck, and by changing the frequency with which the server checks for stuck threads.
    It can be configured using below mentioned 2 parameters. These can be configured from Admin console -> Servers ->Configuration > Tuning tab.
    1)Stuck Thread Max Time
    2)Stuck Thread Timer Interval
    Although you can change the criteria WebLogic Server uses to determine whether a thread is stuck, you cannot change the default behavior of setting the “warning” and “critical” health states when all threads in a particular execute queue become stuck.
    There is a parameter "Stuck Thread Count" which can be configured from Console
    (Servers -> Configuration ->Overload -> Stuck Thread count) which helps to transition the Server to FAILED state once the stuck threads reaches the value.
    You can also use "OverloadProtectionMBean" for tuning. In Weblogic Server 9.x and later, it is recommended that you use the "ServerFailureTriggerMBean" in the "OverloadProtectionMBean".The ServerFailureTriggerMBean transitions the server to a FAILED state after the specified number of stuck threads are detected.The OverloadProtectionMBean has options to suspend or shutdown a failed server.
    WebLogic Server checks for stuck threads periodically. If all application threads are stuck, a server instance marks itself failed, if configured to do so, exits. You can configure Node Manager or a third-party high-availability solution to restart the server instance for automatic failure recovery.
    You can configure these actions to occur when not all threads are stuck, but the number of stuck threads have exceeded a configured threshold:
    - Shut down the Work Manager if it has stuck threads. A Work Manager that is shut down will refuse new work and reject existing work in the queue by sending a rejection message. In a cluster, clustered clients will fail over to another cluster member.
    - Shut down the application if there are stuck threads in the application. The application is shutdown by bringing it into ADMIN mode. All Work Managers belonging to the application are shut down, and behave as described above.
    - Mark the server instance as failed and shut it down it down if there are stuck threads in the server. In a cluster, clustered clients that are connected or attempting to connect will fail over to another cluster member.
    You can configure the "ServerFailureTriggerMBean" in the "OverloadProtectionMBean".
    Below is documentation link for "ServerFailureTriggerMBean" methods.
    http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13945/weblogic/management/configuration/ServerFailureTriggerMBean.html
    You can use getStuckThreadCount() method to check the number of stuck threads and transition the server to Failed State once itreaches the limit.
    getStuckThreadCount:
    int getStuckThreadCount() - The number of stuck threads after which the server is transitioned into FAILED state. There are options inOverloadProtectionMBean to suspend and shutdown a FAILED server. By default, the server continues to run in FAILED state. If the StuckThreadCount value is set to zero then the server never transitions into FAILED server irrespective of the number of stuck threads.
    Returns:
    The StuckThreadCount value
    Default Value:
    0
    Maximum Value:
    java.lang.Integer.MAX_VALUE
    Minimum Value:
    0
    Below is documentation link for "OverloadProtectionMBean" methods.
    http://download.oracle.com/docs/cd/E11035_01/wls100/javadocs_mhome/weblogic/management/configuration/OverloadProtectionMBean.html
    In the Admin console, you can set the "FailureAction" under Servers->Configuration->Overload to force shutdown the managed server once the server is in Failed state.
    The OverloadProtectionMBean has a method getFailureAction to achieve the same.
    getFailureAction:
    String getFailureAction() - Enable automatic forceshutdown of the server on failed state. The server self-health monitoring detects fatal failures and mark the server as failed. The server can be restarted using NodeManager or a HA agent.
    Valid Values:
    OverloadProtectionMBean.NO_ACTION, OverloadProtectionMBean.FORCE_SHUTDOWN, OverloadProtectionMBean.ADMIN_STATE
    If you start the managed servers using node manager, you can enable "Auto Kill if Failed" and "Auto Restart" in the Admin console, under Servers-> configuration->Health Monitoring. Node Manager will take care of restarting the managed server if you enable "Auto Restart".
    You can also configure the "Stuck Thread Count" and "Failure Action" to "Force Immediate shutdown of the Server" from Admin console under servers-> configuration-> Overload. This will help you to shutdown the server when the stuck thread count is reached. But there is no way to release the threads once they are stuck from the configuration.
    Suppose if you set the value of the Stuck Thread Count to 20, The server will be transitioned to failed state once the count reaches 20 and if you enable the Failure Action, the server self-health monitoring detects fatal failures and mark the server as failed.
    Depending on how you are starting the servers (custom scripts or Node Manager or startup scripts,...), you can restart the servers.
    For more details on this please refer to below link:
    http://www.oracle.com/technetwork/articles/entarch/workload-management-088692.html
    Hope this helps.
    Thanks,
    Cris

  • I need to upgrade memory slots on my Mac mid 2010 up to 4 GB module which is currently 2GB with two different 1GB memory  slots.Is it compatible and would like to know about the cost?

    I need to upgrade memory slots on my Mac mid 2010 up to 4 GB module which is currently 2GB with two different 1GB memory  slots.Is it compatible and would like to know about the cost?

    this sub forum is about running windows on macs maybe you should try
    https://discussions.apple.com/community/notebooks/macbook

  • How do we let Apple know about the Apple ID Issue?

    Hi, there seems to be an issue (Apple's end)  with signing in to the Itunes store and the Mac App store. How do we let them know about the issue? Their service status shows all green lights so it seems they are not aware of the problem.... I don't know about you but I'm getting really frustrated.. !! PS It seems that my warranty has expired so I don't have direct access to their support ?! HEEEEEEEEELP! THAAAAAANX!!!!!
    Milan, Italy, March 11

    Hi valelorandi,
    I understand that you are seeing an issue with your connection to the iTunes Store and Mac App Store. I have an article for you that will help you address this issue, and it can be found below:
    Can't connect to the iTunes Store - Apple Support
    https://support.apple.com/en-us/HT201400
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Hi, Dear. I purcahse my iphone 4S on of the guy, my problem is when i update any app from App store and i click update there is an e-mail address is coming which i doesnt know about the password, how can i revome the e-mail address for update our apps.

    Hi, Dear. I purcahse my iphone 4S on of the guy, my problem is when i update any app from App store and i click update there is an e-mail address is coming which i doesnt know about the password, how can i revome the e-mail address for update our apps.

    Yes. Delete the Apps that were not Purchased using Your Apple ID.
    But a Restore as New is the way to go.

  • TS3579 I found this useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up

    I found this  (TS3579: If the wrong date or time is displayed in some apps on your Mac Learn about If the wrong date or time is displayed in some apps on your Mac) useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data.  I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up in Finder. 

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • [URXVT] Did you know about the contextual menu ?

    Hey folks,
    I've been using urxvt for some years now but just realized that if you select some text, and do a Ctrl+right click, you get a menu with things like copy to clipboard or rot13 (??).
    Did you know about this ? Is it a new feature ?
    Are there more hidden things like this ?
    I know about the Ctrl+Shift keycapture mode.
    Cheers,
    ~k

    What would you like in the documentation? Do you have specific questions about particular components? Do you want examples? What's missing from the online help at http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/help/2update1/components/advanced_list.html?

  • HT1349 I want to know about the service of my computer with a serial number CO2GG9LCDJWT

    I want to know about the service of my computer with a serial number CO2GG9LCDJWT.   As I recall, I bought the service for three years...

    Are you perhaps trying to reach Apple Support?
    We are all users here, just like you.
    Contact Apple Support here:
    http://www.apple.com/support/contact/

  • Anyone know about the new SOi 6 update?

    anyone know about the new SOi 6 update?

    i think you should use nor again. and thanks but i figured it out

  • I know about the lack of boxes, but are there any more specific answers from Apple about what's going on for the ipod nano replacements?

    I've been watching the forums for a while now, and I know about the box shortage, but I'm afraid there are still some things that confuse me. It's been almost three weeks since I submitted a request for the first gen nano replacement program. Has anyone else been waiting this long? I admit, it's really frustrating to just have to wait with no word from Apple about when we can expect to recieve boxes.
    I was also wondering if there's been any sort of answer on what the mailed-in nanos are being replaced with. Brand new first gen nanos, new nanos of a different generation, refurbished nanos (first gen or otherwise)? Maybe I've been looking in the wrong places, but I haven't seen a definitive answer. Has anyone completed the whole replacement program who can answer this?
    Thanks for all the help! I was so excited when I first got the email telling me about this replacement program, but it's difficult when everything seems so vague.

    I was also wondering if there's been any sort of answer on what the mailed-in nanos are being replaced with.
    Call the replacement program (phone# is listed) & ask them. 

  • How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    How can I know about the latest updates / versions which when available for all the CC products, without having to install and check it with the Desktoip Creative Cloud Application ?

    Thanks for looking into this Jeff!
    I work with an Inventory module software and is responsible for software detection across several computers. Once an updated version comes up, I update our database with latest software details to get it detected if installed on any machines.
    The problem tracking updates with Desktop Creative Cloud Software are;
    1)We have to have it installed with the CC applications in-order to get the notification of the latest updates and have to check everyday.
    2)Only relates to the latest updates, so in-between we may miss a prior update unknowingly.Hence, the remote machines having those updates may not get  detected with the software version update which would create problem in reporting.
    3)For all CC products, there is no base or previous updates available for installation if we miss one.
    I went through the Adobe Products Update pages [Product updates] which holds good when it comes to Acrobat and Reader software which I follow to track down any newer updates but this is inconsistent when it comes to CC products like in After Effects CC, Dreamweaver CC etc...
    So overall to be very specific, is there any one channel I can follow to get the notifications only for the updates on CC products and then may be I can rely on Desktop Creative Cloud for installation if not available anywhere like in product update pages of Adobe ?
    Regards,
    Subrat

  • How do I know about the whole tables, sequences, triggers of the specific D

    Hello,
    I can check the whole tables of the db users with select * from tab; BUT can I know the whole META DATA of tables, sequences, triggers, procedures of a specific user?
    Best regards

    Raakh wrote:
    Hello,
    I can check the whole tables of the db users with select * from tab; BUT can I know the whole META DATA of tables, sequences, triggers, procedures of a specific user?
    Oracle doesn't expose the metadata just like that but shows it in the various columns of various views based on the object type, for example like for tables, it would be in the user_tables and so on. If you are interested in knowing about the metadata of a specific object, you should use dbms_metadata package.
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_metada.htm#ARPLS641
    HTH
    Aman....

  • I would like to know about the subtitles of movies...

    Hi!
    I'm from Greece an i would like to know about the subtitles of movies.
    Specially, how i can know that the movie i would like to buy or rent has greek subtitles?
    Thank you in advance

    I don't think there's a lot of technical information in those specs.  And most of these questions aren't straight forward.
    Easiest first, the color temp is around 5500-6000K, a little cooler than sunlight and will vary depending on power.
    The flash duration is a bit more vague and depends on when you draw the line (consider it to be off).  It can change the specs significantly.  The full power spec from Canon puts it at about 1/800 for the 580exII, but anyone who has tried to freeze motion at full power will tell you that's false.  I find it to be more like 1/200.  You can losely extrapolate the lower power times as flashes simply double duration to double power.
    Actually, I found this website that has some info on the 580II durations, which should get you in the ballpark for the 600.
    http://speedlights.net/2011/04/18/canon-speedlite-580ex-ii-flash-review/
    And David Hobby had a great article on it at Strobist:
    http://strobist.blogspot.com/2010/06/rise-and-fall-of-machines-understanding.html
    There's even more technical discussions you can dig up if interested.

  • I would like to know about the iphone 5 unlocked

    I would like to know about the iphone 5 unlocked
    Dose it support lte 1800 ghz gsm
    Coz i am moving to kuwait and their lte provider is for gsm 1800
    Thank u

    You should be fine based on this...
    http://www.apple.com/iphone/LTE/

  • Umair: I want to know about the new Apple Trade in program?If any apple employee on the forum,get in contact with me.

    Umair: I want to know about the new Apple Trade in program?If any apple employee on the forum,get in contact with me.

    iUmair wrote:
    I want to know how Apple measure the value of old iPhone?
    Then contact Apple and ask them.  Nobody here woul know.
    How can people from outside US can participate.
    They can't at this time.

Maybe you are looking for

  • Batch limit of 256 files in Acrobat Pro 8 and 9?

    I've recently encountered a problem where Acrobat Pro (8 and 9) will not batch process more than 256 files. I maintain a technical reference collection of 1500 PDFs that I sometimes run batch operations on for routine housekeeping.  I've been doing t

  • (Ex)gnomer's mini review (but long story:))of KDE 4.2

    Hello all, I've been a long time an Ubuntu user, and very happy with Gnome. I always considered KDE too bloated so I was feeling right at home with Ubuntu and Gnome. Because Gnome looks "flatter" I was thinking that it "should" be lighter than KDE. W

  • Exicise Duty Issue In MRP Indicator

    Hi Expert, My client is calcualting VAT on PO bas value. My PO bas value is 540960. But he change the base value in MIGO as below and entered the Manually BED, ECS, SCESS. while tick mark in MRP Indicator. Base value in MIGO:--440160 BED:--44016 ECS:

  • What Is Logic's Liquid Audio?

    I know this has been discussed. Links to threads would be appreciated. Also links to videos . ty Kaiser

  • Plantwise Number Range in PO/PR

    Hi, Our business requires Plantwise number range in Purchase Order and Purchase Requisition.And for that I need to define logic in such way that for XYZ plant and for ABC document type the number range should be 41. Please help me if there is any par