JVM hand on heavy load

Hi,
We encounter a recurent problem with JVM hanging on production platform (RH9, JVM 1.4.1) and locked thread in a "curious" state, here is (one of) our stack trace :
"reaper:user" daemon prio=1 tid=0x0x698267f0 nid=0x6e3d in Object.wait() [69afe000..69aff010]
at java.lang.Object.wait(Native Method)
- waiting on <0x47cf4e38> (a java.util.Hashtable)
at org.webmacro.broker.ResourceManager$1.run(ResourceManager.java:164)
- locked <0x47cf4e38> (a java.util.Hashtable)
"reaper:template" daemon prio=1 tid=0x0x69826620 nid=0x6e3d in Object.wait() [69a7e000..69a7f090]
at java.lang.Object.wait(Native Method)
- waiting on <0x47cf4eb0> (a java.util.Hashtable)
at org.webmacro.broker.ResourceManager$1.run(ResourceManager.java:179)
- locked <0x47cf4eb0> (a java.util.Hashtable)
"reaper:config" daemon prio=1 tid=0x0x69825ae8 nid=0x6e3d in Object.wait() [699ff000..699ff110]
at java.lang.Object.wait(Native Method)
- waiting on <0x47cf4f28> (a java.util.Hashtable)
at org.webmacro.broker.ResourceManager$1.run(ResourceManager.java:179)
- locked <0x47cf4f28> (a java.util.Hashtable)
Our product is a mobile "web" (in fact wap) application and use an old webmacro version, but we encounter the same problem in other code section: a thread which own a lock wait later in the program for this lock ?
Have anybody encounter this problem ? Is this related to an internal JVM process which will own the lock (GC ?) ...
We have planned to update the JVM version to a more recent 1.4.2 and I've also read RH9/NTP may have some pthreads problem but I'm not sure this will solve the problem.

A code defection is always possible, but our platform handle 200 to 1000 req/s perfectly for hours, load balanced with more than ten java server where some of them don't restart for several days.
For a long time we note java server hanging and we have in our production environment external process examining server activity (logs) and restart them if required, sending a "kill -3" to output a stack trace we can examine later (very useful to find and workaround application bottleneck).
Reading carefully the stack trace show that all waiting threads are "waiting on condition" or "- waiting on <...>", all other threads are runnable. Reading http://java.sun.com/developer/technicalArticles/Programming/Stacktrace, the threads are in CW or MW states which are "normal states" but I don't know for our problem where is the monitor at this time !
We encounter this condition each time a code is using a "synch. object": Vector, Hashtable ... with additionnal synchronized blocks, for example :
Hashtable xyz;
synchronized(xyz) {
xyz.put(...);
Replacing the Hashtable with a simple HashMap and managing the lock ourself solve the problem (we don't encounter other hang in this code later). Sometimes the problem occur in code we don't own : JVM internal: Class loading, String.intern(), Date format "static synched" ... or external components we use.
I admit the problem may be elsewhere and the stack trace we examine are perhaps "normal JVM states", showing only slower because "critical" code section. But it may be also a JVM monitor problem which show in stack trace where our application need synchronized objects !
We will try upgrading the JVM version.

Similar Messages

  • Cluster load balancing problems under heavy load.

              Hi,
              I am running 2 WLS 5.1 sp6 application servers on Solaris 7.
              2 Apache 1.3.12/Raven SSL webservers using the Raven proxy (also
              Solaris).
              My problem is this:
              The application appears to be load balancing and replicating
              session information fine under regular load. But when a heavy
              load is put on the system, load balancing seems to stop.
              One of the application servers processes all of the sessions
              while the other is just replicating session info. The CPU
              usage on the server doing all of the work was 60%, and on the
              secondary server it was only 2.5%.
              Do I have something set incorrect? I would think that if load
              balancing works for a small load on the system, it should be
              the same for a large load.
              Has anyone seen this type of behavior before?
              Thanks
              

    1.5G of heap is quite huge. Take a thread dump when you see the slow down.
              Does each clients start a new session and maintain it for the duration of the test.
              There is no property called weblogic.cluster.bindAddr
              -- Prasad
              Nick Barbato wrote:
              > Hi,
              >
              > There are no 'timed out server" messages in the log. I don't think
              >
              > that is the problem because I can see the secondary server
              >
              > replicating session information.
              >
              > It is jdk1.2.2_005a. The java options I am using are:
              >
              > java $THREAD_ARG \
              > -ms1536m -mx1536m \
              > -classpath "$CYGENT_SYS_CP" \
              > -Dweblogic.class.path="$CYGENT_WLS_CP" \
              > -Dweblogic.system.home=$CYGENT_ROOT/runtime \
              > -Dweblogic.system.propertiesFile=$CYGENT_ROOT/runtime/conf/weblogic/weblogic.properties
              >
              > \
              > -Djava.security.manager \
              > -Djava.security.policy==$CYGENT_ROOT/runtime/conf/cygent.policy
              > \
              > -Dcygent.root=$CYGENT_ROOT/runtime \
              > -Dweblogic.cluster.enable=true \
              > -Dweblogic.cluster.name=mycluster \
              > -Dweblogic.cluster.bindAddr=166.37.216.142 \
              > -Dweblogic.cluster.multicastAddress=237.0.1.0 \
              > cygent.Server $CYGENT_ROOT/runtime/conf/
              >
              > Thanks,
              > Nick
              >
              > "Mike Reiche" <[email protected]> wrote:
              > >
              > >I've seen this before - when one WL instance drops out
              > >of the
              > >cluster.
              > >
              > >Look for 'Timed out server' messages in weblogic.log.
              > >
              > >What JDK are you using? What JVM options.
              > >
              > >Mike
              > >
              > >"Nick Barbato" <[email protected]> wrote:
              > >>
              > >>Hi,
              > >>
              > >>I am running 2 WLS 5.1 sp6 application servers on Solaris
              > >>7.
              > >>2 Apache 1.3.12/Raven SSL webservers using the Raven
              > >proxy
              > >>(also
              > >>Solaris).
              > >>
              > >>My problem is this:
              > >>The application appears to be load balancing and replicating
              > >>session information fine under regular load. But when
              > >>a heavy
              > >>load is put on the system, load balancing seems to stop.
              > >>One of the application servers processes all of the sessions
              > >>while the other is just replicating session info. The
              > >>CPU
              > >>usage on the server doing all of the work was 60%, and
              > >>on the
              > >>secondary server it was only 2.5%.
              > >>
              > >>Do I have something set incorrect? I would think that
              > >>if load
              > >>balancing works for a small load on the system, it should
              > >>be
              > >>the same for a large load.
              > >>
              > >>Has anyone seen this type of behavior before?
              > >>
              > >>Thanks
              > >
              

  • Note: Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time

    Dear all,
    sorry for opening another thread on this.
    I think I have a performance issue with workflows attached to document sets in SharePoint. And I say “I think” because people keep telling me that this is the way it just is.
    The user creates a new document set, which triggers a workflow in which the user has to confirm/review/approve a series of tasks. The time it takes from clicking the OK button on those task form to the workflow status moving to the next step is about 4 seconds.
    And visiting that status page within those 4 seconds brings up the infamous “Note: Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time.” message.
    Hitting Refresh in the browser after those 4 seconds will make the new workflow status appear and the red text go away.
    Is that normal? Is that the performance that everyone else is seeing as well?
    I struggle to see why simply moving a workflow from one task to another should take that on a machine that isn’t doing anything else at the time.
    (1)   
    I have a standalone (non-clustered) SharePoint box, 4 CPUs, 8 GB of memory, more than half of that available, acting as application server and wfe; only the database is on different box.
    (2)   
    The CPU only goes up to 18 or 19%, so CPU does not seem to be the bottleneck. Half the RAM is also still free.
    (3)   
    The workflow is designed with Nintex, and has about 9 flexi and review tasks – the last 2 of them in a loop iterating over typically 3 or 4 items.
    (4)   
    Looking at the logs it looks like the processing in Nintex only takes about 1 second – I don’t know where the other 3 seconds are going.
    (5)   
    There is nothing obvious in the logs.
    (6)   
    We’ve looked at all the “theoretical” improvements around throttling and batch sizes etc. – none of them appeared make any difference. And the workflow is so small that it looks like my tasks gets executed straight away. The problem appears
    to be that the execution takes too long(?) and therefore has not finished by the time the page get redrawn.
    (7)   
    I am running perfmon and I can e.g. see one(!) workflow being loaded into memory – as expected as I am the only user.
    (8)   
    I am seeing a total of 3(?) SQL queries being executed(?). I get the Bytes Sent/sec spiking at 25K, and Bytes received at 18K. But is this good or bad or a bottleneck?
    Where do I take it from here?
    I have been told that “[…] most customers have no issue with this as they are used to the way SP operates and it can be slow at times.” Is it really that bad?
    If it is worth watching more performance counters then I’d need to know what to compare them to.
    Is there something else I am missing?
    Thanks
    Martin

    Hi,
    Before considering an additional hardware try to change following configurations for workflow:
    Increase Throttle Size
    Increase Batch Size
    Time Out
    Workflow Timer Interval
    AutoCleanUpDays
    Increase Throttle Size
    The Workflow throttle setting controls how many Workflows can be processing at any one time on the entire server farm. By increasing the throttle it will allow the number of Workflows execution or can be initiated at a time.
    Use below PowerShell command to get the current Throttle Size:
    Get-SPFarmConfig | Select WorkflowPostponeThreshold
    Use below PowerShell command to set new Throttle Size:
    Set-SPFarmConfig -WorkflowPostponeThreshold 100
    Increase Batch Size
    This is the size that determines number of events processed for a single Workflow instance. Default value is 100, but it can be range from 1 to any number.
    Use below PowerShell command to get the current Batch Size:
    Get-SPFarmConfig | Select WorkflowBatchSize
    Use below PowerShell command to set new Batch Size:
    Set-SPFarmConfig -WorkflowBatchSize 200
    Time Out
    This decides the time out of the Workflow event. The default value is 5 and can be any integer. The time is in minute.
    Use below STSADM command to get the current Time Out value:
    stsadm -o getproperty -pn workflow-eventdelivery-timeout
    Use below STSADM command to get the current Time Out value:
    stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv “15″
    Workflow Timer Interval
    This setting is applicable at Web Application level and not the farm level. The workflow timer interval specifies how often the workflow SPTimer job fires to process pending workflow tasks. This interval also represents the granularity of delay timers within
    your workflow. If a timer is set to delay for one minute, but the interval timer fires only every five minutes, the workflow delays for five minutes, not one minute.
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o getproperty -pn job-workflow -url <Web Application Url>
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o setproperty -pn job-workflow -pv “Every 10 minutes between 0 and 30″ -url <Web Application Url>
    Here is the url for reference :
    http://praveenkasireddy.wordpress.com/2013/06/14/workflow-due-to-heavy-load-the-latest-workflow-operation-has-been-queued-it-will-attempt-to-resume-at-a-later-time/

  • Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time.

    I have SharePoint 2010 Enterprise running SP1. Configuration is one SharePoint server in the farm and a SQL 2008 R2 database for the backend. Our user environment is 80 users with very little load on the SharePoint server. I have the workflow timer
    set to 1 minute.
    I have a SPD workflow that starts manually on a form library. Whenever I publish a new version of the workflow, the next time I start the workflow it takes the full minute to finish. If I click on the workflow status before it finishes, I see the message
    "Due to heavy load, the latest workflow operation has been queued. It will
    attempt to resume at a later time.". After the minute completes the workflow finishes.
    Here's the weird thing, the next time I start the workflow, it runs in a couple of seconds - almost instantly. I've tried up to 15 times after the inital publishing and everything seems to work fine on initiation.
    Well, that would be fine for me, however, I intermintantly get this heavy load message during task processes that are running inside the workflow. It's probably less than 5% of the time. It's really frustrating though so I appreciate some help. I'm look
    online and haven't found anything that describes my situation.
    Thank you in advance!

    Hi,
    Before considering an additional hardware try to change following configurations for workflow:
    Increase Throttle Size
    Increase Batch Size
    Time Out
    Workflow Timer Interval
    AutoCleanUpDays
    Increase Throttle Size
    The Workflow throttle setting controls how many Workflows can be processing at any one time on the entire server farm. By increasing the throttle it will allow the number of Workflows execution or can be initiated at a time.
    Use below PowerShell command to get the current Throttle Size:
    Get-SPFarmConfig |
    Select WorkflowPostponeThreshold
    Use below PowerShell command to set new Throttle Size:
    Set-SPFarmConfig -WorkflowPostponeThreshold
    100
    Increase Batch Size
    This is the size that determines number of events processed for a single Workflow instance. Default value is 100, but it can be range from 1 to any number.
    Use below PowerShell command to get the current Batch Size:
    Get-SPFarmConfig |
    Select WorkflowBatchSize
    Use below PowerShell command to set new Batch Size:
    Set-SPFarmConfig -WorkflowBatchSize
    200
    Time Out
    This decides the time out of the Workflow event. The default value is 5 and can be any integer. The time is in minute.
    Use below STSADM command to get the current Time Out value:
    stsadm -o getproperty -pn workflow-eventdelivery-timeout
    Use below STSADM command to get the current Time Out value:
    stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv “15″
    Workflow Timer Interval
    This setting is applicable at Web Application level and not the farm level. The workflow timer interval specifies how often the workflow SPTimer job fires to process pending workflow tasks. This interval also represents the granularity of delay timers within
    your workflow. If a timer is set to delay for one minute, but the interval timer fires only every five minutes, the workflow delays for five minutes, not one minute.
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o getproperty -pn job-workflow -url <Web Application Url>
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o setproperty -pn job-workflow -pv “Every 10 minutes between 0 and 30″ -url <Web Application Url>
    Here is the url for reference :
    http://praveenkasireddy.wordpress.com/2013/06/14/workflow-due-to-heavy-load-the-latest-workflow-operation-has-been-queued-it-will-attempt-to-resume-at-a-later-time/

  • A Single POP Sound from Left speaker, after system heavy load.

    Hello From Russia)) I bought Brand New Macbook pro 15" Late 2011 Ci7, this is incredible machine. But a month past and i started to notice a very strange behavior:
    When i using mac for resource "Eating" application or processes my computer starts to Heat-this is normal.
    When i close all the apps here starts interesting) I have Istat installed, so i can see what temps are in my system. Computer is cooling, and when cpu reaches 50-55 degrees (Celsium, from 80 degrees, because of heavy load) ,my left speaker produces a single loud pop sound. (like something turning of may be)
    In other terms of use absolutely is fine! It is very strange and i dont know is normal or not(
    Thank you very much, and sorry for my english.

    That is not something I would expect.  I would go to a repair facility and have it checked.
    Ciao.

  • How to redirect to a server busy page when under heavy load

    Hello,
              I have been doing extensive load testing of a web application using Weblogic
              5.10 sp 06. I have found a point where under extremly heavy load the server
              just does not respond anymore. Fair enough.
              What I want to do is at a certain load level (before it stops responding) I
              want to redirect users to a "Server Busy - try again later" page. Is there a
              setting in weblogic that allows me to do this ? Or do I need to have other
              monitoring software to take care of this ?
              Thanks and Regards,
              Nick H
              

    Cameron Purdy <[email protected]> wrote:
              > Hi Nick,
              > Unfortunately, last I check there was no such processing. Weblogic maintains
              > a big (2^16) queue that it puts requests into and (if I remember correctly)
              > it doesn't gracefully handle overflow. I believe the architecture should
              > have been a smaller queue with the overflow condition being
              > protocol-specific (such as HTTP doing a "too busy" error).
              It is possible to create and use your own execute queue in 6.1 and specify it's
              length, so I expected this to happen when queue length reaches this number, but
              it didn't.
              > Peace,
              > --
              > Cameron Purdy
              > Tangosol, Inc.
              > http://www.tangosol.com
              > Tangosol: How Weblogic applications are customized
              > "NH" <[email protected]> wrote in message
              > news:[email protected]...
              >> Hello,
              >>
              >> I have been doing extensive load testing of a web application using
              > Weblogic
              >> 5.10 sp 06. I have found a point where under extremly heavy load the
              > server
              >> just does not respond anymore. Fair enough.
              >>
              >> What I want to do is at a certain load level (before it stops responding)
              > I
              >> want to redirect users to a "Server Busy - try again later" page. Is there
              > a
              >> setting in weblogic that allows me to do this ? Or do I need to have other
              >> monitoring software to take care of this ?
              >>
              >> Thanks and Regards,
              >>
              >> Nick H
              >>
              >>
              Dimitri
              

  • How to view what session is causing heavy load

    Hi,
    currently I was tasked to view what is wrong with the production server, there's some processing that is causing heavy usage.
    May I know how should I go about investigating this?
    thanks
    more precisely which machine, which sid, what query is causing heavy load on the db server?
    thanks

    Hi,
    Better generate and statspack/AWR and analyse the report to find queries which are causing heavy load for the time period in which database consuming high CPU. You can use top command from OS level to check the process are consuming heavy load.
    HTH
    regards
    Jafar

  • Macbook pro 2011 mouse / keyboard not response in heavy load

    When I am playing games in the 2011 Macbook pro. Mouse clicks / keyboard sometimes not response or delay, this occur when the machine under heavy load.
    This won't happened in my old BLACK core duo Macbook.
    Does everyone notice this?

    If your machine is less than a month old, you should use your warranty and call AppleCare (you have 90 days of phone support) or take your machine back to the Apple Store (make an appointment with the Genius Bar first) and let them deal with the issue.
    If yours is the 13" model, there is a thread on here (somewhere) about trackpad and keyboard failures when also using Bluetooth, I think (don't quote me on that - I don't have the affected machines so I don't follow the thread too closely).
    But I do believe that Apple is aware of the issue and had 'fixed' it in either a patch preceding 10.9.4 or in 10.9.4 itself.
    Give them a call...
    Clinton

  • Server hangs or freezes during heavy load

    During peak times of the day, especially during heavy load on the Calendar Server,
    the application seems to hang. The client side application will not respond on
    the user's desktop, and uni* commands on the server itself respond considerably
    slow.
    <P>
    There are two parameters in the server configuration file that are strongly
    believed to be a trigger of server hangs or freezes in large deployments and/or
    busy servers. Here is a description of the problem:
    <P>
    Large deployments tend to be 3000+ users per node. This could be a single or
    multi-node environment.
    <P>
    A lock manager fix was implemented in 4.0 to correct a problem that was
    found in 3.51 where the server would hang. At that time, the parameters called
    read/writelocktimeouts
    were introduced as a failover mechanism in case the
    database was not available, which would then trigger the client process to
    disconnect rather than hang the whole server.
    <P>
    These timeouts effectively will terminate a process whose read or write exceeds
    the specified periods. The default of 20 seconds is quite a large amount of time;
    however, it is not totally unlikely that such a value could be met on a
    very busy system. If this is the case, and there is some relation between a
    process being terminated by one of these timeouts and subsequent system
    instability, then the "solution" would not be to extend the values of the
    timeouts but rather to exclude them. This way, it will ensure that no process is
    terminated this way and therefore the process would be allowed to continue until
    it had completed its job.
    <P>
    The timeouts were not removed from the product, but under normal circumstances
    they probably won't be needed anymore anyhow. It seems that on a busy calendar
    server, setting the db timeout alarms may actually trigger the server to freeze.
    Below are some examples of errors that appear in the log files which show
    that the database is no longer accepting client requests:
    <P>
    db_VISTA ERROR -920 -> cst_d_open: d_open
    db_SchedBaseOpen: unable to open database
    probable cause: unilckd is down or "/users/unison/tmp/unisonlckm"
    was removed
    uniengd: database lock timeout
    ITEM: "NA,NA" <0,0>
    CLIENT: "unises", "A.02.80"
    INET-NAME:
    INET-ADDR:
    CALL: "SessionsInfoGet"
    <P>
    To make the fix:
    <OL>
    <LI>Using your favorite editor, edit the /users/unison/misc/unison.ini file.
    In the following section you will see these two parameters:
    <P>
    [ENG]
    writelocktimeout = 20
    readlocktimeout = 20
    <P>
    <LI>Place a "#" sign (or the appropriate comment symbol for your OS) in front of
    these two lines and save the file.
    <P>
    <LI>The server will now have to be restarted in order for the changes to take
    effect.
    </OL>

    This looks similar to what I'm seeing.
    DPM 2010, there's one backup set (for me a file server disk) that every time I try to run the initial replica on it the server hangs and needs to be rebooted by iLO. It doesn't just die suddenly, first the data stream on the backup stops then the OS becomes
    less responsive but there is no resource issue. trying to open event view will cause a few things to lock up then over a few mins the server is complete froze. like the disk drives have been locked.
    Suspecting McAfee, I added in all the exclusions, that didn't help so I added the process exclusions which are done by setting dpmra and csc to low risk and that didn't help either. I could reproduce it just by kicking off a backup for this one file servers
    drive so it's easy to test with.
    Tonight, I had some permissions in EPO to let me stop the scanning completely and disable the on-access scan and for the first time it worked!
    There is definitely an issue between DPM and McAfee beyond what is on MS's web page for AV checks.
    I don't have a workaround yet other than stopping the AV completely... Something to follow up on next week. For the moment I made some progress though.

  • Heavy loading of jaxb classes

    Hi,
    We need to use the latest jaxb 2.1 libraries in our application. We are using netweaver 7.1 CE and it seems to ship with jaxb 2.0 libs. (file:/usr/sap/CE7/J00/j2ee/cluster/bin/ext/jaxb20/jaxb-impl.jar)
    We are already using heavy loading for the hibernate classes, and I assumed I could to the same for jaxb. The dump of the heavy loaded classes from telnet is as follows:
       /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/javassist-3.4.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/hibernate-entitymanager-3.3.2.GA.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/asm-1.5.3.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/antlr-2.7.6.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/commons-collections-3.1.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/hibernate-commons-annotations-3.0.0.GA.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/jaxb-xjc-2.1.7.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/hibernate-annotations-3.3.1.GA.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/jaxb-impl-2.1.7.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/log4j-1.2.15.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/asm-attrs-1.5.3.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/jaxb-api-2.1.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/commons-logging-1.0.4.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/cglib-2.1.3.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/ehcache-1.5.0.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/dom4j-1.6.1.jar
        /usr/sap/CE7/J00/j2ee/cluster/apps/sap.com/Manifest/app_libraries_container/lib/hibernate-3.2.6.ga.jar
    The jaxb classes is included, but it does not seem that my jaxb libraries is used by my application. I've added a util method to do o lookup of the classloader of the jaxb class that I get hold of in the app, and it is still the original jaxb2.0
    Is this the correct approach to use a newer JAXB or is there some other way of doing it?
    Regards Jaco

    In the NetWeaver you can make one application dependent on another one using the [application-j2ee-engine.xml|http://help.sap.com/saphelp_nwce10/helpdata/en/45/053c1041f30486e10000000a155369/content.htm] descriptor.
    If you have YourApp.ear, and HibernateJars.ear (the latter one as "Heavy Library"), in the YourApp.ear/META-INF/application-j2ee-engine.xml you could write:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <provider-name>yourcompany.com</provider-name>
         <reference reference-type="hard">
              <reference-target target-type="application" provider-name="yourcompany.com">HibernateJars</reference-target>
         </reference>
    </application-j2ee-engine>
    In such case, the HibernateJars' classloader will not see the jaxb classes loaded by server, and whatever refers to jaxb there - will use the version you want. BUT, YourApp's classloader will use the jaxb version loaded on server.
    I know this may still be confusing... I would recommend you to browse through the classloader viewer on the web console (port 50000):
    SAP NetWeaver Administrator > Problem Management > Classloader viewer > Java Class Loader Viewer
    (find the classloaders of your applications and browse through Children, Parents and Resources tabs -
    this is where I understood the NetWeaver's classloading approach

  • IBM OS ISSUE: SYSTEM HANG WITH JFS2 AND HEAVY LOAD

    제품 : ORACLE SERVER
    작성날짜 : 2004-11-24
    IBM OS ISSUE: SYSTEM HANG WITH JFS2 AND HEAVY LOAD
    ==================================================
    PURPOSE
    이 문서는 IBM AIX5L OS 상에서 Arch Process가 online redo log
    를 release하지 못하고 OS의 kill 명령으로 kill조차 되지 않을 경우
    조치 방법이다.
    Problem Description
    이 문서는 다음 OS 정보와 Oracle version인 경우에 해당한다.
    Oracle Server - Enterprise Edition - Version: 9.2.0.5.0
    Oracle Server - Enterprise Edition - Version: 8.1.7.4.0
    AIX5L Based Systems (64-bit) or (32-bit)
    문제 발생 당시의 증상은 다음과 같다.
    - arch-process doesn't release redolog files
    - arch-process doesn't die after database shutdown
    - arch-process can't be killed
    genclntsh 수행 시 hang 상태이다.
    (sleeping...)28590: kwaitpid(0x2FF22470, -1, 4, 0x00000000, 0x00000000)
    또는 이 문제로 인하여 ORA-600[2103] 에러가 발생하기도 한다.
    이 에러가 발생하는 원인은 IBM AIX5L 64bit, 32bit OS 이슈에 있다.
    IBM OS issue: SYSTEM HANG WITH JFS2 AND HEAVY LOAD.
    Workaround
    none
    Solution Description
    OS AIX5L ML4.0(5.2.0.40)의 bos.up / bos.mp / bos.mp64 fileset level을
    갖는 JFS2 file system을 갖는 경우에 해당한다.
    AIX 5.3 APAR IY59387은 IY58143에 포함되어 있다.
    JFS2 file system에 Heavy I/O activity가 발생하면 database process에
    HANG 문제를 야기시킬 수 있다. 이 때 database process가 kill -9
    명령으로 kill되지 않는다. 데이타베이스를 SHUTDOWN하여도 Process가
    계속 살아 있게 된다.
    Process에게 SIGKILL 함수가 issue되었지만 영향을 주지 않게 된다.
    Process를 제거하는 유일한 방법은 OS를 reboot하는 것이다.
    문제를 예방하는 방법은 IBM APAR-FIX IY59082 를 적용하는 것이다.
    이 APAR는 bos.64bit 5.2.0.42에 포함되어 있다.
    Fix :
    Need to install the IBM APAR-FIX IY59082, this APAR is included on
    bos.64bit 5.2.0.42.
    (주) IBM 엔지니어에게 확인 결과 이 Patch 안에 AIX5L 32bit 용과 64bit
    용이 모두 포함되어 있는 것으로 확인됨.
    Reference Documents
    <Note:285158.1>

    b,
    The install was from my original Dell XP Pro-SP1 'Reinstallation' CD along with the complete MS XP-SP2 download that I burned to another CD. I also had all the latest Dell drivers from their website burned to a CD. Install went as follows:
    - Format HD
    - Install XP Pro SP1
    - Install SP2
    - Install Dell Drivers
    - Obtain any MS patches from their site
    - Install Office
    - Update Office from the MS website
    - Install iTunes
    - Tweak MS settings
    - Install many software programs
    - Make an interim Image of system and store to ExHD
    - Install other software programs (mostly security programs)
    - Make another 'complete' Image to ExHD
    - Restore backup data and music
    After additional testing last night, I determined that it is not iTunes at all (or to blame). I get intermittent hangs/freezes/pauses in other media players (WMP, etc.).
    Seems that something is causing the 'System' process to periodically jump up in CPU %age (though not more than 30-50%). Even this relatively small amount is enough to pause the playback of music or video, hang the mouse movement for a brief moment, or delay a menu opening. All very subtle - you have to be looking for it to notice (except with real-time audio-video, which is quite noticeable whenever this happens).
    I had this problem a year ago, which is why I reimaged then and stayed with SP1 on the advice of Dell and Webroot. I'm stumped as to where to look for the culprit. Every time I go back to the original HD with SP1, everything runs smoothly. Some sort of system call is generating this complete pause....
    I'll be limited in my Internet ability for the next several days, so I may be out of touch until Friday. I'll keep testing and playing with the limited equipment I take along....
    Any thought you or others want to toss out, I'll attempt when possible.
    Thanks!

  • WebLogic is not responding to client request under heavy load

    Under heavy loading, our WLS 6.0 SP2 will be not be responding to client requests
    after some time, say, 1 hour. From the administration console, the request throughput
    is 0 while request waiting accumulates to over 1,000. Even the clients stop making
    request to the server, the request waiting will not drop. It seems that WLS blocked
    on some threads and unable to serve the requests (see attached thread dump for
    details).
    Our configuration is as follow:
    OS: SunOS 5.7
    Database: MS SQL Server 7.0 running on NT4 Enterprise Edition.
    (JDBC Driver is the one bundled with WLS 6.0)
    We know that using 'DriverManager.getConnection()' can cause deadlock in number
    of cases but we have gone through all the code but all of our Database connections
    are obtained through datasource. And the connection is closed properly in finally
    block.
    Moreover, the application is originally running on WLS 4.51 but no problem is
    encountered.
    Does any expert know what the problem and solution are?
    Thanks!
    [session.log]

    It appears that some threads were possibly blocked at some jDriver calls
    initially (ExecuteThread 0,10,15,23 of the default thread pool). WLS JTA
    subsequently timed out and rolled back the transactions asynchronously. The
    first rollback attempt was blocked at the jDriver level (ExecuteThread 18 of
    the default thread pool). Each subsequent rollback retry blocks an
    additional execute thread (due to a JTA bug that is fixed in WLS 6.1, but
    not 6.0 SPs) - ExecuteThread 1-9,11-26 of the default thread pool.
    Eventually, the server ran out of execute threads and became unresponsive.
    It is unclear that whether the initial blocking of threads by the jDriver is
    a jDriver issue or an application issue. Please report to BEA support at
    [email protected] for further assistance.
    Regards,
    Priscilla
    Gary Mok <[email protected]> wrote in message
    news:[email protected]..
    >
    Under heavy loading, our WLS 6.0 SP2 will be not be responding to clientrequests
    after some time, say, 1 hour. From the administration console, the requestthroughput
    is 0 while request waiting accumulates to over 1,000. Even the clientsstop making
    request to the server, the request waiting will not drop. It seems thatWLS blocked
    on some threads and unable to serve the requests (see attached thread dumpfor
    details).
    Our configuration is as follow:
    OS: SunOS 5.7
    Database: MS SQL Server 7.0 running on NT4 Enterprise Edition.
    (JDBC Driver is the one bundled with WLS 6.0)
    We know that using 'DriverManager.getConnection()' can cause deadlock innumber
    of cases but we have gone through all the code but all of our Databaseconnections
    are obtained through datasource. And the connection is closed properly infinally
    block.
    Moreover, the application is originally running on WLS 4.51 but no problemis
    encountered.
    Does any expert know what the problem and solution are?
    Thanks!

  • What kind of motor should I use for lifting a heavy load?

    I'm working on an automation application in which I need to control a lifting mechanism with heavy load (about 120 lbs).  I will be getting constant temperature readings and based on that data I can determine the rate of change of the temperature.  If the temperature rate is too fast then I need to be able to slow down the motor, if it is too slow then I need to speed it up.  I'm looking for some support with choosing the right motor and hardware so that I have full speed control, while still being able to lift this heavy load, hold the load in a certain position, and then raise the load back to its original position.  I was considering a stepper motor for this due to its ability to brake so the load can stabilize.  Is this the right call or should I use a continuous servo?  Where can I get such a stepper that can handle this type of load and has software that interfaces with LabVIEW?  Would I be safe getting low-cost hardware for this application?  Any guidance would be sincerely appreciated.  Thanks.

    Thanks for your replies to this topic.  I just discovered the worm gear option yesterday while talking to a professor.  I think that is the route we are going to take because the DC motor won't be as expensive as a high-torque stepper or servo.  Also, I have three engineers that will be calculating the motor size based on gear reduction, spool size, cable length, and the load that we have to lift (which is about 120 lbs.).  If any of you would like to suggest a motor size, that would be great too.  I'm thinking something around 1HP should probably do it.  My goal is to stay cost-effective while making an easy apparatus.  I know that the worm gears may also be inefficient at times but it seems like the best solution for this application.  Not to mention it's not to hard for our mechanical engineers here to make the spool and bearings.  And I believe you can buy a DC motor that interfaces directly with a worm gear.  However, a follow up question is what computer hardware do I need to control the voltage of the motor so I have speed control?  Is this done through an RS232 board?  My output from the LabVIEW program will be voltages, from which device is that binary signal converted into physical voltage?  Thanks for your help so far.

  • Under heavy load, flush attribute gives ArrayIndexOutOfBoundsException

    Hi,
    Under heavy load conditions, the jsp include directive's flush attribute which is set to true gives java.lang.ArrayIndexOutOfBoundsException
    A similar bug 6295722 had been reported earlier. But solution to this is not present. Can you please help in resolving this issue. Is this a known issue?
    The following code generates the ArrayIndexOutOfBoundsException
    <jsp:include page="<%=file%>" flush="true" />
    Exception generated is
    java.lang.ArrayIndexOutOfBoundsException: -2147483648
         at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1049)
         at java.text.SimpleDateFormat.format(SimpleDateFormat.java:882)
         at java.text.SimpleDateFormat.format(SimpleDateFormat.java:852)
         at java.text.DateFormat.format(DateFormat.java:316)
         at org.apache.jserv.JServUtils.encodeCookie(JServUtils.java:217)
         at org.apache.jserv.JServConnection.sendHttpHeaders(JServConnection.java:703)
         at org.apache.jserv.JServConnection$JServOutputStream.write(JServConnection.java:1969)
         at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
         at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
         at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
         at java.io.PrintWriter.flush(PrintWriter.java:276)
         at oracle.jsp.runtime.OracleJspWriter.flush(OracleJspWriter.java:554)
         at oa_html._Login._jspService(_Login.java:974)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:619)
    Thanks,
    Shruthi

    Format objects, like SimpleDateFormat, are generally not thread-safe. This almost looks like a case where one is being used concurrently and it's causing a problem. Take gimbal2's suggestion and contact support for your app server.
    Edit:
    Just did some quick searching and came up with a link to JServUtils.java source code (not sure what version you've got or where the "real" code lives withing Apache):
    http://turbine.apache.org/turbine/turbine-2.2.0/xref/org/apache/jserv/JServUtils.html
    You can see on line 78 that a static SimpleDateFormat field exists. You can also see it being used in the encodeCookie method on lines 103 and 111 without synchronization.
    Edited by: kschneid on Dec 18, 2009 12:39 PM

  • System locks up under heavy load 890fx-gd70 T1055

    So i just upgraded from 790fx-gd70 x4 620, to my new 890fx-gd70 x6 t1055. same mushkin ram 996657 - 4GB (2x2GB) DDR3 PC3-12800 7-7-7-20 Blackline. never had any stabilty issues with my 790fx. Now i cant get the thing to run much at all. in order to get system to boot up windows 7 i had to manualy set voltage to ram up to 1.9 then it would let me install win 7. When i run a stabilty test or put heavy load on the system it just locks up. everything in bios is set to auto exept Dram voltage. help?
    video card is a ati 5770 and power is a Tuniq Ripper PSU-RIP1000W-BK.
    i THINK it has to do with voltage for cpu or NB but dont know where to begin.
    also cpu doesnt get hotter then 35c i using a 120mm Rifle CPU Cooler. under no/low load it is stuck at a cool 17c. my case is a NZXT TEMPEST EVO. so dont think heat is a issue.

    put just 1 stick of ram in dimm #3 slot and it seems to be working fine under stability test so far. gonna run it for a while and see how that works out. windows still wont load unless i manually set voltage on ram to 1.8 or higher.

Maybe you are looking for

  • My Macbook Pro is running slow all of a sudden

    I woke up my computer from sleep mode about an hour ago, and the fan automatically came on pretty loudly. I noticed my computer was very slow - if I clicked on something, there would be a long delay, etc. I tried restarting but no change. I checked t

  • Zen Touch Playlist Quer

    Hi Im just about to think about playing with playlists on my Zen Touch 20GB, couple of things though please... Firstly, do playlists take up much space on your players hard disk at all? Also does the space it takes up differ greatly between a playlis

  • Delivery of sales order problem

    Hi Experts, Can anybody solve my problm please. While delivery of sales order in VL01N I am facing following error. No delivery-relevant items in order 0000000029, order type OR Diagnosis: The sales order you want to deliver, sales order 0000000029 w

  • Bapi to update Ekpo table

    Hi all, I want to update field TXZ01 from table EKPO, Is there any bapi to do the same. Please help its urgent. Thanx in advance, Amruta.

  • Regular expression in B2B Document editor

    Hi All, i intent to parse a file coming into B2B with record entry starting as ' 88'. And i want to use this value 88 to differentiate it from other records. I have set a rule (^[ \t]+88) on the field to pick this entry and set the value of the tag f