A simple understanding of Tomcat 2

2010-03-19  来源:本站原创  分类:Java  人气:209 

In the view source code, the Internet is a series of articles, some for Xiangjie:


1, for tomcat in some important features of the collection, can be learned from the general function of tomcat.

http://blog.csdn.net/wangchengsi/archive/2008/09/23/2966847.aspx


2, this is the official network files for tomcat in the framework of a description (which contains the uml chart, and text descriptions, there are a variety of configuration).

% CATALINA_HOME% / webapps / docs / architecture


3, this blog is I had to find the most detailed source code analysis, reference may be an official in the organization chart as well as the instructions refer to. In order to more quickly understand the

http://zddava.javaeye.com/blog/258896


4, tomcat objects in management is carried out through the jmx can see the following article to find out about,

http://damies.javaeye.com/blog/51788


tomcat does not provide jmx port view, can be configured to% CATALINA_HOME% / bin / catalina.bat configuration

Canada in the first line:

set CATALINA_OPTS = "-Dcom.sun.management.jmxremote-Dcom.sun.management.jmxremote.port = 8765-Dcom.sun.management.jmxremote.ssl = false-Dcom.sun.management.jmxremote.authenticate = false


Then jre / bin / jconsole command to open the graphical interface for viewing, the port number is 8765

5, in the search process view to find tomcat remote debugging configuration, in some way record of this:


set CATALINA_OPTS =- server-Xdebug-Xnoagent-Djava.compiler = NONE-Xrunjdwp: transport = dt_socket, server = y, suspend = n, address = 8989


Then in eclipse under deubg configurations ---> Remote Java Application an application under the new

Specified remote tomcat to ip address and more than 8989 can be configured for remote debugging of their

-------------------------------------------------- -------------------------------------------------

相关文章
  • A simple understanding of Tomcat 2 2010-03-19

    In the view source code, the Internet is a series of articles, some for Xiangjie: 1, for tomcat in some important features of the collection, can be learned from the general function of tomcat. http://blog.csdn.net/wangchengsi/archive/2008/09/23/2966

  • In-depth understanding of Tomcat 2010-03-18

    Winter reading "How Tomcat Works" + tomcat source code, found that it is a good in-depth understanding of the working methods of Tomcat. Also can refer to: annegu summary of students: http://annegu.javaeye.com/blog/409176 http://annegu.javaeye.c

  • jbpm in the API, some relations between the simple understanding of 2010-03-19

    In a Jbpm workflow: 1.JbpmConfiguration: 2.JbpmContext: 3.ProcessDefinition: 4.ProcessInstance: 5.Node: There are many sub-categories such as: Decision, EndState, Fork, TaskNode, State 6.TaskNode: task node, the node can be a very task instance (Task

  • [Reserved] simple understanding of the concepts in DB2 catalog 2010-08-30

    In a DB2 database, catalog (catalog) this word is difficult to understand, I had to learn DB2, they also often do not understand this catalog are engaged, until now I have felt in the DB2 catalog (catalog) used the term not very good, specifically wi

  • Some simple understanding of SQL 2011-01-25

    Any multi-table query involving several tables where there must be several primary foreign key association

  • DB2 simple understanding of the concepts in the catalog 2011-03-17

    In a DB2 database, catalog (catalog) this word is difficult to understand, I had to learn DB2, they also often do not understand this catalog are engaged, until now I have felt in the DB2 catalog (catalog) used the term not very good, specifically wi

  • Tomcat and Weblogic environment, the handling of the BLOB type field 2010-07-13

    Development projects generally do like to use Tomcat test environment, the development is completed need to move weblogic, this time to continue to find problems. As weblogic rigor, process some data conversion error, some small The problem is well r

  • <Switch> To get more from the Tomcat source code analysis-Tomcat 2010-10-20

    Description: This article by TomCat source code of the study described to the reader in the tomcat3.3 and TomCat4.0 used in the design of different design principles and practices, the majority of developers want to design their own system in some he

  • [Reprinted] PHP5 in a simple to use PDO 2010-03-31

    Source: http://www.jcwcn.com/html/PHP/15_47_17_36.htm PDO ( PHP Data Object) is a PHP 5 new out of something, in PHP 6 should be out of time, PHP 6 by default only uses PDO to handle the database, the database will expand all moved to the PECL, then

  • Understanding of the factory model 2010-04-01

    A simple understanding of plant model Simple Factory Pattern First, if a customer to use a cell phone, the general practice is to create a mobile client, then use of them: At this time, customers need to know how to create a mobile phone, customers,

  • [Change] Apache and Tomcat combination of clustering and load balancing to achieve 2010-04-28

    Combination of Apache and Tomcat clustering and load balancing to achieve this basic information from the easy Apache, Tomcat clustering and load balancing, records made by the practical operation experiences, met some access, and individual areas ba

  • TOMCAT specified JDK 2010-06-03

    The first one: In windows batch file under way to start tomcat, just run <CATALINA_HOME> / bin / startup.bat this file, you can start Tomcat. At startup, startup.bat calls catalina.bat documents, and catalina.bat calls setclasspath.bat file to get t

  • Combination of Apache and Tomcat clustering and load balancing to achieve two 2010-09-10

    3: Configuring the Cluster Only configure load balancing does not work, but also session replication, which means any one of tomcat Add the session, is to simultaneously copied to the other tomcat, tomcat cluster are within the same session 1. Modify

  • tomcat deployment project summary 2010-09-10

    Own work were encountered some of the deployment of the question, the Internet also found some, but sometimes they say that's not very clear I concluded Le Suo Yi out 1. The most simple: In the tomcat webapps directory under your project to create a

  • An incompatible version 1.1.1 of the Apache Tomcat Native library is installed, 2010-10-03

    An incompatible version 1.1.1 of the Apache Tomcat Native library is installed, while Tomcat requires version 1.1.3 Collection Though not affect the use, looking awkward, the Internet to find some solutions, it is recommended to use Apache as the Apa

  • Tomcat startup error: The Apache Tomcat Native library was not found to resolve 2010-12-24

    Reprinted: http://ajava.org/exep/apache/15996.html When you start Tomcat like the following tips: 2006 - 1 - 26 19 : 44 : 11 org.apache.catalina.core.AprLifecycleListener lifecycleEvent Information : The Apache Tomcat Native library which allows opti

  • Memo of the simple factory design pattern 2011-04-25

    package org.wikimore.simplefactory; import javax.naming.NameNotFoundException; // Automobile factory class, can produce defined types of automobiles , Otherwise an exception report public class CarFactory { public Car buildcar(String brand) throws Ex

  • Tomcat uninstall problem --- To remove the service 2011-02-13

    1 Problem Description: Recently installed Tomcat5.5 when the installation fails, prompt the following information Failed to install Tomcat5 service. Check your settings and permissions Ignore and continue anyway (not recommended)! Then the three butt

  • Windows, built using Tomcat + Nginx HTTP Server 2011-09-05

    Tomcat handling static resources due to the slow rate, so the first thought is that all static resources (JS, CSS, image, swf) that a separate server, HTTP server with a faster, where a selected nginx, nginx, compared apache, more lightweight, easier

  • Initial contacts Jetty 2009-04-30

    Jetty heard that the Web application server, especially these past few days saw a few on the Java development tools shortcut article, which are more or less referred to Jetty, so know a bit easy. First of all, Jetty embedded design is indeed usually