SUN Application ServerSUN JAVA SYSTEM APPLICATION SERVER PLATFORM EDITION 8
来源:互联网 发布:中国砖瓦网络信息平台 编辑:程序博客网 时间:2024/04/30 05:33
start the Application Server:
asadmin start-domain domain1
on Windows, you can choose
Programs→Sun Microsystems→J2EE 1.4 SDK→Start Default Server
stop the Application Server:
asadmin stop-domain domain1
on Windows, choose
Programs→Sun Microsystems→J2EE 1.4 SDK→Stop Default Server
Starting the Admin Console:
http://localhost:4848/asadmin/
Starting the deploytool Utility:
deploytool
Starting and Stopping the Derby Database Server:
asadmin start-database
asadmin stop-database
logs:
<J2EE_HOME>/domains/domain1/logs/server.log
<j2ee.home>/derby/db.log
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 will open and display
the last 40 entries.
Using a Debugger
The Application Server supports the Java Platform Debugger Architecture
(JPDA). With JPDA, you can configure the Application Server to communicate
debugging information via a socket. In order to debug an 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 see, the default debugger socket port is 1044. You can change
it to a port not in use by 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 you set
when you enabled debugging.
asadmin start-domain domain1
on Windows, you can choose
Programs→Sun Microsystems→J2EE 1.4 SDK→Start Default Server
stop the Application Server:
asadmin stop-domain domain1
on Windows, choose
Programs→Sun Microsystems→J2EE 1.4 SDK→Stop Default Server
Starting the Admin Console:
http://localhost:4848/asadmin/
Starting the deploytool Utility:
deploytool
Starting and Stopping the Derby Database Server:
asadmin start-database
asadmin stop-database
logs:
<J2EE_HOME>/domains/domain1/logs/server.log
<j2ee.home>/derby/db.log
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 will open and display
the last 40 entries.
Using a Debugger
The Application Server supports the Java Platform Debugger Architecture
(JPDA). With JPDA, you can configure the Application Server to communicate
debugging information via a socket. In order to debug an 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 see, the default debugger socket port is 1044. You can change
it to a port not in use by 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 you set
when you enabled debugging.
- SUN Application ServerSUN JAVA SYSTEM APPLICATION SERVER PLATFORM EDITION 8
- Sun Java System Application Server Platform Edition 8.2 + 远程服务器管理
- Sun Java System Application Server Platform Edition 连接池配置方法
- 在Sun ONE Application Server Platform Edition 8中如何建立SQL Server的连接
- 在Sun-Java-System/Application-Server上部署应用(1)
- Sun Java System Application Server 9 & DB2,Hiberante3,SUSE Linux Server9
- 一个Sun Java System Application Server访问MBean信息的示例
- sun Application Server 学习笔记
- sun application server 的 恶心问题
- Sun ONE Application Server 开发者指南
- Sun ONE Application Server 开发者指南(2)
- Sun ONE Application Server 开发者指南(13)
- Sun ONE Application Server 开发者指南(14)
- Sun ONE Application Server 开发者指南(19)
- Sun ONE Application Server 开发者指南(20)
- Sun ONE Application Server 开发者指南(20)
- Sun ONE Application Server 开发者指南(21)
- GlassFish V2 Sun Application Server RunTime...
- 精彩MTV分享
- 试验网站#1搜索引擎优化收录情况记录(断续运行)2007-11-22
- 33条C#、.Net经典面试题目及答案【转】
- c#调api串口通讯
- 使用JavaMail发送注册验证邮件
- SUN Application ServerSUN JAVA SYSTEM APPLICATION SERVER PLATFORM EDITION 8
- 试验网站#3搜索引擎优化收录情况记录2007-11-22
- 恭喜CSDN的Blog终于可以发表新文章了
- 这里能显示GOOGLE的广告吗
- 遭遇Win32.Loader.c,Trojan.PSW.Win32.GameOnline,Trojan.PSW.Win32.AskTao等2
- DataGridView使用固定行来显示统计信息
- heritrix在windows下安装和运行
- 写个sql server 2005的函数。
- CopyFile的使用