How generate class histogram before/after GC (JVM 1.6.0.17 only JRE instal)

Hi - looking for suggestions on how can generate a class histogram before a stop-the-world GC when
using a Solaris 10 Sparc platform with java version 1.6.0.17 with only the JRE installed.
I know about -XX:+HeapDumpBeforeFullGC/-XX:+HeapDumpAfterFullGC, but that only available in 1.6.0.18.
Also, this box only has the JRE installed, so can not use: jmap -histo 'pid' ...
When using -XX:+PrintClassHistogram, we do get the histogram AFTER the GC ...(unfortunately, not what I
want)...
I have a very large application running on a SPARC platform (Solaris10) with 16Gig RAM I'm trying to
debug/reduce-stop-world-GC times. Current, we observer stop-the-world GCs in 60+ second ranges,
we need to reduced these times....
The issue is that, "occasionally" there are a hugh number of objects being rapidly created and they
live a very short period of time, a large amount of the RAM is cleaned up (below, jstat in one case
shows 5Gigs is cleaned up) in the stop-the-world GC (so don't believe it is a object/memory leak) -
apps is going a bit nuts, trying to figure out why- or - try to determine if there are JVM parameters
could use to reduce the amount of time it takes when these stop-the-world GC occur...
Any suggestions welcomed...
jstat output is below ...(with comments...)...
Not sure which objects are being created/then die - thinking if can get a before GC and
after GC histograms, should be able to tell which objects these are then can track down the "problem".
JVM options used currently (related to memory/GC...)...
-Xms10469m
-Xmx10469m
-XX:PermSize=1500m
-XX:NewSize=2617m
-XX:MaxNewSize=2617m
-XX:MaxPermSize=1500m
-XX:ThreadStackSize=512
-XX:+PrintClassHistogram
-XX:+DisableExplicitGC
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=65
-XX:+UseParNewGC
-XX:+UseCMSCompactAtFullCollection
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingPermOccupancyFraction=95"
To reduce stop-the-world GC times, am considering the following:
-XX:+UseCMSInitiatingOccupancyOnly and reducing -XX:CMSInitiatingOccupancyFraction=65 from 65 to somthing lower,
but don't know the side effect, anyone have any comments/experiences they can provide related to
using -XX:+UseCMSInitiatingOccupancyOnly ?
jstat logs below from 1 occurrence, comments added ...
the size of each survivor space (S0C && S1C),
the utilization of each survivor space (S0U && S1U),
the capacity of eden (EC), the utilization of eden (EU),
the capacity of the old generation (OC), the utilization of the old generation (OU),
the permanent generation capacity (PC), the permanent generation utilization (PU),
the total number of young generation garbage collection events (YGC),
the total amount of time spent collecting objects in the new generation (YGCT),
the total number of old generation garbage collection events that have occurred (FGC),
the total amount of time spent collecting objects in the old generation (FGCT),
and the total time spent performing garbage collection.
(over next ~90 seconds, add ~ 3Gig of new objects..., on the 66 second GC, it cleans up ~5 Gigs)...
Timeframe between logs 3 seconds...
Timestamp S0C S1C S0U S1U EC EU OC OU PC PU YGC YGCT FGC FGCT GCT
35089.6 267968.0 267968.0 151058.4 0.0 2143872.0 1217499.3 8043520.0 5023371.5 1536000.0 578511.2 464 873.411 48 318.400 1191.811
EDEN space: 1217499.3
35092.6 267968.0 267968.0 151058.4 0.0 2143872.0 1855673.3 8043520.0 5023371.5 1536000.0 578511.2 464 873.411 48 318.400 1191.811
EDEN space: 1855673.3
674K in 3 seconds ...
35095.6 267968.0 267968.0 151058.4 267968.0 2143872.0 2143678.4 8043520.0 5156424.8 1536000.0 578511.2 465 873.411 48 318.400 1191.811
35098.6 267968.0 267968.0 151058.4 267968.0 2143872.0 2143678.4 8043520.0 5738204.2 1536000.0 578511.2 465 873.411 48 318.400 1191.811
Eden space was full, time for new generation (YGCT) increases ..., then eden space down to 360.2
35101.6 267968.0 267968.0 0.0 267968.0 2143872.0 360.2 8043520.0 5729279.8 1536000.0 578511.2 465 880.024 49 318.400 1198.424
Eden space goes up by ~527K in next 3 seconds ...
35104.6 267968.0 267968.0 0.0 267968.0 2143872.0 527419.4 8043520.0 5729279.8 1536000.0 578511.2 465 880.024 49 319.780 1199.805
35107.7 267968.0 267968.0 0.0 267968.0 2143872.0 1135553.7 8043520.0 5729279.8 1536000.0 578511.2 465 880.024 49 319.780 1199.805
35110.7 267968.0 267968.0 0.0 267968.0 2143872.0 1709236.4 8043520.0 5729279.8 1536000.0 578511.2 465 880.024 49 319.780 1199.805
35113.6 267968.0 267968.0 222094.2 267968.0 2143872.0 2143872.0 8043520.0 5738910.5 1536000.0 578511.2 466 880.024 49 319.780 1199.805
Eden space full again ...
35116.7 267968.0 267968.0 267968.0 267968.0 2143872.0 2143872.0 8043520.0 6126805.2 1536000.0 578511.2 466 880.024 49 319.780 1199.805
35119.7 267968.0 267968.0 267968.0 267968.0 2143872.0 2143872.0 8043520.0 6539662.6 1536000.0 578511.2 466 880.024 49 319.780 1199.805
new generation (YGCT) increases ..., then eden space down 120001.3, i
35122.7 267968.0 267968.0 267968.0 0.0 2143872.0 120001.3 8043520.0 6531558.2 1536000.0 578511.2 466 889.008 49 319.780 1208.789
35125.7 267968.0 267968.0 267968.0 0.0 2143872.0 671136.1 8043520.0 6531558.2 1536000.0 578511.2 466 889.008 49 319.780 1208.789
35128.7 267968.0 267968.0 267968.0 0.0 2143872.0 1082680.2 8043520.0 6531558.2 1536000.0 578511.2 466 889.008 49 319.780 1208.789
35131.7 267968.0 267968.0 267968.0 0.0 2143872.0 1520016.2 8043520.0 6531558.2 1536000.0 578511.2 466 889.008 49 319.780 1208.789
35134.7 267968.0 267968.0 267968.0 0.0 2143872.0 1950854.2 8043520.0 6531558.2 1536000.0 578511.2 466 889.008 49 319.780 1208.789
Eden full again ...
35137.8 267968.0 267968.0 267968.0 267968.0 2143872.0 2143872.0 8043520.0 6622408.9 1536000.0 578512.6 467 889.008 49 319.780 1208.789
35140.7 267968.0 267968.0 267968.0 267968.0 2143872.0 2143872.0 8043520.0 6938114.5 1536000.0 578512.6 467 889.008 49 319.780 1208.789
new generation (YGCT) increases ..., then eden space down ti 367846.8
35143.8 267968.0 267968.0 0.0 267968.0 2143872.0 367846.8 8043520.0 6936775.4 1536000.0 578512.9 467 894.001 49 319.780 1213.781
35146.8 267968.0 267968.0 0.0 267968.0 2143872.0 775767.3 8043520.0 6936775.4 1536000.0 578512.9 467 894.001 49 319.780 1213.781
35149.8 267968.0 267968.0 0.0 267968.0 2143872.0 1172577.1 8043520.0 6936775.4 1536000.0 578512.9 467 894.001 49 319.780 1213.781
35152.8 267968.0 267968.0 0.0 267968.0 2143872.0 1615883.8 8043520.0 6936775.4 1536000.0 578512.9 467 894.001 49 319.780 1213.781
35155.9 267968.0 267968.0 0.0 267968.0 2143872.0 2064291.6 8043520.0 6936775.4 1536000.0 578513.2 467 894.001 49 319.780 1213.781
35158.9 267968.0 267968.0 267968.0 267968.0 2143872.0 2143872.0 8043520.0 7190054.7 1536000.0 578513.2 468 894.001 49 319.780 1213.781
Eden full again, YGCT increases ...
35161.9 267968.0 267968.0 267968.0 0.0 2143872.0 240639.6 8043520.0 7255807.0 1536000.0 578513.2 468 898.009 49 319.780 1217.789
35164.9 267968.0 267968.0 267968.0 0.0 2143872.0 692600.4 8043520.0 7255807.0 1536000.0 578513.2 468 898.009 49 319.780 1217.789
35167.9 267968.0 267968.0 267968.0 0.0 2143872.0 1190958.0 8043520.0 7255807.0 1536000.0 578513.2 468 898.009 49 319.780 1217.789
35170.9 267968.0 267968.0 267968.0 0.0 2143872.0 1658177.8 8043520.0 7255807.0 1536000.0 578513.2 468 898.009 49 319.780 1217.789
35173.9 267968.0 267968.0 267968.0 0.0 2143872.0 2135519.5 8043520.0 7255807.0 1536000.0 578513.2 468 898.009 49 319.780 1217.789
35176.9 267968.0 267968.0 267968.0 267968.0 2143872.0 2143872.0 8043520.0 7559906.5 1536000.0 578513.2 469 898.009 49 319.780 1217.789
35179.9 267968.0 267968.0 267968.0 267968.0 2143872.0 2143872.0 8043520.0 7786576.4 1536000.0 578513.2 469 898.009 49 319.780 1217.789
Now old generation is now full ... 8043520-7786576 = 256944
Not enough room ...stop-the-world-GC required...
A full GC below...things freeze...
Timestamp S0C S1C S0U S1U EC EU OC OU PC PU YGC YGCT FGC FGCT GCT
35183.0 267968.0 267968.0 0.0 267968.0 2143872.0 412261.4 8043520.0 7783431.4 1536000.0 578606.8 469 904.504 49 319.780 1224.284
35186.0 267968.0 267968.0 0.0 267968.0 2143872.0 823677.8 8043520.0 7783431.4 1536000.0 578606.8 469 904.504 49 319.780 1224.284
35189.0 267968.0 267968.0 0.0 267968.0 2143872.0 1281240.7 8043520.0 7783431.4 1536000.0 578616.5 469 904.504 49 319.780 1224.284
35192.0 267968.0 267968.0 0.0 267968.0 2143872.0 1724725.6 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 49 319.780 1224.284
35195.0 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35198.0 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35201.0 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35204.0 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35207.0 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35210.0 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35213.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35216.0 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35219.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35222.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35225.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35228.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35231.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35234.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35237.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35240.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35243.1 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35246.2 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35249.2 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35252.2 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578619.1 469 904.504 50 319.780 1224.284
35255.2 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578579.7 469 904.504 50 319.780 1224.284
35258.2 267968.0 267968.0 0.0 267968.0 2143872.0 2143872.0 8043520.0 7783431.4 1536000.0 578579.7 469 904.504 50 319.780 1224.284
.... time difference is 66 seconds ...
The output above contains
the size of each survivor space (S0C && S1C),
the utilization of each survivor space (S0U && S1U),
the capacity of eden (EC), the utilization of eden (EU),
the capacity of the old generation (OC), the utilization of the old generation (OU),
the permanent generation capacity (PC), the permanent generation utilization (PU),
the total number of young generation garbage collection events (YGC),
the total amount of time spent collecting objects in the new generation (YGCT),
the total number of old generation garbage collection events that have occurred (FGC),
the total amount of time spent collecting objects in the old generation (FGCT),
and the total time spent performing garbage collection.
old generation changed from 7783431.4 to 2712370.7 (limit is 8043520.0)
old generation reduced by 7783431.4 - 2712370.7 = 5071060.7 (5 Gigs)...
Timestamp S0C S1C S0U S1U EC EU OC OU PC PU YGC YGCT FGC FGCT GCT
35261.2 267968.0 267968.0 0.0 0.0 2143872.0 90238.8 8043520.0 2712370.7 1536000.0 578581.4 469 904.504 50 385.785 1290.289
35264.2 267968.0 267968.0 0.0 0.0 2143872.0 538408.1 8043520.0 2712370.7 1536000.0 578588.9 469 904.504 50 385.785 1290.289
35267.3 267968.0 267968.0 0.0 0.0 2143872.0 866885.7 8043520.0 2712370.7 1536000.0 578588.9 469 904.504 50 385.785 1290.289
35270.6 267968.0 267968.0 0.0 0.0 2143872.0 1130407.5 8043520.0 2712370.7 1536000.0 578588.9 469 904.504 50 385.785 1290.289
35274.0 267968.0 267968.0 0.0 0.0 2143872.0 1390679.5 8043520.0 2712370.7 1536000.0 578588.9 469 904.504 50 385.785 1290.289
35277.1 267968.0 267968.0 0.0 0.0 2143872.0 1566244.4 8043520.0 2712370.7 1536000.0 578589.0 469 904.504 50 385.785 1290.289
35280.2 267968.0 267968.0 0.0 0.0 2143872.0 1787384.6 8043520.0 2712370.7 1536000.0 578589.0 469 904.504 50 385.785 1290.289
35283.3 267968.0 267968.0 0.0 0.0 2143872.0 1975767.7 8043520.0 2712370.7 1536000.0 578589.0 469 904.504 50
and 24 seconds later....eden starting to fill up again...
Cheers

I'm trying to debug/reduce-stop-world-GC times.Put it on a box that you can install whatever you want.
Set the max heap size to be a low value. Start at 500 meg and move it down. You want to get to the point where the app works but where it starts thrashing very soon (with little load.)
Then debug/profile away using appropriate tools.
Once you have an idea, up the max heap on that box, increase the load, and validate the idea.

Similar Messages

  • How to run application on comp. with only jre installed?

    Hi guys! I've written an application and somebody wants to use it. I have an applet too but it does not have full functionality and slower.
    I am running applications from my desktop using shortcut on javaw.exe file located in jdk/bin folder. No problem with it.
    But if person does not want to instsall jdk? I know that jre has javaw.exe in its bin but it does not work that way.
    My question is: how to run application for domestic use without all this web start hassle and with only jre installed? Is it possible? If yes, how to do this?
    Regards

    Download the JRE redistributable from Sun. It is self installing and will allow the user to run your app using a regular shortcut to javaw.exe.

  • How To Profile Performance Before & After Installation Of A Solution

    Hi.
    We have third party and custom solutions that we want to install into our SharePoint 2010 Farm.
    We want to find out if there are any performance bottlenecks after the installation so we would like to profile our SharePoint 2010 Farm performance and SQL Server 2008 R2 performance before and after.
    How could we achieve this profile for our Farm overall and both SharePoint 2010 and SQL Server 2008 R2?

    Profiling comes in many flavors...
    - Load Capacity => load test... there are some (slightly outdated) load test templates that you can use to slam your SP environment and determine its load capacity
    - Average usage => performance monitors... use the built in performance monitors, or some dedicated systems (like MS System Center) include application-specific capabilities (System Center has Management Packs)
    - Solution Profiling => performance profilers... a bit harder, since it requires isolating the custom components and comparing data... use the SP dev tools, SQL profiles, logs, etc.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Merge to HDR Pro - before/after view

    In the Merge to HDR Pro dialog, after making adjustments with the settings, is there a quick way to toggle and see the image before adjustments and after adjustments, before closing the dialog?

    Zeno,
    Thanks. I tried converting to 32bit/channel while in the Merge to HDR dialog, then opened the image in Photoshop, but still don't see how to get a before/after preview. How does this work exactly?

  • Before/After views in Develop module

    In RSP you could easily see the difference between ALL your corrections and the original file. As easy as undo/redo.
    I know that there are several ways to view this using the before/after split screen tool. But I want to see the changes for the whole image at once. I could work around it by making snap shots and such. But I would prefer the other way...

    As an additional thought, how about making the before / after clever, making it able to put the images above and below for landscape and left right for portrait? Very simple to do, but drives my mad
    Hamish

  • How to insert animation before and after this animation template??

    I'm using the file from the online template below, but am going to replace the flag with a man's tie that's going to be "flapping in the wind" momentarily.
    BUT I need to add a small amount of animation before this "flapping" animation begins, as well as after it, and I only want the flapping to last about 1.5 seconds or so - not continually looping.
    http://www.senocular.com/flash/source.php?id=0.188
    I don't know how to even begin to add the animation I need before/after, and to edit the time down on the looping. Any help is GREATLY appreciated!!

    change the flag to your tie and change the onEnterFrame loop:
    use
    loopI = setInterval(loopF,40);
    to start the waving and use:
    clearInterval(loopI);
    to stop the waving.
    function loopF(){
        // move the matrix by speed along x to shift the noise
        shift.translate(speed, 0);
        // drawing in the perlin movie clip,
        // create a rectangle with the perlin noise
        // drawn in it with an offset supplied by the
        // shift matrix
        with (displace_mc.perlin){
            clear();
            beginBitmapFill(noiseBitmap, shift);
            moveTo(0,0);
            lineTo(ramp._width, 0);
            lineTo(ramp._width, ramp._height);
            lineTo(0, ramp._height);
            lineTo(0, 0);
            endFill();
        // draw the displacement movie clip in the
        // displaceBitmap (used in displaceFilter)
        displaceBitmap.draw(displace_mc);
        // apply displaceFilter to the flag
        flag_mc.filters = [displaceFilter];
    updateAfterEvent();

  • How to use JAXB generated classes with SOAP

    hello,
    I have a library of JAXB generated classes for my web service. There is a Java class for each web method defined in my schema. For example, my getLocation method is mapped to GetLocation.class.
    However my web service is SOAP based, so I am having to manually strip off the SOAP elements to be able to unmarshall the getLocation xml to a GetLocation class.
    I am noticing a disconnect between JAXB and other Java SOAP and RPC libraries. Does anyone know how to create a JAXB class for SOAP Envelopes and Bodys? Does anyone have any ideas how to incorporate the existing Java web service libraries with JAXB?
    Thanks in advance.

    Have you found a method to integrate SAAJ and JAXB? Or
    is better to use SAAJ only ?If I had to choose I'd go with SAAJ. It seems to me that's theoretically possible to use JAXB classes with SAAJ but I imagine if it is possible it would be a big pain in the ass.

  • How to change generated class name when create binding files.

    I have a dtd file, which has lines like this:
    <!ELEMENT rights (
         %plain-text;
         | rights.owner
         | rights.startdate
         | rights.enddate
         | rights.agent
         | rights.geography
         | rights.type
         | rights.limitations
         )*>
         <!ELEMENT rights.type (%plain-text;)*>
    when i use xjc to create binding files, I got an error:
    trying to create the same field twice: value.
    I suspect that the reason is because the name of rights and rights.type.
    so, i'd like to know how can i control the generated class name. for example, i want to generate a class RightTypeEle for element rights.type. how can do that?
    btw, i use latest version of jaxb.
    Thanks in advance.

    hi Vincentq,
    What function are you using to create the attachment?  Have you looked at SAP_WAPI_ATTACHMENT_ADD?
    Cheers,
    Sue

  • How to unload a class or a dll from jvm?

    We can load a class or a dll into jvm,but how can we unload a class or a dll from jvm?
    I'm look forward to your reply.
    Regard!
    Sun.Huang

    i don't believe you can unload a class.A class can only be unloaded if its classloader
    becomes unreachable, so classes loaded by the
    bootstrap loader will never be unloaded.Are they definately unloaded in that case? as soonas
    the classloader that loaded them is unreachable?or
    is it still an optional decision for the jvm?A class may be unloaded if and only if its defining
    classloader may be reclaimed by the garbage
    collector. There are no guarantees that a class will
    be unloaded.Okay, that's what I thought. Thanks for confirming.

  • How could I generate sample schema's after 11g r2 installation

    Hi,
    I appreciate if anybody let me know that how could I generate sample schema's after database installation (11g r2).
    Regards,

    hello
    you can download the script in the this link
    http://www.oracle.com/technology/obe/obe1013jdev/common/files/sample_schema_scripts.zip
    or
    sqlplus /nolog
    conn / as sysdba
    @mksample.sql
    regards
    zekeriya

  • Before/After Histogram

    In another thread (can't exactly recall which one) someone stated that the histogram could be checked while comparing the Before/After view.
    However, when I hit the "\" key it doesn't change. Only the (double) RGB numbers reflect the adjustments. Is there a setting somewhere that I missed?
    LR 3.2 on Win XP

    One way in which it sort of works: choose one of the Before/After views so you see both the before and after photo, and then swap them back and forth.

  • How to make an before and after effects?

    So, I want to make a video that show the audience this is before and after the edit. And i want to make it look like this YouTube Rewind 2014: Behind the Scenes - YouTube
    How to make it?
    Thanks:)

    Really? You take footage of you shooting the video with another camera then you edit it together with shots of the finished project. If you want to show before and after shots of an effect you just put the original footage on top and animate a mask or opacity to reveal the rendered effect below.
    If you can't figure out how to make a before and after then you will have a very difficult time doing any effects using AE because there is absolutely nothing in this before and after but very basic editing and masking.

  • How to unmarshall list tags/unbounded elements using jax-ws auto generated classes in weblogic 12c

    hi
    i have a need wherein i need to create/host jax-ws webservice ( starting from wsdl) and in that service translate the xml using xsl to a different structure and call another webservice hosted to another server ( non-weblogic).
    so my approach is as soon as request comes to the service impl, i marshal the object to a xml then apply the required xsl transformation and then unmarshal the transformed xml to the object which can be used to trigger another webservice.
    This approach works fine for the xmls without list tags/unbounded elements , however it gives marshal exception whenever the xmls has list/unbounded elements.
    i am using jaxb and jax-ws generated class for marshalling and unmarshalling.
    so need some help on how to deal in this scenario?
    any help is appreciated

    hi
    i have a need wherein i need to create/host jax-ws webservice ( starting from wsdl) and in that service translate the xml using xsl to a different structure and call another webservice hosted to another server ( non-weblogic).
    so my approach is as soon as request comes to the service impl, i marshal the object to a xml then apply the required xsl transformation and then unmarshal the transformed xml to the object which can be used to trigger another webservice.
    This approach works fine for the xmls without list tags/unbounded elements , however it gives marshal exception whenever the xmls has list/unbounded elements.
    i am using jaxb and jax-ws generated class for marshalling and unmarshalling.
    so need some help on how to deal in this scenario?
    any help is appreciated

  • How much is iPhone before and after taxes?

    how much is iPhone before and after taxes? I am from the Philippines and I am just wondering buying it online with my credit card. i know that it costs $399 for 8GB and $499 for 16GB.

    I bought mine day one, so the pricing isn't the same anymore.
    As for the one your Aunt buys, she will pay either $399 or $499, depending on model, plus applicable CA sales tax, which I do not know.
    Keep in mind that you will not be able to activate your phone in the Philippines in its virgin state. Keep in mind as well that currently there isn't a good way to "devirginize" a 1.1.3 iphone.

  • How to Run Operating System Command Before/After Message Processing SAP PI

    Hi,
    We are trying to execute multiple commands via "Operating System Command Before/After Message Processing".
    When we use single command say for example cp or mv (copy or move) the commands get executed fine.
    eg: cp %F /var/opt/data/outbound/Test/Dummy.txt 
    /this works fine/
    when we club commands together or try to redirect the outputs of commands, none of the commands get executed.
    eg:
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    or
    wc -l %F > /var/opt/data/outbound/Test/Dummy.txt
    Is it possible to execute multiple commands or redirect the output  of commands without using a shell script? The PI server we are working on iis hosted on UNIX environment.

    Hi Harleen,
    try like this
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    instead of semicolon try this
    (1) &
    command1 & command2
    Execute Command1 and then execute Command2
    (2) &&
    command1 && command2
    Runs the command2 only when command1 doesn't Complete successfully
    (3) ||
    command1 || command2
    Runs the second command if the first command had an error
    (4) ()
    (command1 || command2) || (command3 & command4)
    Defines the order in which commands are to be executed
    Regards
    Suraj

Maybe you are looking for

  • Report to display record

    I have report that have 1000 records and we have 3 types of user user1,user2,user3 I want when user1 run the report the only 100 record idisplayed rest 900 is not dislayed. when user2 run the report then on 200 record displayed rest and 800 record is

  • Unable to view album photo's

    Since latest album update some of the pictures in album have somehow murged together and I cannot view them. Have uninstalled updates but this has not helped.

  • How to remove an object from session with JSF 2.0 + Faceletes

    hi all, I have a facelets page which calls a backing bean of session scope. Now when ever i click on this page i want the existing bean object to be removed from the session . In my existing jsp i have a logic something like this to remove the object

  • Opening documents in Open Office emailed from Pages

    Has anyone had a similar problem to me - documents mailed from Pages to my email account on my iMac cannot be opened in the current version of Open Office. They cause it to crash!   

  • Parallel instances using ONE Action Engine

    Hi Everyone. I just wanted to see what type of ideas this would bring to this issue. I have an AE that holds all the pointers (or referances) that 20 instances of a reentrantVI use in parallel. Obviously the issue is the execution speed as all the in