Eclipse, Lomboz and Tomcat JSP Debug (DAWAVE) - Tomcat Configuration and Startup Analysis

xiaoxiao2021-03-06  86

The following is just a little experience in my configuration, dedicated to Java Beginners who have joined Java Beginners in the chaos of the world.

DAWAVE's introduction to Eclipse3 Lomboz3 Tomcat5 development tools is undoubtedly a good article, giving it a great help to prepare for use or is using the Eclipse3 Lomboz3 Tomcat5 integrated development environment. This article only makes additional replenishment for Dewave's 3. Eclipse, Lomboz and Tomcat, mainly for Beginners who are not very skilled in this, (huh, it is quite a small ax)

The original article of Dawave is as follows:

1.

Eclipse 3 Lomboz 3 Tomcat 5 Development Website

2.

Eclipse, Lomboz and Tomcat Web Project Settings

3.

JSP debugging of Eclipse, Lomboz and Tomcat

I have read the above three articles, press it and refer to other configuration introductions to my Eclipse3 Lomboz3 Tomcat5, start configuring the plugin to walk a lot of bending roads, decompress Eclipse as soon as possible, add all plugins, then Launch, this is concluded that the plugin is configured.

I am using Eclipse3.0.1 emf-sdo-runtime-2.0.0 tomboz3.0.1 Chinese language package (in order to add order in my order, unclear whether it can change the order); also added Easystructs0.6.4, but never responded, should not support Eclipse3.0.1; server is Tomcat 5.0.24.

According to reports, only Lomboz is best configured before Eclipse has never started.

When doing the third step Eclipse, Lomboz and Tomcat JSP debugging, configure Tomcat as described in Dewave (why to configure it, do not know the principle)

-------------------------------------------------- -------------------------------------------------- ------------------------ There is an important setting before starting Tomcat, build a Tomcat configuration file for your web project, location in Tomcat Directory The following conf / catalina / localhost, files can be arbitrarily named, but must use XML extension (in short, it is in line with Tomcat's rules). The content of the configuration file is simple, such as my Project called Blog, the content of the configuration file (blog.xml) is:

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

My configuration is YADI.XML: Open JSP in the browser,

General Tip: ... Description The Requested Resource (/yadi/index.jsp) Is Not Available.

I am also just in contact with Tomcat. In the original reply, some people pointed out that it should be Workdir. I changed into workdir, Workdir still can't, yadi.xml:

I suspect that there is a problem with other configurations, and I observe the startup record of Tomcat in Eclipse:

Note the two lines that are marked. It turns out that Tomcat will automatically load the XML configuration file in Conf / Catalina / LocalHost when starting, obviously successfully loaded my profile, but then abnormally, he places Yadi to the default webApps /

OK no longer has an exception, INDEX.JSP can visit.

Final configuration: conf / catalina / localhost / yadi.xml

Workdir can also be Workdir, but DOCBASE can't be DOCBASE, (so that other versions are unclear), keeping Tomcat5.0.24).

转载请注明原文地址:https://www.9cbs.com/read-108112.html

New Post(0)