Sorry for not being clearer, this is my first post here
As I wrote in the earlier post, I am using Tomcat with Apache through warp. What I wanted to accomplish is to have my 2 applications run on say ports 8008, and 8009, both being root contexts on their ports.
I duplicated the server.xml Apache with Tomcat entry, changing the port from 8008 to 8009, keeping the same appBase in the Engine. Then I added WebAppConnection, and WebAppDeploy entries to tomcat.conf like this:
When I tried to start the servers, I got syntax error "Duplicate application specified for the same URL path". So this attempt failed, I guess the reason is that the 2 applications are on the same port. I tried to search on the web, and checked the jakarta tomcat page, but did not find any real information about the tomcat.conf settings. That is where I am stuck now.
If anyone could help, I have 2 questions:
1.) Is it possible to separate them to be on different ports with warp, and if yes, how to do it ?
2.) If it is not possible, could you give me some directive how can I get solve this problem (2 applications on the same server, different ports, root context for both) ?
Thanks in advance: -Gyula Klinszky