TRIALSP11 Application server Shutdown at SAP LOGON

This is my first adventure with SAP or ABAP..
1. I installed and followed the  SAPNW2004sABAPTrialSP11 install instructions.
2. The installation instructions went fine from the
/people/manfred.lutz/blog/2007/03/16/new-blog-series-abap-trial-version-for-newbies
3. SAMMMC has MSG_SERVER.exe and DISP_WORK.EXE both green when I stared the SAP Logon.
4. After I start the SAP the waiting for response shows up.
5. SAP GUI comes up with a error saying application server shutdown.
6. my disp+work.exe goes to stopped state.
7. Error message says componet is 710, version 10, return code -17, counter 1.
The Log is attached. Any help is rewarded.
trc file: "dev_disp", trc level: 1, release: "700"
sysno      00
sid        NSP
systemid   560 (PC with Windows NT)
relno      7000
patchlevel 0
patchno    95
intno      20050900
make:      multithreaded, ASCII, optimized
pid        2192
Fri Jun 29 21:56:47 2007
kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
length of sys_adm_ext is 360 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (00 2192) [dpxxdisp.c   1239]
Fri Jun 29 21:56:48 2007
     shared lib "dw_xml.dll" version 95 successfully loaded
     shared lib "dw_xtc.dll" version 95 successfully loaded
     shared lib "dw_stl.dll" version 95 successfully loaded
     shared lib "dw_gui.dll" version 95 successfully loaded
     shared lib "dw_mdm.dll" version 95 successfully loaded
rdisp/softcancel_sequence :  -> 0,5,-1
use internal message server connection to port 3900
Fri Jun 29 21:56:52 2007
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5355]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >kiranmtop_NSP_00                        <
DpShMCreate: sizeof(wp_adm)          6328     (904)
DpShMCreate: sizeof(tm_adm)          3605136     (17936)
DpShMCreate: sizeof(wp_ca_adm)          1200     (60)
DpShMCreate: sizeof(appc_ca_adm)     1200     (60)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
DpShMCreate: sizeof(comm_adm)          528048     (1048)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm)          0     (96)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm)          0     (72)
DpShMCreate: sizeof(vmc_adm)          0     (1280)
DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
DpShMCreate: sizeof(gw_adm)     48
DpShMCreate: SHM_DP_ADM_KEY          (addr: 059B0040, size: 4205552)
DpShMCreate: allocated sys_adm at 059B0040
DpShMCreate: allocated wp_adm at 059B1A28
DpShMCreate: allocated tm_adm_list at 059B32E0
DpShMCreate: allocated tm_adm at 059B3310
DpShMCreate: allocated wp_ca_adm at 05D235A0
DpShMCreate: allocated appc_ca_adm at 05D23A50
DpShMCreate: allocated comm_adm at 05D23F00
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 05DA4DB0
DpShMCreate: allocated gw_adm at 05DA4DF0
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 05DA4E20
DpShMCreate: allocated wall_adm at 05DA4E28
MBUF state OFF
DpCommInitTable: init table for 500 entries
Fri Jun 29 21:56:53 2007
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation view
<EsNT> Memory Reset disabled as NT default
<ES> 127 blocks reserved for free list.
ES initialized.
rdisp/http_min_wait_dia_wp : 1 -> 1
Fri Jun 29 21:56:54 2007
***LOG Q0K=> DpMsAttach, mscon ( kiranmtop) [dpxxdisp.c   11663]
Fri Jun 29 21:56:55 2007
DpStartStopMsg: send start message (myname is >kiranmtop_NSP_00                        <)
DpStartStopMsg: start msg sent
Fri Jun 29 21:56:56 2007
CCMS: alert/MONI_SEGM_SIZE = 0   monitoring and alerting switched off.
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 95
Release check o.K.
Fri Jun 29 21:57:35 2007
ERROR => W0 (pid 2268) died [dpxxdisp.c   14318]
ERROR => W1 (pid 2276) died [dpxxdisp.c   14318]
ERROR => W2 (pid 2284) died [dpxxdisp.c   14318]
my types changed after wp death/restart 0x9f --> 0x9e
ERROR => W3 (pid 2292) died [dpxxdisp.c   14318]
my types changed after wp death/restart 0x9e --> 0x9c
ERROR => W4 (pid 2300) died [dpxxdisp.c   14318]
my types changed after wp death/restart 0x9c --> 0x98
ERROR => W5 (pid 2308) died [dpxxdisp.c   14318]
my types changed after wp death/restart 0x98 --> 0x90
ERROR => W6 (pid 2316) died [dpxxdisp.c   14318]
my types changed after wp death/restart 0x90 --> 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=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:45 2007
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long)               Sat Jun 30 04:57:45 2007
========================
No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
0 DIA     2268 Ended         no      1   0             0                                                             
1 DIA     2276 Ended         no      1   0             0                                                             
2 DIA     2284 Ended         no      1   0             0                                                             
3 UPD     2292 Ended         no      1   0             0                                                             
4 ENQ     2300 Ended         no      1   0             0                                                             
5 BTC     2308 Ended         no      1   0             0                                                             
6 SPO     2316 Ended         no      1   0             0                                                             
Dispatcher Queue Statistics               Sat Jun 30 04:57:45 2007
===========================
--------++++--
+
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     7,  udp     4 ( 57%),  shm     3 ( 42%)
since last update     total     7,  udp     4 ( 57%),  shm     3 ( 42%)
Dump of tm_adm structure:               Sat Jun 30 04:57:45 2007
=========================
Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
RM-T7, U8,                 , kiranmtop, 21:57:24, M0, W-1,     , 1/0
Workprocess Comm. Area Blocks               Sat Jun 30 04:57:45 2007
=============================
Slots: 20, Used: 2, Max: 1
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
1
DISPATCHER
-1
WPCAAD001
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:50 2007
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >kiranmtop_NSP_00                        < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes
Stop gateway
killing process (2252) (SOFT_KILL)
Stop icman
killing process (2260) (SOFT_KILL)
Terminate gui connections
send SHUTDOWN to REM TM 7
blks_in_queue/wp_ca_blk_no/wp_max_no = 2/20/7
LOCK WP ca_blk 2
return errno (-17) to T7
errormsg without overhead: take mode 0
NiBufIAlloc: malloc NiBufadm, to 0 bytes
try to send 14 to M0
NiBufSend starting
NiIWrite: hdl 5 sent data (wrt=14,pac=1,MESG_IO)
REL WP ca_blk 2
set status of T7 to TM_DISCONNECTED
NiBufISelUpdate: new MODE -- (r-) for hdl 5 in set0
SiSelNSet: set events of sock 1508 to: ---
NiBufISelRemove: remove hdl 5 from set0
SiSelNRemove: removed sock 1508
NiSelIRemove: removed hdl 5
DpDelSocketInfo: del info for socket 5 (type=3)
NiICloseHandle: shutdown and close hdl 5 / sock 1508
NiBufIClose: clear extension for hdl 5
dp_tm_adm[7].stat = DP_SLOT_FREE
DpGetSchedule: next schedule 1183179475/922000
Fri Jun 29 21:57:51 2007
DpGetSchedule: no schedule found
DpITmSlotRelease: release slot 7
DpListInsert: insert elem 7 into tmadm_free_list (at begin)
DpListInsert: 194 elems in tmadm_free_list
DpListRemove: remove elem 7 from tmadm_inuse_list
DpListRemove: 7 elems in tmadm_inuse_list
wait for end of work processes
wait for end of gateway
[DpProcDied] Process died  (PID:2252  HANDLE:1592)
wait for end of icman
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:52 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:53 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:54 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:55 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:56 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:57 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:58 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:57:59 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:58:00 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:58:01 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:58:02 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives  (PID:2260  HANDLE:1608)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1629
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Jun 29 21:58:03 2007
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died  (PID:2260  HANDLE:1608)
DpStartStopMsg: send stop message (myname is >kiranmtop_NSP_00                        <)
NiIMyHostName: hostname = 'kiranmtop'
AdGetSelfIdentRecord: >                                                                           <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 189 bytes
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name                    -, type 4, key -
DpStartStopMsg: stop msg sent
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 2 recv would block (errno=EAGAIN)
NiIRead: read for hdl 2 timed out (0ms)
DpHalt: no more messages from the message server
DpHalt: send keepalive to synchronize with the message server
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
MsINiWrite: sent 114 bytes
send msg (len 110+4) to name           MSG_SERVER, type 0, key -
MsSndName: MS_NOOP ok
Send 4 bytes to MSG_SERVER
NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
NiBufIIn: NIBUF len=114
NiBufIIn: packet complete for hdl 2
NiBufReceive starting
MsINiRead: received 114 bytes
MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
Received 4 bytes from MSG_SERVER                             
Received opcode MS_NOOP from msg_server, reply MSOP_OK
MsOpReceive: ok
MsSendKeepalive : keepalive sent to message server
NiIRead: hdl 2 recv would block (errno=EAGAIN)
Fri Jun 29 21:58:04 2007
NiIPeek: peek for hdl 2 timed out (r; 1000ms)
NiIRead: read for hdl 2 timed out (1000ms)
DpHalt: no more messages from the message server
DpHalt: sync with message server o.k.
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   11976]
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
SiSelNSet: set events of sock 1556 to: ---
NiBufISelRemove: remove hdl 2 from set0
SiSelNRemove: removed sock 1556 (pos=2)
SiSelNRemove: removed sock 1556
NiSelIRemove: removed hdl 2
MBUF state OFF
AdGetSelfIdentRecord: >                                                                           <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 2/20/7
LOCK WP ca_blk 2
make DISP owner of wp_ca_blk 2
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
MBUF component DOWN
NiICloseHandle: shutdown and close hdl 2 / sock 1556
NiBufIClose: clear extension for hdl 2
MsIDetach: detach MS-system
cleanup EM
EsCleanup ....
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 2192) [dpxxdisp.c   10333]
Good Bye .....

Hi Russell,
I am also facing the same problem as Kiran.
I have attached dev_w0 file, with this msg.
can you please tell me where the problem lies?
=============================================================
trc file: "dev_w0", trc level: 1, release: "620"
ACTIVE TRACE LEVEL           1
ACTIVE TRACE COMPONENTS      all, M

B Sun Jul 01 18:13:56 2007
B  create_con (con_name=R/3)
B  Loading DB library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' ...
B  Library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' loaded
B  Version of 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' is "620.02", patchlevel (0.112)
B  New connection 0 created
M  systemid   560 (PC with Windows NT)
M  relno      6200
M  patchlevel 0
M  patchno    251
M  intno      20020600
M  pid        3464

M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3464) [dpxxdisp.c   1016]
I  MtxInit: -2 0 0

X Sun Jul 01 18:13:58 2007
X  EmInit: MmSetImplementation( 2 ).
X  <ES> client 0 initializing ....
X  Using implementation std
M  <EsNT> Memory Reset enabled as NT default
X  ES initialized.

M Sun Jul 01 18:14:07 2007
M  calling db_connect ...
C  Got ORACLE_HOME=C:\oracle\ora81 from environment

C Sun Jul 01 18:14:12 2007
C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
C  Logon as OPS$-user to get SAPTEK's password
C  Connecting as /@TEK on connection 0 ...
C  Attaching to DB Server TEK (con_hdl=0,svchp=06AA97F8,svrhp=06AA9604)

C Sun Jul 01 18:14:13 2007
C  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
[dboci.c      3566]
C  *** ERROR => CONNECT failed with sql error '12541'
[dboci.c      9536]
C  Try to connect with default password
C  Connecting as SAPTEK/<pwd>@TEK on connection 0 ...
C  Attaching to DB Server TEK (con_hdl=0,svchp=06AA97F8,svrhp=06AA9410)

C Sun Jul 01 18:14:14 2007
C  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
[dboci.c      3566]
C  *** ERROR => CONNECT failed with sql error '12541'
[dboci.c      9536]
B  ***LOG BY2=> sql error 12541  performing CON [dbsh#2 @ 962] [dbsh    0962 ]
B  ***LOG BY0=> ORA-12541: TNS:no listener [dbsh#2 @ 962] [dbsh    0962 ]
B  ***LOG BY2=> sql error 12541  performing CON [dblink#1 @ 419] [dblink  0419 ]
B  ***LOG BY0=> ORA-12541: TNS:no listener [dblink#1 @ 419] [dblink  0419 ]
M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1098]
M  in_ThErrHandle: 1
M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

M  Info for wp 0

M    stat = 4
M    reqtype = 1
M    act_reqtype = -1
M    tid = -1
M    mode = 255
M    len = -1
M    rq_id = -1
M    rq_source = 255
M    last_tid = 0
M    last_mode = 0
M    rfc_req = 0
M    report = >                                        <
M    action = 0
M    tab_name = >                              <

M  *****************************************************************************
M  *
M  *  LOCATION    SAP-Server sapsrv_TEK_00 on host sapsrv (wp 0)
M  *  ERROR       tskh_init: db_connect
M  *
M  *  TIME        Sun Jul 01 18:14:14 2007
M  *  RELEASE     620
M  *  COMPONENT   Taskhandler
M  *  VERSION     1
M  *  RC          13
M  *  MODULE      thxxhead.c
M  *  LINE        8408
M  *  COUNTER     1
M  *
M  *****************************************************************************

M  Entering TH_CALLHOOKS
M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
M  Entering ThSetStatError
M  Entering ThReadDetachMode
M  call ThrShutDown (1)...
M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3464) [dpnttool.c   345]

Similar Messages

  • SAP Gui Logon - application server shutdown

    Hi!
    I'have installed SAP Netweaver 7.0 Abap TRIAL on my Windows XP Service Pack 3.
    After lunching NSP-->Start Application Server, all is ok.
    But when i try to Logon with Sap Gui 7.10, i get this error :
    application server shutdown
    Component     DPTM
    Release                710
    Version             10
    Return Code     -17
    Counter             1
    Could you please help me?
    Thanks a lot!

    Hi!
    MaxDB seems to start correctly :
    http://www.fabiocavallo.it/sap/maxdb.jpg
    ...here comes dev_w0 :
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Thu May 22 19:58:50 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 [dlnt.c       237]
    M          Error 126 = "Impossibile trovare il modulo specificato."
    B  *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    [dbcon.c      4726]
    M sysno      00
    M sid        NSP
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    95
    M intno      20050900
    M make:      multithreaded, ASCII, optimized
    M pid        3376
    M
    M  kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    M  length of sys_adm_ext is 360 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3376) [dpxxdisp.c   1301]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

    M Thu May 22 19:58:51 2008
    M  DpShMCreate: sizeof(wp_adm)          6328     (904)
    M  DpShMCreate: sizeof(tm_adm)          3605136     (17936)
    M  DpShMCreate: sizeof(wp_ca_adm)          1200     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     1200     (60)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M  DpShMCreate: sizeof(comm_adm)          528048     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1280)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06420040, size: 4205552)
    M  DpShMCreate: allocated sys_adm at 06420040
    M  DpShMCreate: allocated wp_adm at 06421A28
    M  DpShMCreate: allocated tm_adm_list at 064232E0
    M  DpShMCreate: allocated tm_adm at 06423310
    M  DpShMCreate: allocated wp_ca_adm at 067935A0
    M  DpShMCreate: allocated appc_ca_adm at 06793A50
    M  DpShMCreate: allocated comm_adm at 06793F00
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06814DB0
    M  DpShMCreate: allocated gw_adm at 06814DF0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06814E20
    M  DpShMCreate: allocated wall_adm at 06814E28
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host PCFABIO

    M Thu May 22 19:58:52 2008
    M  calling db_connect ...
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 [dlnt.c       237]
    M          Error 126 = "Impossibile trovare il modulo specificato."
    B  *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    [dbcon.c      4726]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) [thxxhead.c   1426]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10240]

    M  Info for wp 0

    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server PCFABIO_NSP_00 on host PCFABIO (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Thu May 22 19:58:52 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10439
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3376) [dpnttool.c   327]
    Thanks again, Sergo!
    Regards.
    Fabio

  • Problem with application server shutdown when connecting

    Hi Friends,
    I am new to J2EE applications.
    I developed a web application that uses jxl and mysql for reading excel sheets. The host I am working on is supposed to be the server. The application I am running is working absolutely fine, by creating a directory and saving the excel file in my webapps folder and inserting the data to the database. But the minute I send the file from client system, there is a sudden shutdown in my server.
    I am sending the jsp and java code related to this application and related log file..
    I guess the main problem is with sending the exact path from the remote client, rest all is fine including excel and database interactions.
    I commented the database interaction class just for now as I don't think there is a problem with it.
    I am using Tomcat 4.1, MySQL 3.23
    ====================================================
    JSP FILE
    =====================================================
    <%@ page language="java" import="pdss.*"%>
    <html>
    <head><title>File Upload</title></head>
    <body>
    <%     String action=request.getParameter("go");
    String message=request.getParameter("msg");
    String str="";
    if(message!=null)
         str="Please enter valid filename!";
    ExcelInteraction xlInt=new ExcelInteraction();
    if(action==null)
    %>
    <center><font color="red"><%=str%></font></center>
    <form name="myform" method="post">
    <input type="file" name="filename"></input>
    <input type="submit" name="go" value="Send">
    </form>
    <%
    else if("send".equalsIgnoreCase(action))
         String filename=request.getParameter("filename");
         int ex=0;
         System.out.println("************"+filename.endsWith(".xls"));
         if(filename!=null && (filename.endsWith(".xls")))
              ex=xlInt.fileTransfer(filename, getServletContext());
         else if(filename==null || ("".equals(filename)) || filename.endsWith(".xls")==false)
              response.sendRedirect("uploadFile.jsp?msg=a");
         if(ex>0)
    %>          DONE
    <%     }
         else
    %>          Data Inconsistency found
    <%     }
    %>
    </body>
    </html>
    ======================================================
    JAVA FILES
    ======================================================
    ExcelInteraction:
    package pdss;
    import pdss.*;
    import java.io.*;
    import java.lang.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ExcelInteraction
         //PDSSUtilities pdsUtil=new PDSSUtilities();
         public int fileTransfer(String readFile, ServletContext app) throws Exception
              int i=0, j=0;
              String strDirectory = "pdssexcelfiles";
              System.out.println("..............ReadFile..."+readFile);
              File srcFile=new File(readFile);
              System.out.println(".................Created source file."+srcFile.getAbsolutePath());
              File destFile=null;
              String newDirStr="",srcFileName="",destFileLoc="", realPath="";
              try{
                   realPath=app.getRealPath("/");
                   System.out.println("newDirStr..........."+realPath);
                   newDirStr=realPath+strDirectory;
                   System.out.println("newDirStr..........."+newDirStr);
                   if((new File(newDirStr)).exists()==false)
                        boolean success = (new File(newDirStr)).mkdir();
                        System.out.println("....................success..."+success);
                        if (success) {
                             System.out.println(".................Directory...: " + strDirectory + " created");
                   srcFileName = srcFile.getName();
                   destFileLoc=newDirStr+"\\"+srcFileName;
                   System.out.println("DestFileLoc............"+destFileLoc);
                   if(srcFile.exists()){
                        destFile=new File(destFileLoc);
                        InputStream in = new FileInputStream(srcFile);
                        OutputStream out = new FileOutputStream(destFile);
                        byte[] buf = new byte[1024];
                        int len=0;
                        while ((len = in.read(buf)) > 0){
                             out.write(buf, 0, len);
                        in.close();
                        out.close();
                   System.out.println("............File copied to... "+destFile.getAbsolutePath());
                   System.out.println("......Closing Streams......");
                   /*if(destFile.exists())
                        j=pdsUtil.readXlData(destFileLoc);
                        System.out.println("..........j::"+j+"rows affected");
              catch(Exception e)
                   e.printStackTrace();
                   System.exit(0);
              return j;
    =====================================================
    LOG FILE FROM HOST SYSTEM:
    =====================================================
    2008-09-16 16:53:52 StandardContext[pdss]: Mapping contextPath='/pdss' with requestURI='/pdss/uploadFile.jsp' and relativeURI='/uploadFile.jsp'
    2008-09-16 16:53:52 StandardContext[pdss]: Trying exact match
    2008-09-16 16:53:52 StandardContext[pdss]: Trying prefix match
    2008-09-16 16:53:52 StandardContext[pdss]: Trying extension match
    2008-09-16 16:53:52 StandardContext[pdss]: Mapped to servlet 'jsp' with servlet path '/uploadFile.jsp' and path info 'null' and update=true
    2008-09-16 16:54:01 StandardContext[pdss]: Mapping contextPath='/pdss' with requestURI='/pdss/uploadFile.jsp' and relativeURI='/uploadFile.jsp'
    2008-09-16 16:54:01 StandardContext[pdss]: Trying exact match
    2008-09-16 16:54:01 StandardContext[pdss]: Trying prefix match
    2008-09-16 16:54:01 StandardContext[pdss]: Trying extension match
    2008-09-16 16:54:01 StandardContext[pdss]: Mapped to servlet 'jsp' with servlet path '/uploadFile.jsp' and path info 'null' and update=true
    =====================================================
    LOG FILE FROM CLIENT SYSTEM:
    2008-09-16 16:54:41 StandardContext[pdss]: Mapping contextPath='/pdss' with requestURI='/pdss/uploadFile.jsp' and relativeURI='/uploadFile.jsp'
    2008-09-16 16:54:41 StandardContext[pdss]: Trying exact match
    2008-09-16 16:54:41 StandardContext[pdss]: Trying prefix match
    2008-09-16 16:54:41 StandardContext[pdss]: Trying extension match
    2008-09-16 16:54:41 StandardContext[pdss]: Mapped to servlet 'jsp' with servlet path '/uploadFile.jsp' and path info 'null' and update=true
    2008-09-16 16:54:42 StandardContext[pdss]: Stopping
    2008-09-16 16:54:42 StandardContext[pdss]: Stopping filters
    2008-09-16 16:54:42 StandardContext[pdss]: Processing standard container shutdown
    2008-09-16 16:54:42 ContextConfig[pdss]: ContextConfig: Processing STOP
    2008-09-16 16:54:42 StandardWrapper[pdss:jsp]: Waiting for 1 instance(s) to be deallocated
    2008-09-16 16:54:42 StandardContext[pdss]: Sending application stop events
    2008-09-16 16:54:42 StandardContext[pdss]: Stopping complete
    =====================================================
    Regards
    Vasumitra

    The VERY FIRST message in the server log gives you a hint as to what the problem might be. The server thinks you have spaces in your PATH to the application server. Therefore, the solution is to kill the server however you need to (task manager, whatever) and then reinstall it in a path that doesn't contain spaces. That's the low-hanging fruit here; if that doesn't work, well, then we will have to find some other solution.

  • How to access application server path in sap

    Hi All,
      Could you please help me how we can navigate application serverpath; for example in my job the file is placing at this directory /usr/sap/interfaces/WAP/100/MM/OUT/SOFTCONQAG/ARCHIVE in application server, How can I go to that path to check weather file is avilable or not.
    Regards,
    Muralikrishna.

    Hi,
    U can access through AL11 transaction. But please note that not all will be having the access to perform this.
    Thanks & regards,
    Prakash Ghantasala

  • Problem starting application server after intalling SAP NetWeaver 7.0 ABAP

    Hi, guys
    I installed  SAP NetWeaver 7.0 ABAP on my laptop 3 days ago and it worked well.
    But today, I encountered a problem when starting the application server with message "start operation timed out".
    pls help me to solve the problem.
    thanks

    Felipe, tudo bem?!
    Este erro aparenta inconsistencia em algum pré-requisito, revise-os de acordo com o que é pedido no manual de instalação.
    Abs.

  • Random application server shutdowns

    Running 9.1_01for Communication Suite 6. All is working fine except I'm experiencing random shutdowns of the application server which causes Convergence not to work. Any ideas on what may be the cause of this?

    b-lobills wrote:
    Running 9.1_01for Communication Suite 6. All is working fine except I'm experiencing random shutdowns of the application server which causes Convergence not to work.
    Any ideas on what may be the cause of this?Your problem description is way to vague to provide any kind of meaningful suggestions as to a possible cause/resolution.
    All I can therefore suggest is that you log a Sun support case.
    Regards,
    Shane.

  • Oracle Application Server Shutdown

    I am having a few sites that use Oracle Database and Oracle Application Server.Both are on two dedicated machines.
    Database Server Particulars:
    OS : Spark Box with Solaris 2.6
    Database : Oracle 8.1.5
    Application Server :
    OS : Spark Box Solaris 2.7
    Application Server : Oracle Application Server 4.1.8
    The sites that uses these server once in a while in a random fashion becomes unvailable.When we check the status of the database it is fine,but the server with the OAS would be in shuting down.
    I am not used to OAS and would like to solve the issue.Is there a way that i can troubleshoot this issue.
    Any help would be warmly welcomed.
    Thanks and Regards
    Michael
    DBA

    check if ur ORACLE_SID environment variable is set
    echo $ORACLE_SID
    also check if ur db is up and running..
    ps -ef |grep smon
    Rgds...R

  • Grid control 10.2.0.5 upgrade and application server shutdown

    Current: 10.2.0.3, doing upgrade to 10.2.0.5
    OS: Redhat 4
    During the installer checks, Oracle is telling me the oracle application server will be shut down temporarily. What oracle application server? I did not know one gets installed when you install grid control. I thought that it just uses the http_server.
    What is it shutting down? I stopped the oms with opmnctl stopall, prior to running the installer. I believe that was in the readme.txt

    when you click on the tab "Application Servers" on the far upper left site of the GridControl (right next to Hosts, Databases, ...) then
    you will see of which components the Oracle Application server exists (HTTP-server, OC4J, WebCache, ...). Therefore the HTTP-server is just
    part of the application server - and if the application server gets shut down it's meant that all components wil get shut down...
    HTH

  • Reading a document from application server / opening in SAP session

    Hi guys,
    we  have a requirment has follows , please help me with your inputs.
    We have list of documents available in the DMS server....(XLS,DOC,PDF)
    1. How to get the list of file names ( available in the DMS server )  into the internal table.
    2. i need to open these documents by clicking - into the same sap session itself. (it should not open in windows)
    Please Note : Many of our forum friends earlier to open the file in windows.
    regards
    Giri

    Hi,
        You can show any  doc that is uploaded in DMS using the URL of the doc . the doc will be shown in a container. You can refer the std prog . SAPRDEMOPIVOTINTERFACE.. or some thg like that ( i dont remember the exact name ) .
    You need to pass the Class name . object type and object name to  find the URL.  Check transaction OAER and enter class as SSOFFICEINTEGRATION ,  type as OT and name as SSOFFICEINTEGRATION.
    Hope this helps.

  • New! Technology Preview SAP NetWeaver 04 - SAP Web Application Server on Lx

    Hi sdn gurus,
    two new SAP NetWeaver versions for Linux were uploaded since 26.01.07:
    New! Technology Preview SAP NetWeaver 04 - SAP Web Application Server on Linux SAP Evaluation  26 Jan 2007
    New! Technology Preview SAP NetWeaver 04S - SAP Web Application Server on Linux SAP Evaluation  26 Jan 2007
    Does anyone here know more about the installed components in that packages, like in the compare component matrix: https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
    Can anyone post here which of the following components are pre-installed:
    SAP NetWeaver Development Infrastructure
    SAP NetWeaver Developer Studio
    SAP NetWeaver Portal with PDK
    Web Dynpro
    Visual Composer
    Content Management and Collaboration
    TREX
    SAP NetWeaver Business Intelligence Java SDK
    SAP Interactive Forms by Adobe
    Composite Application Framework
    Thank you....

    Hi Roman Doubrava,
    the Linux Version (Technology Preview SAP NetWeaver 04S)  contains the ABAP and the J2EE stack itself. It is a technical demo for evaluation purposes. There are no additional components shipped with the installation media. Besides, some of the components you mention only run on Windows, the SAP NetWeaver Developer Studio for example.
    Nevertheless you should be able to install SAP J2EE components (e.g. Portal) into you N4S Linux Testdrive. Just download the CD/DVDs from http://service.sap.com/swdc and try it out. I've already seen a Portal on top of the old NW4 (Netweaver 04) Testdrive.
    Best Regards,
    Hannes Kuehnemund

  • Downloading a text file from application server

    Hi Freinds,
    I am genarating a text file in our application server (Folder /usr/sap/dbi/) I need to download this text file in my destop pc or some other windows server.
    What do I have to do? What is the procedure, Pls help.
    If someone have sample code, pls send.
    We are running SAP ECC5.0 on an iSeries (AS/400) Database DB2/400.
    Regards
    Thanura

    Hi,
    try this:
    REPORT ZGRO_TEST.
    DATA: DATEI_A(30) TYPE C VALUE '/tmp/matnr.txt'.
    DATA: DATEI_PC TYPE STRING VALUE 'C:\MATNR.TXT'.
    DATA: ITAB        TYPE TABLE OF MARA WITH HEADER LINE.
    START-OF-SELECTION.
      PERFORM DATEI_EINLESEN.
      PERFORM DATEI_DOWNLOAD.
    FORM DATEI_EINLESEN.
      OPEN DATASET DATEI_A FOR INPUT IN TEXT MODE.
      IF SY-SUBRC NE 0. STOP. ENDIF.
      DO.
        READ DATASET DATEI_A INTO ITAB.
        IF SY-SUBRC <> 0. EXIT. ENDIF.
        APPEND ITAB.
      ENDDO.
      CLOSE DATASET DATEI_A.
      IF SY-SUBRC NE 0. STOP. ENDIF.
    ENDFORM.                    "DATEI_EINLESEN
    FORM DATEI_DOWNLOAD.
    Datei downloaden
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
        EXPORTING
          FILENAME                = DATEI_PC
          FILETYPE                = 'ASC'
        CHANGING
          DATA_TAB                = ITAB[]
        EXCEPTIONS
          FILE_WRITE_ERROR        = 1
          NO_BATCH                = 2
          GUI_REFUSE_FILETRANSFER = 3
          INVALID_TYPE            = 4
          NO_AUTHORITY            = 5
          UNKNOWN_ERROR           = 6
          HEADER_NOT_ALLOWED      = 7
          SEPARATOR_NOT_ALLOWED   = 8
          FILESIZE_NOT_ALLOWED    = 9
          HEADER_TOO_LONG         = 10
          DP_ERROR_CREATE         = 11
          DP_ERROR_SEND           = 12
          DP_ERROR_WRITE          = 13
          UNKNOWN_DP_ERROR        = 14
          ACCESS_DENIED           = 15
          DP_OUT_OF_MEMORY        = 16
          DISK_FULL               = 17
          DP_TIMEOUT              = 18
          FILE_NOT_FOUND          = 19
          DATAPROVIDER_EXCEPTION  = 20
          CONTROL_FLUSH_ERROR     = 21
          NOT_SUPPORTED_BY_GUI    = 22
          ERROR_NO_GUI            = 23
          OTHERS                  = 24.
      IF SY-SUBRC NE 0. STOP. ENDIF.
    ENDFORM.                    "DATEI_DOWNLOAD
    Regards, Dieter

  • Sending mails with attachment stored on application server

    Dear all,
    i've written a ABAP report to send an email to external customers. The report is running in background every night and works fine.
    Now i have to attach documents to this emails. The documents are stored in the filesystem of the application server under /usr/sap/userdata. It can be any type of file, DOC, XLS, PPT and so on ...
    Has anyone an idea, how i could attach such a file to my mails?
    Im sending the mails with FM SO_NEW_DOCUMENT_ATT_SEND_API1. Can i use this FM to attach my documents, and how can i do so?
    We're running on ECC 5.0 , Basis 6.40
    Thanks in advance for your help - Klaus

    Hi Klaus,
    You can use the FM' SO_NEW_DOCUMENT_ATT_SEND_API1 ' and pass approiate vaule for contents_txt in TABLES option. Its an internal table for any attachment.
    Thanks & Regards,
    J.Prakash

  • App server shutdown

    Hi,
    I'm trying to find out the root cause of the unplanned application server shutdown that happened in our production system.  I was browsing through the dev_w* and dev_disp files and found nothing unusual except for the log below, which I found in dev_disp.old file:
    <b>Mon Oct 29 01:56:03 2007
    DpSigInt: caught signal 2</b>
    This was the last log when the app server shut itself down.  Can anyone tell me what the above log means?  And which other logs or trace files can I look for to help me find the root cause? 
    Thanks in advance.
    Best regards,
    Kris Caldoza

    Thanks Markus.
    Below are the only logs I found in dev_disp (aside from the Signal 2 log) which were generated at the time of the shutdown:
    Mon Oct 29 01:56:06 2007
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   8415]
    MBUF state OFF
    MBUF component DOWN
    Mon Oct 29 01:56:07 2007
    ERROR => DpRqIQRemove: ShmDelete [dpxxqueu.c   430]
    Mon Oct 29 01:56:08 2007
    ***LOG Q05=> DpHalt, DPStop ( 29771) [dpxxdisp.c   7280]
    I believe it was a normal shutdown, don't you think?

  • LSMW with CI on System i and an additional Windows Application Server 4.70

    Hi together,
    I have a really tricky problem to realize a parallel processing LSMW Workload.
    In truth it isn't a problem to the parallel processing. It is a problem, how to declare the paths to the input files.
    The LSMW is splittet in four steps:
    1. Read data
    2. Convert Data
    3. Creating Batch Input File (IDOCS)
    4. Start Direct Input Program
    The first three points are using file in the IFS.
    In the 13 points of LSMW there is point " 7 Specify Files" where I can customize paths to the real existing input and output-Files, which are stored at the IFS on System i.
    For example:
    Legacy Data          On the R/3 server (application server)                           
        Materialtexte                  /usr/sap/direct/lsmw/material/matsta_text.txt      
    This works fine.
    Now we have added a Windows Applications Server in front of the 2-Tier enviroment to have more performance to the BTC workprocesses. Now we have two servers shown in sm51. One is the central instance (CI) and the other is the application server (AS), which is working together with the CI.
    <b>Now the big bug:</b> In the LSMW transaction, you can submit the job to batch (BTC) and can't choose the server (Instance) where the batchjob should run. So, sometimes the batchjob runs on the CI (iSeries) and sometimes the batchjob runs on the application server.
    But this is the problem, because the files in the IFS are only stored at IFS on iSeries. And if the Job runs at the application-server, the files is not found, and the job end abnormal.
    Now I tried to find a good solution. So I want to declare a patch in LSMW, that the batchjob is running successful at CI and AS.
    So I tried:
    \iSeriesshareusrsapdirectlsmwmaterialmatsta_text.txt
    But this is not really working, because the SAP WP can't find this file with this path.
    There is a second possibility: Not to submit the batchjobs by pressing F9 in the transaction LSMW but making an extra job in sm36 for each job. Not very smart !
    There is a third possibility: To duplicate the import Files to each Windows Application Server. Then it is possible to submit by pressing F9,  whatever server will be used.
    So my question is:  What is the right way? There must be some poeple in the world who have done a migration with iSeries an Windows Application Server together? Or not?
    best regards,
    Carsten
    Message was edited by: C.Schulz
    path corrected:
    iSeries\share\usr\sap\direct\lsmw\material\matsta_text.t
            Carsten Schulz

    >
    \iSeriesshareusrsap/direct/lsmw/material/matsta_text.txt
    Windows doesn't understand forward slashes, you need to use backslashes all way:
    Try the following on one of the application servers:
    Start - execute
    notepad \iSeriesshareusrsapdirectlsmwmaterialmatsta_text.txt
    If you can open the file, that's the way to go.
    You'd need to check in your program, whether the job is been executed on Windows or non-windows and substitute the slashes accordingly.
    Markus

  • How do I size application server RZ10 parameters

    What are some of the guidelines for sizing application server. I have 3 app servers and a CI/DB. I have properly sized the CI/DB with parameters based on HW and expected usage.
    Is there a guideline which parameters that I can reuse from the CI/DB instance?
    I haven't found any app server RZ10 parameters that are only for app server.
    Or can I simply copy parameters from CI/DB over to the app server and update the domain name for each app server?
    Thanks
    Weyland Yutani

    Hi Weyland,
    There are no specific application server parameters in SAP. You can reuse the parameters of your CI, but you probably have to increase the number of wp's and decrease the number of batch wp's on the CI.
    When you are running a traditional CI, you should remove the rdisp/wp_no_enq from the app server profiles.
    You should take the usage of your system into account when doing your sizing. Do you want to use one app server for batches or is the load spread equally over the servers. Do you accept users to work in the CI or not.
    As a rule of the thumb, you can use the following statement for sizing:
    On your CI/DB reserve the memory for the OS and the database, the rest can be allocated for SAP.
    On your app server, reserve the memory for the OS (and maybe other applications) and give the rest to SAP.
    Furthermore this will be an ongoing process. After a couple of weeks running with your new servers, you probably have to change some parameters. Check the amount of swaps in st02, load distribution, etc.
    Kind regards,
    Mark

Maybe you are looking for

  • Using the same Credit Card on two different iPhones

    Wanted to know if it's possible to use the same credit card on two different iPhones. There have been times that I wished I had a card that was in my wife's possession for certain "Points Purchases" It would be so handy to share a single card on two

  • L2TP and fixed Framed IP Address for VPN user

    Hi, I have a running L2TP/IPsec VPN setup with authentification against a radius server (freeradius2 witch mysql). I would like to have some of my VPN users get a fixed IP address instead of the dynamically assigned IP Pool. The radius server is retu

  • Scenario execution ???

    hi, i want to stop the scenario execution after a fixed amount of time.i scheduled it daily and also set the stop after execution constarint as 30 min while scheduling .also my repetition tym is of 5 min. but infact the scenari keeps on getting execu

  • Disabling anynomous access in directory server 5.2_Patch_3

    Dear All, Would anyone help me out on how to disable anonymous access in directory server 5.2? Thanks, Lewis

  • Survey not found(CRM QUESTIONNAIRE)

    we have added a questionnaire in CRM. it works fine in SAP GUI.But when i try to see it in PCUI screen it says the survey is not assigned to a object.Can anyone suggest the possible causes.