[Pki-devel] configuring tomcat for remote debug

John Magne jmagne at redhat.com
Tue May 20 22:34:39 UTC 2014


Hello:

I believe the actual file you want is this:

/etc/sysconfig/pki-tomcat

Modify that one and I think it should work.


----- 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