You have to add attributes to the mbean node in jboss.jcml.
I think it is like this
or try to search this string or add this.
<!-- A HTTP Connector on port 8080 -->
Depends which version of JBoss you are using and whether you are using the Tomcat or Jetty version.
For JBoss 3.0 Tomcat (assuming you are running the default server):
1. Go to the default/deploy directory. You should see a file called tomcat4-service.xml. Edit that file and look for port="8080" and change it to whatever you like.
For JBoss 3.0 Jetty (again assuming you are running the default server):
1. Go to the default/deploy directory. You should see a jbossweb.sar/META-INF subdirectory. Look for a file called jboss-service.xml file. Edit that file and look for default="8080" and change it to whatever you like.
i have 4 jboss-service.xml files and none contain default=8080
The config for the embedded webserver is at:
this file does not exist!
I used to be called something like
If you have the Tomcat distribution it won't exist.
I am currently running JBoss 3.0.2 with embedded Tomcat 4.0.4 on Linux and have changed tomcat4-service.xml so that it is on port 80. I have two questions:
1. When do I need to change the system properties section of conf/jboss-service.xml to also be port 80 instead of 8080. Perhaps an equivalent question is when do I need to use http-invoker.sar? Since I have already made the change to tomcat4-service.xml should I make the change to conf/jboss-service.xml just to be safe?
2. What is the role of port 8083 now please? When I try localhost:8083 there is a response, but the response is a completely blank page. Is this correct?
Thanks in anticipation
The HTTPInvoker allows ejb requests to go over
http using a servlet. So yes it needs to
match the web service in the port settings.
8083 is a simple webserver for downloading of classes
from the server to the client. Read the RMI docs
Thanks very much Adrian.
add a Java VM Argument: -Djetty.port=8888 to u start script.
everything is ok.