LoaderInfo class doesn't dispatch Init and Complete events
Hi,
I use the traditional way to download jpeg images (size < 200K) dynamically:
try {
contentLoader = new Loader();
contentLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
contentLoader.contentLoaderInfo.addEventListener(Event.INIT, onInit);
contentLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onError);
contentLoader.loadBytes(loader.data as ByteArray);
} catch (error:Error) {
trace (error.toString());
private function onInit(event:Event):void {
trace ("onInit");
private function onLoadComplete(evt:Event):void {
token.result = (evt.target as LoaderInfo).content as Bitmap;
I have noticed that sometimes class LoaderInfo doesn't dispatch neither INIT nor COMPLETE event working with the same images. There is no IO_ERROR dispatched as well. All images are small (< 200K).
I suppose that this is a bug in the Flash Player.
Okay, at this point I think I can chalk it up to a bad swf file (or a couple, anyway).
One thing I noticed while stepping through fdb is that after invoking loader.loadBytes, even though the completion event is never triggered, it looks like a new swf is instantiated. The instantiated movieClip is ~600k, though, which is over 200 times the actual source file size. Using swfdump from the flex sdk on the swf it looks like the framerate and length parameters were bad. Like 20k and 600k bad. I'm guessing the file was incorrectly stored as text at a point. After checking the source asset and reexporting, my application works as expected (the loaderInfo always triggers a completion event).
I'm not sure why it works when in an isolated test case. I end up loading the file the same number of times. There's definitely a concatenation of circumstances at work. I guess it's possible if I let it run for an indefinite amount of time the event would have eventually triggered.
Thanks for the time though. Hopefully someone else finds this thread helpful.
Similar Messages
-
Sound - 'complete' event vs. SoundChannel - 'soundComplete' event
Hi,
Can anybody here explain practical difference between:
complete event of of Sound class and soundComplete event of SoundChannel class ?
What are exact differences between the two? When precisely are both events dispatched? Are they dispatched always together or not - which one is first?
Documentation is very laconic in this case (as usual mostly...).
Thanks ahead !Sound class
This doesn't actually have a complete event (in the way you might be thinking of). What you might be refering to (in the AS Docs) is usage of the flash.events.Event.COMPLETE event. This is only used for loading sound files, and tells you when the data has successfully loaded. So, typically, you'd just use the Sound class to manage the loading of things...
SoundChannel class: flash.events.Event.SOUND_COMPLETE
This is what should be used for detecting the completion of audio. The SoundChannel class is what you'd want to use to control the stopping/pausing/playing of things.
private var _s:Sound;
private var _sc:SoundChannel;
When loading audio...
_s = new Sound();
_sc = new SoundChannel();
_s.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
_s.load(new URLRequest(url));
When playing audio...
_sc = _s.play();
_sc.addEventListener(Event.SOUND_COMPLETE, soundCompleteHandler); -
My external HD stopped showing up on my desktop, but shows up in my Disk Utility..
I have tried a disk verify and repair - sometimes that works and completes, sometimes it doesn't.
Either way, it wont eject or mount, and still doesn't show up on desktop.
There are no ticking noises coming from the hard drive, and it lights up still, and i have tried replacing the cords, and restarting/shutting down the computer, and have tried it on a mac desktop also - same problem.
Any help would be great!!!and have tried it on a mac desktop also - same problem.
Try this on one of the Macs ...
Open a Finder window. From the menu bar click Finder > Preferrences
Select the General tab then select: Show External Disks -
Installing the free 30 day trial of Adobe Acrobat XI Pro. Stuck at the 'Download Completed' window, showing it's complete, but another window doesn't come up and the program isn't showing up anywhere either...?
Hi Tammy Havlik,
Try Downloading the Installer Package from this Link ( Download Acrobat products | Standard, Pro | XI, X) and Let me know if this helps.
Regards,
Rahul -
i just update my iPhone which was previously jailbreaked when i update it after downloading all the file it start to show the apple logo for a moment and it went and completely turned off i tried to connect through iTunes but it doesn't show any iPhone connected to itunes
No support for jailbroken phones will be given in this forum or from Apple.
Unauthorized modification of iOS has been a major source of instability, disruption of services, and… -
Revision: 23143
Revision: 23143
Author: [email protected]
Date: 2011-10-27 06:31:02 -0700 (Thu, 27 Oct 2011)
Log Message:
Certain code needs to check the existence of the class validation validator (some brokers and other listeners) during message broker init, however the validator was not being created till the very end of the method. Promote it to be at the top instead of at the bottom.
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/config/MessagingConfiguration.javaRevision: 23143
Revision: 23143
Author: [email protected]
Date: 2011-10-27 06:31:02 -0700 (Thu, 27 Oct 2011)
Log Message:
Certain code needs to check the existence of the class validation validator (some brokers and other listeners) during message broker init, however the validator was not being created till the very end of the method. Promote it to be at the top instead of at the bottom.
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/config/MessagingConfiguration.java -
Why does URLStream complete event get dispatched when the file is not finished loading?
I'm writing an AIR kiosk app that every night connects to a WordPress server, gets a JSON file with paths to all the content, and then downloads that content and saves it to the kiosk hard drive.
There's several hundred files (jpg, png, f4v, xml) and most of them download/save with no problems. However, there are two f4v files that never get downloaded completely. The complete event does get dispatched, but if I compare the bytesTotal (from the progress event) vs bytesAvailable (from the complete event) they don't match up; bytesTotal is larger. The bytesTotal (from the progress event) matches the bytes on the server.
The bytesLoaded in the progress event never increases to the point that it matches the bytesTotal so I can't rely on the progress event either. This seems to happen on the same two videos every time. The videos are not very large, one is 13MB and the other is 46MB. I have larger videos that download without any problems.
[edit] After rebooting the compter, the two videos that were failing now download correctly, and now it's a 300kb png file that is not downloading completely. I'm only getting 312889 of 314349 bytes.
If I paste the url into Firefox it downloads correctly, so it appears to be a problem with Flash/AIR.
[edit] I just wrote a quick C# app to download the file and it works as expected, so it's definitely a problem with Flash/AIR.
Here's the code I'm using:
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.net.URLRequest;
import flash.net.URLStream;
[SWF(backgroundColor="#000000", frameRate="24", width="640", height="480")]
public class Test extends Sprite {
private var fileSize:Number;
private var stream : URLStream;
private var url:String = "http://192.168.150.219/wordpress2/wp-content/uploads/2012/12/John-Butler-clip1.f4v";
public function Test() {
if (stage)
init();
else
this.addEventListener(Event.ADDED_TO_STAGE, init);
private function init(e:Event=null):void {
this.removeEventListener(Event.ADDED_TO_STAGE, init);
stream = new URLStream();
stream.addEventListener(ProgressEvent.PROGRESS, onLoadProgress);
stream.addEventListener(Event.COMPLETE, onLoadComplete);
stream.load(new URLRequest(url));
private function onLoadProgress(event:ProgressEvent):void {
fileSize = event.bytesTotal;
var percent:Number = event.bytesLoaded / event.bytesTotal * 100;
trace(percent + "%");
private function onLoadComplete(event:Event):void {
trace("loaded", stream.bytesAvailable, "of", fileSize);
// outputs "loaded 13182905 of 13184365"
// so why is it "complete" when it isn't finished downloading?Thanks for your quick reply !
I am relatively new to programming so please bear with me on this as I still haven't managed to grasp some of those things that "make perfect sense". If I am setting mouseEnabled to false doesn't that mean that the object no longer gets MouseEvents ?
If I have understood you correctly then once the mouseEnabled is set to false the btn object is removed from the objects recognizable by the mouse - hence dispatching a mouseout event (and I am guessing here) from the mouse?
I still don't get it though, if the listeners are set to the object and the object is no longer accessible to the mouse why is the event still being dispatched ?
I get it that the making of the object unavailable to the mouse causes the "removing" (deactivating) of the object from under the mouse,
step 1. deactivate object, and step 2. (as a result of step 1) register the removal of the object.
but why is the mouse still listening after step 1?
Even if the action is that of "out" (as in the object is no longer under the mouse) it still is an action isn't it ? so haven't we turned off the listening for actions ?
I promise I am not trying to drive you crazy here, this is just one of those things that I really want to get to the root of !
Thanks, -
Dispatcher stopped and Workprocessors are Ended State
Hi Experts
Suddenly my dispatcher stopped and all work processors are in Ended state in the ECC6.0 with Oracle database in windows 2003. I have checked the Memory parameters and resetted the values but still getting the same problem here i am pasting the dev_disp and dev_w0 files. Please help me need full
Regards
Chandra
dev_disp::
trc file: "dev_disp", trc level: 1, release: "700"
sysno 00
sid CHE
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 175
intno 20050900
make: multithreaded, Unicode, optimized
pid 1536
Sun Dec 07 13:05:43 2008
kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (00 1536) [dpxxdisp.c 1261]
shared lib "dw_xml.dll" version 175 successfully loaded
shared lib "dw_xtc.dll" version 175 successfully loaded
shared lib "dw_stl.dll" version 175 successfully loaded
shared lib "dw_gui.dll" version 175 successfully loaded
shared lib "dw_mdm.dll" version 175 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3900
Sun Dec 07 13:05:54 2008
WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0081.qqq.nxst) took 11 seconds
Sun Dec 07 13:05:59 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5418]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >I3LSERVSAP1_CHE_00 <
DpShMCreate: sizeof(wp_adm) 23856 (1704)
DpShMCreate: sizeof(tm_adm) 4415616 (21968)
DpShMCreate: sizeof(wp_ca_adm) 24064 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
DpShMCreate: sizeof(comm_adm) 528064 (1048)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (96)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1544)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 06840040, size: 5081056)
DpShMCreate: allocated sys_adm at 06840040
DpShMCreate: allocated wp_adm at 06842118
DpShMCreate: allocated tm_adm_list at 06847E48
DpShMCreate: allocated tm_adm at 06847E78
DpShMCreate: allocated wp_ca_adm at 06C7DEF8
DpShMCreate: allocated appc_ca_adm at 06C83CF8
DpShMCreate: allocated comm_adm at 06C85C38
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 06D06AF8
DpShMCreate: allocated gw_adm at 06D06B38
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 06D06B68
DpShMCreate: allocated wall_adm at 06D06B70
MBUF state OFF
DpCommInitTable: init table for 500 entries
rdisp/queue_size_check_value : -> off
ThTaskStatus: rdisp/reset_online_during_debug 0
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 4075 blocks reserved for free list.
ES initialized.
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1668]
***LOG Q0K=> DpMsAttach, mscon ( I3LSERVSAP1) [dpxxdisp.c 12364]
DpStartStopMsg: send start message (myname is >I3LSERVSAP1_CHE_00 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
CCMS: Checking Downtime Configuration of Monitoring Segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 7000, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
DpMsgAdmin: Set patchno for this platform to 175
Release check o.K.
Sun Dec 07 13:06:39 2008
my types changed after wp death/restart 0xbf --> 0xbe
my types changed after wp death/restart 0xbe --> 0xbc
my types changed after wp death/restart 0xbc --> 0xb8
my types changed after wp death/restart 0xb8 --> 0xb0
my types changed after wp death/restart 0xb0 --> 0xa0
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:06:49 2008
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Sun Dec 07 07:36:49 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 6120 Ended no 1 0 0
1 DIA 2860 Ended no 1 0 0
2 DIA 6020 Ended no 1 0 0
3 DIA 5632 Ended no 1 0 0
4 DIA 588 Ended no 1 0 0
5 DIA 6016 Ended no 1 0 0
6 UPD 484 Ended no 1 0 0
7 ENQ 2268 Ended no 1 0 0
8 BTC 584 Ended no 1 0 0
9 BTC 6064 Ended no 1 0 0
10 BTC 4228 Ended no 1 0 0
11 BTC 5980 Ended no 1 0 0
12 SPO 1984 Ended no 1 0 0
13 UP2 5996 Ended no 1 0 0
Dispatcher Queue Statistics Sun Dec 07 07:36:49 2008
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
2
2000
6
6
--------++++--
+
DIA
5
5
2000
5
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 12
wake_evt_udp_now 0
wake events total 8, udp 7 ( 87%), shm 1 ( 12%)
since last update total 8, udp 7 ( 87%), shm 1 ( 12%)
Dump of tm_adm structure: Sun Dec 07 07:36:49 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Sun Dec 07 07:36:49 2008
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:06:54 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >I3LSERVSAP1_CHE_00 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes
Stop gateway
killing process (6084) (SOFT_KILL)
Stop icman
killing process (6128) (SOFT_KILL)
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process lives (PID:6084 HANDLE:1484)
waiting for termination of gateway ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:06:55 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:6084 HANDLE:1484)
wait for end of icman
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:06:56 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:06:57 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:06:58 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:06:59 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:07:00 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:07:01 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:07:02 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:07:03 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:07:04 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:07:05 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:6128 HANDLE:1488)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1513
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Sun Dec 07 13:07:06 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:6128 HANDLE:1488)
DpStartStopMsg: send stop message (myname is >I3LSERVSAP1_CHE_00 <)
NiIMyHostName: hostname = 'I3LSERVSAP1'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 189 bytes
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
DpStartStopMsg: stop msg sent
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 recv would block (errno=EAGAIN)
NiIRead: read for hdl 2 timed out (0ms)
DpHalt: no more messages from the message server
DpHalt: send keepalive to synchronize with the message server
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
MsINiWrite: sent 114 bytes
send msg (len 110+4) to name MSG_SERVER, type 0, key -
MsSndName: MS_NOOP ok
Send 4 bytes to MSG_SERVER
NiIRead: hdl 2 recv would block (errno=EAGAIN)
NiIPeek: peek successful for hdl 2 (r)
NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
NiBufIIn: NIBUF len=114
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 114 bytes
MSG received, len 110+4, flag 3, from MSG_SERVER , typ 0, key -
Received 4 bytes from MSG_SERVER
Received opcode MS_NOOP from msg_server, reply MSOP_OK
MsOpReceive: ok
MsSendKeepalive : keepalive sent to message server
NiIRead: hdl 2 recv would block (errno=EAGAIN)
Sun Dec 07 13:07:07 2008
NiIPeek: peek for hdl 2 timed out (r; 1000ms)
NiIRead: read for hdl 2 timed out (1000ms)
DpHalt: no more messages from the message server
DpHalt: sync with message server o.k.
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 12710]
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
SiSelNSet: set events of sock 1420 to: ---
NiBufISelRemove: remove hdl 2 from set0
SiSelNRemove: removed sock 1420 (pos=2)
SiSelNRemove: removed sock 1420
NiSelIRemove: removed hdl 2
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/14
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
MBUF component DOWN
NiICloseHandle: shutdown and close hdl 2 / sock 1420
NiBufIClose: clear extension for hdl 2
MsIDetach: detach MS-system
cleanup EM
EsCleanup ....
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 1536) [dpxxdisp.c 10908]
Good Bye .....
dev_w0::
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Sun Dec 07 13:05:59 2008
B create_con (con_name=R/3)
B Loading DB library 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' ...
B Library 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' loaded
B Version of 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.167)
B New connection 0 created
M sysno 00
M sid CHE
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 175
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 6120
M
M kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
M length of sys_adm_ext is 576 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 6120) [dpxxdisp.c 1323]
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 23856 (1704)
M DpShMCreate: sizeof(tm_adm) 4415616 (21968)
M DpShMCreate: sizeof(wp_ca_adm) 24064 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
M DpShMCreate: sizeof(comm_adm) 528064 (1048)
M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
M DpShMCreate: sizeof(slock_adm) 0 (96)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1544)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06840040, size: 5081056)
M DpShMCreate: allocated sys_adm at 06840040
M DpShMCreate: allocated wp_adm at 06842118
M DpShMCreate: allocated tm_adm_list at 06847E48
M DpShMCreate: allocated tm_adm at 06847E78
M DpShMCreate: allocated wp_ca_adm at 06C7DEF8
M DpShMCreate: allocated appc_ca_adm at 06C83CF8
M DpShMCreate: allocated comm_adm at 06C85C38
M DpShMCreate: system runs without slock table
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 06D06AF8
M DpShMCreate: allocated gw_adm at 06D06B38
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 06D06B68
M DpShMCreate: allocated wall_adm at 06D06B70
M rdisp/queue_size_check_value : -> off
M ThTaskStatus: rdisp/reset_online_during_debug 0
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
X <EsNT> Using memory model view.
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Sun Dec 07 13:06:00 2008
M ThInit: running on host I3LSERVSAP1
M
M Sun Dec 07 13:06:01 2008
M calling db_connect ...
C Prepending F:\usr\sap\CHE\DVEBMGS00\exe to Path.
C Oracle Client Version: '10.2.0.1.0'
C Client NLS settings: AMERICAN_AMERICA.UTF8
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@CHE on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 0672A1A8 0672F744 0672EFCC
C Attaching to DB Server CHE (con_hdl=0,svchp=0672EF18,srvhp=06740B04)
C Starting user session (con_hdl=0,svchp=0672EF18,srvhp=06740B04,usrhp=06755878)
C Now '/@CHE' is connected: con_hdl=0, nls_hdl=0, session_id=85.
C Got SAPSR3's password from OPS$-user
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=0672EF18,usrhp=06755878)
C Now I'm disconnected from ORACLE
C Connecting as SAPSR3/<pwd>@CHE on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 0672A1A8 0672F744 0672EFCC
C Starting user session (con_hdl=0,svchp=0672EF18,srvhp=06740B04,usrhp=06755878)
C Now 'SAPSR3/<pwd>@CHE' is connected: con_hdl=0, nls_hdl=0, session_id=85.
C Database NLS settings: AMERICAN_AMERICA.UTF8
C DB instance CHE is running on I3LSERVSAP1 with ORACLE version 10.2.0.2.0 since DEC 07, 2008, 12:36:31
B Connection 0 opened (DBSL handle 0)
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost
B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20081207 130601 I3LSERVSAP1
C build_stmt: reallocating stmt buffer: 256 -> 2000 characters
M db_connect o.k.
M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
I MtxInit: 0 0 0
M SHM_PRES_BUF (addr: 0B3A0040, size: 4400000)
I *** ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=720000 KB)
[shmnt.c 2174]
I *** ERROR => [CreateOsShm] MapViewOfFile(Key=9,Handle=0x000004DC) failed with Err=0
[shmnt.c 2174]
I *** ERROR => ShmCreate: Create (9,737280000,3) failed [shmnt.c 506]
Memory diagnostic *
Systeminformation
Processor-Typ : Intel Pentium Pro
Processor-Count : 8
Operating System : NT 5.2, Build 3790
Service Pack : Service Pack 2
NT Pagefile Informations
Config. minimum size : 12570624 K
Config. maximum size : 12570624 K
Avail. maximum size : 12570624 K
Num
Pagefile
Min.Size
Max.Size
Avail.Max
Curr.Size
1
c:\pagefile.sys
4190208 K
4190208 K
4190208 K
4190208 K
2
d:\pagefile.sys
4190208 K
4190208 K
4190208 K
4190208 K
3
f:\pagefile.sys
4190208 K
4190208 K
4190208 K
4190208 K
NT Task Manager Informations
Total Handles : 0
Total Threads : 0
Total Processes : 0
Commit Charge Total : 6571584 K
Commit Charge Limit : 15822776 K
Commit Charge Peak : 7495116 K
Phys.Memory Total : 54 K
Phys.Memory Available : 93650276 K
File Cache : 17399116 K
Kernel Memory Total : 2084222616 K
Kernel Memory Paged : 0 K
Kernel Memory Nonpaged : 93650304 K
Memory usage of current process
Total virt.address space : 2097024 K
Avail.virt.address space : 837328 K
Private Pages : 0 K
Total heap size : 14532 K
Virtual memory regions : 0 K
Uncommitted heap memory : 6440 K
Allocated heap memory : 6850 K
Moveable heap memory : 0 K
DDE shared heap memory : 0 K
Memory usage of all processes
PID
Image
Instance
Work.Set
WS Peak
Priv.Pages
PP Peak
Pg Fault
1940
sapstartsrv.exe
15956 K
15956 K
18656 K
18700 K
4
5716
msg_server.EXE
[MS] CHE_00
8508 K
8508 K
11000 K
11000 K
2
1536
disp+work.EXE
[DP] CHE_00
93256 K
93256 K
69540 K
69540 K
22
5772
igswd.EXE
[**] CHE_00
2796 K
3048 K
1436 K
1724 K
0
1304
igsmux.exe
12012 K
12012 K
13032 K
13032 K
2
5696
igspw.exe
2536 K
2536 K
2336 K
2336 K
0
5688
igspw.exe
2536 K
2536 K
2336 K
2336 K
0
6084
gwrd.EXE
[GW] CHE_00
10164 K
10164 K
9996 K
17924 K
2
6128
icman.EXE
[**] CHE_00
86128 K
86128 K
88096 K
88096 K
21
6120
disp+work.EXE
31808 K
31904 K
82200 K
85356 K
7
2860
disp+work.EXE
[WP] CHE_00
30604 K
30604 K
81656 K
85356 K
7
6020
disp+work.EXE
[WP] CHE_00
16080 K
16080 K
67372 K
67372 K
3
5632
disp+work.EXE
[WP] CHE_00
16104 K
16104 K
67372 K
67372 K
3
588
disp+work.EXE
[WP] CHE_00
28804 K
28804 K
80672 K
85356 K
7
6016
disp+work.EXE
[WP] CHE_00
16084 K
16084 K
67372 K
67372 K
3
484
disp+work.EXE
[WP] CHE_00
16084 K
16084 K
67372 K
67372 K
3
2268
disp+work.EXE
[WP] CHE_00
16080 K
16080 K
67372 K
67372 K
3
584
disp+work.EXE
[WP] CHE_00
19112 K
19112 K
85360 K
85360 K
4
6064
disp+work.EXE
[WP] CHE_00
30972 K
30972 K
81696 K
85356 K
7
4228
disp+work.EXE
[WP] CHE_00
30376 K
30376 K
81488 K
85356 K
7
5980
disp+work.EXE
[WP] CHE_00
16080 K
16080 K
67372 K
67372 K
3
1984
disp+work.EXE
[WP] CHE_00
16080 K
16080 K
67372 K
67372 K
3
5996
disp+work.EXE
[WP] CHE_00
16080 K
16080 K
67372 K
67372 K
3
Sum
534240 K
1248476 K
M *** ERROR => ThShMCreate: ShmCreate SHM_ROLL_AREA_KEY failed [thxxhead.c 2598]
M *** ERROR => ThIPCInit: ThShMCreate [thxxhead.c 2095]
M ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c 1532]
M in_ThErrHandle: 1
M *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c 10534]
M
M Info for wp 0
M
M pid = 6120
M severity = 0
M status = 0
M stat = WP_RUN
M waiting_for = NO_WAITING
M reqtype = DP_RQ_DIAWP
M act_reqtype = NO_REQTYPE
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source =
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M csTrack = 0
M csTrackRwExcl = 0
M csTrackRwShrd = 0
M mode_cleaned_counter = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M attachedVm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server I3LSERVSAP1_CHE_00 on host I3LSERVSAP1 (wp 0)
M * ERROR ThInit: ThIPCInit
M *
M * TIME Sun Dec 07 13:06:01 2008
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 17
M * MODULE thxxhead.c
M * LINE 10754
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 723]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 261]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 6120) [dpnttool.c 333]Hi Chandra
If you look at the DEV_w0 log you can see the work process are not comming you as they are not getting enough shared memory see this error message
" Can't find free space for Shared Memory (Size=720000 KB) "
Please review the parameter changes made by you in Instance profile before restart of instace. Check the values of these parameters and if you are not sure of the value changed by you undo the parameter changes made before the instace restart
Restart the instance again after these changes in instance profile. for now you can change the instace profile file from OS but don't forget to import this changed profile when instace is up
if you did not changed any Profile parameters, check the physical memory available. chance could you some hardware memory issue. get your os team to check.
Its a clear case of memory issue ..
Rajeev -
The execution time of init() and start().
Hi everybody,
I am reading The Complete Reference Java 2 (1999).
It says "Whereas init() is called once -- the first time an applet is loaded -- start() is called each time an applet's HTML document is displayed onscreen. So, if a user leaves a web page and comes back, the applet resumes execution at start()"
According to the above words, I think an applet is initialized at the point of starting the HTML file containing the applet for the first time, i.e., init() is called. At the same time, start() is called following init(). Then if input a URL to start another HTML file and press "Back" button of the browser, start() should be called once more. Implicitly, only one instance of that applet is created and it exists until the user closes the browser.
I tried to test it using the code as bellow. In init(), String msg is initialized using current time. Instance variable i is defined with default value 1 and increased by 1 in start(). I supposed the time contained in msg remained constant and variable i increased one by one while going to a different URL and coming back repeatly.
Unfortunately, the time changed each time when coming back from another URL and i did not increase. It seems that a new instance (object) is created at that point. If so, differenciating init() and start() makes no sense. I am confused with it . Can anybody give me some further information? Thank you very much.
Source Code:
<code>
import java.awt.*;
import java.applet.*;
import java.util.*;
<applet code="TestApplet" width=500 height=50>
</applet>
public class TestApplet extends Applet {
String msg;
int i = 1;
// Set colors and initialize thread.
public void init() {
setBackground(Color.cyan);
setForeground(Color.red);
msg = " A Simple Moving Banner." + Calendar.getInstance().getTime();
// Start thread
public void start() {
msg = msg + " [" + i + "]";
i ++;
repaint();
// Display the banner.
public void paint(Graphics g) {
g.drawString(msg, 50, 30);
</code>
HTML Sample:
<code>
<html>
<body>
<applet code="TestApplet" width=500 height=50>
</applet>
</body>
</html>
</code>try this :
public class TestApplet extends Applet {
String msg;
static int i = 1; -
10G ora.init and using the orarun RPM
First I have 1 question and 1 comment:
Question: I did a new Install of Oracle 10g on SUSE SLES9, all went well. My question is where and what ORA.INIT file does it use when it starts the DATABASE?
The reason I am asking this is I am trying to setup ARCHIVELOG for STREAMS to move data from one database to another. I have successfully changed the DATABASE itself to be ARCHIVELOG MODE, now I need to do the below:
The reason I ask this, is I modified the ORA.INIT file in my install directory /opt/oracle/product/10g/dbs/ora.init, but it doesn't seem to look at this file on startup. The reason I say this, is I changed to ARCHIVELOG, changed the archive_log_dest=/opt/oracle/product/10g:[oracle.archive] and archive_log_start=true and when I check the parameter files it doesn't show the change.
So finally my question, is what init file or files, does ORACLE 10g use on startup? I'm lost????
Next, this is just a comment or helpful HINT:
Before I did the Install, I downloaded the latest orarun RPM file from NOVELL/SUSE. After the complete install, I noticed that when I did a REBOOT, my DATABASE and LISTNER did not start. I would get the error Insufficent Permissions: After looking and searching everywhere I found no real answer as to why. I then looked at the DBSTART and DBSHUT file and I made changes to the following areas within the files and all is working. Here is what I changed if anybody else is having the same issue:
On each of the lines where is has the CONNECT statement, I modified that line to read:
CONNECT SYS/(YOURPASSWORD) AS SYSDBA
After making these changes and a clean REBOOT all is working well.By default, starting with 9i, Oracle doesn't use init.ora, but a file called spfile<SID>.ora, normally located in $ORACLE_HOME/dbs. This file is generated at database creation time, a corresponding init.ora can be generated by 'create pfile from spfile;' . It is possible to make changes in this init.ora , use 'create spfile from pfile;' to forward these changes to spfile<SID>.ora .
-
Failed to unmarshal class weblogic.jms.dispatcher.Response
Hi,
we are using WL6.1 SP2 on solaris as a standalone JMS server and we another WL61
SP2 on solaris as application server. Our Application server connects to JMS server
and does a Qbrowse to select some info from the Queue. We had a problem once in
using the Qbrowser and below is the stacktrace. If anyone has any idea of this,please
shed some light.
Thanks
Krish.
weblogic.rmi.extensions.RemoteRuntimeException - with nested exception:
[java.rmi.UnmarshalException: failed to unmarshal class weblogic.jms.dispatcher.Response;
nested exception is:
java.io.StreamCorruptedException: Type code out of range, is -2]
java.lang.ClassCastException: weblogic.rmi.internal.MethodDescriptor
Start server side stack trace:
java.lang.ClassCastException: weblogic.rmi.internal.MethodDescriptor
at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.java:186)
at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readClassDescriptor(ChunkedObjectInputStream.ja
va:300)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:906)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:940)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.rmi.internal.StubInfo.readObject(StubInfo.java:73)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:110)
at weblogic.jms.dispatcher.DispatcherWrapper.readExternal(DispatcherWrapper.java:126)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:99)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:123)
at weblogic.jms.frontend.FEConnectionFactory_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
complete printstack trace
Assembler 7 unreachable -- failed to unmarshal class com.adobe.idp.Context; nested exception is:
java.io.InvalidObjectException: inauthentic principal assertion
java.rmi.UnmarshalException: failed to unmarshal class com.adobe.idp.Context; nested exception is:
java.io.InvalidObjectException: inauthentic principal assertion
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:166)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:293)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
at com.adobe.service.pdfm.Assembler7_2a0g3c_EOImpl_814_WLStub.login(Unknown Source)
at adobepdfassemblertest.AdobePDFAssembler.main(AdobePDFAssembler.java:102)
Caused by: java.io.InvalidObjectException: inauthentic principal assertion
at com.adobe.idp.Context.getValidatedAuthResultFromAssertion(Context.java:297)
at com.adobe.idp.Context.readResolve(Context.java:252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:925)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1655)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.jav a:120)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:120)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:164)
... 4 more -
Classloader difference in init() and destroy()?
I was getting a ClassNotFoundException (see below) inside a log4j call from my servlet destroy() method. To test, I attempted the same log4j call from my servlet init() method and it works just fine. In fact, in this test, since the class is already loaded at init time it finds it successfully at destroy time (ie. the log4j call is successful). But, if I take the call out of init and the class in not loaded anywhere prior to destroy(), it fails with the ClassNotFoundException in destroy(). Anybody have any insight on this one? Thanks.
The exception stack dump:
java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:145)
at org.apache.log4j.Category.forcedLog(Category.java:372)
at org.apache.log4j.Category.info(Category.java:691)
I'm using log4j version 1.2.7.
I'm importing org.apache.log4j.Logger;
I instantiate in my class: private Logger theLog = Logger.getLogger(this.getClass());
I'm calling: theLog.info(String s, Throwable e);Where do you have the log4j.jar? It sounds like the ClassFinder for that jar has already been closed (as part of the undeployment) by the time your destroy is called.
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
Status used in open and completed transactions in Fact Sheet
Hi! I would like to confirm the logics used in the fact sheet to display open and completed transactions. I read on the help that for open (for example) transactions, system is using status 'open' and 'in process'. This seems to me like system status. However, when I ran the fact sheet, the control is more at the user status level. So, I need clarification on this. Also, where can I find the status and transaction logics used for the extraction of these transactions (e.g. what transaction types are used)? I could not find the codings in the method GET_REPORT under class CL_CRM_CCKPT_PROCESS_CLOSED for example. Perhaps I have looked in the wrong place?
Appreciate any help on the above.
Cheers!
SFNo response. Based on what is being debugged, all transactions are taken into account.
-
Error 430 (Class doesn't support Automation)
I 've created a script using VisualBasic to open the illustrator cs3. Its working fine with most of the systems. But in few machines, the script got struck with an "Error 430 (Class doesn't support Automation)". If i re-install the illustrator and then try, its working fine. Can anyone suggest me a solution for this issue with out re-install the illustrator again.
Thanks in Advanceif that's the problem is pretty easy to fix:
add this on Form1_Load sub:
Dim procs() As Process = Process.GetProcessesByName("Illustrator.exe")
If procs.Length > 1 Then
For i as Integer = 1 To procs.Length - 2
procs(i).Kill()
Next
End If
.NET framework 2 is required for the above(or 1.1 can't remember for sure)
hope it helps together with patrice's response.
cheers; -
Asset class doesn't appear in T.code AS01
Hi
I created Asset Class, and Screen layout with that asset class. But when I creat asset in T.code AS01, I click field "Asset Class", but that asset class doesn't appear. It notice following:
"Asset class 213200 cannot be used in company code HDQC
Message no. AA130
Diagnosis
When you create an asset, the system determines the chart of depreciation from the company code definition. In order for a chart of depreciation to be available for an asset class during asset maintenance, the chart of depreciation has to be entered for that asset class (Determine class valuation). Chart of depreciation HDQC that was determined is not entered for asset class 213200.
System Response
You cannot create any assets in your company code for this class.
Procedure
You can do one of the following:
Use another asset class, for which chart of depreciation HDQC is defined.
Maintain the asset class valuations for asset class 213200 in chart of depreciation HDQC. Chart of depreciation HDQC has to be specified in order for you to be able to maintain the valuation parameters of asset class 213200 for chart of depreciation HDQC"
Please explain me as detailed as possible
Thanks
NgocptThank you
I understood my problem. When I determine depreciation area in Asset Class. It notice error:
Contact your system administrator (table error)
Message no. AA826
Diagnosis
Depreciation area 41 has not been defined in the chart of depreciation HDQC.
Procedure
Define the depreciation area using in FI-AA Customizing.
Before I created depreciation area 41.After that I deleted depreciation area 41. So I can't determine depreciation area in Asset Class 213200
You can help me to fix that error.
Thanks
Ngocpt
Maybe you are looking for
-
Import CD's to my phone on different computers
I imported several cd's at work and synced. When I got home, I spent an hour importing many more of my cd's. Now Itunes won't let me sync unless I remove all the music from my work? Shouldn't my library be tied to my apple ID? I just switched to I
-
Using iPhoto in Shared Folder?
I am currently on SL and contemplating a move to Lion. I am still using iPhoto '08 and my wife and I share this computer. I have the iPhoto library on users/shared so we can both access it. Will Lion still allow me to do this? The reason for my q
-
Every once in a while, my monitor will show some black lines flickering across the screen and turn black for a few seconds. It then flashes black for a few minutes and goes away. This started about 1-2 months ago and happens once a week or once every
-
FTP buffer overflow in Solaris 10
ftp session starts but it is not transferring files. The problem is showing in machines running Solaris 10. It was perfectly working till last week. All of a sudden one-by-one servers started showing this problem. Also let me know how to view ftp log
-
I erased my drive on Macbook pro, trying to re-install os x Maverick but it is not available on App store, what should I do?