简体   繁体   English

Tomcat Web应用程序调试数据库连接

[英]Tomcat web app debug database connection

I have java web app running in tomcat in Linux environment 我在Linux环境中的tomcat中运行了Java Web应用程序

I want to debug db connection URL of existing running web application application. 我想调试现有正在运行的Web应用程序应用程序的数据库连接URL。

Some time ago one of colleague showed me the Linux command to trace out applications external links. 前段时间,一位同事向我展示了Linux命令,以跟踪应用程序的外部链接。 Unfortunately I don't have that command any more. 不幸的是,我没有该命令了。

If any one can help me ?? 如果有谁可以帮助我?

Following command monitors eh0 network adapter and creates log in .pcap file 以下命令监视eh0网络适配器并在.pcap文件中创建日志

tcpdump -w 08232010.pcap -i eth0

Following command convert .pcap data into readable format. 以下命令将.pcap数据转换为可读格式。

read .pcap tcpdump -tttt -r 08232010.pcap

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM