Java/Tomcat debugging (SSL) - which log file is used? [duplicate] - java

This question already has answers here:
limiting java ssl debug logging
(2 answers)
Closed 5 years ago.
I'd like to add the following to the Java-OPTS of my tomcat:
-Djavax.net.debug=ssl
I do this because I need to debug the ssl connnections to and from said tomcat.
Questions:
In which log file will the output of the debugging go? Catalina.out?
Is it possible to configure which file the output should go to?
If so, can you point me to a manual or give me an example?
Thank you very much for your help

Should be catalina.out
You can find more options in the answer below:
limiting java ssl debug logging

Related

How to disable JDWP interface on linux server? [duplicate]

This question already has answers here:
What are Java command line options to set to allow JVM to be remotely debugged?
(9 answers)
Closed 4 years ago.
I've seen this question on stackoverflow, but without a clear answer. How do you disable JDWP on linux server? We had a security team recommend to disable JDWP due to RCE.
Ref: https://ioactive.com/hacking-java-debug-wire-protocol-or-how/
Thank you.
JDWP is only enabled if you ask for it (-agentlib:jdwp), so:
To disable: Don't ask.
To see what not to do:
What are Java command line options to set to allow JVM to be remotely debugged?

How to find disk space of remote linux machine using Java [duplicate]

This question already has answers here:
How to find how much disk space is left using Java?
(4 answers)
Closed 8 years ago.
I am looking for simple solution for finding total disk space and available space of a remove machine using java program.
Please help
Update
There are questions already similar to this with primarily focus on local machine. I was looking solution for remote machine.
The easiest way to get the remote machine information and also safe way to do
is to SSH to the server from Java and get the necessary information from.
use JSch Library for SSH connection to server.
for an example look here

All applications on a Weblogic server [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Find name of all application running on a WebLogic server through a java web application
I am writing a java web application
that needs to know the name of all applications running on the same
server on which the application will be deployed on.
Maybe I can combine use of WLST with java?
any ideas?
Thanks,
Shehryar Farooq
JMX is the answer to the question. Please check the answer here

XMPP starter - with java [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
XMPP starter - with java
Please help me in getting started with XMPP, as I am going to start working on a Java project soon and I will be implementing this protocol. I need to get started soon but I couldn't find many resources online. How do I give input to the server and then receiving the msg back? How do I communicate with the ISB and client-xmpp-xlient? Any other basic suggestions are welcome. Thanks!
Have you looked into the Smack XMPP client API for your project?
http://www.igniterealtime.org/projects/smack/index.jsp

Popular JSP/Servlet/Portlet Error Log Viewer? [duplicate]

This question already has an answer here:
Closed 13 years ago.
After reading the latest Coding Horror post I wondered if there was a Java-based version of ELMAH out there in the open source community? A configurable JSP/Servlet/Portlet WAR that I can just drop into most servers and have a nice GUI for viewing the logs in the system. Anyone have a project to recommend?
Duplicate of
Exception Driven Programming in Java
http://www.baremetalsoft.com/baretail/
http://www.moonlit-software.com/logfaces/web/index.php

Categories

Resources