The following assumes you are using JBoss 3.0.x:
If you are using Jetty set -Djetty.port=<Your Port> on the java command line. You can also change the Jetty port in the Jetty-plugin.sar in the jboss.service.xml config file. If using Tomcat it is in the server.xml config file under catalina in the conf directory.
I use jboss3 integrated tomcat4.
i wanna change to port ex. 8084, 8085, but when i change i see this:
Apache Tomcat/4.0.5 - HTTP Status 404 - /protocolo/index.jsp
type Status report
description The requested resource (/protocolo/index.jsp) is not available.
but if i use 8080 my webapp run.
What well happend?
If I understand your setup correctly you will need to change the port apache is listening on. In this type of setup the web container is not doing the listening. It just handles the requests.