简体   繁体   中英

Eclipse + Tomcat how to keep the server running

I'm developing a SOAP client and server and I was trying to use the same eclipse instance for both sides. The two projects are on separate workspaces so I need to switch between them often. Can I deploy the server side to my Tomcat THEN switch to the client side workspace without Eclipse stopping Tomcat? Or do I need to start Tomcat manually and deploy a war?

Obviously you can start Tomcat manually and deploy the war. The other way try to import the client application project to your other workspace. File->Import->General->Existing project into workspace

Option 1:- Create tomcat instance in your server/ local machine and deploy war file in tomcat instance and start the tomcat.

Option 2:- Import both project in same workspace , and run in two instances of tomcat by creating 2 instance of tomcat in eclipse, make sure to change the port configuration in each instance

http://www.codejava.net/servers/tomcat/how-to-change-port-numbers-for-tomcat-in-eclipse

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM