You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jack Cai (JIRA)" <ji...@apache.org> on 2008/11/24 08:47:44 UTC

[jira] Commented: (DAEMON-109) Adding JvmOptions prevents application from starting

    [ https://issues.apache.org/jira/browse/DAEMON-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650130#action_12650130 ] 

Jack Cai commented on DAEMON-109:
---------------------------------

Try something like this: 

tomcat6 //TS// ++JvmOptions -Xdebug;-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
or 
tomcat6 //RS// ++JvmOptions -Xdebug;-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044

Seems that procrun need the "//command//" if there are other options.

> Adding JvmOptions prevents application from starting
> ----------------------------------------------------
>
>                 Key: DAEMON-109
>                 URL: https://issues.apache.org/jira/browse/DAEMON-109
>             Project: Commons Daemon
>          Issue Type: Bug
>         Environment: All Windows
> C:\Data\Tomcat\bin>java -version
> java version "1.6.0_03"
> Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
>            Reporter: David Newcomb
>
> Had previously reported this on the Tomcat site, but they say the problem is in your domain
> https://issues.apache.org/bugzilla/show_bug.cgi?id=44506
> ----
> Using JvmOptions prevents Tomcat from starting.
> I have tried:
> tomcat6.exe --JvmOptions
> -Xdebug;-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
> tomcat6.exe --JvmOptions
> -Xdebug#-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
> tomcat6.exe --JvmOptions
> "-Xdebug#-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044"
> tomcat6.exe --JvmOptions
> "-Xdebug#-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044"
> tomcat6.exe --JvmOptions
> '-Xdebug#-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044'
> tomcat6.exe --JvmOptions
> '-Xdebug;-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044'
> and the same with ++JvmOptions. On each occasion it reports:
> [2008-02-28 16:42:19] [420  prunsrv.c] [error]
> The operation completed successfully.
> [2008-02-28 16:42:19] [1327 prunsrv.c] [error]
> Load configuration failed
> and the log file is not created.
> C:\Data\Tomcat\bin>java -version
> java version "1.6.0_03"
> Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.