Admin Console Log Viewer. To use the Log viewer:
1. Select the application Server node.
2. Select the Logging tab.
3. Click the Open Log Viewer button. The log viewer would open and display
The last entries.
Using a Debugger
The application Server supports the Java Platform Debugger architecture
(JPDA). With JPDA, your can configure the application Server to communicate
debugging information via a socket. In order to debug a application using a
Debugger
1. Enable debugging in the application Server using the Admin Console as
follows:
A. Select the application Server node.
B. Select the JVM Settings tab. The default debug options are set to:
-xdebug-xrunjdwp:transport=dt_socket,server=y,
suspend=n,address=1044
As you can, the default debugger socket port is 1044. Can change
It to a port does not have the application Server or another service.
C. Check The Enabled box of the Debug field.
D. Click the Save button.
2. Stop the application Server and then restart it.
3. Compile your Java source with The-g flag.
4. Package and deploy your application.
5. Start a debugger and connect to the debugger socket at the port for your set
When you are enabled debugging.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.