JBuilderx is not equally configured as the ready-made Tomcat4.1, like Tomcat 4.0.
1. Run JBuilderx and enter Server Configure. Tools -> Configure Server -> Tomcat4.1.
2, copy Tomcat4.1 and change its name to Tomcat 5.0, OK to determine.
3, unzip the Tomcat 5.0 to the Tomcat 5.0 to JBuilderx, or the copy has been decompressed in the past.
4, in the JBuilderx in Server Configure (operation location, such as 4), point the path of Tomcat5.1 to the path just Tomcat5.0.
5. Configure the Liberty package of Tomcat5.0 servlet, the default copy Tomcat4.1 servlet package and 5.0 are different, change to jsp-api.jar and servlet-api.jar2 files. Method: Tools -> Configure Libraries -> User Home -> Tomcat 5.0 servlet. The right side is changed to Commonslibjsp-Api.jar and servlet-api.jar in the Add Tomcat5.0 path.
6. Increase the Tomcat 5.0 Servlet class library, the default seems to be automatically increased, 4.0 can be automatically added.
7. Run the engineering, running during operation, copy the conf / server8080.xml under Work Dir, remove the GENERATE tag. as follows:
THIS Comment Marks this file as generated, so it may be deleted and regenerated at any time. To preserve manual change, delete this comment.
,modify:
Connector AcceptCount = "10" classname = "org.apache.coyote.tomcat4.coyoteconnector" ConnectionTimeout = "60000" debug = "0" maxprocessors = "75" MINPROCESS = "5" port = "8080"
for:
Connector AcceptCount = "10" classname = "org.apache.coyote.tomcat5.coyoteconnector" ConnectionTimeout = "60000" debug = "0" MAXPROCESS = "75" minprocessors = "5" port = "8080".
8. Set the server Server to Tomcat5.0, running the project, Tomcat5.0 can run normally.