[Pki-devel] configuring tomcat for remote debug

Fraser Tweedale ftweedal at redhat.com
Wed May 21 07:11:37 UTC 2014


On Tue, May 20, 2014 at 06:34:39PM -0400, John Magne wrote:
> 
> Hello:
> 
> I believe the actual file you want is this:
> 
> /etc/sysconfig/pki-tomcat
> 
> Modify that one and I think it should work.
> 

Yes, that one did the trick.  Thank you.

Fraser

> 
> ----- Original Message -----
> > From: "Fraser Tweedale" <ftweedal at redhat.com>
> > To: pki-devel at redhat.com
> > Sent: Monday, May 19, 2014 9:42:01 PM
> > Subject: [Pki-devel] configuring tomcat for remote debug
> > 
> > Hi all,
> > 
> > I'm having difficulty getting tomcat-pki to run with remote
> > debugging available.  The pki instance was configured via
> > ipa-server-install.
> > 
> > I have set ``pki_enable_java_debugger=True`` in
> > ``/etc/sysconfig/pki/tomcat/pki-tomcat/ca/default.cfg`` and in
> > ``/etc/pki/pki-tomcat/tomcat.conf``:
> > 
> >   JAVA_OPTS="-DRESTEASY_LIB=/usr/share/java/resteasy -Xdebug
> >   -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
> >   -Djava.awt.headless=true -Xmx128M"
> > 
> > Alas, restarting the server does not result in a debug socket on
> > port 8000.  I must be missing something; can someone assist?
> > 
> > Cheers,
> > 
> > Fraser
> > 
> > _______________________________________________
> > Pki-devel mailing list
> > Pki-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/pki-devel
> > 




More information about the Pki-devel mailing list