[
https://issues.apache.org/jira/browse/GERONIMO-3651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Dillon closed GERONIMO-3651.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1.x)
Done... finally :-\
Nothing fancy here... but you can now:
{noformat}
geronimo/start-server --profile debug
{noformat}
which will flip on the standard debug flags. This is done via the etc/rc.d
script with:
{code}
// If the debug profile was selected, then append some debugging flags
if (command.profiles.contains('debug')) {
command.javaFlags << '-Xdebug'
command.javaFlags <<
'-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000'
}
{code}
Maybe later we can work on making it easier for folks to change the values w/o
changing the file... but for now this will do.
> gshell should make it dead simple to run geronimo with remote debugging
> -----------------------------------------------------------------------
>
> Key: GERONIMO-3651
> URL: https://issues.apache.org/jira/browse/GERONIMO-3651
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: startup/shutdown
> Affects Versions: 2.1, 2.1.x, 2.2
> Reporter: David Jencks
> Assignee: Jason Dillon
> Priority: Blocker
> Fix For: 2.2
>
>
> we need some options for start-server so g. starts up with debugging. I
> think we should be able to set the port and suspend as persistent options in
> the environment.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.