Problem with starting Tomcat in debug Mode, Win XP

Hi,
if i go to cmd and C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin
and write: catalina jpda start, it says
C:\Documents and Settings\bartek>cd C:\Program Files\Apache Software Founda
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>catalina jpda start
Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tomcat 5
Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 5
Using CATALINA_TMPDIR: C:\Program Files\Apache Software Foundation\Tomcat 5
Using JAVA_HOME: C:\j2sdk1.4.2_09
C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>
And it finishes.... Server is off
If i write: catalina start , new Tomcat window opens and the server starts
This is my catalina.bat
@echo off
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Start/Stop Script for the CATALINA Server
rem
rem Environment Variable Prequisites
rem
rem   CATALINA_HOME   May point at your Catalina "build" directory.
rem
rem   CATALINA_BASE   (Optional) Base directory for resolving dynamic portions
rem                   of a Catalina installation.  If not present, resolves to
rem                   the same directory that CATALINA_HOME points to.
rem
rem   CATALINA_OPTS   (Optional) Java runtime options used when the "start",
rem                   "stop", or "run" command is executed.
rem
rem   CATALINA_TMPDIR (Optional) Directory path location of temporary directory
rem                   the JVM should use (java.io.tmpdir).  Defaults to
rem                   %CATALINA_BASE%\temp.
rem
rem   JAVA_HOME       Must point at your Java Development Kit installation.
rem
rem   JAVA_OPTS       (Optional) Java runtime options used when the "start",
rem                   "stop", or "run" command is executed.
rem
rem   JSSE_HOME       (Optional) May point at your Java Secure Sockets Extension
rem                   (JSSE) installation, whose JAR files will be added to the
rem                   system class path used to start Tomcat.
rem
rem   JPDA_TRANSPORT  (Optional) JPDA transport used when the "jpda start"
rem                   command is executed. The default is "dt_shmem".
rem
rem   JPDA_ADDRESS    (Optional) Java runtime options used when the "jpda start"
rem                   command is executed. The default is "jdbconn".
rem
rem $Id: catalina.bat,v 1.9.2.1 2004/08/21 15:49:47 yoavs Exp $
rem ---------------------------------------------------------------------------
rem Guess CATALINA_HOME if not defined
set CURRENT_DIR=%cd%
if not "%CATALINA_HOME%" == "" goto gotHome
set CATALINA_HOME=%CURRENT_DIR%
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
cd ..
set CATALINA_HOME=%cd%
cd %CURRENT_DIR%
:gotHome
if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
echo The CATALINA_HOME environment variable is not defined correctly
echo This environment variable is needed to run this program
goto end
:okHome
rem Get standard environment variables
if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"
rem Get standard Java environment variables
if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath
echo Cannot find %CATALINA_HOME%\bin\setclasspath.bat
echo This file is needed to run this program
goto end
:okSetclasspath
set BASEDIR=%CATALINA_HOME%
call "%CATALINA_HOME%\bin\setclasspath.bat"
rem Add on extra jar files to CLASSPATH
if "%JSSE_HOME%" == "" goto noJsse
set CLASSPATH=%CLASSPATH%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\jsse.jar
:noJsse
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
if not "%CATALINA_BASE%" == "" goto gotBase
set CATALINA_BASE=%CATALINA_HOME%
:gotBase
if not "%CATALINA_TMPDIR%" == "" goto gotTmpdir
set CATALINA_TMPDIR=%CATALINA_BASE%\temp
:gotTmpdir
rem ----- Execute The Requested Command ---------------------------------------
echo Using CATALINA_BASE:   %CATALINA_BASE%
echo Using CATALINA_HOME:   %CATALINA_HOME%
echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%
echo Using JAVA_HOME:       %JAVA_HOME%
set _EXECJAVA=%_RUNJAVA%
set MAINCLASS=org.apache.catalina.startup.Bootstrap
set ACTION=start
set SECURITY_POLICY_FILE=
set DEBUG_OPTS=
set JPDA=
if not ""%1"" == ""jpda"" goto noJpda
set JPDA=jpda
if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport
set JPDA_TRANSPORT=dt_socked
:gotJpdaTransport
if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress
set JPDA_ADDRESS=8000
:gotJpdaAddress
shift
:noJpda
if ""%1"" == ""debug"" goto doDebug
if ""%1"" == ""run"" goto doRun
if ""%1"" == ""start"" goto doStart
if ""%1"" == ""stop"" goto doStop
if ""%1"" == ""version"" goto doVersion
echo Usage:  catalina ( commands ... )
echo commands:
echo   debug             Start Catalina in a debugger
echo   debug -security   Debug Catalina with a security manager
echo   jpda start        Start Catalina under JPDA debugger
echo   run               Start Catalina in the current window
echo   run -security     Start in the current window with security manager
echo   start             Start Catalina in a separate window
echo   start -security   Start in a separate window with security manager
echo   stop              Stop Catalina
echo   version           What version of tomcat are you running?
goto end
:doDebug
shift
set _EXECJAVA=%_RUNJDB%
set DEBUG_OPTS=-sourcepath "%CATALINA_HOME%\..\..\jakarta-tomcat-catalina\catalina\src\share"
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doRun
shift
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doStart
shift
if not "%OS%" == "Windows_NT" goto noTitle
set _EXECJAVA=start "Tomcat" %_RUNJAVA%
goto gotTitle
:noTitle
set _EXECJAVA=start %_RUNJAVA%
:gotTitle
if not ""%1"" == ""-security"" goto execCmd
shift
echo Using Security Manager
set SECURITY_POLICY_FILE=%CATALINA_BASE%\conf\catalina.policy
goto execCmd
:doStop
shift
set ACTION=stop
goto execCmd
:doVersion
%_EXECJAVA% -classpath "%CATALINA_HOME%\server\lib\catalina.jar" org.apache.catalina.util.ServerInfo
goto end
:execCmd
rem Get remaining unshifted command line arguments and save them in the
set CMD_LINE_ARGS=
:setArgs
if ""%1""=="""" goto doneSetArgs
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setArgs
:doneSetArgs
rem Execute Java with the applicable properties
if not "%JPDA%" == "" goto doJpda
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doSecurity
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doJpda
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurityJpda
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xdebug -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:doSecurityJpda
%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% -Xrunjdwp:transport=%JPDA_TRANSPORT%,address=%JPDA_ADDRESS%,server=y,suspend=n %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Djava.security.manager -Djava.security.policy=="%SECURITY_POLICY_FILE%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%
goto end
:end

paths with spaces in them are a problem. surround them with quotes and see if that helps.
why does the Java /bin appear twice?
why don't you use the JAVA_HOME variable that you set? don't repeat yourself.
%

Similar Messages

  • Problem with starting tomcat

    Hi,
    I am getting the following error mesage while try to run the tomcat on my machine.
    " 'java' is not recognized as an internal or external command,
    program or batch file.
    'java' is not recognized as an internal or external command,
    operable program or batch file."
    my jdk & jre installed on the following path:
    C:\Program Files\Java\jdk1.6.0_05
    C:\Program Files\Java\jre1.6.0_05
    my tomcat installed on the following path:
    E:\xxxx\apache-tomcat-6.0.18
    And I tried to run bebug.bat file:
    path set on this file is given below:
    set path=E:\nisha\apache-tomcat-6.0.18\\bin;C:\applications\Apache2\bin;C:\Program Files\Java\jdk1.6.0_06\bin;C:\Program Files\Java\jdk1.6.0_06\bin;C:
    \applications\apache-ant-1.6.2\bin;.;
    I already set the environment variable for java:
    C:\Program Files\Java\jdk1.6.0_05
    Any one can please help me to get out this problem.
    Thanks in advance
    Thanks,
    learnTech

    paths with spaces in them are a problem. surround them with quotes and see if that helps.
    why does the Java /bin appear twice?
    why don't you use the JAVA_HOME variable that you set? don't repeat yourself.
    %

  • Eroor in eclipse when i have run TOMCAT in debuge mode web service debuging

    hello all,
    i have a serious problem with debug my web service. I set local variable in eclipse (-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000). And now if i run TOMCAT in normal mode all worked fine and i run remote java application fine, but if i run TOMCAT in debug mode, eclipse in console return error:
    "Error occurred during initialization of VM
    agent library failed to init: jdwp
    ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options."
    If anyone have this problem please tell me how to resolved it.
    Thank for help.

    Eclipse is kind of a competing product so this is not the best place to ask the question. With that most will be nice enough to lend a hand. I suggest ensuring that all other instances of tomcat are stopped then try again. In the Debug perspective ensure there are no servers running with the same name as the one you are attempting to use. If all else fails ensure there are no tomcat process running if they are kill them. Finally, if you cant get it to work reboot. If still no good the Eclipse might be a better place to go.

  • SOLMAN 7.0 EHP1 problem with starting SMD instance

    Hello everyone,<br><br>
    i have problem with starting instance SMD in my Solution Manager. After START this instance is status for one-two secend green and then status go to yellow color in SAP Management Console. I dont now where is problem, i try everything, can you help me?<br><br>
    Here is LOG from <b>dev_SMDAgent</b><br><br>
    trc file: "G:\usr\sap\SMD\J98\work\dev_SMDAgent", trc level: 1, release: "701"
    node name   : smdagent
    pid         : 1136
    system name : SMD
    system nr.  : 98
    started at  : Thu Jul 08 14:49:55 2010
    arguments       :
           arg[00] : G:\usr\sap\SMD\J98\..\exe\jlaunch.exe
           arg[01] : pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
           arg[02] : -DSAPINFO=SMD_98_server
           arg[03] : pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
    JStartupReadInstanceProperties: read instance properties [G:\usr\sap\SMD\J98\profile\smd.properties]
    -> ms host    :
    -> ms port    : 36
    -> OS libs    : G:\usr\sap\SMD\J98\..\exe
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : G:\usr\sap\SMD\J98\profile\smd.properties
    Instance properties
    -> ms host    :
    -> ms port    : 36
    -> os libs    : G:\usr\sap\SMD\J98\..\exe
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    Worker nodes
    -> [00] smdagent             : G:\usr\sap\SMD\J98\profile\smd.properties
    [Thr 5392] Thu Jul 08 14:49:55 2010
    [Thr 5392] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 5392] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 2068] JLaunchRequestFunc: Thread 2068 started as listener thread for np messages.
    [Thr 220] WaitSyncSemThread: Thread 220 started as semaphore monitor thread.
    [Thr 5392] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 5392] CPIC (version=701.2009.01.26)
    [Thr 5392] [Node: SMDAgent] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_26-x64\
    [Thr 5392] JStartupICheckFrameworkPackage: can't find framework package G:\usr\sap\SMD\J98\..\exe\jvmx.jar
    JStartupIReadSection: read node properties [smdagent]
    -> node name          : SMDAgent
    -> node type          : server
    -> node id            : 1
    -> node execute       : yes
    -> java path          : C:\j2sdk1.4.2_26-x64\
    -> java parameters    : -DP4ClassLoad=P4Connection
    -> java vm version    : 1.4.2_26-b03
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 256M
    -> init heap size     : 256M
    -> root path          : ..\SMDAgent
    -> class path         : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar
    -> OS libs path       : G:\usr\sap\SMD\J98\..\exe
    -> main class         : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : G:\usr\sap\SMD\J98\..\exe\jstartup.jar;G:\usr\sap\SMD\J98\..\exe\jvmx.jar
    -> shutdown class     : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> parameters         : run jcontrol
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 58981
    -> shutdown timeout   : 20000
    [Thr 5392] JLaunchISetDebugMode: set debug mode [no]
    [Thr 2448] JLaunchIStartFunc: Thread 2448 started as Java VM thread.
    [Thr 2448] Thu Jul 08 14:49:56 2010
    [Thr 2448] [JHVM_PrepareVMOptions] use java parameters set by profile parameter
         Java Parameters: -Xss2m
    JHVM_LoadJavaVM: VM Arguments of node [SMDAgent]
    -> stack   : 1048576 Bytes
    -> arg[  0]: exit
    -> arg[  1]: abort
    -> arg[  2]: vfprintf
    -> arg[  3]: -DP4ClassLoad=P4Connection
    -> arg[  4]: -Dsys.global.dir=G:\usr\sap\SMD\SYS\global
    -> arg[  5]: -Dapplication.home=G:\usr\sap\SMD\J98\..\exe
    -> arg[  6]: -Djava.class.path=G:\usr\sap\SMD\J98\..\exe\jstartup.jar;G:\usr\sap\SMD\J98\..\exe\jvmx.jar;lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar
    -> arg[  7]: -Djava.library.path=C:\j2sdk1.4.2_26-x64
    jre\bin\server;C:\j2sdk1.4.2_26-x64
    jre\bin;C:\j2sdk1.4.2_26-x64
    bin;G:\usr\sap\SMD\J98\..\exe;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;G:\usr\sap\SMD\exe
    -> arg[  8]: -Dmemory.manager=256M
    -> arg[  9]: -Xmx256M
    -> arg[ 10]: -Xms256M
    -> arg[ 11]: -DLoadBalanceRestricted=no
    -> arg[ 12]: -Djstartup.mode=JCONTROL
    -> arg[ 13]: -Djstartup.ownProcessId=1136
    -> arg[ 14]: -Djstartup.ownHardwareId=H1630488451
    -> arg[ 15]: -Djstartup.whoami=server
    -> arg[ 16]: -Djstartup.debuggable=yes
    -> arg[ 17]: -Xss2m
    -> arg[ 18]: -DSAPINFO=SMD_98_server
    -> arg[ 19]: -DSAPSTARTUP=1
    -> arg[ 20]: -DSAPSYSTEM=98
    -> arg[ 21]: -DSAPSYSTEMNAME=SMD
    -> arg[ 22]: -DSAPMYNAME=SAPVSM01_SMD_98
    -> arg[ 23]: -DSAPDBHOST=
    -> arg[ 24]: -Dj2ee.dbhost=
    [Thr 2448] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [SMDAgent]
    -> arg[  0]: run
    -> arg[  1]: jcontrol
    [Thr 2448] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 2448] Thu Jul 08 14:49:57 2010
    [Thr 2448] JLaunchISetState: change state from [Initial (0)] to [Initial (0)]
    [Thr 2448] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 2448] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 3140] JLaunchIExitJava: exit hook is called (rc = -11112)
    [Thr 3140] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 3140] JLaunchCloseProgram: good bye (exitcode = -11112)<br><br>
    LOG  dev_jcontrol<br><br>
    trc file: "G:\usr\sap\SMD\J98\work\dev_jcontrol", trc level: 1, release: "701"
    node name   : jcontrol
    pid         : 840
    system name : SMD
    system nr.  : 98
    started at  : Thu Jul 08 14:49:53 2010
    arguments       :
           arg[00] : G:\usr\sap\SMD\J98\..\exe\jcontrol.exe
           arg[01] : pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
    JStartupReadInstanceProperties: read instance properties [G:\usr\sap\SMD\J98\profile\smd.properties]
    -> ms host    :
    -> ms port    : 36
    -> OS libs    : G:\usr\sap\SMD\exe
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : G:\usr\sap\SMD\J98\profile\smd.properties
    Instance properties
    -> ms host    :
    -> ms port    : 36
    -> os libs    : G:\usr\sap\SMD\exe
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    Worker nodes
    -> [00] smdagent             : G:\usr\sap\SMD\J98\profile\smd.properties
    [Thr 5968] Thu Jul 08 14:49:53 2010
    [Thr 5968] *** WARNING => Key profile parameters not set G:\usr\sap\SMD\J98\..\SYS\profile\DEFAULT.PFL:
    j2ee/scs/host=
    j2ee/scs/system= [jcntrxx.c    1459]
    [Thr 5968] *** WARNING => Can't open default profile [G:\usr\sap\SMD\J98\..\SYS\profile\DEFAULT.PFL] for migration [jcntrxx.c    1460]
    [Thr 5968] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
    [Thr 5968] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode
    [Thr 5968] JControlIBuildProcessList: Maximum error count is set to 4
    [Thr 5968] [Node: SMDAgent] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_26-x64\
    [Thr 384] JControlRequestFunc: Thread 384 started as listener thread for np messages.
    [Thr 5968] Thu Jul 08 14:49:54 2010
    [Thr 5968] JStartupICheckFrameworkPackage: can't find framework package G:\usr\sap\SMD\exe\jvmx.jar
    JStartupIReadSection: read node properties [smdagent]
    -> node name          : SMDAgent
    -> node type          : server
    -> node id            : 1
    -> node execute       : yes
    -> java path          : C:\j2sdk1.4.2_26-x64\
    -> java parameters    : -DP4ClassLoad=P4Connection
    -> java vm version    : 1.4.2_26-b03
    -> java vm vendor     : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)
    -> java vm type       : server
    -> java vm cpu        : amd64
    -> heap size          : 256M
    -> init heap size     : 256M
    -> root path          : ..\SMDAgent
    -> class path         : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar
    -> OS libs path       : G:\usr\sap\SMD\exe
    -> main class         : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path     : G:\usr\sap\SMD\exe\jstartup.jar;G:\usr\sap\SMD\exe\jvmx.jar
    -> shutdown class     : com.sap.smd.agent.launcher.SMDAgentLauncher
    -> parameters         : run jcontrol
    -> debuggable         : yes
    -> debug mode         : no
    -> debug port         : 58981
    -> shutdown timeout   : 20000
    [Thr 5968] JControlConnectToMS: jcontrol runs in 6.20 compatible mode without message server
    JControlStartJLaunch: program = G:\usr\sap\SMD\J98\..\exe\jlaunch.exe
    -> arg[00] = G:\usr\sap\SMD\J98\..\exe\jlaunch.exe
    -> arg[01] = pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
    -> arg[02] = -DSAPINFO=SMD_98_server
    -> arg[03] = -nodeId=0
    -> arg[04] = -file=G:\usr\sap\SMD\J98\profile\smd.properties
    -> arg[05] = -syncSem=JSTARTUP_WAIT_ON_840
    -> arg[06] = -nodeName=smdagent
    -> arg[07] = -jvmOutFile=G:\usr\sap\SMD\J98\work\jvm_SMDAgent.out
    -> arg[08] = -stdOutFile=G:\usr\sap\SMD\J98\work\std_SMDAgent.out
    -> arg[09] = -locOutFile=G:\usr\sap\SMD\J98\work\dev_SMDAgent
    -> arg[10] = -mode=JCONTROL
    -> arg[11] = pf=G:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_SAPVSM01
    -> lib path = PATH=C:\j2sdk1.4.2_26-x64
    jre\bin\server;C:\j2sdk1.4.2_26-x64
    jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;G:\usr\sap\SMD\exe
    -> exe path = PATH=C:\j2sdk1.4.2_26-x64
    bin;G:\usr\sap\SMD\exe;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;G:\usr\sap\SMD\exe
    [Thr 5968] JControlICheckProcessList: process SMDAgent started (PID:1136)
    [Thr 5968] Thu Jul 08 14:49:59 2010
    [Thr 5968] JControlICheckProcessList: process SMDAgent (pid:1136) died (RUN-FLAG)
    [Thr 5968] JControlIResetProcess: reset process SMDAgent
    [Thr 5968] JControlIResetProcess: [SMDAgent] not running -> increase error count (1)
    [Thr 5968] JControlICheckProcessList: shutdown node from console -> restart off
    THANKS FOR RESPONSE

    Hi Martin,
    Check note 940893 (If this is not done already )
    Regards
    Tobias

  • Help! Starting Weblogic in Debug Mode

    Hi there
    Any clues/suggestions are greatly appreciated.
    Has anyone experienced any difficulties when starting weblogic in debug mode.
    More specifically, it cannot start correctly because it thinks that another instance
    is using the same port (definately not the case).
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unable to create
    a server socket for port: 8320. java.net.BindException: Address already in use
    Perhaps another process is using port 8320.> <Mar 18, 2002 7:42:32 AM GMT+10:00>
    <Notice> <WebLogicServer> <SSLListenThread listening on port 8321> <Mar 18, 2002
    7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <The WebLogic Server is no
    longer listening for connections. You should probably restart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Server shutdown
    has been requested by system> <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer>
    <The shutdown sequence has been initiated.> <Mar 18, 2002 7:42:32 AM GMT+10:00>
    <Info> <WebLogicServer> <Server shutdown is commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O. java.lang.ThreadDeath at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764) at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171) at weblogic.Server.main(Server.java:35)

    The following error has nothing to do with running in debug mode?
    It just means that there's another process already binded to port 8320
    you might want to see the output of netstat -a
    BTW, what flags you switched on to run the server in debug mode?
    Kumar
    "Mark" <[email protected]> wrote in message
    news:3c951474$[email protected]..
    >
    Hi there
    Any clues/suggestions are greatly appreciated.
    Has anyone experienced any difficulties when starting weblogic in debugmode.
    More specifically, it cannot start correctly because it thinks thatanother instance
    is using the same port (definately not the case).
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unableto create
    a server socket for port: 8320. java.net.BindException: Address already inuse
    Perhaps another process is using port 8320.> <Mar 18, 2002 7:42:32 AMGMT+10:00>
    <Notice> <WebLogicServer> <SSLListenThread listening on port 8321> <Mar18, 2002
    7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <The WebLogic Server isno
    longer listening for connections. You should probably restart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Servershutdown
    has been requested by system> <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert><WebLogicServer>
    <The shutdown sequence has been initiated.> <Mar 18, 2002 7:42:32 AMGMT+10:00>
    <Info> <WebLogicServer> <Server shutdown is commencing NOW and isirreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unable toload
    performance pack, using Java I/O. java.lang.ThreadDeath atjava.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764) atweblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171) atweblogic.Server.main(Server.java:35)
    >
    >

  • Error when starting Weblogic in debug mode

    Hi there
    Has anyone experienced any difficulties when starting weblogic in debug mode.
    More specifically, it cannot start correctly because it thinks that another instance
    is using the same port (definately not the case).
    Any clues/suggestions are greatly appreciated.
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unable to create
    a server socket for port: 8320. java.net.BindException: Address already in use
    Perhaps another process is using port 8320.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 8321>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <The WebLogic
    Server is no longer listening for connections. You should probably restart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Server shutdown
    has been requested by system>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <The shutdown sequence
    has been initiated.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Info> <WebLogicServer> <Server shutdown is
    commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unable to load
    performance pack, using Java I/O.
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
    at weblogic.Server.main(Server.java:35)

    Thanks for the suggestion.
    Unfortunatley the port is definately free/available during startup.
    Stephane Kergozien <[email protected]> wrote:
    Maark,
    Before starting your server, please could you check that the port is
    not used by one
    other process. You can use the netstat command to do this.
    Regards
    Stephane
    Mark wrote:
    Hi there
    Has anyone experienced any difficulties when starting weblogic in debugmode.
    More specifically, it cannot start correctly because it thinks thatanother instance
    is using the same port (definately not the case).
    Any clues/suggestions are greatly appreciated.
    Error log follows:
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <Unableto create
    a server socket for port: 8320. java.net.BindException: Address alreadyin use
    Perhaps another process is using port 8320.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 8321>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Emergency> <WebLogicServer> <TheWebLogic
    Server is no longer listening for connections. You should probablyrestart it.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <Servershutdown
    has been requested by system>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Alert> <WebLogicServer> <The shutdownsequence
    has been initiated.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Info> <WebLogicServer> <Servershutdown is
    commencing NOW and is irreversible.>
    <Mar 18, 2002 7:42:32 AM GMT+10:00> <Error> <Performance Pack> <Unableto load
    performance pack, using Java I/O.
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:764)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:507)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:171)
    at weblogic.Server.main(Server.java:35)--
    Regards,
    Stephane Kergozien
    BEA Support

  • I have problem with starting up my Mac Pro ?

    Dear ,
    I'have a problem with starting up my Mac Pro , please advice me how to start it

    This may help.
    http://support.apple.com/kb/TS1365
    Note: Steps 5 and 6
    Step 5
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    Best.

  • How to start weblogic in debug mode ? and how to set the eclipse in the deb

    how to start weblogic in debug mode ? and how to set the eclipse in the debug

    Put this in JAVA_OPTIONS :
    Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
    After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999)

  • Start weblogic in debug mode

    Hi,
    I want to start weblogic in debug mode.
    Do you know what modifications should be made in the default configurations?
    -John

    John wrote:
    Hi,
    I want to start weblogic in debug mode.
    Do you know what modifications should be made in the default configurations?
    -JohnWebLogic Server doesn't have a debug mode. Are you trying to see debug
    messages in the shell window where you started the server?
    ~Ryan

  • Problem in starting tomcat

    hi
    friends i am facing problem in starting tomcat jakarta-tomcat-4.1.24 , actually i think i am doing mistake in setting environment variable
    set classpath=%classpath%;C:\tomcat\jakarta-tomcat-4.1.24\common\lib\servlet.jar;
    set path=%path%;C:\j2sdk1.4.2_01\bin;C:\tomcat\jakarta-tomcat-4.1.24\common\lib\servlet.jar;
    i woud really appriate if u people help me in sorting out this problem
    tell me how to start using tomcat for servelet running

    s.jindal wrote:
    hi
    friends i am facing problem in starting tomcat jakarta-tomcat-4.1.24 , actually i think i am doing mistake in setting environment variable
    set classpath=%classpath%;C:\tomcat\jakarta-tomcat-4.1.24\common\lib\servlet.jar;
    set path=%path%;C:\j2sdk1.4.2_01\bin;C:\tomcat\jakarta-tomcat-4.1.24\common\lib\servlet.jar;
    i woud really appriate if u people help me in sorting out this problem
    tell me how to start using tomcat for servelet running
    I just type ./startup.sh, but then I am using a later version.
    You would likely get better help at a Tomcat forum.
    And then, you need to post what your error is. "Facing a problem" isn't helpful.

  • Problem with starting Windows when W510 in docking station

    When I put in my W510 to the docking station, I have usually every second day problems with starting up Windows operation system.
    I make 2 videos, where on the first 100_1060.MOV you can see starting Windows when it is frozen (first 1 minute record, I start record after about 3 minutes frozen), then I have to reboot W510 by on/off button and start ThinkVantage.
    On the second video 100_1061.MOV is starting operating system after ThinkVantage process, this start is OK.
    http://www.licko.cz/w510/100_1060.MOV
    http://www.licko.cz/w510/100_1061.MOV
    Why I have this problems? I have latest Windows and W510 updates.
    Regards,
      Lubomir Licko
    Solved!
    Go to Solution.

    There was some upgrades of Microsoft and Lenovo and I don't have this problem long time.

  • Problem with starting more than one SwingWorker

    Hello
    I wonder if anyone could tell me if there are known problems with starting more than one SwingWorker thread at once?
    In response to an action the user performs, I need to obtain several lists of things from the server. This includes a couple of server-calls, and I want to do the server calls in a thread outside the awt-event thread. So I start a couple of SwingWorker-threads. This works fine sometimes, but not always. Sometimes code in some of the SwingWorkers finished method does not update the ui. I can see that the correct calls are made, but the ui is still not updated correctly. The problem seems to be related to the sequence of when the different thread are finished. For instance, if the sequence is like this:
    SwingWorker1.construct
    SwingWorker2.construct
    SwingWorker1.finished
    SwingWorker2.finished
    Things go fine, but if the sequence is:
    SwingWorker1.construct
    SwingWorker1.finished
    SwingWorker2.construct
    SwingWorker2.finished
    the ui-updates in SwingWorker1.finished is not done correctly.
    Can anyone help me with this?

    This is the point:
    In one SwingWorker thread you have 1 construct method, and 1 finish method - which are both invoked once.
    Therefore you only have one opportunity to update the gui in that thread. This forces you to use many threads if you want regular updates, which I try to avoid.
    Therefore, the solution!
    Have a loop in the construct method that executes the algorithm accordingly, updating the gui accordingly at regular times, maintaining just the 1 thread - becomes easier and nicer for the programmer and the JVM.
    The finish method in this case is to update the gui when all iterations are finished.
    There is nothing wrong with this. Just because you have a finish method that is called in the event-dispatching thread doesn't mean that all your update code must be in there.
    What you MUST ensure is that ALL your update code is executed in the event-dispatching thread, that is the most important thing. After all, SwingWorker is just a helper class, not the gospel template of how to update a gui.

  • Problem with starting JSPM

    Hi all,
    I have a problem with starting JSPM. We have just upgraded to SAP NWS 2004s SP11 SR2. We are in AIX server. So to execute JSPM, I log on to AIX server using PUTTy with <SID>adm. I go to /usr/sap/<SID>/DVEBMGS00/j2ee/JSPM and i execute the "go" program. But I have the following thing :
    Current log directory is /usr/sap/OWA/DVEBMGS00/j2ee/JSPM/log/log_2007_04_25_14_54_53.
    Waiting for SDTServer to connect on hostname froafbwod1/10.8.134.129 socket 6240 ...
    So what happend, I don't understand anything...Pls, someone can help me?
    Thanks for your reply...

    Hi,
    Hope this helps you - http://help.sap.com/saphelp_nw04s/helpdata/en/42/e7e7cb64ac3ee4e10000000a1553f7/content.htm
    JSPM: Better Know It Now Than Later
    JSPM does not start
    JSPM DIR_EPS_ROOT error during the execution of the JSPM_PROCESS phase
    Bye...

  • Problem with starting/stopping OPMN

    Hi there,
    i have an problem with starting and stopping the opmn. When i try to start/stop/reload the opm i get this error:
    opmnctl: opmn is not running
    root@klart1:/opt/oracle/product/aserver/opmn/bin>./opmnctl shutdown
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    Kommunikationsfehler beim lokalen Port f� den OPMN-Server.
    Weitere Informationen hierzu finden Sie in den OPMN-Log-Dateien
    opmnctl: opmn is not running
    in english this means:
    Communication error at the local port for OPMN-Server.
    More Information about this error, see OPMN-Log-Files.
    opmnctl: opmn is not running
    here is a summary from the opmn.xml file:
    </module-data>
    <start timeout="600" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="ajp" range="12501-12600"/>
    <port id="rmi" range="12401-12500"/>
    <port id="jms" range="12601-12700"/>
    <process-set id="default_island" numprocs="1"/>
    </process-type>
    <process-type id="OC4J_BI_Forms" module-id="OC4J">
    <environment>
    <variable id="DISPLAY" value="localhost:0"/>
    <variable id="LD_LIBRARY_PATH" value="/opt/oracle/product/aserver/lib:/opt/oracle/product/aserver/network/lib:/opt/oracle/product/aserver/lib:/tmp/OraInstall2006-09-29_10-07-21AM/jre/1.4.2/lib/i386/client:/tmp/OraInstall2006-09-29_10-07-21AM/jre/1.4.2/lib/i386:/tmp/OraInstall2006-09-29_10-07-21AM/jre/1.4.2/../lib/i386:/usr/lib::/opt/oracle/product/aserver/jdk/jre/lib/i386"/>
    </environment>
    <module-data>
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=/opt/oracle/product/aserver/j2ee/OC4J_BI_Forms/config/java2.policy -Djava.awt.headless=true -Xmx512M -Xms128M "/>
    <data id="oc4j-options" value="-properties -userThreads "/>
    </category>
    <category id="stop-parameters">
    <data id="java-options" value="-Djava.security.policy=/opt/oracle/product/aserver/j2ee/OC4J_BI_Forms/config/java2.policy -Djava.awt.headless=true"/>
    </category>
    <category id="urlping-parameters">
    <data id="/reports/rwservlet/pingserver?start=auto" value="200"/>
    </category>
    </module-data>
    <start timeout="900" retry="2"/>
    <stop timeout="120"/>
    <restart timeout="720" retry="2"/>
    <port id="ajp" range="12501-12600"/>
    <port id="rmi" range="12401-12500"/>
    <port id="jms" range="12601-12700"/>
    <process-set id="default_island" numprocs="1"/>
    can anybody help me? it is urgent.
    best regards
    Daniel

    Hi, thanks for reply to my problem.
    Now i have an new problem , it's not possible to start opmn. (./opmnctl start) .
    I get this error:
    RCV: Transport endpoint is not connected
    Communication Error for local port at OPMN-Server.
    see log files for more information
    opmnctl: opmn start failed
    I have this logfiles:
    HTTP_Server~1
    ipm.log
    OC4J~home~default_island~1
    OC4J~OC4J_BI_Forms~default_island~1
    ons.log
    opmn.log
    states (FOLDER !)
    WebCache~WebCache~1
    WebCache~WebCacheAdmin~1
    i which can i see a detailled information about this error?

  • Problem with starting OEM-agent on NT (clustered)

    We have problem with starting the OEM-agent (9i) on Windows 2000. The Nt-server is clustered.
    I have started the OracleAgent by the service screen. Everyting looks ok.
    But, from the server where the OEM-console is installed I can't contact the
    agent.
    I stopped then the agent and started it by typing;
    d:\oracle\ora92\bin\agntsrvc.exe
    Than i get the error:
    StartServiceCtrlDispatcher Failed with err 1063
    Anyone an idea?
    Thanks.
    Klaas

    Increate the virtual memory and try to start the service here:
    SELECT START > CONTROL PANEL > ADMINISTRATIVE TOOLS > SERVICES
    Joel Pérez

Maybe you are looking for