GUI Freezes once socket server is started
Here's my problem and I am stumped. I have an application which starts a
socket server and waits for clients to connect. Once connected, the
server queries XML to the client for display.
My problem is when I start the server my GUI freezes. I have a simple
GUI with a start and stop button made in JBuilder. Although the server is running fine and the application works (I can connect and query with my client) the GUI freezes and I have to CTRALTDEL to close the app.
The method below (see after message) is in the main Application.java class and my GUI is being created in the Frame1.java class. The Frame class has a listener for the button press which calls startServer in
Application. This was developed in JBuilder Personal edition.
I keep reading about InvokeLater but not sure if this is what I need. I feel like what is happening is the server starts and the app listens for clients and ignores the GUI.
Any suggestions would be helpful as madness is setting in.
Thnaks.
public static void startServer() {
try{
int intPort=9999;
ServerSocket server = new ServerSocket(intPort);
System.out.println("Server started...waiting for clients.");
while(true){
Socket objSocket = server.accept();
SocketClient client = new SocketClient(objSocket);
client.start();
catch(IOException ioe){
//dump error
Here is how the server is being started:
void button1_actionPerformed(ActionEvent e) {
try{
startserver.main(); //make call to start the server
label2.setText("Running");
catch (Exception ie) {
System.err.println("Could not listen on port: 9999.");
System.exit(-1);
}
Swing executes all GUI related code (event handling, painting, etc.) in the so-called event dispatching thread. If you call a blocking method like ServerSocket.accept in this thread, it is blocked and unable to perform further gui tasks.
public class MyServerThread extends Thread
private ServerSocket serversocket;
public void run()
try
this.sserversocket = new ServerSocket(9999);
while(!Thread.interrupted())
Socket socket = serversocket.accept();
new SocketClient(socket).start();
catch(IOException ex)
ex.printStacktract();
public void shutdown()
if(this.serversocket != null)
//closing the socket will cause accept() to throw an exception and therefor quit its loop
try { this.serversocket.close(); } catch(IOException ignored) {}
this.interrupt();
this.serversocket = null;
//in your GUI class
private MyServerThread serverthread;
void startserver()
serverthread = new MyServerThread();
serverthread.start();
void stopserver()
serverthread.shutdown();
serverthread = null;
}
Similar Messages
-
The title says it all really.. I have the code below in a method startScan() that is called when a button is pressed. The thread executes fine, but the GUI locks up while the thread is executing. I don't really understand why, since a new thread is implicitly separate from the event dispatch thread.
Must I use a SwingWorker to get things working? Would someone be kind enough to explain why, if this is the case?
private void startScan() throws InterruptedException {
final Runnable breadthFirstComparer = new Runnable() {
/** Sleep interval used when scan paused */
private int interval = 1000;
* Kills the current thread
public void stop() {
scanProgressLabel.setText("Scanning complete");
scanComplete = true;
* Sleeps the currently running thread if user has paused the scan,
* otherwise initiates comparison of the trees' next depth node sets
public void run() {
while (!scanComplete) {
while (scanPaused) {
try {
Thread.sleep(interval);
} catch (Throwable exc) {
Gecko.logException("Scanner thread could not be paused", exc);
compareTrees();
// Stop thread execution once scan is complete, and disable
// scanner-related buttons
toggleScanButton.setEnabled(false);
stop();
scanner = new Thread(breadthFirstComparer)
public void start() {
scanProgressLabel.setText("Scanning in progress...");
breadthFirstComparer.run();
scanButton.setEnabled(false);
scanner.start();
}Many thanks.it's getting really irritating that pretty much every thread out of the last
20 I've made, you've criticised me for not posting an SSCCE. How do you think I feel. I'm donating my time to help you solve a problem, but you are not willing to spend 5-10 minutes to post a SSCCE so that we can fully understand what you have done and what the problem is.
You don't have to post a SSCCE if you don't want to. Thats fine, I just won't answer your questions.
what's the point me spending 30 minutes or more my end creating an
SSCE, and you spending 10 minutes or more compiling, running and analyzing it your end?It should not take 30 minutes. If it does it just goes to prove that you don't really understand what you are attempting to do. And if you don't know what you are doing how do you expect us to guess what you are doing? One of the benefits of a SSCCE it to help you learn to develop problem solving skills by learning to simplfy the problem.
Also, what if we can't figure out the problem based on your verbal description of the problem? If you post code it gives us the option of compiling and testing the code if we so desire. Without the code we give up and move on to the next question.
but since the simple information that you've provided, and the chunk of code that Michal so kindly donated, are likely more than enough of an explanationThis time we were able to guess what the problem was, but that is not true in all cases. You seem to think that we are all miracle workers, that you can place a couple of lines of code in front of us and we can automatically tell whats wrong. Well, thats not true (at least for me). Many times I use my problem solving skills to solve the problem.
I really should learn to scroll down and read all the posting before replying. es5f2000 pretty much said it all for me.
Message was edited by:
camickr -
X Server (10.3.9) GUI freezes with spinning wheel
I have a problem with the GUI interface on an eMac running OS X Server v10.3.9 (Build 7W98, Security Update 2006-006).
When I login locally (with any kind of user) it ever happens that the GUI freezes during common operations.
I noticed (or better, it seems) that the problem could be related to the spinning wheel used to graphically inform the user to wait while the operation is progressing. In fact, the GUI freezes (as well as the wheel movement) when I call windows or applications that start the wheel spinning. After less than a couple of seconds everything is frozen except the mouse pointer that, sometimes but not too often, becomes a spinning beach ball. Then it seems it doesn't happen anything more. Only one to ten times, the system restarts after 5 to 10 minutes.
NOTE WELL that even if the local user is frozen, the server services are working well, without any slowing down.
I can get out of the problem only if I login as root via ssh with another terminal and launch the classic "shutdown -r now" (of course, also switching off the eMac).
I've already tried either a permission repair with DiskUtility (booting the system via the original X Server DVD) and running DiskWarrior, but without any results.
I also tried to unplug the Ethernet RJ45 connector to isolate the unit from the network, but again, no way.
Any suggestion?
Thank you very much in advance.
Regards,
MrMars96
eMac Mac OS X (10.3.9)Hi Jeff,
thank you for your post.
What do you consider common operations?
Browsing folders with Finder, running Software Update, DiskUtility, Server Admin and so on.
Can you keep the Activity monitor open and see if there
are any spikes?
Yes, I can keep the Activity Monitor open (it doesn't have the spinning wheel, and that's another reason I suspect on it or something related to it).
Sorry for my inexperience, unfortunately I don't know what "spikes" are. I'll surely look for some explanation.
Have you checked the logs?
Yes. As far as I saw, there isn't any important error. Have you perhaps any clue to which log should I inspect with big attention?
Most important, how much RAM do you have. I'd never try an
OS X Server with less than 2GB.
Only 512MB. It's a server for 3 people. Mainly for IMAP service and a light Joomla site (so apache+mysql) still work in progress.
The system worked well for more than a year and half (but Joomla has been installed for 3 months).
Thank you very much for any kind of support,
Michael -
Photos won't import images from my Canon camera. When connected, program sees the images, tells me it will import the new ones, then freezes once import starts, not allowing any other operation to happen. MacbookPro 15" 2012, OSX Yosemite 10.10.3. Any suggestions?
Solution discovered. Faulty connector cable. Tried a different one and it worked.
-
Hi ,
My server ( solution manager server ) is down today. I gone through the trace file. But i didn't get. here i provide the trace file below,
trc file: "dev_disp", trc level: 1, release: "700"
sysno 00
sid EMS
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 75
intno 20050900
make: multithreaded, Unicode, optimized
pid 224
Tue Oct 16 14:23:15 2007
kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
length of sys_adm_ext is 572 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (00 224) [dpxxdisp.c 1237]
ERROR => [AttachOsShm] OpenFileMapping(5) failed with Err=5
ERROR_ACCESS_DENIED: Access is denied. [shmnt.c 2174]
ERROR => ShmCreate: Attach (5,4096,2) failed [shmnt.c 422]
Memory diagnostic *
Systeminformation
Processor-Typ : Intel unknown
Processor-Count : 4
Operating System : NT 5.2, Build 3790
Service Pack : Service Pack 2
NT Pagefile Informations
Config. minimum size : 12335104 K
Config. maximum size : 14430208 K
Avail. maximum size : 14430208 K
Num
Pagefile
Min.Size
Max.Size
Avail.Max
Curr.Size
1
c:\pagefile.sys
2095104 K
4190208 K
4190208 K
4190208 K
2
d:\pagefile.sys
10240000 K
10240000 K
10240000 K
10240000 K
NT Task Manager Informations
Total Handles : 0
Total Threads : 0
Total Processes : 0
Commit Charge Total : 3150560 K
Commit Charge Limit : 13225536 K
Commit Charge Peak : 3151136 K
Phys.Memory Total : 54 K
Phys.Memory Available : 88733508 K
File Cache : 1946181504 K
Kernel Memory Total : 2084091208 K
Kernel Memory Paged : 0 K
Kernel Memory Nonpaged : 88733536 K
Memory usage of current process
Total virt.address space : 2097024 K
Avail.virt.address space : 1088480 K
Private Pages : 0 K
Total heap size : 8020 K
Virtual memory regions : 0 K
Uncommitted heap memory : 6540 K
Allocated heap memory : 1372 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
3184
msg_server.EXE
8120 K
8120 K
10216 K
10216 K
2
3200
enserver.EXE
14808 K
14808 K
54844 K
54844 K
3
3836
sapstartsrv.exe
15908 K
15956 K
18064 K
18128 K
3
1468
msg_server.EXE
8312 K
8312 K
10596 K
10596 K
2
224
disp+work.EXE
10648 K
10708 K
58268 K
58740 K
2
332
igswd.EXE
2924 K
3160 K
1476 K
1764 K
0
1036
igsmux.exe
11700 K
11700 K
13016 K
13016 K
2
2324
igspw.exe
2796 K
2796 K
2408 K
2408 K
0
2636
igspw.exe
2796 K
2796 K
2408 K
2408 K
0
Sum
78012 K
171296 K
shared lib "dw_xml.dll" version 75 successfully loaded
shared lib "dw_xtc.dll" version 75 successfully loaded
shared lib "dw_stl.dll" version 75 successfully loaded
shared lib "dw_gui.dll" version 75 successfully loaded
shared lib "dw_mdm.dll" version 75 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3900
Tue Oct 16 14:23:27 2007
WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0158.qqq.nxst) took 12 seconds
Tue Oct 16 14:23:44 2007
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 17 seconds
***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5273]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >sapdms_EMS_00 <
DpShMCreate: sizeof(wp_adm) 18304 (1408)
DpShMCreate: sizeof(tm_adm) 3994272 (19872)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
DpShMCreate: sizeof(comm_adm) 528064 (1048)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1440)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 06C10040, size: 4653368)
DpShMCreate: allocated sys_adm at 06C10040
DpShMCreate: allocated wp_adm at 06C11E40
DpShMCreate: allocated tm_adm_list at 06C165C0
DpShMCreate: allocated tm_adm at 06C165F0
DpShMCreate: allocated wp_ca_adm at 06FE5890
DpShMCreate: allocated appc_ca_adm at 06FEB650
DpShMCreate: allocated comm_adm at 06FED590
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 0706E450
DpShMCreate: allocated gw_adm at 0706E490
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 0706E4C0
DpShMCreate: allocated wall_adm at 0706E4C8
MBUF state OFF
DpCommInitTable: init table for 500 entries
Tue Oct 16 14:23:46 2007
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation flat
<EsNT> Memory Reset disabled as NT default
<ES> 1023 blocks reserved for free list.
ES initialized.
Tue Oct 16 14:23:47 2007
J2EE server info
start = TRUE
state = STARTED
pid = 1276
argv[0] = D:\usr\sap\EMS\DVEBMGS00\exe\jcontrol.EXE
argv[1] = D:\usr\sap\EMS\DVEBMGS00\exe\jcontrol.EXE
argv[2] = pf=D:\usr\sap\EMS\SYS\profile\EMS_DVEBMGS00_sapdms
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=1069
argv[5] = -DSAPSYSTEM=00
argv[6] = -DSAPSYSTEMNAME=EMS
argv[7] = -DSAPMYNAME=sapdms_EMS_00
argv[8] = -DSAPPROFILE=D:\usr\sap\EMS\SYS\profile\EMS_DVEBMGS00_sapdms
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1623]
Tue Oct 16 14:23:52 2007
ERROR => MsIAttachEx: NiBufConnect to sapdms/3900 failed (rc=NIECONN_PENDING) [msxxi.c 652]
***LOG Q0L=> DpLoopInit, nomscon () [dpxxdisp.c 1706]
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpJ2eeLogin: j2ee state = CONNECTED
Tue Oct 16 14:24:37 2007
ERROR => MsIAttachEx: NiBufConnect to sapdms/3900 failed (rc=NIECONN_PENDING) [msxxi.c 652]
ERROR => W0 (pid 1304) died [dpxxdisp.c 14241]
ERROR => W1 (pid 1408) died [dpxxdisp.c 14241]
ERROR => W2 (pid 1632) died [dpxxdisp.c 14241]
ERROR => W3 (pid 3304) died [dpxxdisp.c 14241]
ERROR => W4 (pid 1848) died [dpxxdisp.c 14241]
ERROR => W5 (pid 1564) died [dpxxdisp.c 14241]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => MsIModTypes: not_attached [msxxi.c 1834]
ERROR => W6 (pid 3412) died [dpxxdisp.c 14241]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => MsIModTypes: not_attached [msxxi.c 1834]
ERROR => W7 (pid 3416) died [dpxxdisp.c 14241]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => MsIModTypes: not_attached [msxxi.c 1834]
ERROR => W8 (pid 3464) died [dpxxdisp.c 14241]
ERROR => W9 (pid 3580) died [dpxxdisp.c 14241]
ERROR => W10 (pid 1048) died [dpxxdisp.c 14241]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => MsIModTypes: not_attached [msxxi.c 1834]
ERROR => W11 (pid 3408) died [dpxxdisp.c 14241]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => MsIModTypes: not_attached [msxxi.c 1834]
ERROR => W12 (pid 3600) died [dpxxdisp.c 14241]
my types changed after wp death/restart 0xa0 --> 0x80
ERROR => MsIModTypes: not_attached [msxxi.c 1834]
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:47 2007
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Tue Oct 16 08:54:47 2007
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 1304 Ended no 1 0 0
1 DIA 1408 Ended no 1 0 0
2 DIA 1632 Ended no 1 0 0
3 DIA 3304 Ended no 1 0 0
4 DIA 1848 Ended no 1 0 0
5 DIA 1564 Ended no 1 0 0
6 UPD 3412 Ended no 1 0 0
7 ENQ 3416 Ended no 1 0 0
8 BTC 3464 Ended no 1 0 0
9 BTC 3580 Ended no 1 0 0
10 BTC 1048 Ended no 1 0 0
11 SPO 3408 Ended no 1 0 0
12 UP2 3600 Ended no 1 0 0
Dispatcher Queue Statistics Tue Oct 16 08:54:47 2007
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
0
2000
0
0
--------++++--
+
DIA
3
3
2000
3
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 3
wake_evt_udp_now 0
wake events total 3, udp 2 ( 66%), shm 1 ( 33%)
since last update total 3, udp 2 ( 66%), shm 1 ( 33%)
Dump of tm_adm structure: Tue Oct 16 08:54:47 2007
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Tue Oct 16 08:54:47 2007
=============================
Slots: 300, Used: 0, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:52 2007
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >sapdms_EMS_00 < (normal)
DpJ2eeDisableRestart
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=1276)
killing process (1276) (SOFT_KILL)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWN
NiBufISelUpdate: new MODE -- (r-) for hdl 3 in set0
SiSelNSet: set events of sock 1396 to: ---
NiBufISelRemove: remove hdl 3 from set0
SiSelNRemove: removed sock 1396
NiSelIRemove: removed hdl 3
DpDelSocketInfo: del info for socket 3 (type=8)
NiICloseHandle: shutdown and close hdl 3 / sock 1396
NiBufIClose: clear extension for hdl 3
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 (2420) (SOFT_KILL)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
Stop icman
killing process (2864) (SOFT_KILL)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process died (PID:2420 HANDLE:1480)
wait for end of icman
[DpProcDied] Process died (PID:2864 HANDLE:1484)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
DpHalt: disconnect j2ee listener
DpHalt: wait for end of j2ee server
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:53 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:54 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:55 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:56 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:57 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:58 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:24:59 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:00 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:01 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:02 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:03 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:04 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:05 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:06 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:07 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:08 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:09 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:10 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:11 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:12 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:13 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:14 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:15 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:16 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:17 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:18 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:19 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:20 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:21 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:22 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:23 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:24 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:25 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:26 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:27 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:28 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:29 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:30 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:31 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:32 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:33 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:34 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:35 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:36 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:37 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:38 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:39 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:40 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:41 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:42 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:43 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:44 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:45 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:46 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:47 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:48 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:49 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:50 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:51 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
ERROR => DpHalt: J2EE (pid 1276) still alive ... [dpxxdisp.c 10111]
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=1276)
killing process (1276) (SOFT_KILL)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWN
waiting for termination of J2EE server ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:52 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:53 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:54 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:55 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:56 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:57 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:58 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:25:59 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:00 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:01 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:02 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:03 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:04 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:05 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:06 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:07 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:08 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:09 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:10 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:11 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:12 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:13 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:14 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:15 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:16 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:17 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:18 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:19 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:20 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:21 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:22 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:23 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:24 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:25 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:26 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:27 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:28 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:29 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Oct 16 14:26:30 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1276 HANDLE:1464)
waiting for termination of J2EE server (2nd chance) ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1509
NiISelect: read-mask is NULL
NiISelect: write-masHi Peter,
D:\usr\sap\EMS\DVEBMGS00\exe BUILTIN\Administrators:(OI)(CI)F
NT AUTHORITY\SYSTEM:(OI)(CI)F
CREATOR OWNER:(OI)(CI)(IO)F
BUILTIN\Users:(OI)(CI)R
BUILTIN\Users:(CI)(special access:)
FILE_APPEND_DATA
BUILTIN\Users:(CI)(special access:)
FILE_WRITE_DATA
D:\usr\sap\EMS\DVEBMGS00\exe\disp+work.exe BUILTIN\Administrators:F
NT AUTHORITY\SYSTEM:F
BUILTIN\Users:R
D:\usr\sap\EMS\DVEBMGS00\exe\disp+work.exe BUILTIN\Administrators:F
NT AUTHORITY\SYSTEM:F
BUILTIN\Users:R
yes ... as per your reply there is missing of system level security in command mode.
But when i check thro properties .. it show SYSTEM level security inheritated from root. -
Error 42 occurred when writing to data socket server?
Hi
Attached are two programs which use data socket to transfer a boolean value. I want to make sure the value only transfer one time. It occurred error 42 at the test server.vi when it write to the data socket server. How can I solve that? Are there any methods to ensure the data can be transferred one time? Thanks.
Bill
Attachments:
Test_client.vi 29 KB
Test_server.vi 47 KBI am using LabVIEW 7 and I did not see the error on my machine when I ran your programs.
From the way you want to transmitt data, I think you need to use TCP/IP instead of datasocket. This way you can be sure that the data only got read once. There are several shipping examples to get you started.
If you have LabVIEW 7 you might consider using the buffered datasocket. I am not sure if it will work in the way you want so experiment. -
Hey, I'm writing a small client/server application and I'm getting a problem, when I start the server the GUI freezes and I haven't been able to solve the problem. Any help will be much appreciated.
I use 2 classes, Server which handles the serversocket and its connections, and serverInterface which handles the server's GUI.
Here is the code for the server class:
public class Server extends JFrame {
private serverInterface interfaz=null;
public int fileCant = 0;
static boolean listening = true;
private String[][] listFiles = null;
private int ifiles=0;
public Server(){
this.interfaz = new serverInterface(this);
public void buttonPressed (int button){
switch(button){
case 0: { try{startServer();}
catch(IOException e){System.err.println("Could not listen on port: 7777.");}
break;
} //se presiono el boton de start
case 1: {stopServer(); break;} // se presiono el boton de stop
private void startServer() throws IOException{
ServerSocket serverSocket = null;
listFiles = new String[1000][4];
try {
updateVal(1,"0","0",0);
serverSocket = new ServerSocket(7777);
} catch (IOException e) {
System.err.println("Could not listen on port: 7777.");
//System.exit(1);
while(listening){
new multiServer(serverSocket.accept(),this).start();
private void stopServer(){
System.exit(-1);
private void updateVal(int variableUpdate,String ip, String port, int numFiles){
this.interfaz.updateVal(variableUpdate,ip,port,numFiles);
public static void main(String[] args){
new Server();
public void addFiles(Object object, String IP, String Port){
Vector test = (Vector) object;
for (int i=0;i<test.size();i++){
listFiles[ifiles][0]=(String)test.elementAt(i);
listFiles[ifiles][1]= IP;
listFiles[ifiles][2]=Port;
listFiles[ifiles][3]="online";
ifiles++;
public void removeFiles(String IP, String Port){
for (int i =0;i<ifiles;i++){
if((IP.equals(listFiles[1]))&&(Port.equals(listFiles[i][2]))){
listFiles[i][3] = "offline";
public DefaultTableModel searchFile(String file){
DefaultTableModel model = new DefaultTableModel();
model.addColumn("File");
model.addColumn("IP Address");
model.addColumn("Port");
model.addColumn(" ruta");
for (int i=0;i<ifiles;i++){
if((listFiles[i][0].contains(file))&&(listFiles[i][3].equals("online"))){
String a[]={file,listFiles[i][1],listFiles[i][2],listFiles[i][0]};
model.addRow(a);
return model;And here is the code for the server's Interface:
public class serverInterface extends JFrame {
private static final long serialVersionUID = 1L;
private JPanel jContentPane = null;
private JPanel panelSouth = null;
private JButton buttonStart = null;
private JButton buttonStop = null;
private Server servidor = null;
private JPanel panelNorth = null;
private JLabel labelConnect = null;
private JPanel panelCentro = null;
private JScrollPane scrollPanelClients = null;
private JPanel panelOnlineClients = null;
private JLabel labelOnlineClients = null;
private JScrollPane scrollPanelClients1 = null;
private JTable tablaClients = null;
private DefaultTableModel model = new DefaultTableModel();
public serverInterface(Server servidor) {
super();
this.servidor= servidor;
initialize();
public void initialize() {
servidor.setSize(545, 309);
servidor.setContentPane(getJContentPane());
servidor.setTitle("Server");
servidor.setResizable(false);
/*this.setSize(545, 309);
this.setContentPane(getJContentPane());
this.setTitle("Server");*/
private JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(new BorderLayout());
jContentPane.add(getPanelSouth(), BorderLayout.SOUTH);
jContentPane.add(getPanelNorth(), BorderLayout.NORTH);
jContentPane.add(getPanelCentro(), BorderLayout.CENTER);
return jContentPane;
private JPanel getPanelSouth() {
if (panelSouth == null) {
panelSouth = new JPanel();
panelSouth.setLayout(new FlowLayout());
panelSouth.add(getButtonStart(), null);
panelSouth.add(getButtonStop(), null);
return panelSouth;
private JButton getButtonStart() {
if (buttonStart == null) {
buttonStart = new JButton();
buttonStart.setText("Start");
buttonStart.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt0) {
servidor.buttonPressed(0);
return buttonStart;
private JButton getButtonStop() {
if (buttonStop == null) {
buttonStop = new JButton();
buttonStop.setText("Stop");
buttonStop.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt1) {
servidor.buttonPressed(1);
return buttonStop;
public void updateVal(int updatedValue,String ip, String port, int numFiles){
switch(updatedValue){
case 1:{ JOptionPane.showMessageDialog(this, "The Server Is Now Online"); //se conecta el server
labelConnect.setText("Server Online. Listening on port 7777");
buttonStart.setEnabled(false);
break;
case 2:{ String a[] = {ip,port,numFiles+""};
model.addRow(a);
break;
private JPanel getPanelNorth() {
if (panelNorth == null) {
GridBagConstraints gridBagConstraints = new GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 0;
labelConnect = new JLabel();
labelConnect.setText("Server Offline");
panelNorth = new JPanel();
panelNorth.setLayout(new GridBagLayout());
panelNorth.add(labelConnect, gridBagConstraints);
return panelNorth;
private JPanel getPanelCentro() {
if (panelCentro == null) {
panelCentro = new JPanel();
panelCentro.setLayout(new BorderLayout());
panelCentro.add(getPanelOnlineClients(), BorderLayout.NORTH);
panelCentro.add(getScrollPanelClients1(), BorderLayout.CENTER);
return panelCentro;
private JPanel getPanelOnlineClients() {
if (panelOnlineClients == null) {
GridBagConstraints gridBagConstraints1 = new GridBagConstraints();
gridBagConstraints1.gridx = 0;
gridBagConstraints1.gridy = 0;
labelOnlineClients = new JLabel();
labelOnlineClients.setText("Connected Clients:");
panelOnlineClients = new JPanel();
panelOnlineClients.setLayout(new GridBagLayout());
panelOnlineClients.add(labelOnlineClients, gridBagConstraints1);
return panelOnlineClients;
private JScrollPane getScrollPanelClients1() {
if (scrollPanelClients1 == null) {
scrollPanelClients1 = new JScrollPane();
scrollPanelClients1.setViewportView(getTablaClients());
return scrollPanelClients1;
private JTable getTablaClients() {
if (tablaClients == null) {
tablaClients = new JTable(model);
model.addColumn("IP Address");
model.addColumn("Port");
model.addColumn("Files Shared");
tablaClients.setEnabled(false);
return tablaClients;
} -
Writing Java Non-Blocking Socket Server for Winsock Client
Hi.
Im a newbie to Sockets. I need to write a Non-Blocking Socket server (using java.nio) that accepts connection and reads the data sent by WinSock clients, and write them to another winsock client. Its quite intriguing. How do I do that? Is it possible?
Thanks in advance
ArunWell, in traditional 4.2 BSD sockets, you'd fill up a set of filedescriptors of connections (an array of bits usually), and push that in the read parameter of a call to 'select'. Select then blocks until at least one of the file descriptors become available for reading, or writing if you also made an fd_set full of file descriptors (but you can usually write freely to a socket, so there is not much use for that). Then you start finding out which of these file descriptors have actually become available for reading, and you pass those to a bunch of worker-threads. The advantage is that your set of worker-threads can be quite small, while your number of connections can still be quite large (unless, of course, everyone of your clients start talking all at once, but that is no different from the one-socket-one-thread-model that java.net.* forces upon you).
In java, the 'select' call is replaced by a call to java.nio.channels.Selector.select(); and then the fishing out of the selected stuff comes from java.nio.channels.Selector.selectedKeys().
To add a thingy to a selector, use (for example) java.nio.channel.ServerSocketChannel.register(Selector, ops, att);
whereby the ops parameter is the kind of action you'd like to select this channel for; SelectionKey.OP_READ etc..
The workerthread bit is also easy to write, but I leave that to you as an exercise. -
Server not starting after kernel upgrade
Hi,
I did a SAP Kernel upgrade of Patch 146 in NW2004s Unicode system
After the kernel upgrade, the SAP is not starting
Pls let me know of what can be teh reason
The following is dev_disp file
trc file: "dev_disp", trc level: 1, release: "700"
sysno 01
sid BWS
systemid 562 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 146
intno 20050900
make: multithreaded, Unicode, 64 bit, optimized
pid 2204
Mon Jun 16 13:02:04 2008
kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (01 2204) [dpxxdisp.c 1243]
shared lib "dw_xml.dll" version 146 successfully loaded
shared lib "dw_xtc.dll" version 146 successfully loaded
shared lib "dw_stl.dll" version 146 successfully loaded
shared lib "dw_gui.dll" version 146 successfully loaded
shared lib "dw_mdm.dll" version 146 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3901
Mon Jun 16 13:02:09 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5371]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >WDBSSAPBWS01_BWS_01 <
DpShMCreate: sizeof(wp_adm) 23680 (1480)
DpShMCreate: sizeof(tm_adm) 5652128 (28120)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
DpShMCreate: sizeof(comm_adm) 552080 (1088)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1864)
DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000EE80050, size: 6347104)
DpShMCreate: allocated sys_adm at 000000000EE80050
DpShMCreate: allocated wp_adm at 000000000EE82150
DpShMCreate: allocated tm_adm_list at 000000000EE87DD0
DpShMCreate: allocated tm_adm at 000000000EE87E30
DpShMCreate: allocated wp_ca_adm at 000000000F3EBCD0
DpShMCreate: allocated appc_ca_adm at 000000000F3F1A90
DpShMCreate: allocated comm_adm at 000000000F3F39D0
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 000000000F47A660
DpShMCreate: allocated gw_adm at 000000000F47A6E0
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 000000000F47A710
DpShMCreate: allocated wall_adm at 000000000F47A720
MBUF state OFF
DpCommInitTable: init table for 500 entries
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 4096 kByte.
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 127 blocks reserved for free list.
ES initialized.
J2EE server info
start = TRUE
state = STARTED
pid = 3496
argv[0] = D:\usr\sap\BWS\DVEBMGS01\exe\jcontrol.EXE
argv[1] = D:\usr\sap\BWS\DVEBMGS01\exe\jcontrol.EXE
argv[2] = pf=D:\usr\sap\BWS\SYS\profile\BWS_DVEBMGS01_WDBSSAPBWS01
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=65000
argv[5] = -DSAPSYSTEM=01
argv[6] = -DSAPSYSTEMNAME=BWS
argv[7] = -DSAPMYNAME=WDBSSAPBWS01_BWS_01
argv[8] = -DSAPPROFILE=D:\usr\sap\BWS\SYS\profile\BWS_DVEBMGS01_WDBSSAPBWS01
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1633]
***LOG Q0K=> DpMsAttach, mscon ( WDBSSAPBWS01) [dpxxdisp.c 11822]
DpStartStopMsg: send start message (myname is >WDBSSAPBWS01_BWS_01 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: start to initalize 3.X shared alert area (first segment).
DpJ2eeLogin: j2ee state = CONNECTED
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 146
Release check o.K.
Mon Jun 16 13:02:11 2008
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
ERROR => NiIRead: SiRecv failed for hdl 4 / sock 340
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2447) [nixxi.cpp 4424]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=3496)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWN
Mon Jun 16 13:02:49 2008
ERROR => DpHdlDeadWp: W0 (pid 3504) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W1 (pid 3380) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W2 (pid 4348) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W3 (pid 3528) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W4 (pid 4528) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W5 (pid 4360) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W6 (pid 788) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W7 (pid 4432) died [dpxxdisp.c 14532]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => DpHdlDeadWp: W8 (pid 3376) died [dpxxdisp.c 14532]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => DpHdlDeadWp: W9 (pid 3632) died [dpxxdisp.c 14532]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => DpHdlDeadWp: W10 (pid 3928) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W11 (pid 3304) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W12 (pid 3316) died [dpxxdisp.c 14532]
ERROR => DpHdlDeadWp: W13 (pid 4956) died [dpxxdisp.c 14532]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => DpHdlDeadWp: W14 (pid 1136) died [dpxxdisp.c 14532]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => DpHdlDeadWp: W15 (pid 4968) died [dpxxdisp.c 14532]
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=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:02:59 2008
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Mon Jun 16 17:02:59 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 3504 Ended no 1 0 0
1 DIA 3380 Ended no 1 0 0
2 DIA 4348 Ended no 1 0 0
3 DIA 3528 Ended no 1 0 0
4 DIA 4528 Ended no 1 0 0
5 DIA 4360 Ended no 1 0 0
6 DIA 788 Ended no 1 0 0
7 DIA 4432 Ended no 1 0 0
8 UPD 3376 Ended no 1 0 0
9 ENQ 3632 Ended no 1 0 0
10 BTC 3928 Ended no 1 0 0
11 BTC 3304 Ended no 1 0 0
12 BTC 3316 Ended no 1 0 0
13 BTC 4956 Ended no 1 0 0
14 SPO 1136 Ended no 1 0 0
15 UP2 4968 Ended no 1 0 0
Dispatcher Queue Statistics Mon Jun 16 17:02:59 2008
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
2
2000
5
5
--------++++--
+
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 6 ( 75%), shm 2 ( 25%)
since last update total 8, udp 6 ( 75%), shm 2 ( 25%)
Dump of tm_adm structure: Mon Jun 16 17:02:59 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Mon Jun 16 17:02:59 2008
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:04 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >WDBSSAPBWS01_BWS_01 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 3 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 (1724) (SOFT_KILL)
Stop icman
killing process (2860) (SOFT_KILL)
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process lives (PID:1724 HANDLE:448)
waiting for termination of gateway ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:05 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:1724 HANDLE:448)
wait for end of icman
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:06 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:07 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:08 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:09 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:10 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:11 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:12 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:13 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:14 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:15 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:2860 HANDLE:456)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=481
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Jun 16 13:03:16 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:2860 HANDLE:456)
[DpProcDied] Process died (PID:3496 HANDLE:432)
DpStartStopMsg: send stop message (myname is >WDBSSAPBWS01_BWS_01 <)
NiIMyHostName: hostname = 'WDBSSAPBWS01'
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 3 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 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
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 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
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 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
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 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
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 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
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 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
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 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
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 3 recv would block (errno=EAGAIN)
NiIRead: read for hdl 3 timed out (0ms)
DpHalt: no more messages from the message server
DpHalt: send keepalive to synchronize with the message server
NiBufSend starting
NiIWrite: hdl 3 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 3 recv would block (errno=EAGAIN)
NiIPeek: peek successful for hdl 3 (r)
NiIRead: hdl 3 received data (rcd=114,pac=1,MESG_IO)
NiBufIIn: NIBUF len=114
NiBufIIn: packet complete for hdl 3
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 3 recv would block (errno=EAGAIN)
Mon Jun 16 13:03:17 2008
NiIPeek: peek for hdl 3 timed out (r; 1000ms)
NiIRead: read for hdl 3 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 12168]
NiBufSend starting
NiIWrite: hdl 3 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 3 in set0
SiSelNSet: set events of sock 364 to: ---
NiBufISelRemove: remove hdl 3 from set0
SiSelNRemove: removed sock 364 (pos=3)
SiSelNRemove: removed sock 364
NiSelIRemove: removed hdl 3
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/16
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 3 / sock 364
NiBufIClose: clear extension for hdl 3
MsIDetach: detach MS-system
cleanup EM
EsCleanup ....
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 2204) [dpxxdisp.c 10421]
Good Bye .....Are you sure the Database and the listeners are up and running?
-
Log on to remote server and start database -error while installing CI in HA
Hello All,
We are installing ECC 6.0 with High Availability using HP-UX. We have completed installation in ASCS and Database Instance. Now when were trying to install in Central Instance, we encountered an error at Start Instance which informed us to Log on to remote server and start database. However the database is already running in DB node. Please find the log below.
TRACE 2011-06-10 16:31:45.825 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25742
INFO 2011-06-10 16:31:45.835
CJSlibModule::writeInfo_impl()
Output of /usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001 is written to the logfile start_PE2_DVEBMGS01.log.
WARNING 2011-06-10 16:31:46.345
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001" finished with return code 6. Output:
Database PE2 must be started on remote server
Log on to remote server and start database
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:408]
handleException<ESAPinstJSError>()
Converting exception into JS Exception EJSException.
TRACE 2011-06-10 16:31:46.355
Function setMessageIdOfExceptionMessage: ind-rel.ind-os.ind-db.webas.startInstanceFailed
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
TRACE 2011-06-10 16:31:46.405 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25793
ERROR 2011-06-10 16:31:46.525 [sixxcstepexecute.cpp:950]
FCO-00011 The step start with step key |NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|NW_CI_Instance_Start|ind|ind|ind|ind|2|0|start was executed with status ERROR .
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > SAP Application Server ABAP > Oracle > High-Availability System > Central Instance . You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/HA/CI. </p> </body></html>
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
Kindly let us know how to rectify the error and prroceed further with the instalaltion.
Thanks
RishiDear Guys,
we didnt change the date and time but i m very sure it is same trans.log file.
for your kind information please note SID and Nodes details
Sid (PE2)
DB Node : DBMDB001
CI Node : DBMCI001
also i am attaching starting part of the file.
4 ETW000 R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 07.11.2010 - 03:44:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Sun Nov 7 03:44:06 2010 295 0.000295
4 ETW000 [dev trc ,00000] db_con_init called 22 0.000317
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 116 0.000433
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' ...
4 ETW000 64 0.000497
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/PC1/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 32161 0.032658
4 ETW000 [dev trc ,00000] Library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' loaded
4 ETW000 39 0.032697
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 111 0.032808
4 ETW000 [dev trc ,00000] Version of '/usr/sap/PC1/SYS/exe/run/dboraslib.so' is "700.08",
patchlevel (0.25)
4 ETW000 265 0.033073
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 41 0.033114
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 82 0.033196
4 ETW000 [dev trc ,00000] New connection 0 created 52 0.033248
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 41 0.033289
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 84 0.033373
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 31 0.033404
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 37 0.033441
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.4.0' 601 0.034042
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 25 0.034067
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 35674 0.069741
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): 'AMERICAN_AMERICA.UTF8'
4 ETW000 57 0.069798
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 55 0.069853
4 ETW000 [dev trc ,00000] Connecting as /@PC1 on connection 0 (nls_hdl 0) ... (dbsl 700
151208)
4 ETW000 34 0.069887
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 52 0.069939
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 58 0.069997
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 40 0.070037
4 ETW000 [dev trc ,00000] Allocating server context handle 27 0.070064
4 ETW000 [dev trc ,00000] Attaching to DB Server PC1
(con_hdl=0,svchp=0x600000000106aa68,srvhp=0x600000000106de78)
4 ETW000 63 0.070127
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000106de78 to service context
0x600000000106aa68
4 ETW000 60612 0.130739
4 ETW000 [dev trc ,00000] Allocating user session handle 97 0.130836
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0,
usr='/',svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 64 0.130900
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 9302 0.140202
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=53, stmth_p=0x6000000001077608)
4 ETW000 198 0.140400
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1); END;
4 ETW000 38 0.140438
4 ETW000 [dev trc ,00000] CbApplInfoGet() failed! Ignore, but uninstall callback to avoid more
erroneous calls
4 ETW000 291 0.140729
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001078660)
4 ETW000 33 0.140762
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 35 0.140797
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 937 0.141734
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.141770
4 ETW000 [dev trc ,00000] Connected to session 297. 639 0.142409
4 ETW000 [dev trc ,00000] Now '/@PC1' is connected: con_hdl=0, nls_hdl=0, session_id=297.
4 ETW000 38 0.142447
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 37 0.142484
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 36 0.142520
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 327 0.142847
4 ETW000 [dev trc ,00000] SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
4 ETW000 36 0.142883
4 ETW000 [dev trc ,00000] Got SAPSR3's password from OPS$-user 728 0.143611
4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 38 0.143649
4 ETW000 [dev trc ,00000] Rolling back transaction ... 31 0.143680
4 ETW000 [dev trc ,00000] Closing user session
(con_hdl=0,svchp=0x600000000106aa68,usrhp=0x60000000010fc940)
4 ETW000 210 0.143890
4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 721 0.144611
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@PC1 on connection 0 (nls_hdl 0) ... (dbsl
700 151208)
4 ETW000 40 0.144651
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 37 0.144688
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 37 0.144725
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 35 0.144760
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 40 0.144800
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>,
svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 337 0.145137
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 4085 0.149222
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001077608)
4 ETW000 63 0.149285
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 37 0.149322
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 585 0.149907
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.149943
4 ETW000 [dev trc ,00000] Connected to session 297. 350 0.150293
4 ETW000 [dev trc ,00000] Now 'SAPSR3/<pwd>@PC1' is connected: con_hdl=0, nls_hdl=0,
session_id=297.
4 ETW000 38 0.150331
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.150369
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 34 0.150403
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 294 0.150697
4 ETW000 [dev trc ,00000] SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER IN
('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET') ORDER BY PARAM
4 ETW000 66 0.150763
4 ETW000 [dev trc ,00000] ETER
4 ETW000 34 0.150797
4 ETW000 [dev trc ,00000] Database NLS settings: AMERICAN_AMERICA.UTF8 329 0.151126
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 856 0.151982
4 ETW000 [dev trc ,00000] SELECT UPPER(INSTANCE_NAME),HOST_NAME,VERSION,TO_CHAR
(STARTUP_TIME,'MON DD, YYYY, HH24:MI:SS') FROM V$INSTANCE
4 ETW000 36 0.152018
4 ETW000 [dev trc ,00000] DB instance PC1 is running on scmdb001 with ORACLE version
10.2.0.4.0 since NOV 07, 2010, 03:23:10
4 ETW000 349 0.152367
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.152405
4 ETW000 [dev trc ,00000] SELECT SUBSTR(NAME,1,3), TO_CHAR(CREATED,'YYYYMMDDHHMMSS')
FROM V$DATABASE -
Assign unique id to client of socket server
HI
I am in the process of developing a xml socket server application and have hit on a problem. I have managed to create a server that listens for connections and once a request is recieved creates a new client on a seperate thread with the reference being stored in a vector in the server.
However I want to be able to assign an id to a client when it is created so that I can broadcast messages to specific users.my apologies my question was poorly stated..
When i meant unique i mean that they will have already been prdefined i.e for example the following users
Name David
UserId *(Unique) 0138868
Name sarah
UserId *(Unique) 4138868
Name rob
UserId *(Unique) 7138868
what i want to be able to is when the users connect they can be refeneced by their Userid so that if rob wants to say something to sarah without david knowing. The problem I have is that I do not know how to provide the userid to the server such that the server can create a new client thread with a specified id.
Hope that makes sense ;> -
CLI0615E Error receiving from socket, server is not responding.
We recently changed a web application using DB2 5.2 tables from ODBC to JDBC. We are using the COM.ibm.db2.jdbc.net.driver. We are using a
connection pool and running on iPlanet.
We are getting intermittant "CLI0615E Error receiving from socket, server is not responding errors". We have looked in the JDBC forum and DB2 support and cannot find a reasonable answer to this problem. It is NOT always on sql statements that take a long time to execute, so I don't think it is a timeout issue.
I read something about "stale connections". Does anyone know how to check to see if this is a problem?
When we first converted the app, we had a lot of problems also with "invalid handle or statement is closed" which we have determined was being caused by the user submitting the page again before it had time to finish the first time. We have put in javascript code to prevent multiple submits. Could this server not responding problem be caused by double submits that we have not located yet?
The error is NOT occuring on any one page, and the same page will run correctly once and the next time throw this error.
Any suggestions would be greatly appreciated.
Thanks.
[29/Apr/2003:11:00:20] info (42196): COM.ibm.db2.jdbc.net.DB2Exception: [IBM][JDBC Driver] CLI0615E Error receiving from socket, server is not responding. SQLSTATE=08S01
at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.throwReceiveError(SQLExceptionGenerator.java(Compiled Code))
at COM.ibm.db2.jdbc.net.DB2Request.receive(DB2Request.java(Compiled Code))
at COM.ibm.db2.jdbc.net.DB2Request.sendAndRecv(DB2Request.java(Compiled Code))
at COM.ibm.db2.jdbc.net.DB2RowObject.next(DB2RowObject.java(Compiled Code))
at COM.ibm.db2.jdbc.net.DB2ResultSet.next(DB2ResultSet.java(Compiled Code))
at bom.Bom.getDefs(Bom.java(Compiled Code))
at jsps.bbapps._eng._ENGJGLT0_jsp._jspService(_ENGJGLT0_jsp.java(Compiled Code))
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)hi,
lemme try to tell u what i thinkk..i dont think its' a solution
Usually this error code means that there was some problem while the driver tried establishsing a socket connection to the remote server. You could very well avoid this by tracking out what is preventing the socket connection.. it may be network congestion or some other onfiguration problems with the network, or with the DB2 server...
But if the same application could work perfectly with jdbc-odbc driver in same environment,then it needs some attention.either the ibm driver isn't throwing the error as expected by the iplanet or iplanet isn't acting as needed when such an error is thrown.
contact them and they may provide and explanation..
wishes,
Jer -
Stream based socket , server implementation
Please help me with this simple server and socket problem.
SERVER_
package com.supratim;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
public class SocketServer {
private static ServerSocket server;
public static void main(String[] args) throws IOException {
server = new ServerSocket(9999);
new SocketServer().go();
private void go() throws IOException {
while(true) {
Socket socket = server.accept();
DataInputStream dataInputStream = new DataInputStream(socket.getInputStream());
DataOutputStream dataOutputStream = new DataOutputStream(socket.getOutputStream());
byte[] buff=new byte[dataInputStream.available()];
int i;
while((i=dataInputStream.read())>0) {
dataInputStream.read(buff, 0, buff.length);
String inputMessage="INPUT MESSAGE OBTAINED : "+new String(buff);
byte[]outputBuffer = inputMessage.getBytes();
dataOutputStream.write(outputBuffer);
dataOutputStream.flush();
socket.close();
CLIENT+
package com.supratim;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.net.UnknownHostException;
public class SocketClient {
public static void main(String[] args) throws UnknownHostException, IOException {
new SocketClient().go();
private void go() throws UnknownHostException, IOException {
Socket socket = new Socket("localhost",9999);
InputStream dataInputStream = socket.getInputStream();
OutputStream dataOutputStream = socket.getOutputStream();
String inputMessage="ABCDEFGHIJKLMNOPQRSTWXYZ";
byte[]outputBuffer = inputMessage.getBytes();
dataOutputStream.write(outputBuffer);
dataOutputStream.flush();
byte[] buff=new byte[dataInputStream.available()];
int i;
while((i=dataInputStream.read())>0) {
dataInputStream.read(buff, 0, buff.length);
System.out.println("RESPONSE : "+new String(buff));
socket.close();
}When I try to connect to the SERVER from CLIENT, nothing happens. As soon as I terminate the CLIENT, the following stack trace comes...
Exception in thread "main" java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at com.supratim.SocketServer.go(SocketServer.java:26)
at com.supratim.SocketServer.main(SocketServer.java:14)Please tell me, am I missing something??
I dont want to use PrintWriter,BufferedReader,BufferedWriter...jverd wrote:
supratim wrote:
jverd wrote:
supratim wrote:
tjacobs01 wrote:
while((i=dataInputStream.read())>0) {
dataInputStream.read(buff, 0, buff.length);
}This is your problem. InputStream.read is going to block progressif it is so...how am I suppose to check the end of the stream....what is the way out??I'm not really sure what problem you're having or what you're asking. However, if your problem is that you want your server to be able to accept new connections while it's servicing an earlier conneciton--that is, service multiple requests at once--then, clearly, you need to use multiple threads. At the very least, one for accepting connections and one for servicing the requests that come on those connections.The problem is when the client is connecting to send a message as a byte stream...the message does not reach there..eventually the connection resets... why is that?? which part of the SocketServer is being blocked...and what is its way out??
Let's say it is used in a single threaded environment..only one client is connecting at a time...Does the client flush()? Does it close() the Socket's OutputStream?
If you don't flush(), data that you have sent may not be received.
If you don't close(), the server won't know the client is done sending, so he'll never get the -1.
(Or, alternative to calling OutputStream.close(), you could call Socket.shutdownOutput(), I think.)
Edited by: jverd on Jul 12, 2011 10:49 AMplease check the code...flushing...closing are all there... -
Macbook suddenly freezes once a while after newest Snow Leopard update?!
Please help, my macbook (not the new one) just suddenly freezes once in a while, and I cant do anything at all during the 30-secondish lags. Its not just one app, its the whole computer. Please help!
Any ideas on how this problem is started, or how to prevent it
Your hard drive's directory structure can get messed up when forcing the computer to shut down. It's a good Idea to get DiskWarrior and run that periodically to rebuild the hard drive's directory. It's like a preventive maintenance.
ALso, sometimes the Disk Utility will not repair the drive because the directory is too messed up. That's when DW does it's magic.
Check out the new remodeled MacOSG website! 24-hour Apple-related news & support.
MacOSG: An Apple User Group iTunes: MacOSG Podcast Follow us on Twitter: MacOSG -
Keep a Socket Server connection/port open for incoming requests
Hi,
I have a socket server which listens to the incoming messages. The problem is that the socket server terminates the socket connection once it receives a message.
I want this Socket server to keep on running and process all the requests it receives.
Can you please advise which stream shall be kept open for this to be achieved? Below is the code for your reference.
Thanks!
import java.net.*;
import java.io.*;
public class SocketServer
public static void main(String[] args) throws IOException
ServerSocket serverSocket = null;
String result = null;
SocketServer sockServer = new SocketServer();
try
serverSocket = new ServerSocket(4444);
catch (IOException e)
System.exit(1);
Socket clientSocket = null;
try
clientSocket = serverSocket.accept();
clientSocket.setSoTimeout(30000);
catch (IOException e)
System.exit(1);
PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);
BufferedReader in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
String inputLine;
inputLine = in.readLine();
if((inputLine == null) || (inputLine.length() < 1))
throw new IOException("could not read from request stream");
else
result = sockServer.parseString(inputLine);
out.println("|0|OK|");
InputStream is = null;
FileOutputStream fout=null;
BufferedInputStream bufIn = null;
HttpURLConnection con = null;
ByteArrayOutputStream baos = null;
try
URL url = new URL("http","10.176.96.64",8080,result);
con = (HttpURLConnection)url.openConnection();
is = con.getInputStream();
bufIn = new BufferedInputStream(is);
fout=new FileOutputStream("Z:\\Clips\\Cache\\"+result);
baos = new ByteArrayOutputStream();
int c = bufIn.read();
while(c != -1)
baos.write(c);
c = bufIn.read();
baos.writeTo(fout);
catch(MalformedURLException mue)
System.err.println ("*********In Download File: Invalid URL");
catch (IOException ioe)
System.err.println ("*********In Download File: I/O Error - " + ioe);
finally
try
baos.close();
bufIn.close();
fout.close();
is.close();
con.disconnect();
catch(Exception ex)
System.out.println("*********In Download File: Exception Occured: "+ex.toString());
out.close();
in.close();
clientSocket.close();
serverSocket.close();
}In a truly unexpected turn of events.. this question has been crossposted.
http://forum.java.sun.com/thread.jspa?threadID=5127579
Good job singalg. I highly recommend that instead of accepting that there is anything wrong with your understanding of how this should work and reviewing the tutorials you should instead repost this question daily, Each day choosing a different forum.
Maybe you are looking for
-
I have K7N2 Delta-ILSR. I wanted to use the dolby digital out put of the board and since I didnt have a S-Bracket I decided to hook a wire onto the pin and connect that to a rca cable which goes to my decoder. I used the board like this with no probl
-
Displaying a PDF file with adf tags
hello, can anyone give me some advice in how to display a pdf file with adf tags. many thanks
-
How can I format my HP Pocket Media Drive?
How can I format my pocket media drive in order to back up my pc correctly? I'm using HP Slimline s5250t.
-
Upgrading DirSync for Office 365
Is there a good technical document on the upgrade process from DirSync 6092.42 to latest version 6553.0002 ? and are there any known issues (or bugs) people have encountered ?
-
How restore/reboot your ipod if itunes is not working
How to restore/reboot your ipod if itunes is not working