Long pauses during ParNew garbage collection Please Help !
Hi,
We are running a server application on an large machine (~120 CPU, ~380 GB Memory).
After running 1 or 2 hours we suddenly get exorbitant application pause times during garbage collection and a massive cpu usage from the java vm
We are running on Java 6 (64Bit) with 6GB Heap.
Concurrent garbage collection is turned on using the parameters:
-XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=80
-XX:+DisableExplicitGC
We turned on verbose garbage collection and are getting the following output:
1. Normal operation:
Application time: 217.4656792 seconds
3180.905: [GC 3180.906: [ParNew
Desired survivor size 20119552 bytes, new threshold 4 (max 4)
- age 1: 2843824 bytes, 2843824 total
- age 2: 2577128 bytes, 5420952 total
- age 3: 5742024 bytes, 11162976 total
- age 4: 625672 bytes, 11788648 total
: 329531K->15764K(353920K), 0.1484379 secs] 2435799K->2122105K(3392144K), 0.1492386 secs]
Total time for which application threads were stopped: 0.1886810 seconds
2. The Problem:
Application time: 2.8858445 seconds
5008.433: [GC 5008.434: [ParNew
Desired survivor size 20119552 bytes, new threshold 2 (max 4)
- age 1: 15837712 bytes, 15837712 total
- age 2: 12284416 bytes, 28122128 total
: 348338K->39296K(353920K), 138.5317715 secs] 2487779K->2192551K(3392144K), 138.5327383 secs]
Total time for which application threads were stopped: 138.5778558 seconds
Application time: 2.9764564 seconds
5149.957: [GC 5149.957: [ParNew
Desired survivor size 20119552 bytes, new threshold 2 (max 4)
- age 1: 9483176 bytes, 9483176 total
- age 2: 14499344 bytes, 23982520 total
: 353920K->39296K(353920K), 231.5110574 secs] 2507175K->2204546K(3392144K), 231.5121011 secs]
Total time for which application threads were stopped: 231.5257754 seconds
Application time: 2.7932907 seconds
5384.277: [GC 5384.278: [ParNew
Desired survivor size 20119552 bytes, new threshold 4 (max 4)
- age 1: 10756376 bytes, 10756376 total
- age 2: 9135888 bytes, 19892264 total
: 353920K->28449K(353920K), 256.2065591 secs] 2519170K->2207651K(3392144K), 256.2076388 secs]
Total time for which application threads were stopped: 256.2221463 seconds
I can't find any significant differences in the log between fast and long running garbage collections.
I urgently need help in solving this problem !
What can I do ?
After the exciting reply I did get on my question, we did some more investigations on the problem and it seems that we finally found the solution to our problem.
The number of garbage collection threads used by the virtual machine defaults to the number of cpus of the machine.
This is ok for small machines or machines where the main load is produced by the java application itself.
In our environment the main load is not produced by the java application but oracle database processes.
When java tries to do it's garbage collection using 120 threads (# CPU) on the machine which is already overloaded by non java processes, the thread synchronization seems to produce an exorbitant overhead.
My theory is that spin locking is used on memory access, causing threads to spin while waiting for other blocking threads not getting cpu because of the heavy load on the system.
The solution is now to limit the number of garbage collection threads.
We did that on the first try by setting -XX:ParallelGCThreads=8
For over one day with heavy load no long GC pauses were experienced any more.
Similar Messages
-
Garbage Collection--please help
My garbage collection logs look as follows:
<pre>
(1)342.003: [GC 342.003: [DefNew
Desired survivor size 819200 bytes, new threshold 1 (max 4)
- age 1: 1153152 bytes, 1153152 total
: 13184K->1126K(14784K), 0.0221720 secs] 13184K->1126K(63936K), 0.0227740 secs] [Times: user=0.00 sys=0.02, real=0.03 secs]
768.603: [GC [1 CMS-initial-mark: 0K(49152K)] 7114K(63936K), 0.0062870 secs]
(2)1358.802: [GC 1358.802: [DefNew
Desired survivor size 819200 bytes, new threshold 4 (max 4)
- age 1: 785520 bytes, 785520 total
: 14310K->767K(14784K), 0.0680510 secs] 14310K->1700K(63936K) icms_dc=5 , 0.0682220 secs] [Times: user=0.00 sys=0.03, real=0.07 secs]
1847.304: [GC [1 CMS-initial-mark: 932K(49152K)] 8210K(63936K), 0.0058360 secs]
(3)2537.684: [GC 2537.684: [DefNew
Desired survivor size 819200 bytes, new threshold 2 (max 4)
- age 1: 815688 bytes, 815688 total
- age 2: 171848 bytes, 987536 total
: 13951K->964K(14784K), 0.0402100 secs] 14800K->1813K(63936K) icms_dc=0 , 0.0407760 secs]
</pre>
I don't know why a concurrent collection is initiated in (2) despite the new threshold is 4.
Why there is no age 2, age 3 and age 4 collection? In (1) and (3), collection occurs as promised, once when the new threshold is 1 and twice when the new threshold is twice.
May be the numbers in (2) tell me something, but I don't know how to interpret them.
Please help.
Thank you.It looks like you are running into what is sometimes called the "Young Generation
Guarantee" in Sun's JVM. See
http://java.sun.com/docs/hotspot/gc1.4.2/#3.2.1.%20Young%20Generation%20Guarantee|outline
You have a large young generation and there might not be a contiguous
chunk in the tenured generation that is large enough to hold all of the
young generation. Try cutting your young generation down to 128m and
see if that helps. You can also take a look at
http://blogs.sun.com/jonthecollector/entry/what_the_heck_s_a
You're running into a "concurrent mode failure" although that is not explicitly
spelled out in 1.4.2.
And go back to the regular (not incremental) version of UseConcMarkSweepGC. -
Firefox 3.6 allowed me to play games, Firefox 4 upgrade doesn't.Question
After updating to Firefox 4, I have lost 4 plugins/add ons due to their NOT being compatible. I can no longer play my bejewelled game. Please help me here. Can I get Firefx 3.6 back? Will that help me?http://support.mozilla.com/en-US/kb/Installing+a+previous+version+of+Firefox
http://www.mozilla.com/en-US/firefox/all-older.html -
I have iPad 4th Generation with iOS 6.1.3 Since my iBooks was updated to version 3.1.1 I cannot open pdf file attachment in my email. When I tap of the attachment, the iBooks icon no longer show itself. Can someone please help?
Thanks for all (Ocean20 & Courcoul) who replied.
Reset the device did not help me but it does triggers me to attempt to resend the PDF file attachment on email--and it works the 2nd time. My problem is now solved.
The Adobe Reader is very helpful--it allows me to scroll through the document easily, unlike iBooks, where I cannot scroll straight up or down. -
I purchaised MPV's Core Numbers '09 101 software online yesterday. The software only shows the toutorial, and I couldn't find the actual spread sheet. I have taken a long time watching the toutorial. Please help me on how I can find the actual spread sheet to work on. Thank you in advance
Visit the developer site for help.
https://www.appomator.com/support/ -
my macbook pro will not play a video without pausing every 11 seconds. PLEASE help me figure out what is wrong. very frustrating. I have already tried restarting
buckmacie,
has the video been completely downloaded onto your MacBook Pro when you start to play it? Or are you playing it while it downloads, AKA streaming it? -
Long pause of ParNew without Promotion failed.
I encounter a same problem like " [Long pauses |http://forums.sun.com/thread.jspa?threadID=5240437] ", no "promotion failed" tip but ParNew cost more than 20s, the following is the gc log's snapshot:
my jdk version is the latest JDK6u21 on RHEL5.1/IBM x3850 with 16core.
I try to use -X::+UseMemBar, but no effect. anybody could help me?
1913.579: [GC 1913.579: [ParNew
Desired survivor size 33554432 bytes, new threshold 2 (max 2)
- age 1: 15459032 bytes, 15459032 total
- age 2: 10545904 bytes, 26004936 total
: 433430K->35393K(458752K), 0.1056850 secs] 6509320K->6122752K(10420224K), 0.1061990 secs] [Times: user=0.83 sys=0.01, real=0.11 secs]
Heap after GC invocations=3850 (full 10):
par new generation total 458752K, used 35393K [0x000000057a000000, 0x000000059a000000, 0x000000059a000000)
eden space 393216K, 0% used [0x000000057a000000, 0x000000057a000000, 0x0000000592000000)
from space 65536K, 54% used [0x0000000596000000, 0x00000005982905c8, 0x000000059a000000)
to space 65536K, 0% used [0x0000000592000000, 0x0000000592000000, 0x0000000596000000)
concurrent mark-sweep generation total 9961472K, used 6087358K [0x000000059a000000, 0x00000007fa000000, 0x00000007fa000000)
concurrent-mark-sweep perm gen total 63128K, used 37802K [0x00000007fa000000, 0x00000007fdda6000, 0x0000000800000000)
Total time for which application threads were stopped: 0.1082700 seconds
CMSCollector shouldConcurrentCollect: 1913.685
time_until_cms_gen_full 144.6930408
free=3967091720
contiguous_available=2076692424
promotion_rate=2.45972e+07
cms_allocation_rate=0
occupancy=0.6110903
initiatingOccupancy=0.6500000
initiatingPermOccupancy=0.9200000
Application time: 0.3237750 seconds
CMSCollector shouldConcurrentCollect: 1935.690
time_until_cms_gen_full 144.6930408
free=3967091720
contiguous_available=2076692424
promotion_rate=2.45972e+07
cms_allocation_rate=0
occupancy=0.6110903
initiatingOccupancy=0.6500000
initiatingPermOccupancy=0.9200000
CMSCollector shouldConcurrentCollect: 1937.692
time_until_cms_gen_full 144.6930408
free=3967091720
contiguous_available=2076692424
promotion_rate=2.45972e+07
cms_allocation_rate=0
occupancy=0.6110903
initiatingOccupancy=0.6500000
initiatingPermOccupancy=0.9200000
Total time for which application threads were stopped: 23.8250250 seconds
CMSCollector shouldConcurrentCollect: 1937.834
time_until_cms_gen_full 144.6930408
free=3967091720
contiguous_available=2076692424
promotion_rate=2.45972e+07
cms_allocation_rate=0
occupancy=0.6110903
initiatingOccupancy=0.6500000
initiatingPermOccupancy=0.9200000
Application time: 0.0000880 seconds
Total time for which application threads were stopped: 0.0016130 seconds
CMSCollector shouldConcurrentCollect: 1937.836
time_until_cms_gen_full 144.6930408
free=3967091720
contiguous_available=2076692424
promotion_rate=2.45972e+07
cms_allocation_rate=0
occupancy=0.6110903
initiatingOccupancy=0.6500000
initiatingPermOccupancy=0.9200000
Application time: 0.0000580 seconds
Total time for which application threads were stopped: 0.0004200 seconds
CMSCollector shouldConcurrentCollect: 1937.837
time_until_cms_gen_full 144.6930408
free=3967091720
contiguous_available=2076692424
promotion_rate=2.45972e+07
cms_allocation_rate=0
occupancy=0.6110903
initiatingOccupancy=0.6500000
initiatingPermOccupancy=0.9200000
Application time: 0.0019560 seconds
{Heap before GC invocations=3850 (full 10):
par new generation total 458752K, used 428609K [0x000000057a000000, 0x000000059a000000, 0x000000059a000000)
eden space 393216K, 100% used [0x000000057a000000, 0x0000000592000000, 0x0000000592000000)
from space 65536K, 54% used [0x0000000596000000, 0x00000005982905c8, 0x000000059a000000)
to space 65536K, 0% used [0x0000000592000000, 0x0000000592000000, 0x0000000596000000)
concurrent mark-sweep generation total 9961472K, used 6087358K [0x000000059a000000, 0x00000007fa000000, 0x00000007fa000000)
concurrent-mark-sweep perm gen total 63128K, used 37802K [0x00000007fa000000, 0x00000007fdda6000, 0x0000000800000000)
1937.839: [GC 1937.839: [ParNew
Desired survivor size 33554432 bytes, new threshold 2 (max 2)
- age 1: 15389248 bytes, 15389248 total
- age 2: 10280752 bytes, 25670000 total
: 428609K->33832K(458752K), 0.0985530 secs] 6515968K->6131457K(10420224K), 0.0990430 secs] [Times: user=0.77 sys=0.01, real=0.10 secs]
Heap after GC invocations=3851 (full 10):
par new generation total 458752K, used 33832K [0x000000057a000000, 0x000000059a000000, 0x000000059a000000)
eden space 393216K, 0% used [0x000000057a000000, 0x000000057a000000, 0x0000000592000000)
from space 65536K, 51% used [0x0000000592000000, 0x000000059410a2c8, 0x0000000596000000)
to space 65536K, 0% used [0x0000000596000000, 0x0000000596000000, 0x000000059a000000)
concurrent mark-sweep generation total 9961472K, used 6097624K [0x000000059a000000, 0x00000007fa000000, 0x00000007fa000000)
concurrent-mark-sweep perm gen total 63128K, used 37802K [0x00000007fa000000, 0x00000007fdda6000, 0x0000000800000000)
Total time for which application threads were stopped: 0.0999980 seconds
CMSCollector shouldConcurrentCollect: 1937.939
time_until_cms_gen_full 4007.5147760
free=3956579920
contiguous_available=2070817568
promotion_rate=885817
cms_allocation_rate=0
occupancy=0.6121208
initiatingOccupancy=0.6500000
initiatingPermOccupancy=0.9200000
Application time: 0.0446810 seconds
Total time for which application threads were stopped: 0.0048440 seconds
CMSCollector shouldConcurrentCollect: 1937.988
time_until_cms_gen_full 4007.5147760
free=3956579920
contiguous_available=2070817568
promotion_rate=885817
cms_allocation_rate=0
occupancy=0.6121208
initiatingOccupancy=0.6500000
initiatingPermOccupancy=0.9200000
Application time: 0.1273720 seconds
{Heap before GC invocations=3851 (full 10):
{Heap before GC invocations=3851 (full 10):
par new generation total 458752K, used 427048K [0x000000057a000000, 0x000000059a000000, 0x000000059a000000)
eden space 393216K, 100% used [0x000000057a000000, 0x0000000592000000, 0x0000000592000000)
from space 65536K, 51% used [0x0000000592000000, 0x000000059410a2c8, 0x0000000596000000)
to space 65536K, 0% used [0x0000000596000000, 0x0000000596000000, 0x000000059a000000)
concurrent mark-sweep generation total 9961472K, used 6097624K [0x000000059a000000, 0x00000007fa000000, 0x00000007fa000000)
concurrent-mark-sweep perm gen total 63128K, used 37808K [0x00000007fa000000, 0x00000007fdda6000, 0x0000000800000000)Same problems occur with some of our server instances of a large server backend with huge heapsizes. Hardware is 16 x86 cores on Windows at one site. Although we dont't see "promotion failed" messages.
-Djava.awt.headless=true
-Djava.rmi.dgc.leaseValue=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dfile.encoding=UTF-8
-Xmx11000m
-Xms7000m
-Xmn3500m
-XX:PermSize=768m
-XX:MaxPermSize=768m
-XX:+UseParNewGC
-XX:+DisableExplicitGC
-XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled
-XX:-UseLargePages
-XX:SoftRefLRUPolicyMSPerMB=1
-XX:SurvivorRatio=1
-XX:InitialTenuringThreshold=15
-Xshare:off
-verbose:class
-verbose:gc
-Xloggc:gc.log
-XX:+PrintGCTimeStamps
-XX:+PrintGCDateStamps
-XX:+PrintGCDetails
-XX:+PrintCMSInitiationStatistics
-XX:PrintCMSStatistics=1
-XX:+PrintGCTaskTimeStamps
-XX:+PrintTenuringDistribution
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=1234
The following two options are currently disabled to exclude problems with concurrent CMS perm size collections:
-XX:+CMSClassUnloadingEnabled
-XX:+CMSIncrementalMode
This extract of the GC log shows one pause of 40 seconds at 2010/11/19 08:35:30 during the ParNew phase which normally runs for only 0.05 to 0.1 seconds.
INFO | jvm 1 | 2010/11/19 08:34:45 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:34:47 | CMSCollector shouldConcurrentCollect: 143805.306
INFO | jvm 1 | 2010/11/19 08:34:47 | time_until_cms_gen_full 1857957.8130999
INFO | jvm 1 | 2010/11/19 08:34:47 | free=425866008
INFO | jvm 1 | 2010/11/19 08:34:47 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:34:47 | promotion_rate=203.795
INFO | jvm 1 | 2010/11/19 08:34:47 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:34:47 | occupancy=0.8942350
INFO | jvm 1 | 2010/11/19 08:34:47 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:34:47 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:34:49 | 2010-11-19T08:34:49.332+0100: 143807.135: [GC 143807.135: [ParNew
INFO | jvm 1 | 2010/11/19 08:35:30 | Desired survivor size 671088640 bytes, new threshold 15 (max 15)
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 1: 102644048 bytes, 102644048 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 2: 30772776 bytes, 133416824 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 3: 27784600 bytes, 161201424 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 4: 10277736 bytes, 171479160 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 5: 1696 bytes, 171480856 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 6: 60584 bytes, 171541440 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 7: 1968 bytes, 171543408 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 8: 2200 bytes, 171545608 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 9: 81752 bytes, 171627360 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 10: 153928 bytes, 171781288 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 11: 48 bytes, 171781336 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 12: 136 bytes, 171781472 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 13: 10104 bytes, 171791576 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 14: 41344 bytes, 171832920 total
INFO | jvm 1 | 2010/11/19 08:35:30 | - age 15: 96 bytes, 171833016 total
INFO | jvm 1 | 2010/11/19 08:35:30 | : 1410396K->197458K(2621440K), 40.7184593 secs] 4926671K->3713735K(6553600K), 40.7185248 secs]CMSCollector shouldConcurrentCollect: 143847.854
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620
INFO | jvm 1 | 2010/11/19 08:35:30 | [Times: user=1.25 sys=0.36, real=40.71 secs]
INFO | jvm 1 | 2010/11/19 08:35:30 | free=425864592
INFO | jvm 1 | 2010/11/19 08:35:30 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:35:30 | promotion_rate=195.733
INFO | jvm 1 | 2010/11/19 08:35:30 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:35:30 | occupancy=0.8942354
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | CMSCollector shouldConcurrentCollect: 143847.854
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620
INFO | jvm 1 | 2010/11/19 08:35:30 | free=425864592
INFO | jvm 1 | 2010/11/19 08:35:30 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:35:30 | promotion_rate=195.733
INFO | jvm 1 | 2010/11/19 08:35:30 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:35:30 | occupancy=0.8942354
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | WrapperManager: The timer fell behind the system clock by 40700ms.
INFO | jvm 1 | 2010/11/19 08:35:30 | CMSCollector shouldConcurrentCollect: 143847.865
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620
INFO | jvm 1 | 2010/11/19 08:35:30 | free=425864592
INFO | jvm 1 | 2010/11/19 08:35:30 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:35:30 | promotion_rate=195.733
INFO | jvm 1 | 2010/11/19 08:35:30 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:35:30 | occupancy=0.8942354
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | CMSCollector shouldConcurrentCollect: 143847.865
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620
INFO | jvm 1 | 2010/11/19 08:35:30 | free=425864592
INFO | jvm 1 | 2010/11/19 08:35:30 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:35:30 | promotion_rate=195.733
INFO | jvm 1 | 2010/11/19 08:35:30 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:35:30 | occupancy=0.8942354
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | CMSCollector shouldConcurrentCollect: 143847.866
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620
INFO | jvm 1 | 2010/11/19 08:35:30 | free=425864592
INFO | jvm 1 | 2010/11/19 08:35:30 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:35:30 | promotion_rate=195.733
INFO | jvm 1 | 2010/11/19 08:35:30 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:35:30 | occupancy=0.8942354
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | CMSCollector shouldConcurrentCollect: 143847.866
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620
INFO | jvm 1 | 2010/11/19 08:35:30 | free=425864592
INFO | jvm 1 | 2010/11/19 08:35:30 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:35:30 | promotion_rate=195.733
INFO | jvm 1 | 2010/11/19 08:35:30 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:35:30 | occupancy=0.8942354
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | CMSCollector shouldConcurrentCollect: 143847.866
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620
INFO | jvm 1 | 2010/11/19 08:35:30 | free=425864592
INFO | jvm 1 | 2010/11/19 08:35:30 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:35:30 | promotion_rate=195.733
INFO | jvm 1 | 2010/11/19 08:35:30 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:35:30 | occupancy=0.8942354
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | CMSCollector shouldConcurrentCollect: 143847.866
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620
INFO | jvm 1 | 2010/11/19 08:35:30 | free=425864592
INFO | jvm 1 | 2010/11/19 08:35:30 | contiguous_available=2684354560
INFO | jvm 1 | 2010/11/19 08:35:30 | promotion_rate=195.733
INFO | jvm 1 | 2010/11/19 08:35:30 | cms_allocation_rate=0
INFO | jvm 1 | 2010/11/19 08:35:30 | occupancy=0.8942354
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | initiatingPermOccupancy=0.9200000
INFO | jvm 1 | 2010/11/19 08:35:30 | CMSCollector shouldConcurrentCollect: 143847.871
INFO | jvm 1 | 2010/11/19 08:35:30 | time_until_cms_gen_full 1939631.4029620 -
K7N2 Delta-L long pauses during boot
I bought all the parts and assembled the system, making sure I was always grounded. When the system boots, it hangs during booting for long periods of time, but it resumes like normal afterwards. I'm completely at a loss here. I've tried all kinds of things... Please help... Thanks
The first pause begins with "Primary IDE channel no 80 conductor cable installed". then it pauses again just after "Verifying DMI Pool..." then it pauses sporadically after that. I've not installed any software yet.my GOD wonk someone actually said thanks for the words....
-
Crash during software update! Please help!
Could someone please help me? I attempted to update my software when prompted, including Leopard and Itunes, but during the restart process my computer froze.
I restarted it and tried to update my software again, but now I get an error message that says "The digital signature for this package is incorrect" and will not let me update. Now, Itunes refuses to open and I have no idea how to correctly update my computer or fix the Itunes problem.
I also attempted to send an error message to Apple and that option is no longer working on my computer either. I'm horrible with computers, but I would really appreciate any advice anyone could provide me! Thank you so much!repair permissions go to Applications/Utility/diask Utility and verify and repair permission then
zap pram appleoption+pr during a re-start
go to apple.com/support/downloads and download the itunes and 10.5.2 installer.
never use the software updater pane -
FCS 3 (or call it Upgrade!) Well-known Long Pauses during Installation
Does anyone know if the issue with the 'long pauses' of the progress bar hitting 100% during the installation of components and discs still exists during the Installation of FCS3? Just want to know what to expect!
This was well-known for FCS2 I seem to remember.
thanks.Hi,
What exactly are you experiencing with FxFactory? Please do contact [email protected] if you are having any problems at all with FxFactory after the Final Cut Studio Upgrade.
Thanks so much,
Niclas -
Hotspot core dumping during JVM garbage collection ?
We have an application which calls a 3rd party supplied server API which has recently been upgraded to use Java 1.5
We are getting the following error reported by our client application. The application is also now running Java 1.5 but references many classes in jar files which would have quite old code in.
The supplier of the API has stated that the problem requires us to recompile all our jar files using v 1.5 ( including things like jconnect and jms ?!?!? ). This sounds like a bit of a cop-out to me, not to mention being impossible since we don't have the source for things like jconnect.
I suspect that there is a garbage collection problem at the bottom of all this, but I'm not sure how I can "prove" this, nor do I currently have any real clue as to how to fix any GC problem that may exist.
The application is supposed to wait for a message on a MQSeries queue and then transforms it via Xalan XSLT and sends it to a Server application. I've tried playing around with heap sizes etc but that just seems to make it worse. If I leave it at the settings that the previous version used then the client at least manages to process a couple of messages before core dumping. There doesn't seem to be a consistent trigger event to cause the core dump ( it's not a message arriving on a queue for example ) but it does seem to be fairly consistent timewise, i.e. after
Any ideas gratefully accepted.
Here's a logfile excerpt from my applications showing the Hotspot error message :
=====================================================================================
08-Jul-2008 10:01:05 Waiting for messages from COLT.BBFS
08-Jul-2008 10:02:05 Waiting for messages from COLT.BBFS
08-Jul-2008 10:03:05 Waiting for messages from COLT.BBFS
405.815: [GC [PSYoungGen: 17331K->9244K(37632K)] 111702K->103615K(192128K), 0.1615910 secs]
405.977: [Full GC#
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGBUS (0xa) at pc=0xfe141348, pid=2600, tid=8
# Java VM: Java HotSpot(TM) Server VM (1.5.0_03-b07 mixed mode)
# Problematic frame:
# V [libjvm.so+0x141348]
# An error report file with more information is saved as hs_err_pid2600.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
=====================================================================================
The logfile referred to in the error message contains the following.
=====================================================================================
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGBUS (0xa) at pc=0xfe141348, pid=2600, tid=8
# Java VM: Java HotSpot(TM) Server VM (1.5.0_03-b07 mixed mode)
# Problematic frame:
# V [libjvm.so+0x141348]
--------------- T H R E A D ---------------
Current thread (0x001484d8): VMThread [id=8]
siginfo:si_signo=10, si_errno=0, si_code=1, si_addr=0x0000080f
Registers:
O0=0x00487588 O1=0xfe7d6454 O2=0x000079b0 O3=0x00007800
O4=0x00008868 O5=0x00147d48 O6=0xf8781460 O7=0xfe0f7938
G1=0xe52aaae8 G2=0x00000003 G3=0x00000003 G4=0x001484d8
G5=0xf8781d98 G6=0x00000002 G7=0xf8781d98 Y=0x805683e2
PC=0xfe141348 nPC=0xfe14134c
Top of Stack: (sp=0xf8781460)
0xf8781460: fe786000 00c6ba20 fe10013c e54bab68
0xf8781470: 0000080f e54bab6c 0000080f 00000004
0xf8781480: 00487588 00000134 e54bab6c 00000004
0xf8781490: 00000001 00000000 f87814c0 fe17aef4
0xf87814a0: fe6485b4 fe7d899c 001484d8 0011da40
0xf87814b0: 00148988 00148c10 00148d7c f8781880
0xf87814c0: 007c3389 007c3c0e 00000f87 00008868
0xf87814d0: 00008800 00487588 fe141310 fe7d6454
Instructions: (pc=0xfe141348)
0xfe141338: ec 06 c0 1a 80 a5 a0 00 22 40 00 0a ba 07 60 01
0xfe141348: f2 05 a0 00 ae 0e 60 03 80 a5 e0 03 22 40 00 05
Stack: [0xf8702000,0xf8781d98), sp=0xf8781460, free space=509k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x141348]
V [libjvm.so+0x17aefc]
V [libjvm.so+0x2d557c]
V [libjvm.so+0x300ef8]
V [libjvm.so+0x301e84]
V [libjvm.so+0x2ff950]
V [libjvm.so+0x29df30]
V [libjvm.so+0x362b44]
V [libjvm.so+0x6436f0]
VM_Operation (0xe03012b0): parallel gc system gc, mode: safepoint, requested by thread 0x0031bca0
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00b2c028 JavaThread "Thread-4" [_thread_in_native, id=85]
0x007f5048 JavaThread "Thread-0" [_thread_blocked, id=84]
0x00c27cf0 JavaThread "Notification Delivery" [_thread_blocked, id=81]
0x0026fa08 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=73]
0x00821048 JavaThread "RMI RenewClean-[162.11.2.32:44425]" daemon [_thread_blocked, id=70]
0x0031bca0 JavaThread "GC Daemon" daemon [_thread_blocked, id=67]
0x00cd5d28 JavaThread "RMI Reaper" [_thread_blocked, id=66]
0x003c9300 JavaThread "Timer-0" daemon [_thread_blocked, id=65]
0x00929fe0 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=64]
0x0089bf18 JavaThread "SeedGenerator Thread" daemon [_thread_blocked, id=42]
0x00c47248 JavaThread "Pool thread #7" daemon [_thread_blocked, id=38]
0x00c466a0 JavaThread "Pool thread #6" daemon [_thread_blocked, id=37]
0x00311850 JavaThread "Pool thread #5" daemon [_thread_blocked, id=36]
0x00287a40 JavaThread "Pool thread #4" daemon [_thread_blocked, id=35]
0x00286e98 JavaThread "Pool thread #3" daemon [_thread_blocked, id=34]
0x00c134b0 JavaThread "Pool thread #2" daemon [_thread_blocked, id=33]
0x00ad09e0 JavaThread "Pool thread #1" daemon [_thread_blocked, id=32]
0x00286cd8 JavaThread "PoolThreadManager" daemon [_thread_blocked, id=31]
0x00c129e0 JavaThread "Channel Reaper" daemon [_thread_blocked, id=30]
0x00c669e8 JavaThread "ORB Daemon Thread" daemon [_thread_blocked, id=29]
0x00b10170 JavaThread "Worker for ServerProtocol: (iiop) /0.0.0.0:20168" daemon [_thread_blocked, id=22]
0x008a17e0 JavaThread "Syn~ Client" daemon [_thread_blocked, id=21]
0x003dc378 JavaThread "PoolScavenger0" daemon [_thread_blocked, id=20]
0x0015a928 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=15]
0x00159880 JavaThread "CompilerThread1" daemon [_thread_blocked, id=14]
0x00158a18 JavaThread "CompilerThread0" daemon [_thread_blocked, id=13]
0x00157b98 JavaThread "AdapterThread" daemon [_thread_blocked, id=12]
0x00156dc8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11]
0x0014ccd8 JavaThread "Finalizer" daemon [_thread_blocked, id=10]
0x0014ad90 JavaThread "Reference Handler" daemon [_thread_blocked, id=9]
0x00038238 JavaThread "main" [_thread_in_native, id=1]
Other Threads:
=>0x001484d8 VMThread [id=8]
0x0015c3b0 WatcherThread [id=16]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00037728/0x00037758] Threads_lock - owner thread: 0x001484d8
[0x00033650/0x00037ba8] Heap_lock - owner thread: 0x0031bca0
Heap
PSYoungGen total 37632K, used 9244K [0xf2eb0000, 0xf7ba0000, 0xf8400000)
eden space 28352K, 0% used [0xf2eb0000,0xf2eb0000,0xf4a60000)
from space 9280K, 99% used [0xf4a60000,0xf5367080,0xf5370000)
to space 25216K, 0% used [0xf6300000,0xf6300000,0xf7ba0000)
PSOldGen total 154496K, used 94371K [0xe8400000, 0xf1ae0000, 0xf2eb0000)
object space 154496K, 61% used [0xe8400000,0xee028e78,0xf1ae0000)
PSPermGen total 35584K, used 18260K [0xe4400000, 0xe66c0000, 0xe8400000)
object space 35584K, 51% used [0xe4400000,0xe55d5158,0xe66c0000)
Dynamic libraries:
0x00010000 /dsdvlp/java/jvm/jdk1.5.0_03/bin/java
0xff350000 /usr/lib/libthread.so.1
0xff340000 /usr/lib/libdl.so.1
0xff200000 /usr/lib/libc.so.1
0xff390000 /usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
0xfe000000 /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/server/libjvm.so
0xff1e0000 /usr/lib/libsocket.so.1
0xff2d0000 /usr/lib/libsched.so.1
0xff1b0000 /usr/lib/libCrun.so.1
0xff160000 /usr/lib/libm.so.1
0xff080000 /usr/lib/libnsl.so.1
0xff060000 /usr/lib/libmp.so.2
0xff030000 /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/native_threads/libhpi.so
0xfdfc0000 /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libverify.so
0xfdf80000 /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libjava.so
0xfdf50000 /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libzip.so
0xfb7e0000 /usr/lib/locale/en_GB.ISO8859-1/en_GB.ISO8859-1.so.2
0xe4190000 /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libnet.so
0xe3bd0000 /dsdvlp/lib/5/libSolarisNatives.so
0xe3e90000 /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/librmi.so
VM Arguments:
jvm_args: -Djava.ext.dirs=/dsdvlp/java/tmijar/firs7/lib/cli:/dsdvlp/java/tmijar/firs7/lib/cli/ext:/dsdvlp/java/tmijar/firs7/lib/cmn/OpenORB:/dsdvlp/java/tmijar/firs7/lib/cmn/OpenORB/ext:/dsdvlp/java/tmijar/firs7/lib/cmn:/dsdvlp/java/tmijar/firs7/lib/cmn/ext:/dsdvlp/java/tmijar/firs7/daemonlib -Duser.dir=/dsdvlp/java/tmijar/firs7 -Dopenorb.config=file:/dsdvlp/java/tmijar/firs7/configs/OpenORB/config/SynOpenORB.xml -Dopenorb.home=file:/dsdvlp/java/tmijar/firs7/configs/OpenORB -Dcom.coexis.syn.general.orbbinding=com.coexis.syn.general.orbbinding.openorb.OpenORBBinding_1_4 -Dsun.rmi.dgc.client.gcInterval=360000 -Dsun.rmi.dgc.server.gcInterval=360000000 -Xms32m -Xmx256m -Dcom.coexis.syn.clientcommandsconfiglocation=file://localhost//dsdvlp/java/tmijar/firs7/configs/clientcommands.xml -Dcom.coexis.syn.clientconfiglocation=file://localhost//dsdvlp/java/tmijar/firs7/configs/fsbbtd_client.xml -XX:+PrintGCTimeStamps -XX:+PrintGCDetails
java_command: com.coexis.syn.mqmessaging.daemon.RunDaemon -p /dsdvlp/bin/5/lndsfsd_fsbbtd.properties start
Environment Variables:
JAVA_HOME=/dsdvlp/java/jvm/jdk150
CLASSPATH=.:/dsdvlp/java/jar/jconnect520.jar:/dsdvlp/java/jar/vbjapp340.jar:/dsdvlp/java/jar/vbjorb340.jar:/dsdvlp/java/jar/javax_jndi120.jar
PATH=/usr/local/etc:/usr/lang:/usr/openwin/bin:/usr/ucb:/bin:/usr/etc:/usr/local/5/bin:/dsdvlp/bin/5:/dsdvlp/bin/4:/home/app/sybase/5/bin:/home/app/sybase/5/localscripts:/home/app/sybase/5/sqr:/home/app/lang:/home/app/lang/SC2.0.1:/usr/ccs/bin:/usr/local/opt/Acrobat3/bin:/dsdvlp/bin:.
LD_LIBRARY_PATH=/dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/server:/dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc:/dsdvlp/java/jvm/jdk1.5.0_03/jre/../lib/sparc:/usr/lib:/usr/openwin/lib:/usr/local/5/lib:/dsdvlp/lib/5:/dstest/lib/5:/home/app/sybase/5/lib:/dstest/cats/sun4/lib:/tmitest/Opus/opus/lib
SHELL=/bin/csh
DISPLAY=CLI00184.mfil.local:1.0
OS=5
--------------- S Y S T E M ---------------
OS: Solaris 8 2/02 s28s_u7wos_08a SPARC
Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
Assembled 18 December 2001
uname:SunOS 5.8 Generic_117350-20 sun4u (T1 libthread)
rlimit: STACK 8192k, CORE 9216k, NOFILE 4096, AS infinity
load average:2.24 2.67 2.68
CPU:total 4 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
Memory: 8k page, physical 8388608k(166384k free)
vm_info: Java HotSpot(TM) Server VM (1.5.0_03-b07) for solaris-sparc, built on Apr 13 2005 03:31:26 by unknown with unknown Workshop:0x550The very first suggestion I have is to move your VM to a more recent update of 1.5.0.
It looks like you are crashing with 5.0u3, and I'm pretty sure 5.0u16 is available. You
don't want to waste your time chasing a bug that's already been fixed. -
Why can I no longer find my iphotos? Updated from 10.6 to 10.8.2 recently... The iphoto logo in my dock has been replaced with a transparent, grey, question mark... why? How do I restore my iphotos? Searched for them in Finder, and in "search"... they appear as text only.. but no photos.. please help.. Mark
Have you verified that the iPhoto applications is not in the Applications folder or somewhere else on the hard drive?
To do so download and use Find Any File to search for "iPhoto.app" because FAF can search areas that Spotlight can't. If the application is somewhere else on the HD FAF will find it. However, I doubt that it will be there but it's worth a search.
OT -
ITunes Match has messed up my entire music collection - please help me
Does anyone else have a problem with iTunes Match splitting their albums? I have been happily using iTunes for my entire music collection (round 800 albums) but it became a disaster the day I turned on Match. Where an album has a guest contributor on a track, it removes that track and places it separately, same album name and cover, but with the individual track(s). Some albums have been split across more than 7 individual album entries. The changes appear to be permanent. Turning off Match does not cure the problem. Removing the album and reloading it doesn't cure the problem. I have been through and individually altered each album track to say that it it part of the same album. This results in the album tracks places together but then shows the album as 'unknown artist' so I can't view my music properly. I am at my wits end with this. Please help.
Hi,
This is not a match issue but a general iTunes problem - read this article http://samsoft.org.uk/iTunes/grouping.asp
Jim -
Loop, pause, reverse clip...please help
Hi guys,
I seldom work with action script but rather using a normal animation by adding graphic to the timeframe.
the graphic is done but the file is 1,8 MB which is too big for 1 file.
can someone help me?
I am trying to create a function where at :
-first frame, the event will pause till certain amount of second and play till the last frame.
-last frame will also pause certain amount of time and play reverse to the first frame.
can someone please help me?var mc:MovieClip = whatever movieclip your want to pause, play, pause, reverse
var pause1:int=3000; // pause for 3000 ms
var pause2:int = 2000; // pause for 2000 ms
var n:int = 0;
var t:Timer=new Timer(pause1,1);
t.addEventListener(TimerEvent.TIMER,pauseF);
t.start();
function pauseF(e:TimerEvent):void{
if(n==0){
mc.play();
mc.addEventListener(Event.ENTER_FRAME,enterframeF);
n=(n+1)%2;
function enterframeF(e:Event):void{
if(n==1){
if(mc.currentFrame==mc.totalFrames){
mc.stop();
mc.removeEventListener(Event.ENTER_FRAME,enterframeF);
t.delay=pause2;
t.reset();
t.start();
} else {
mc.prevFrame();
if(mc.currentFrame==1){
mc.removeEventListener(Event.ENTER_FRAME,enterframeF);
t.delay=pause1;
t.reset();
t.start(); -
Ora-06531 reference to uninitialized collection --- Please help
Hello,
I am getting this "ora-06531 reference to uninitialized collection" while executing the below procedure.
=======================
PROCEDURE iud_account_col
( pv_account_version IN account_version_t
AS
LC_USR_ID CONSTANT VARCHAR2(30) := pkg_util.get_usr_id ;
LC_TMSTMP CONSTANT TIMESTAMP /*WITH TIME ZONE*/ := pkg_util.get_tmstmp ;
lv_level VARCHAR2(100);
lv_am_key_id number;
lv_acct_cusip VARCHAR2(12);
LC_AM_KEY_ID number;
LC_AM_VER_NUM number;
BEGIN
DECLARE
lv_am account_version_t;
lv_amv account_maint_t;
lv_amvv account_maint_version_t;
cursor c_acct_cusip ( cv_am_key_id varchar2) is
select acct_cusip
from account_maintenance
where am_key_id = lv_amv.am_key_id;
BEGIN
lv_am := pv_account_version;
lv_level := 'ACCOUNT_MAINT' ;
lv_amv := pv_account_version.account_maint;
LC_AM_KEY_ID := lv_amv.am_key_id;
FOR acct_cusip_info in c_acct_cusip (lv_am_key_id)
LOOP
lv_acct_cusip := acct_cusip_info.acct_cusip;
END LOOP;
IF lv_amv.action = 'I'
THEN
INSERT
INTO
account_maintenance
( am_key_id
, acct_cusip
, am_orig_cre_tmstp
, am_orig_usr_id
, delete_ind
, add_usr_id
, add_tmstmp
, lock_level_num
VALUES
( lv_amv.am_key_id
, lv_amv.acct_cusip
, LC_TMSTMP
, LC_USR_ID
, lv_amv.delete_ind
, LC_USR_ID
, LC_TMSTMP
, lv_amv.lock_level_num
END IF;
lv_amvv := pv_account_version.account_maint.account_maint_version;
lv_level := 'ACCOUNT_MAINT_VERSION';
LC_AM_VER_NUM := lv_amvv.am_ver_num;
IF lv_amvv.action = 'I'
THEN
-- Insert issue maint version
INSERT
INTO
ACCOUNT_MAINTENANCE_VERSION
( AM_KEY_ID
, AM_VER_NUM
, ACCT_CUSIP
, LEGAL_ENTITY
, APPR_STATUS_REF_ID
, INACTIVE_IND
, ADD_USR_ID
, ADD_TMSTMP
, UPD_USR_ID
, UPD_TMSTMP
, LOCK_LEVEL_NUM
VALUES
( lv_amv.am_key_id
, lv_amvv.am_ver_num
, lv_acct_cusip
, lv_amvv.legal_entity
, lv_amvv.appr_status_ref_id
, 'N'
, LC_USR_ID
, LC_TMSTMP
, LC_USR_ID
, LC_TMSTMP
, lv_amvv.lock_level_num
END IF; --- end for account maint version.
FOR j IN lv_amv.account_maint_comment_col.FIRST
.. lv_amv.account_maint_comment_col.LAST
LOOP
DECLARE
lv_amvc account_maint_comment_t;
BEGIN
lv_amvc := lv_amv.account_maint_comment_col(j);
lv_level := 'ACCOUNT_MAINT_COMMENT';
IF lv_amvc.action = 'I'
THEN
--- Insert into account maintenance comment table
INSERT
INTO
ACCOUNT_MAINTENANCE_COMMENT
( AM_KEY_ID
, AM_VER_NUM
, COMMENT_NUM
, COMMENT_TMSTP
, COMMENT_TXT
, INACTIVE_IND
, ADD_USR_ID
, ADD_TMSTMP
, LOCK_LEVEL_NUM
VALUES
( LC_AM_KEY_ID
, LC_AM_VER_NUM
, lv_amvc.comment_num
, LC_TMSTMP
, lv_amvc.comment_txt
, 'N'
, LC_USR_ID
, LC_TMSTMP
, lv_amvc.lock_level_num
END IF;
END;
END LOOP; --- end loop for account maint comments
END;
COMMIT WORK;
RETURN;
EXCEPTION
WHEN OTHERS THEN
ROLLBACK WORK;
RAISE;
END iud_account_col;
====================
The UDT's are below:
CREATE OR REPLACE TYPE ACCOUNT_VERSION_T
AS OBJECT
PORTFOLIO PORTFOLIO_T
, ACCOUNT_MAINT ACCOUNT_MAINT_T
CREATE OR REPLACE TYPE ACCOUNT_MAINT_T
AS OBJECT
( AM_KEY_ID number
, ACCT_CUSIP varchar2(12)
, DELETE_IND varchar2(1)
, ADD_USR_ID varchar2(20)
, ADD_TMSTMP timestamp
, UPD_USR_ID varchar2(20)
, UPD_TMSTMP timestamp
, LOCK_LEVEL_NUM number
, ACTION VARCHAR2(1)
, ACCOUNT_MAINT_VERSION ACCOUNT_MAINT_VERSION_T
, ACCOUNT_MAINT_COMMENT_COL ACCOUNT_MAINT_COMMENT_COL_T
CREATE OR REPLACE TYPE ACCOUNT_MAINT_VERSION_T
AS OBJECT
( AM_KEY_ID number
, AM_VER_NUM number
, ACCT_CUSIP varchar2(12)
, LEGAL_ENTITY varchar2(100)
, APPR_STATUS_REF_ID number
, FUND_INACTIVE_TMSTMP timestamp
, ADD_USR_ID varchar2(20)
, ADD_TMSTMP timestamp
, UPD_USR_ID varchar2(20)
, UPD_TMSTMP timestamp
, LOCK_LEVEL_NUM number
, ACTION VARCHAR2(1)
CREATE OR REPLACE TYPE ACCOUNT_MAINT_COMMENT_T
AS OBJECT
( AM_KEY_ID number
, AM_VER_NUM number
, COMMENT_NUM number
, COMMENT_TXT varchar2(400)
, ADD_USR_ID varchar2(20)
, ADD_TMSTMP timestamp
, UPD_USR_ID varchar2(20)
, UPD_TMSTMP timestamp
, LOCK_LEVEL_NUM number
, ACTION VARCHAR2(1)
=====================================================
This is how I am trying to execute:
Declare
pv_account_version account_version_t := account_version_t(null
, account_maint_t ( 10041
, '11111111'
, 'N'
,'abc'
, NULL
, NULL
, NULL
, 1
,NULL-- 'I'
,ACCOUNT_MAINT_VERSION_T(10031
, 10001
, NULL
,'Legal entity'
,22
,NULL
,'abc'
,NULL
, NULL
,NULL
, 1
,NULL --'I'
,ACCOUNT_MAINT_COMMENT_COL_T(
10031
,10001
,1001
,'My first comment'
,'abc'
, NULL
, NULL
, NULL
, 1
, 'I')
Begin
pkg_cdm_process_v2.iud_account(pv_account_version);
END;
What am I doing wrong here....
Please help.
Thanks.Now if we only knew where the error was flagged.
PROCEDURE Iud_account_col
(pv_account_version IN ACCOUNT_VERSION_T)
AS
lc_usr_id CONSTANT VARCHAR2(30) := pkg_util.get_usr_id;
lc_tmstmp CONSTANT TIMESTAMP /*WITH TIME ZONE*/ := pkg_util.get_tmstmp;
lv_level VARCHAR2(100);
lv_am_key_id NUMBER;
lv_acct_cusip VARCHAR2(12);
lc_am_key_id NUMBER;
lc_am_ver_num NUMBER;
BEGIN
DECLARE
lv_am ACCOUNT_VERSION_T;
lv_amv ACCOUNT_MAINT_T;
lv_amvv ACCOUNT_MAINT_VERSION_T;
CURSOR c_acct_cusip(cv_am_key_id VARCHAR2) IS
SELECT acct_cusip
FROM account_maintenance
WHERE am_key_id = lv_amv.am_key_id;
BEGIN
lv_am := pv_account_version;
lv_level := 'ACCOUNT_MAINT';
lv_amv := pv_account_version.account_maint;
lc_am_key_id := lv_amv.am_key_id;
FOR acct_cusip_info IN c_acct_cusip(lv_am_key_id) LOOP
lv_acct_cusip := acct_cusip_info.acct_cusip;
END LOOP;
IF lv_amv.ACTION = 'I' THEN
INSERT INTO account_maintenance
(am_key_id,
acct_cusip,
am_orig_cre_tmstp,
am_orig_usr_id,
delete_ind,
add_usr_id,
add_tmstmp,
lock_level_num)
VALUES (lv_amv.am_key_id,
lv_amv.acct_cusip,
lc_tmstmp,
lc_usr_id,
lv_amv.delete_ind,
lc_usr_id,
lc_tmstmp,
lv_amv.lock_level_num);
END IF;
lv_amvv := pv_account_version.account_maint.account_maint_version;
lv_level := 'ACCOUNT_MAINT_VERSION';
lc_am_ver_num := lv_amvv.am_ver_num;
IF lv_amvv.ACTION = 'I' THEN
-- Insert issue maint version
INSERT INTO account_maintenance_version
(am_key_id,
am_ver_num,
acct_cusip,
legal_entity,
appr_status_ref_id,
inactive_ind,
add_usr_id,
add_tmstmp,
upd_usr_id,
upd_tmstmp,
lock_level_num)
VALUES (lv_amv.am_key_id,
lv_amvv.am_ver_num,
lv_acct_cusip,
lv_amvv.legal_entity,
lv_amvv.appr_status_ref_id,
'N',
lc_usr_id,
lc_tmstmp,
lc_usr_id,
lc_tmstmp,
lv_amvv.lock_level_num);
END IF; --- end for account maint version.
FOR j IN lv_amv.account_maint_comment_col.FIRST.. lv_amv.account_maint_comment_col.LAST LOOP
DECLARE
lv_amvc ACCOUNT_MAINT_COMMENT_T;
BEGIN
lv_amvc := lv_amv.Account_maint_comment_col(j);
lv_level := 'ACCOUNT_MAINT_COMMENT';
IF lv_amvc.ACTION = 'I' THEN
--- Insert into account maintenance comment table
INSERT INTO account_maintenance_comment
(am_key_id,
am_ver_num,
comment_num,
comment_tmstp,
comment_txt,
inactive_ind,
add_usr_id,
add_tmstmp,
lock_level_num)
VALUES (lc_am_key_id,
lc_am_ver_num,
lv_amvc.comment_num,
lc_tmstmp,
lv_amvc.comment_txt,
'N',
lc_usr_id,
lc_tmstmp,
lv_amvc.lock_level_num);
END IF;
END;
END LOOP; --- end loop for account maint comments
END;
COMMIT WORK;
RETURN;
EXCEPTION
WHEN OTHERS THEN
ROLLBACK WORK;
RAISE;
END iud_account_col;
Maybe you are looking for
-
How do I get my apps back on my iPhone after updating to IOS7?
How do I get my apps back on my iPhone after updating to IOS7?
-
HELP. tried to update to ios 6.1 and it crashed my phone, plugged it into itunes like it told me to and it said i needed to restore it, so tried and it failed and it just keeps failing. its an iphone 4. what do i do?!
-
I have been painting in Photoshop using layer masks. Using the pen tool I would outline my image, control>R-click>select create layer mask, then I would paint as desired. When doing so it would create a grey layer mask background in the layers window
-
Hierarchy, category, sets and attributes
Hi, i've created some new attributes, a set, a category and a hierarchy in CRM (developement) and I don't know if I have to transport them or create them ion integration and production.. Thanks in advance !!
-
Hi! I'm now building an extension for Photoshop. The script (jsx) should save the active document as Photoshop PDF secured with a password. The PW is the same all the time and is set in the script. Then the script is to open the PDF with that same pa