When I started JBoss and Tomcat, one of them(the one last started) will report a exception about port 8009. Later I found both of them define AJP service on 8009(Tomcat in server.xml, JBoss in jboss-service), What's AJP? Could I change the port to another one to prevent this error?
Thank you in advance.
Don't you get an error about port 8080?
You can find out about AJP here
You probably don't need both Tomcat and jbossweb.sar
(jetty + jboss extensions).