Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Eclipse-ee Tomcat browser can not start Tomcat, and Web project service deployment     - To generate a certificate using OpenSSL under Linux (Server)

- Linux operation and maintenance of the actual file system, file links (Linux)

- Grub2: Save Your bootloader (Linux)

- CentOS install Memcached (Server)

- IDS Intrusion Detection System built (Linux) (Linux)

- CentOS7 management of systemd (Linux)

- Shell scripts to copy all directories under the current directory of a certain type of file to the same directory (Linux)

- RHEL7.0 log system (Linux)

- RVM installation instructions (Linux)

- Postgres-X2 deployment steps (Database)

- Seven Steps to Help Google Chrome Speed - (Linux)

- How to find on Linux and delete duplicate files: FSlint (Linux)

- Teach you how to protect the security of Linux desktop (Linux)

- Java objects to garbage collection (Programming)

- independently configurable PHP environment under CentOS6.5 (Server)

- SSH keys using login and password to log prohibited practice (Linux)

- Nginx-1.9.7 TCP reverse proxy (Server)

- To install Gitolite in Ubuntu / Fedora / CentOS (Linux)

- Fedora network set up simple (Linux)

- Modern Objective-C syntax and new features (Programming)

 
         
  Eclipse-ee Tomcat browser can not start Tomcat, and Web project service deployment
     
  Add Date : 2018-11-21      
         
       
         
  Surroundings:

Ubuntu 14.04 + Eclipse-ee + Tomcat7

problem:

When creating a server in Eclipse, select the Tomcat7, Server runtime to choose when installing the Tomcat directory itself. Then start Server, ConsoleTomcat which can be activated normally in the eclipse, and in the browser visit http: // localhost: 8080 / can not access, and reported 404 errors. Also, Web projects in Eclipse can not be accessed. If tomcat installation directory manually activated startup.bat, by visiting htt: // localhost: 8080 / tomcat can properly access the management page.

Cause Analysis:

 Since the Server Locations option takes the default configuration, that is, "Use workspace metadata (does not modify tomcat installation)", this means that the server will not change the TOMCAT installation and deployment directory, Eclipse comes with TOMCAT configuration directory.Therefore in the Eclipse start tomcat Web project will not be deployed, and can not be accessed.

Solution:


1. Stop the Tomcat Server in Eclipse

2. Remove the items deployed in the Server

Right-click "Server Tomcat 7" (my server name is Server Tomcat 7), select "clean"

4. Open "Server Tomcat 7", in the "Server Locations" option, select "Use Tomcat Installation"

5. In the Eclipse start "Server Tomcat 7", can be verified successfully.
     
         
       
         
  More:      
 
- Kubuntu 14.04 desktop to the user how to upgrade KDE 4.13.2 (Linux)
- Ubuntu 14.10 / 14.04 / 12.04 installation GNOME Pie 0.5.6 (Linux)
- How Linux system password security guarantee (Linux)
- Vim (Linux)
- How to enable Software Collections (SCL) on CentOS (Server)
- HBase in MVCC implementation mechanism and its application (Database)
- Thinking in Java study notes - everything is an object (Programming)
- OGG-03510 Problem (Database)
- Security: set limits on password (Linux)
- 7 JavaScript interview questions (Programming)
- EXP-00091: Exporting questionable statistics Processing Method (Database)
- MongoDB relations, references, index query coverage (Database)
- socket busy poll of Linux kernel 3.11 to avoid sleep switch (Linux)
- Learn about EditText little depth (Programming)
- Docker data container protection the pros and cons (Server)
- Memcached distributed caching (Server)
- Boost notes --Thread - problems encountered in the initial use on Ubuntu (Programming)
- LaTeX Getting Started Tutorial (Linux)
- In Debian 4.3 compiler under Linux-2.6.28 kernel Summary (Programming)
- Alien Magic: RPM and DEB Mutual Convert (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.