Server-Process-Programming

hi,
i like to develope a server-process. a server-process should have the possibility for the following commands: start, stop, reload, restart.
but now i stand for a simple question: how can i communicate between 2 different java-programs? why? simple example:
1. start a server-process:
# java -jar myproc.jar start
2. stop a server-process:
# java -jar myproc.jar stop
the 2nd java-proc should notify the first to stop, but how, without a file-solution?
exist there a poss. to comunicate over input-streams between 2 java-progs?
thx for ideas
oliver scorp

You have 100 processes running on your box on startup? And all of them allow you to stop and start them?
Isn't one of those processes the one that allows you
to access the hard drive? What exactly happens when
you stop that?
ah, a unix-newby!Again what happens when you stop the processes that allow you to read and write to the hard drive?
>
... I would guess that most processes in standardunix box start up configuration do not allow you to
start and stop them from the command line ...
what a shit! for ex. look in your
/etc/init.d/-directory! there you can see the most
deamons/processes which you can start/stop aso.
manually on the commandline. (driver-modules
included)And you can use kill -9 on them as root as well right? But if you do you might as well hard boot the box, because nothing is going to work after that.
>
... What can I say. You can always use C ...really?! what a surprise! or maybe i write it in
visual basic?!
... And what Java API do you use to communicatebetween different processes on a linux using pipes?
pipes doesn't work between different jre/processes!A named pipe doesn't work between different processes?
>
... Because not all platforms have a process id. Andnot all platforms provide a communication mechanism,
like pipes, between processes ...
that's wrong!No it is right. See the part where I said platforms? Java works on other platforms besides unix.
Win 9x does not have process ids nor do they have pipes.
>
1. the sun-developer had implemented a process-class
but doesn't finished it. you can create new processes
in java (with .exec) but you can't create an own
process-object from the running jre. and you can't
share this process-objects between diff.
jre/processes.Eh?
>
2. every thread has an own id.
with other words: the mention of java is: when the
system gives not the necessary infos then java create
it.
Again eh? Are you claiming that a thread id is the same as a process id?
3. which os doesn't use pid's? every
multitasking-system has a process-management for which
they have implementations of unique process-id's
(numeric or alphanumeric)
Nope, not win 9x.
that's typical ...
... many words with no solution!
this can be only a troll!
so, please go to your hole!Hmmmmm....no one ever called me that before
>
for all other: i am searching for quickanddirty MEMORY
or STREAM/PIPE-solution between DIFFERENT
JRE'S/processes in JAVA and maybe for already
implemented c/jiny-solution.
but please don't tell me to do it with
net/file-sockets (what is if you don't have a network
(by net-socket) or what is if you have no rw-access
(by file-solutions)). i know this ways but i am not
looking for.I covered all of them. Presumably with your expertise you know how to use google so I would expect that you should be able to find a public domain soluton for your particular OS if it exists.

Similar Messages

  • Server Process  is not running in the  WAS  JAVA

    Hi,
    The WAS JAVA  have the resources Netweaver7.0 and java is j2sdk1.4.2_13 version Operating system is Windows2003 and database server is SQLserver2005.
    Previously it was running properly Now it giving the following Error.
    Any one of you please give me suggestions how to solve it .
    Devolper trace for the jcontol.exe process is as follows
    trc file: "D:\usr\sap\NW2\JC02\work\dev_jcontrol", trc level: 1, release: "700"
    node name   : jcontrol
    pid         : 4516
    system name : NW2
    system nr.  : 02
    started at  : Mon Mar 24 17:07:20 2008
    arguments       :
           arg[00] : D:\usr\sap\NW2\JC02\exe\jcontrol.EXE
           arg[01] : pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] *** WARNING => INFO: Unknown property [instance.box.number=NW2JC02mmsr17] [jstartxx.c   841]
    [Thr 4512] *** WARNING => INFO: Unknown property [instance.en.host=mmsr17] [jstartxx.c   841]
    [Thr 4512] *** WARNING => INFO: Unknown property [instance.en.port=3203] [jstartxx.c   841]
    [Thr 4512] *** WARNING => INFO: Unknown property [instance.system.id=2] [jstartxx.c   841]
    JStartupReadInstanceProperties: read instance properties [D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties;D:\usr\sap\NW2\JC02\SDM\program\config\sdm_jstartup.properties]
    -> ms host    : mmsr17
    -> ms port    : 3903
    -> OS libs    : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> files [01] : D:\usr\sap\NW2\JC02\SDM\program\config\sdm_jstartup.properties
    Instance properties
    -> ms host    : mmsr17
    -> ms port    : 3903
    -> os libs    : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID28653700 : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID28653750 : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID28653700           : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> [01] ID28653750           : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> [02] sdm                  : D:\usr\sap\NW2\JC02\SDM\program\config\sdm_jstartup.properties
    [Thr 4512] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
    [Thr 4512] [Node: bootstrap] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_13
    [Thr 4512] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\NW2\JC02\exe\jvmx.jar
    JStartupIReadSection: read node properties [bootstrap]
    -> node name          : bootstrap
    -> node type          : bootstrap
    -> node execute       : yes
    -> java path          : C:\j2sdk1.4.2_13
    -> java parameters    : -Djco.jarm=1
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : x86
    -> heap size          : 256M
    -> root path          : D:\usr\sap\NW2\JC02\j2ee\cluster
    -> class path         : .\bootstrap\launcher.jar
    -> OS libs path       : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> main class         : com.sap.engine.offline.OfflineToolStart
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : D:\usr\sap\NW2\JC02\exe\jstartup.jar;D:\usr\sap\NW2\JC02\exe\jvmx.jar
    -> parameters         : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0286537
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 60000
    -> shutdown timeout   : 120000
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_bootstrap
    -> arg[03] = -nodeId=-1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=bootstrap
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_bootstrap.out
    -> arg[08] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_bootstrap.out
    -> arg[09] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_bootstrap
    -> arg[10] = -mode=BOOTSTRAP
    -> arg[11] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlExecuteBootstrap: read instance values after global bootstrap
    [Thr 4512] *** WARNING => INFO: Unknown property [instance.box.number=NW2JC02mmsr17] [jstartxx.c   841]
    [Thr 4512] *** WARNING => INFO: Unknown property [instance.en.host=mmsr17] [jstartxx.c   841]
    [Thr 4512] *** WARNING => INFO: Unknown property [instance.en.port=3203] [jstartxx.c   841]
    [Thr 4512] *** WARNING => INFO: Unknown property [instance.system.id=2] [jstartxx.c   841]
    JStartupReadInstanceProperties: read instance properties [D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties;D:\usr\sap\NW2\JC02\SDM\program\config\sdm_jstartup.properties]
    -> ms host    : mmsr17
    -> ms port    : 3903
    -> OS libs    : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    [Thr 4512] JControlExecuteBootstrap: enumerate the nodes after global bootstrap
    Used property files
    -> files [00] : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> files [01] : D:\usr\sap\NW2\JC02\SDM\program\config\sdm_jstartup.properties
    Instance properties
    -> ms host    : mmsr17
    -> ms port    : 3903
    -> os libs    : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID28653700 : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID28653750 : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID28653700           : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> [01] ID28653750           : D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> [02] sdm                  : D:\usr\sap\NW2\JC02\SDM\program\config\sdm_jstartup.properties
    [Thr 4512] JControlExecuteBootstrap: execute bootstrap process [bootstrap_ID28653700]
    [Thr 4512] [Node: dispatcher bootstrap] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_13
    [Thr 4512] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\NW2\JC02\exe\jvmx.jar
    JStartupIReadSection: read node properties [bootstrap_ID28653700]
    -> node name          : dispatcher bootstrap
    -> node type          : bootstrap
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : C:\j2sdk1.4.2_13
    -> java parameters    : -Djco.jarm=1
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : x86
    -> heap size          : 256M
    -> root path          : D:\usr\sap\NW2\JC02\j2ee\cluster
    -> class path         : .\bootstrap\launcher.jar
    -> OS libs path       : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> main class         : com.sap.engine.offline.OfflineToolStart
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : D:\usr\sap\NW2\JC02\exe\jstartup.jar;D:\usr\sap\NW2\JC02\exe\jvmx.jar
    -> parameters         : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID028653700
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 60000
    -> shutdown timeout   : 120000
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_bootstrap
    -> arg[03] = -nodeId=-1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=bootstrap_ID28653700
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_bootstrap_ID28653700.out
    -> arg[08] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_bootstrap_ID28653700.out
    -> arg[09] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_bootstrap_ID28653700
    -> arg[10] = -mode=BOOTSTRAP
    -> arg[11] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlExecuteBootstrap: execute bootstrap process [bootstrap_ID28653750]
    [Thr 4512] [Node: server0 bootstrap] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_13
    [Thr 4512] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\NW2\JC02\exe\jvmx.jar
    JStartupIReadSection: read node properties [bootstrap_ID28653750]
    -> node name          : server0 bootstrap
    -> node type          : bootstrap
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : C:\j2sdk1.4.2_13
    -> java parameters    : -Djco.jarm=1
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : x86
    -> heap size          : 256M
    -> root path          : D:\usr\sap\NW2\JC02\j2ee\cluster
    -> class path         : .\bootstrap\launcher.jar
    -> OS libs path       : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> main class         : com.sap.engine.offline.OfflineToolStart
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : D:\usr\sap\NW2\JC02\exe\jstartup.jar;D:\usr\sap\NW2\JC02\exe\jvmx.jar
    -> parameters         : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID028653750
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 60000
    -> shutdown timeout   : 120000
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_bootstrap
    -> arg[03] = -nodeId=-1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=bootstrap_ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_bootstrap_ID28653750.out
    -> arg[08] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_bootstrap_ID28653750.out
    -> arg[09] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_bootstrap_ID28653750
    -> arg[10] = -mode=BOOTSTRAP
    -> arg[11] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlIBuildProcessList: Maximum error count is set to 4
    [Thr 5144] JControlRequestFunc: Thread 5144 started as listener thread for np messages.
    [Thr 4512] [Node: dispatcher] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_13
    [Thr 4512] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\NW2\JC02\exe\jvmx.jar
    JStartupIReadSection: read node properties [ID28653700]
    -> node name          : dispatcher
    -> node type          : dispatcher
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : C:\j2sdk1.4.2_13
    -> java parameters    : -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -XX:NewSize=57m -XX:MaxNewSize=57m -XX:NewRatio=3 -XX:DisableExplicitGC -verbose:gc -XX:UseConcMarkSweepGC
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : x86
    -> heap size          : 170M
    -> init heap size     : 170M
    -> root path          : D:\usr\sap\NW2\JC02\j2ee\cluster\dispatcher
    -> class path         : .\bin\boot\boot.jar;.\bin\system\bytecode.jar;.
    -> OS libs path       : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : D:\usr\sap\NW2\JC02\exe\jstartup.jar;D:\usr\sap\NW2\JC02\exe\jvmx.jar
    -> parameters         :
    -> debuggable         : no
    -> debug mode         : no
    -> debug port         : 60000
    -> shutdown timeout   : 120000
    [Thr 4512] [Node: server0] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_13
    [Thr 4512] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\NW2\JC02\exe\jvmx.jar
    JStartupIReadSection: read node properties [ID28653750]
    -> node name          : server0
    -> node type          : server
    -> node execute       : yes
    -> jlaunch parameters :
    -> java path          : C:\j2sdk1.4.2_13
    -> java parameters    : -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Djco.jarm=1 -XX:MaxPermSize=256M -XX:PermSize=256M -XX:NewSize=171M -XX:MaxNewSize=171M -XX:DisableExplicitGC -verbose:gc -Xloggc:GC.log -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : x86
    -> heap size          : 1024M
    -> init heap size     : 1024M
    -> root path          : D:\usr\sap\NW2\JC02\j2ee\cluster\server0
    -> class path         : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path       : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> main class         : com.sap.engine.boot.Start
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : D:\usr\sap\NW2\JC02\exe\jstartup.jar;D:\usr\sap\NW2\JC02\exe\jvmx.jar
    -> parameters         :
    -> debuggable         : yes
    -> debug mode         : yes
    -> debug port         : 50221
    -> shutdown timeout   : 120000
    [Thr 4512] INFO: Invalid property value [Debbugable=yes]
    [Thr 4512] [Node: SDM] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_13
    [Thr 4512] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\NW2\JC02\exe\jvmx.jar
    JStartupIReadSection: read node properties [sdm]
    -> node name          : SDM
    -> node type          : sdm
    -> node execute       : yes
    -> java path          : C:\j2sdk1.4.2_13
    -> java parameters    :
    -> java vm version    : 1.4.2_13-b06
    -> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : x86
    -> heap size          : 256M
    -> root path          : D:\usr\sap\NW2\JC02\SDM\program
    -> class path         : D:\usr\sap\NW2\JC02\SDM\program\bin\SDM.jar
    -> OS libs path       : D:\usr\sap\NW2\JC02\j2ee\os_libs
    -> main class         : SDMInternal
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : D:\usr\sap\NW2\JC02\exe\jstartup.jar;D:\usr\sap\NW2\JC02\exe\jvmx.jar
    -> shutdown class     : com.sap.sdm.jstartup.shutdown.InternalShutDown
    -> parameters         : server sdmhome=D:\usr\sap\NW2\JC02\SDM\program
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 60000
    -> shutdown timeout   : 120000
    [Thr 4512] JControlMSConnect: attached to message server (mmsr17/3903)
    [Thr 5340] JControlMSMessageFunc: Thread 5340 started as listener thread for ms messages.
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_dispatcher
    -> arg[03] = -nodeId=0
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653700
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_dispatcher.out
    -> arg[08] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_dispatcher.out
    -> arg[09] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_dispatcher
    -> arg[10] = -mode=JCONTROL
    -> arg[11] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process dispatcher started (PID:5444)
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[09] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[10] = -mode=JCONTROL
    -> arg[11] = -debugMode=yes
    -> arg[12] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:4684)
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_sdm
    -> arg[03] = -nodeId=2
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\SDM\program\config\sdm_jstartup.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=sdm
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_sdm.out
    -> arg[08] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_sdm.out
    -> arg[09] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_sdm
    -> arg[10] = -mode=JCONTROL
    -> arg[11] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process SDM started (PID:5472)
    [Thr 4512] JControlMSSendLogon: delete SDM logon information (rc=0)
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlMSSendLogon: insert SDM logon information (port=50218; rc=0)
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:4684) died (RUN-FLAG)
    [Thr 4512] JControlIResetProcess: reset process server0
    [Thr 4512] JControlIResetProcess: [server0] not running -> increase error count (1)
    [Thr 4512] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_13\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID28653750 1189856249 -bz D:\usr\sap\NW2\SYS\global
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -jvmOutMode=append
    -> arg[09] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[10] = -stdOutMode=append
    -> arg[11] = -traceMode=append
    -> arg[12] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[13] = -mode=JCONTROL
    -> arg[14] = -debugMode=yes
    -> arg[15] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:3944)
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:3944) died (RUN-FLAG)
    [Thr 4512] JControlIResetProcess: reset process server0
    [Thr 4512] JControlIResetProcess: [server0] not running -> increase error count (2)
    [Thr 4512] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_13\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID28653750 1189856314 -bz D:\usr\sap\NW2\SYS\global
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -jvmOutMode=append
    -> arg[09] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[10] = -stdOutMode=append
    -> arg[11] = -traceMode=append
    -> arg[12] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[13] = -mode=JCONTROL
    -> arg[14] = -debugMode=yes
    -> arg[15] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:4308)
    [Thr 4512]  Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:4308) died (RUN-FLAG)
    [Thr 4512] JControlIResetProcess: reset process server0
    [Thr 4512] JControlIResetProcess: [server0] not running -> increase error count (3)
    [Thr 4512] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_13\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID28653750 1189856350 -bz D:\usr\sap\NW2\SYS\global
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -jvmOutMode=append
    -> arg[09] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[10] = -stdOutMode=append
    -> arg[11] = -traceMode=append
    -> arg[12] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[13] = -mode=JCONTROL
    -> arg[14] = -debugMode=yes
    -> arg[15] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:2616)
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:2616) died (RUN-FLAG)
    [Thr 4512] JControlIResetProcess: reset process server0
    [Thr 4512] JControlIResetProcess: [server0] not running -> increase error count (4)
    [Thr 4512] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_13\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID28653750 1189856405 -bz D:\usr\sap\NW2\SYS\global
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:10, argument:1 from pid:0
    [Thr 5144] JControlIDumpStackTrace: dump stacktrace for server0
    [Thr 5144] *** ERROR => Can't send command for stack dump (rc=-3) [jcntrxxi.c   1403]
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:19, argument:1 from pid:0
    [Thr 5144] JControlITraceIncrement: increment trace level for server0
    [Thr 5144] *** ERROR => Can't send command for trace level increment (rc=-3) [jcntrxxi.c   1434]
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:4, argument:1 from pid:0
    [Thr 5144] JControlIEnableProcess: enable process server0
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -jvmOutMode=append
    -> arg[09] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[10] = -stdOutMode=append
    -> arg[11] = -traceMode=append
    -> arg[12] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[13] = -mode=JCONTROL
    -> arg[14] = -debugMode=yes
    -> arg[15] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:3556)
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:3556) died (RUN-FLAG)
    [Thr 4512] JControlIResetProcess: reset process server0
    [Thr 4512] JControlIResetProcess: [server0] not running -> increase error count (5)
    [Thr 4512] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_13\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID28653750 1189856490 -bz D:\usr\sap\NW2\SYS\global
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:4, argument:1 from pid:0
    [Thr 5144] JControlIEnableProcess: enable process server0
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -jvmOutMode=append
    -> arg[09] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[10] = -stdOutMode=append
    -> arg[11] = -traceMode=append
    -> arg[12] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[13] = -mode=JCONTROL
    -> arg[14] = -debugMode=yes
    -> arg[15] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:2872)
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:2872) died (RUN-FLAG)
    [Thr 4512] JControlIResetProcess: reset process server0
    [Thr 4512] JControlIResetProcess: [server0] not running -> increase error count (6)
    [Thr 4512] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_13\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID28653750 1189858000 -bz D:\usr\sap\NW2\SYS\global
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:10, argument:1 from pid:0
    [Thr 5144] JControlIDumpStackTrace: dump stacktrace for server0
    [Thr 5144] *** ERROR => Can't send command for stack dump (rc=-3) [jcntrxxi.c   1403]
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:8, argument:1 from pid:0
    [Thr 5144] JControlIDisableDebugging: disable debugging server0
    [Thr 5144] JControlIEnableProcess: restart process server0
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:4, argument:1 from pid:0
    [Thr 5144] JControlIEnableProcess: enable process server0
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -jvmOutMode=append
    -> arg[09] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[10] = -stdOutMode=append
    -> arg[11] = -traceMode=append
    -> arg[12] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[13] = -mode=JCONTROL
    -> arg[14] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:4836)
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:8, argument:1 from pid:0
    [Thr 5144] JControlIDisableDebugging: disable debugging server0
    [Thr 5144] JControlIEnableProcess: restart process server0
    [Thr 5144] JControlIProcessSoftKill: soft kill of process server0 (pid:4836)
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:8, argument:1 from pid:0
    [Thr 5144] JControlIDisableDebugging: disable debugging server0
    [Thr 5144] JControlIEnableProcess: restart process server0
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:8, argument:1 from pid:0
    [Thr 5144] JControlIDisableDebugging: disable debugging server0
    [Thr 5144] JControlIEnableProcess: restart process server0
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:4836) died (STOPPING)
    [Thr 4512] JControlIResetProcess: reset process server0
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -jvmOutMode=append
    -> arg[09] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[10] = -stdOutMode=append
    -> arg[11] = -traceMode=append
    -> arg[12] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[13] = -mode=JCONTROL
    -> arg[14] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:5428)
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:5428) died (RUN-FLAG)
    [Thr 4512] JControlIResetProcess: reset process server0
    [Thr 4512] JControlIResetProcess: [server0] not running -> increase error count (7)
    [Thr 4512] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_13\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID28653750 1189860005 -bz D:\usr\sap\NW2\SYS\global
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:8, argument:1 from pid:0
    [Thr 5144] JControlIDisableDebugging: disable debugging server0
    [Thr 5144] JControlIEnableProcess: restart process server0
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:4, argument:1 from pid:0
    [Thr 5144] JControlIEnableProcess: enable process server0
    JControlStartJLaunch: program = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[00] = D:\usr\sap\NW2\JC02\exe\jlaunch.exe
    -> arg[01] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> arg[02] = -DSAPINFO=NW2_02_server
    -> arg[03] = -nodeId=1
    -> arg[04] = -file=D:\usr\sap\NW2\JC02\j2ee\cluster\instance.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4516
    -> arg[06] = -nodeName=ID28653750
    -> arg[07] = -jvmOutFile=D:\usr\sap\NW2\JC02\work\jvm_server0.out
    -> arg[08] = -jvmOutMode=append
    -> arg[09] = -stdOutFile=D:\usr\sap\NW2\JC02\work\std_server0.out
    -> arg[10] = -stdOutMode=append
    -> arg[11] = -traceMode=append
    -> arg[12] = -locOutFile=D:\usr\sap\NW2\JC02\work\dev_server0
    -> arg[13] = -mode=JCONTROL
    -> arg[14] = pf=D:\usr\sap\NW2\SYS\profile\NW2_JC02_mmsr17
    -> lib path = PATH=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    -> exe path = PATH=C:\j2sdk1.4.2_13\bin;D:\usr\sap\NW2\JC02\j2ee\os_libs;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;D:\usr\sap\NW2\SYS\exe\uc\NTI386
    [Thr 4512] JControlICheckProcessList: process server0 started (PID:5196)
    [Thr 4512] Mon Mar 24 17:07:20 2008
    [Thr 4512] JControlICheckProcessList: process server0 (pid:5196) died (RUN-FLAG)
    [Thr 4512] JControlIResetProcess: reset process server0
    [Thr 4512] JControlIResetProcess: [server0] not running -> increase error count (8)
    [Thr 4512] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_13\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID28653750 1189860117 -bz D:\usr\sap\NW2\SYS\global
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:8, argument:1 from pid:0
    [Thr 5144] JControlIDisableDebugging: disable debugging server0
    [Thr 5144] JControlIEnableProcess: restart process server0
    [Thr 5144] Mon Mar 24 17:07:20 2008
    [Thr 5144] JControlRequestFunc: receive command:8, argument:1 from pid:0
    [Thr 5144] JControlIDisableDebugging: disable debugging server0
    [Thr 5144] JControlIEnableProcess: restart process server0
    Thanks,
    Vivek

    Hi Vivek,
    FYI :
    JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\NW2\JC02\exe\jvmx.jar
    The above message can be ignored. You will see that message often in perfectly up/running systems as well.
    Also, the dev_jcontrol file shows that the server process was terminating !
    You need to check std_server0.out file for the errors/exceptions as to why server0 was terminating abruptly. The reason should be apparent from dev_server0 and std_server0 most of the times unless its a startup framework bug where the error messages are not written to the log files.
    So, whenever the server process or dispatcher process fails to start, you should check the corresponding dev_server<n> or dev_dispatcher and std_server<n> / std_dispatcher  files. Also, usually, there will be some exception (if its application related) in the defaultrace file as well under server<n>\log or dispatcher\log depending on which one is failing to start.
    e.g. if server0 is failing to start due to some UME issues, you will see the mention of it in std_server0.out (definitely) and more ellaborate info/exceptions in deafultrace under server0\log as well.
    Hope the above helps.

  • How to know the port number to which the server process is listening

    I have created oracle 10g Release 1 database(orcl) in Windows Xp Professional edition through DBCA . I also created one more database(sample) manually .
    The ORCL server process listens to port no 1521 and
    SAMPLE server process listens to port no 1522
    Once I start the OracleServiceORCL (Service for orcl) from services.msc and check the listener status it displays
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    But when I start OracleServiceSAMPLE (Service for sample) from services.exe and check the listener status there is no change . Only when i start the instance the dynamic registration takes place with port no 1521 .
    There is no entry for listener parameter in init.ora file . My question is how is the service ORCL able to get itself registered with the listener even before the instance is up ?
    And how can i know which port no is linked with which server process?
    Also if we provide a different port number(other than 1521 say 1522) in tnsnames.ora for a service and consider the listener is listening to both 1521 and 1522 . Now consider that port number 1521 is free . In this case to which port number will the service be listening to ?
    The listener file looks like this
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\Db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1522))
    The tnsnames file has the following entry
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    SAMPLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...[coe]
    The status tells you the instance is up. Starting the service often means the instance gets started also, but whatever "often" means, "READY" means "The instance is up, running and taking callers".
    Your statement that "ORCL [is] able to get itself registered with the listener even before the instance is up" is therefore factually incorrect: you started the service, that started the instance. The instance is up and running. Instances that aren't running don't exist. Things which don't exist don't register themselves. Things which HAVE registered themselves therefore do exist.. and if they say they are "ready", it means they are completely, 100% up and running and behaving quite normally.
    I have not set LOCAL_LISTENER initialization parameter.How is this happening ?
    You only need to set LOCAL_LISTENER if (a) you're not using TCP/IP, (b) you're not using port 1521. Otherwise, PMON is hard-coded to register itself with listeners running on port 1521 and using TCP/IP and you don't need to set LOCAL_LISTENER to achieve that.
    Server Processes do not listen. Listeners do (there's a clue in their name). Listeners receive a call to connect to an instance, they spawn a server process to handle your call, and then they connect you to that server process (or send a message back to you telling you how to contact the server process). Each server process of course receives communications from its dedicated client on a specific port (usually in the 50000+ range), and that port is chosen randomly by the listener when it's spawning it. It's a bit blurry and vague to call that server process port a port on which server processes "listen", however.
    If you're talking dedicated server, each client causes one new server process to be spawned, and there is a one-to-one correspondence between server processes and the port that server process happens to accept client communications on.
    If you're going to ask a listener to do listening duty on multiple ports, I'd first question your need to do that and I'd then point out that unless your client tnsnames.ora knows to talk on the second or subsequent port numbers, the listener is never actually going to make use of that second port.
    In either case, the port the listener listens on has nothing whatsoever to do with the port your client-to-server-process communication ends up taking place on.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Server Process taking all CPU time intermittently on Solaris

    Hi,
    What does my program do :-
    We have been facing this problem from many days, We have a server
    process which is continuously listening at a port on Solaris 5.8.
    Whenever a request is sent to this server a new thread & a socket is created for that client.
    This process is running as a proxy server, which connects to some other machine on client request.
    Problem:
    The process start taking whole CPU after few days, happens in a weeks
    period. The process remain in this state for few hours & after that it
    stops responding to any requests.
    & the only thing which can be done, to make it work is to restart the
    process.
    If someone has faced a similar problem then please let me know if you
    have found a solution for that.
    I will give 10 duke dollars to you if you can provide a solution for this problem.
    Regards,
    Sachin

    Here is another class which is used in my code:
    package com.ge.med.service.olea.telnetapplet.proxy;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    * This class is a generic framework for a flexible, multi-threaded server.
    * It listens on any number of specified ports, and, when it receives a
    * connection on a port, passes input and output streams to a specified Service
    * object which provides the actual service. It can limit the number of
    * concurrent connections, and logs activity to a specified stream.
    public class Server {
    // This is the state for the server
    ConnectionManager connectionManager; // The ConnectionManager object
    Hashtable services; // The current services and their ports
    ThreadGroup threadGroup; // The threadgroup for all our threads
    PrintWriter logStream; // Where we send our logging output to
    * This is the Server() constructor. It must be passed a stream
    * to send log output to (may be null), and the limit on the number of
    * concurrent connections. It creates and starts a ConnectionManager
    * thread which enforces this limit on connections.
    public Server(OutputStream logStream, int maxConnections) {
    setLogStream(logStream);
    log("Starting server");
    threadGroup = new ThreadGroup("Server");
    connectionManager = new ConnectionManager(threadGroup, maxConnections);
    connectionManager.start();
    services = new Hashtable();
    * A public method to set the current logging stream. Pass null
    * to turn logging off
    public void setLogStream(OutputStream out) {
    if (out != null) logStream = new PrintWriter(new OutputStreamWriter(out));
    else logStream = null;
    /** Write the specified string to the log */
    protected synchronized void log(String s) {
    if (logStream != null) {
    logStream.println("[" + new Date() + "] " + s);
    logStream.flush();
    /** Write the specified object to the log */
    protected void log(Object o) { log(o.toString()); }
    * This method makes the server start providing a new service.
    * It runs the specified Service object on the specified port.
    public void addService(Service service, int port) throws IOException {
    Integer key = new Integer(port); // the hashtable key
    // Check whether a service is already on that port
    if (services.get(key) != null)
    throw new IllegalArgumentException("Port " + port + " already in use.");
    // Create a Listener object to listen for connections on the port
    Listener listener = new Listener(threadGroup, port, service);
    // Store it in the hashtable
    services.put(key, listener);
    // Log it
    log("Starting service " + service.getClass().getName() +
    " on port " + port);
    // Start the listener running.
    listener.start();
    * This method makes the server stop providing a service on a port.
    * It does not terminate any pending connections to that service, merely
    * causes the server to stop accepting new connections
    public void removeService(int port) {
    Integer key = new Integer(port); // hashtable key
    // Look up the Listener object for the port in the hashtable of services
    final Listener listener = (Listener) services.get(key);
    if (listener == null) return;
    // Ask the listener to stop
    listener.pleaseStop();
    // Remove it from the hashtable
    services.remove(key);
    // And log it.
    log("Stopping service " + listener.service.getClass().getName() +
    " on port " + port);
    * This nested class manages client connections for the server.
    * It maintains a list of current connections and enforces the
    * maximum connection limit. It creates a separate thread (one per
    * server) that sits around and wait()s to be notify()'d that a connection
    * has terminated. When this happens, it updates the list of connections.
    public class ConnectionManager extends Thread {
    int maxConnections; // The maximum number of allowed connections
    Vector connections; // The current list of connections
    * Create a ConnectionManager in the specified thread group to enforce
    * the specified maximum connection limit. Make it a daemon thread so
    * the interpreter won't wait around for it to exit.
    public ConnectionManager(ThreadGroup group, int maxConnections) {
    super(group, "ConnectionManager");
    this.setDaemon(true);
    this.maxConnections = maxConnections;
    connections = new Vector(maxConnections);
    log("Starting connection manager. Max connections: " + maxConnections);
    * This is the method that Listener objects call when they accept a
    * connection from a client. It either creates a Connection object
    * for the connection and adds it to the list of current connections,
    * or, if the limit on connections has been reached, it closes the
    * connection.
    synchronized void addConnection(Socket s, Service service) {
    // If the connection limit has been reached
    if (connections.size() >= maxConnections) {
    try {
    PrintWriter out = new PrintWriter(s.getOutputStream());
    // Then tell the client it is being rejected.
    out.println("Connection refused; " +
    "server has reached maximum number of clients.");
    out.flush();
    // And close the connection to the rejected client.
    s.close();
    // And log it, of course
    log("Connection refused to " + s.getInetAddress().getHostAddress() +
    ":" + s.getPort() + ": max connections reached.");
    } catch (IOException e) {log(e);}
    else {  // Otherwise, if the limit has not been reached
    // Create a Connection thread to handle this connection
    Connection c = new Connection(s, service);
    // Add it to the list of current connections
    connections.addElement(c);
    // Log this new connection
    log("Connected to " + s.getInetAddress().getHostAddress() +
    ":" + s.getPort() + " on port " + s.getLocalPort() +
    " for service " + service.getClass().getName());
    // And start the Connection thread running to provide the service
    c.start();
    * A Connection object calls this method just before it exits.
    * This method uses notify() to tell the ConnectionManager thread
    * to wake up and delete the thread that has exited.
    public synchronized void endConnection() { this.notify(); }
    /** Change the current connection limit */
    public synchronized void setMaxConnections(int max) { maxConnections=max; }
    * Output the current list of connections to the specified stream.
    * This method is used by the Control service defined below.
    public synchronized void printConnections(PrintWriter out) {
    for(int i = 0; i < connections.size(); i++) {
    Connection c = (Connection)connections.elementAt(i);
    out.println("CONNECTED TO " +
    c.client.getInetAddress().getHostAddress() + ":" +
    c.client.getPort() + " ON PORT " + c.client.getLocalPort()+
    " FOR SERVICE " + c.service.getClass().getName());
    * The ConnectionManager is a thread, and this is the body of that
    * thread. While the ConnectionManager methods above are called by other
    * threads, this method is run in its own thread. The job of this thread
    * is to keep the list of connections up to date by removing connections
    * that are no longer alive. It uses wait() to block until notify()'d by
    * the endConnection() method.
    public void run() {
    while(true) {  // infinite loop
    // Check through the list of connections, removing dead ones
    for(int i = 0; i < connections.size(); i++) {
    Connection c = (Connection)connections.elementAt(i);
    if (c != null && !c.isAlive()) {
    connections.removeElementAt(i);
                   try      {
                        //close server socket. SPR SVCge16539. Sachin Joshi.
                        Socket server = ProxyServer.Proxy.getServerSocket(c.client);                    
                        if (server != null)
                             server.close();
                        //close client socket.
                        if (c.client != null)
                             c.client.close();                    
                   catch (java.io.IOException e)     {
                        System.err.println("Error closing connection " + e);
                   catch (Exception e)     {
                        System.err.println("Cannot Establish Connection !! " + e);
    log("Connection to " + c.client.getInetAddress().getHostAddress() +
    ":" + c.client.getPort() + " closed.");
              System.out.println("Total Connections now = " + connections.size());
    // Now wait to be notify()'d that a connection has exited
    // When we wake up we'll check the list of connections again.
    try { synchronized(this) { this.wait(); } }
    catch(InterruptedException e) {}
    * This class is a subclass of Thread that handles an individual connection
    * between a client and a Service provided by this server. Because each
    * such connection has a thread of its own, each Service can have multiple
    * connections pending at once. Despite all the other threads in use, this
    * is the key feature that makes this a multi-threaded server implementation.
    public class Connection extends Thread {
    Socket client; // The socket to talk to the client through
    Service service; // The service being provided to that client
    * This constructor just saves some state and calls the superclass
    * constructor to create a thread to handle the connection. Connection
    * objects are created by Listener threads. These threads are part of
    * the server's ThreadGroup, so all Connection threads are part of that
    * group, too.
    public Connection(Socket client, Service service) {
    super("Server.Connection:" + client.getInetAddress().getHostAddress() +
    ":" + client.getPort());
    this.client = client;
    this.service = service;
    * This is the body of each and every Connection thread.
    * All it does is pass the client input and output streams to the
    * serve() method of the specified Service object. That method
    * is responsible for reading from and writing to those streams to
    * provide the actual service. Recall that the Service object has been
    * passed from the Server.addService() method to a Listener object
    * to the ConnectionManager.addConnection() to this Connection object,
    * and is now finally getting used to provide the service.
    * Note that just before this thread exits it calls the
    * ConnectionManager.endConnection() method to wake up the
    * ConnectionManager thread so that it can remove this Connection
    * from its list of active connections.
    public void run() {
    try {
    InputStream in = client.getInputStream();
    OutputStream out = client.getOutputStream();
    // service.serve(in, out);
    ((ProxyServer.Proxy)service).serve(in, out,client);
    catch (IOException e) {log(e);}
    finally { connectionManager.endConnection(); }
    * Here is the Service interface that we have seen so much of.
    * It defines only a single method which is invoked to provide the service.
    * serve() will be passed an input stream and an output stream to the client.
    * It should do whatever it wants with them, and should close them before
    * returning.
    * All connections through the same port to this service share a single
    * Service object. Thus, any state local to an individual connection must
    * be stored in local variables within the serve() method. State that should
    * be global to all connections on the same port should be stored in
    * instance variables of the Service class. If the same Service is running
    * on more than one port, there will typically be different Service instances
    * for each port. Data that should be global to all connections on any port
    * should be stored in static variables.
    * Note that implementations of this interface must have a no-argument
    * constructor if they are to be dynamically instantiated by the main()
    * method of the Server class.
    public interface Service {
    public void serve(InputStream in, OutputStream out) throws IOException;     
         }

  • Event ID 7031: DCOM Server Process Launcher service terminated unexpectedly - Causing a Reboot of Server

    Hello All,
    We recently had a situation where in our Windows Os 2003 SP2 server got rebooted. 
    Logged and found below event on server:
    Event Type:        Error
    Event Source:    Service Control Manager
    Event Category:                None
    Event ID:              7031
    Date:                     30/07/2014
    Time:                     20:16:28
    User:                     N/A
    Computer:          XXXXXXXXX
    Description:
    The DCOM Server Process Launcher service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 60000 milliseconds: Reboot the machine.
    I do not see any other event that could cause the DCOM to fail, not sure that could have been the reason for this.
    Any idea?

    Hi,
    Based on your description, I find following KB in
    List of updates in Windows Server 2003 Service Pack 2. It seems to be suitable for current
    scenario. Please refer to and check if can help you.
    DCOM programs do not work, and event ID 7031 is logged
    after you install Windows Server 2003 Service Pack 1 (SP1)
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • TNS-12500: TNS:listener failed to start a dedicated server process

    Hello all,
    I have recently applied a patch on apps tier, after which the concurrent manager is not up & running,
    while viewing the internal log
    im getting the below error
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to : 25-NOV-2013 13:02:02
    Starting AVAILMGR Concurrent Manager               : 25-NOV-2013 13:02:02
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager AVAILMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to : 25-NOV-2013 13:02:02
                         Process monitor session ended : 25-NOV-2013 13:02:02
    ========================================================================
    Starting test_1125@test Internal Concurrent Manager -- shell process ID 25362
              logfile=/d01/apps/testcomn/admin/log/test_test/test_1125.mgr
              PRINTER=noprint
               mailto=appltest
              restart=N
                 diag=N
                sleep=60 (default)
                 pmon=20 (default)
               quesiz=1  (default)
    Routine &ROUTINE has attempted to start the internal concurrent manager.  The ICM is already running.  Contact you system administrator for further assistance.afpdlrq received an unsuccessful result from PL/SQL procedure or function FND_DCP.Request_Session_Lock.
    Routine FND_DCP.REQUEST_SESSION_LOCK received a result code of 1 from the call to DBMS_LOCK.Request.
    Possible DBMS_LOCK.Request resultCall to establish_icm failed
    The Internal Concurrent Manager has encountered an error.
    Review concurrent manager log file for more detailed information. : 25-NOV-2013 13:03:01 -
    Shutting down Internal Concurrent Manager : 25-NOV-2013 13:03:01
    List of errors encountered:
    _ 1 _
    Routine AFPCSQ encountered an ORACLE error. .
    Review your error messages for the cause of the error. (=<POINTER>)
    List of errors encountered:
    _ 1 _
    Routine AFPCAL received failure code while parsing or running your
    concurrent program CPMGR
    Review your concurrent request log file for more detailed information.
    Make sure you are passing arguments in the correct format.
    The test_1125@test internal concurrent manager has terminated with status 1 - giving up.
    WARNING: RunAsUser for MSP ignored, check group ids (egid=501, want=51)
    can not chdir(/var/spool/clientmqueue/): Permission denied
    Program mode requires special privileges, e.g., root or TrustedUser.
    Also in apps tier $TNS_ADMIN
    the log says
    25-NOV-2013 14:57:51 * ping * 0
    25-NOV-2013 14:57:51 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=5147)) * establish * FNDSM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12547: TNS:lost contact
      TNS-12560: TNS:protocol adapter error
       TNS-00517: Lost contact
        Linux Error: 32: Broken pipe

    HI thanks for your reply,
    I tried the above guide but dint helped me,
    I tried modifiying Concurrent:GSM Enabled to N & concurrent manager started but all requests were in pending state not running so i reverted back to Concurrent:GSM Enabled Y
    I ran autoconfig & this is the lastes error I am getting in internal manager log.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:18
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:18
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:18
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:18
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:19
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:19
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:19
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:19
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:19
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:19
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:20
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:20
    Could not start Service Manager FNDSM_test_test. The TNS alias could not be located, the listener process on test could not be contacted, or the listener failed to spawn the Service Manager process.
    Routine AFPEIM encountered an error while starting concurrent manager FCHMGR with library /d01/apps/testappl/fnd/11.5.0/bin/FNDLIBR.
    Check that your system has enough resources to start a concurrent manager process. Contact your system administrator to o : 25-NOV-2013 15:51:20
    Starting FCHMGR Concurrent Manager                 : 25-NOV-2013 15:51:20
    The below is the log from $TNS_ADMIN log directory apps_test.ora
    25-NOV-2013 16:06:01 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.30.82)(PORT=13510)) * establish * FNDSM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12547: TNS:lost contact
      TNS-12560: TNS:protocol adapter error
       TNS-00517: Lost contact
        Linux Error: 32: Broken pipe
    25-NOV-2013 16:06:01 * ping * 0
    25-NOV-2013 16:06:01 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=13512)) * establish * FNDSM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12547: TNS:lost contact
      TNS-12560: TNS:protocol adapter error
       TNS-00517: Lost contact
        Linux Error: 32: Broken pipe
    25-NOV-2013 16:06:02 * ping * 0
    25-NOV-2013 16:06:02 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.12)(PORT=13514)) * establish * FNDSM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12547: TNS:lost contact
      TNS-12560: TNS:protocol adapter error
       TNS-00517: Lost contact
        Linux Error: 32: Broken pipe
    25-NOV-2013 16:06:02 * ping * 0
    25-NOV-2013 16:06:02 * (CONNECT_DATA=(SID=FNDSM)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.30)(PORT=13516)) * establish * FNDSM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12547: TNS:lost contact
      TNS-12560: TNS:protocol adapter error
       TNS-00517: Lost contact
        Linux Error: 32: Broken pipe

  • DB 9i - TNS-12500: TNS:listener failed to start a dedicated server process

    hi all,
    I have a problem with the following configuration oracle 9.2.0.1 (32bits) on Win server 2003 - enterprise x64 edition - 10GM of RAM.
    I installed DB without problem, run server, started listener - seems all is fine. But when trying a remote connection, "listener failed to start a dedicated server process"
    log listener -------
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=NpressOracle9.replynet.prv)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=NpressOracle9.replynet.prv)(PORT=2100))(Presentation=FTP)(Session=RAW))
    04-MAR-2010 05:31:04 * service_register * PRESS * 0
    04-MAR-2010 05:31:08 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=153092352)) * status * 0
    04-MAR-2010 05:31:36 * ping * 0
    04-MAR-2010 05:31:39 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=PRESS)(CID=(PROGRAM=C:\oracle\product\10.2.0\db_1\bin\sqlplus.exe)(HOST=MMARFELLA-NB)(USER=mmarfella))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.21.103.28)(PORT=2838)) * establish * PRESS * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12546: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00516: Permission denied
    32-bit Windows Error: 5: Input/output error
    I ask You, because I am not too familiar with Windows environment and very likely I forget/miss something obvious (in this env).
    Thanks in advance
    Marfy

    I solved installing upgrade to 9.2.0.8.
    Now It's all OK.
    Regards
    Marfy

  • My first Server/Client Program .... in advise/help

    Hello,
    I am learning about Sockets and ServerSockets and how I can use the. I am trying to make the simplest server/client program possible just for my understanding before I go deper into it. I have written two programs. theserver.java and theclient.java the sere code looks like this....
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class theserver
      public static void main(String[] args)
      {   //  IOReader r = new IOReader();
            int prt = 3333;
            BufferedReader in;
             PrintWriter out;
            ServerSocket serverSocket;
            Socket clientSocket = null;
    try{
    serverSocket = new ServerSocket(prt);  // creates the socket looking on prt (3333)
    System.out.println("The Server is now running...");
    while(true)
        clientSocket = serverSocket.accept(); // accepts the connenction
        clientSocket.getKeepAlive(); // keeps the connection alive
        out = new PrintWriter(clientSocket.getOutputStream(),true);
        in = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
         if(in.ready())
         System.out.println(in.readLine()); // print it
    catch (IOException e) {
        System.out.println("Accept failed:"+prt);
    and the client looks like this
    import java.net.*;
    import java.io.*;
    public class theclient
    public static void main(String[] args)
        BufferedReader in;
        PrintWriter out;
        IOReader r = new IOReader();
        PrintWriter sender;
        Socket sock;
      try{
        sock = new Socket("linuxcomp",3333);  // creates a new connection with the server.
        sock.setKeepAlive(true); // keeps the connection alive
        System.out.println("Socket is connected"); // confirms socket is connected.
        System.out.println("Please enter a String");
         String bob = r.readS();
          out = new PrintWriter(sock.getOutputStream(),true);
        out.print(bob); // write bob to the server
      catch(IOException e)
           System.out.println("The socket is now disconnected..");
    If you notice in the code I use a class I made called IOReader. All that class is, is a buffered reader for my System.in. (just makes it easier for me)
    Ok now for my question:
    When I run this program I run the server first then the client. I type "hello" into my system.in but on my server side, it prints "null" I can't figure out what I am doing wrong, if I am not converting correctly, or if the message is not ever being sent. I tried putting a while(in.read()) { System.out.println("whatever") } it never reaches a point where in.ready() == true. Kinda of agrivating. Because I am very new to sockets, I wanna aks if there is somthing wrong with my code, or if I am going about this process completely wrong. Thank you to how ever helps me,
    Cobbweb

    here's my simple server/client Socket :
    Server:
    import java.net.*;
    import java.io.*;
    public class server
       public static void main(String a[])
              ServerSocket server=null;
              Socket socket=null;
              DataInputStream input=null;
              PrintStream output=null;
          try
             server=new ServerSocket(2000);
             socket=server.accept();
             input = new DataInputStream(socket.getInputStream());
             output = new PrintStream(socket.getOutputStream());
             //output.println("From Server: hello there!");
             String msg="";
             while((msg=input.readLine()) != null)
                System.out.println("From Client: "+msg);
          catch(IOException e)
          catch(Exception e)
    }Client:
    import java.net.*;
    import java.io.*;
    public class client
       static private Socket socket;
       static private DataInputStream input;
       static private PrintStream output;
       public static void main(String a[])
          try
    socket=new Socket("10.243.21.101",2000);
    System.out.println("\nconnected to: \""+socket.getInetAddress()+"\"");
             input=new DataInputStream(socket.getInputStream());
             output=new PrintStream(socket.getOutputStream());
             output.println("From Client(Tux): "+a[0]);
             String msg="";
             //while((msg=input.readLine()) != null)
                 System.out.println("From Server(Bill): "+msg);
          catch(java.io.IOException e)
          catch(Exception e)
    }

  • Is server process visible to DBA's ?

    I like to know weather a DBA can see the server process ? Though I doubt on this . Anyways, if we can , then do let me know the views , which you can use to see these server process.
    hare krishna
    Alok

    There it'll look something like
    ORACLEPID OSPID     OSUSER          PROGRAM              B
             1                           PSEUDO
             2 1436      SYSTEM          ORACLE.EXE           1
             3 1064      SYSTEM          ORACLE.EXE           1
             4 1056      SYSTEM          ORACLE.EXE           1
             5 1680      SYSTEM          ORACLE.EXE           1
             6 1252      SYSTEM          ORACLE.EXE           1
             7 1336      SYSTEM          ORACLE.EXE           1
             8 912       SYSTEM          ORACLE.EXE
             9 348       SYSTEM          ORACLE.EXE
            10 1076      SYSTEM          ORACLE.EXE
            11 1668      SYSTEM          ORACLE.EXEYou will need some os tool to identify the "TIDs" corresponding to server processes in the windows process oracle.exe.
    I think Windows uses a PID:TID notation for threads. Dont know if you can find the oracle.exe PID via sql.

  • Server Process Event Detail Definitions

    I'm trying to add a new LDAP query against Group objects from an MS Active Directory. The User Settings query for this OU is working. I've also successfully added two other group queries so far, but when I reach this one particular OU, I'm getting the following System Event error:
    LDAP Unavailable Server Process [PrincipalDomainEntity: itvn epoch:29 state:20 ]
    Does anyone know what the 'epoch' and 'state' codes mean? And what are the messages associated with those code numbers?
    John

    Hi,
    Based on your description, I find following KB in
    List of updates in Windows Server 2003 Service Pack 2. It seems to be suitable for current
    scenario. Please refer to and check if can help you.
    DCOM programs do not work, and event ID 7031 is logged
    after you install Windows Server 2003 Service Pack 1 (SP1)
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Error in starting WebLogic Server Process

    Hi,
    I'm suffering a serious sproblem that results in failure in starting WebLogic
    Server Processes. What i'm trying is to use "PostBindUID" nad "PostBindGID" services
    that changes the processes owner from "root" to "somebody". However, once i set
    it in Console (Configure a new Unix Machine), the server cannot start afterwards
    with the following errors in the screen (when i execute startWebLogic.sh) ...
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x917116B8
    Function=Java_weblogic_platform_Unix_getEGroup0+0x28
    Library=/opt/weblogic/bea/weblogic81/server/lib/solaris/libweblogicunix1.so
    Current Java thread:
    at weblogic.platform.Unix.getEGroup0(Native Method)
    at weblogic.platform.Unix.getEffectiveGroup(Unix.java:95)
    at weblogic.t3.srvr.T3Srvr.switchEffectiveGroup(T3Srvr.java:2080)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:1001)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    Dynamic libraries:
    0x10000 /opt/weblogic/bea/jdk141_05/bin/java
    0xff360000 /usr/lib/libthread.so.1
    0xff3a0000 /usr/lib/libdl.so.1
    0xff280000 /usr/lib/libc.so.1
    0xff350000 /usr/platform/FJSV,GPUZC-M/lib/libc_psr.so.1
    0xfe000000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/server/libjvm.so
    0xff210000 /usr/lib/libCrun.so.1
    0xff1f0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0b0000 /usr/lib/libm.so.1
    0xff240000 /usr/lib/libw.so.1
    0xff090000 /usr/lib/libmp.so.2
    0xff060000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/native_threads/libhpi.so
    0xff030000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libverify.so
    0xfe7c0000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libjava.so
    0xfe7a0000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libzip.so
    0xfe670000 /usr/lib/nss_files.so.1
    0x91850000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libnet.so
    0x91710000 /opt/weblogic/bea/weblogic81/server/lib/solaris/libweblogicunix1.so
    0x914d0000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libnio.so
    0x914b0000 /usr/lib/librt.so.1
    0x91260000 /usr/lib/libaio.so.1
    0x91240000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libioser12.so
    0x90d60000 /usr/lib/nss_dns.so.1
    0x90b30000 /usr/lib/libresolv.so.2
    Local Time = Mon Jun 14 18:16:04 2004
    Elapsed Time = 143
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Server VM (1.4.1_05-b01 mixed mode)
    Abort
    If anyone have any thoughts, please kindly let me know.
    Many thanks,
    Ralph

    Hi,
    Few comments here...
    1) Seems your environment is not setup correctly but that is not the big cause here.....
    2) This one is important, it seems that you installed weblogic using a different account and are trying to run it from a different account.
    So the account with which you are trying to run weblogic does not have proper permission on
    MW_HOME\user_projects\domains\bifoundation_domain\config\fmwconfig\bootstrap\cwallet.sso
    Right click on the file and go in properties ..
    Enable full control,modify,Read and execute,read and write permissions for the user you are trying to start weblogic and apply it.
    if this simple steps doesnt work, please enable more logging by adding "-Djava.security.debug=jpspolicy" to startup option and grab more details.
    Good Luck let me know if this works.

  • Question regarding Listener and Server Processes in dedicated server mode

    Good morning,
    The Oracle documentation states that when a client connection request is received on the server, the Listener creates a Server Process which will work with the database instance to carry out the tasks requested by the user/client process. So far, everything good.
    Now, when the user is at the Oracle server itself, the Listener does not need to be running to establish a connection to the database. It is therefore possible to stop the Listener and still connect using sqlplus and a valid username and password.
    In the above case, the question is: if the Listener is not running, what/who created the Server Process that communicates with the database instance on behalf of the user ? Stated a different way, in the normal case, the Listener would get the request and create the server process. When the Listener is not running what part of Oracle gets the requests and creates the server process ?
    Clarification on how this case is handled is much appreciated, thank you,
    John.

    When using bequeath protocol the server process is created by the client process: it's the client process that is using ORACLE_SID and ORACLE_HOME to compute shared memory key (under UNIX) to know which SGA to attach (i.e. which instance to connect to):
    Example with SQL*Plus :
    $ ps -fu oracle | grep DB112
    oracle    5675     1  0 18:13 ?        00:00:00 ora_pmon_DB112
    oracle    5677     1  3 18:13 ?        00:00:02 ora_vktm_DB112
    oracle    5681     1  0 18:13 ?        00:00:00 ora_gen0_DB112
    oracle    5683     1  0 18:13 ?        00:00:00 ora_diag_DB112
    oracle    5685     1  0 18:13 ?        00:00:00 ora_dbrm_DB112
    oracle    5687     1  0 18:13 ?        00:00:00 ora_psp0_DB112
    oracle    5689     1  0 18:13 ?        00:00:00 ora_dia0_DB112
    oracle    5691     1  0 18:13 ?        00:00:00 ora_mman_DB112
    oracle    5693     1  0 18:13 ?        00:00:00 ora_dbw0_DB112
    oracle    5695     1  0 18:13 ?        00:00:00 ora_lgwr_DB112
    oracle    5697     1  0 18:13 ?        00:00:00 ora_ckpt_DB112
    oracle    5699     1  0 18:13 ?        00:00:00 ora_smon_DB112
    oracle    5701     1  0 18:13 ?        00:00:00 ora_reco_DB112
    oracle    5703     1  0 18:13 ?        00:00:00 ora_mmon_DB112
    oracle    5705     1  0 18:13 ?        00:00:00 ora_mmnl_DB112
    oracle    5707     1  0 18:13 ?        00:00:00 ora_d000_DB112
    oracle    5709     1  0 18:13 ?        00:00:00 ora_s000_DB112
    oracle    5745     1  0 18:13 ?        00:00:00 ora_arc0_DB112
    oracle    5747     1  0 18:13 ?        00:00:00 ora_arc1_DB112
    oracle    5749     1  0 18:13 ?        00:00:00 ora_arc2_DB112
    oracle    5751     1  0 18:13 ?        00:00:00 ora_arc3_DB112
    oracle    5753     1  0 18:13 ?        00:00:00 ora_qmnc_DB112
    oracle    5769     1  1 18:13 ?        00:00:00 ora_cjq0_DB112
    oracle    5773     1  0 18:13 ?        00:00:00 ora_q000_DB112
    oracle    5775     1  0 18:13 ?        00:00:00 ora_q001_DB112
    oracle    5777     1  1 18:13 ?        00:00:00 ora_vkrm_DB112
    oracle    5785     1 46 18:13 ?        00:00:24 ora_j003_DB112
    oracle    5797  5796  2 18:14 ?        00:00:00 oracleDB112 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle    5832  5801  0 18:14 pts/2    00:00:00 grep DB112
    $ ps -fp 5796
    UID        PID  PPID  C STIME TTY          TIME CMD
    oracle    5796  5584  0 18:14 pts/1    00:00:00 sqlplusThis is also documented in 11.2 Net Admin. Guide http://download.oracle.com/docs/cd/E11882_01/network.112/e10836/concepts.htm#CIAFHAEE
    >
    If the client and database exist on the same computer, then a client connection can be passed directly to a dedicated server process without going through the listener. This is known as a bequeath protocol. The application initiating the session spawns a dedicated server process for the connection request. This happens automatically if the application used to start the database is on the same computer as the database.
    >
    Edited by: P. Forstmann on 5 sept. 2010 18:23

  • How do I create a virtual directory in Snow Leopard Server Admin program?

    Hi, how do you use the server admin program in snow leopard server to create an apache virtual directory? I can't see it in the applet anywhere. Thank you.

    Well this is what I thought too but I don't think I'm doing something right. I have a default website on port 80 and I created a second site on the same port. They are two different websites. One is the initial one that comes stock with the osx. The second one I created.
    When I browse to my server I get the second site. How can I get the default to be the one that points to the mail, wiki, calendar stuff, while my second domain is something totally different.
    http://myserver (should be the default stuff like mail.)
    http://myserver/mysecondsite (should be my other stuff.)
    The problem is that when I go to http://myserver it is going to http://myserver/mysecondsite
    What am I doing wrong? Thank you.

  • Error calling a webservice from one server process of the cluster

    Hi ,
    I have a servlet which on startup makes a call to a webservice. I deploy this webapp on the cluster.
    The cluster has two instances each instance having one server process.
    So when the server restarts one server process on one instance calls the web service the other process on other instance fails with a 503 response code.
    When I tried to reproduce the same problem using two server processes on the same instance both processes are able to call the webservice properly.
    I am slightly confused as to how different the second scenario is from first one as both are individual server process and may or may not run on same instance.
    Can anyone tell me the real cause.
    Rgds
    Shashank

    Hi Rajat,
    This is how the default trace looks
    FATAL: Application Servlet failed to notify devices.
    Caught java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://<<server>>:50000/ManagementService/ManagementService?style=document"
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1289)
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1298)
         at com.om.ApplicationServlet$NotifyDevices.run(ApplicationServlet.java:86)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://<<server>>:50000/ManagementService/ManagementService?style=document"
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:980)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1430)
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1282)
         ... 2 more
    java.lang.NoSuchMethodError
    at java.lang.Thread.destroy(Thread.java:779)
         at com.omApplicationServlet$NotifyDevices.run(ApplicationServlet.java:92)
    Rgds
    Shashank

  • Getting Err  : An error occurred in the message processing program.

    Hi, Im wrking with Smartforms.
    I have assigned output type LD00 ,with driver prgrm name and Smf name.
    after that executing with VL03N , its giving error .
    Output could not be issued
    Message no. VL086
    Diagnosis
    An error occurred in the message processing program.
    Procedure
    Contact your system administrator.
    ...Actually i have orginal prgrm (zsmf_Orginal) there i had to do some modifications , so after copying that same form into another form(zsmf_Duplicate), i made some changes there, both form are executing in T code SMARTFORMS, but while testing with VL03N , its showing above mentioned err.
    Plz have eye on it.
    <removed by moderator>
    Regards
    vivek.
    Edited by: vivekd358 on Jul 10, 2010 7:35 AM
    Edited by: Thomas Zloch on Jul 12, 2010 11:35 AM

    closed

Maybe you are looking for

  • The itunes application could not be opened. An unknown error occurred(-200)

    I had an older version of itunes. Just got video ipod, and needed to install the newer version. Did so, and then my computer was screwed up. The fonts were wrong on the desktop and in Internet Explorer. So I did a restore back to before I installed n

  • Error While Querying DB Link from Oracle 10g to Postgres 8.2

    Hi, I have installed unixodbc 2.3.1, postgres odbc driver (psqlodbc-07.03) and dg4odbc 11.2 On querying : select sysdate from dual@dblink_postgresql, the following error occurs: ORA-28500: connection from ORACLE to a non-Oracle system returned this m

  • Oracle Blob and getBinaryOutputStream() on WL6sp2

    WL6sp2, jDriver, Oracle 8.1.7 client We are trying to insert a blob into the database and are getting an NPE when asking for the binaryOutputStream. In fact we are doing it exactly the way the docs spell out at http://e-docs.bea.com/wls/docs60/oracle

  • Could not send notification 65569 (status 'FAILED')

    Customize Workflow runs with 2006 error - only happen in the morning We have created a customize workflow which works a bit funny here: When we first run the workflow in the morning, it ends up with this error: Activity Buyer Notifications Result Mai

  • HT4972 How to Backup iPad2 in Business Environment?

    Hi Everyone! I have a few question about backing up/Updating the iPad2. We have a few people at work that the job has provided them with ipads. We have already set up the ipads for the users, but I am a little fuzzy on how to make sure all data is ba