Type above in the port number. Please ignore the one above and read this. How do i run JBoss3.0-Tomcat4.0 on the default port 80. I tried changing the port number in server.xml under C:\jboss-3.0.0beta\jakarta-tomcat-4.0.2\conf from 8080 to 80. But my server still runs on 8080. Cud somebody help.
That was meant to be:
Typo above in the port number.
The configuration for the integerated tomcat container
is in the archive tomcat-service.sar
To modify the configuration, take a copy of tomcat-service.sar and extract it
jar -xf tomcat-service.sar
You will find a file called META-INF/jboss-service.xml
When you've changed the config, recreate the service
jar -cf tomcat-service.sar *
in your extracted directory.
Copy the sar back into the deploy directory.
There is no need to reboot, the tomcat service is
hot-deployable in 3.0.
Thanx Warjort. That helped. One more question. How can i change the default SSL Port.
There is information on this for 2.4.4
in this thread.
If it mentions jboss.jcml, it is now called
But you have the option to create
somename.xml and put it in deploy for new services.
The service will hot-deploy. This lets you change
the config without rebooting.
The file I found on my beta (04/02/2002) was
called tomcat4-service.sar, but otherwise this
is perfect. Thanks!
just browsing through this thread, but does anyone else
find this to be a painful process just to change a port number on your webserver?
The better method is to split tomcat4-service.sar
into a tomcat4.jar with the classes
and a tomcat4-service.xml with a
Both are still in deploy.
This splits the deployment into the code and
configuration. This flexibility has one
downside. Removing tomcat requires removal of
two deployments instead of one.
It isn't really a big issue. You will mostly modify
it once and then you are done.
Hi Adrian, I want to deploy multiple applications at multiple ports . What would be the shortcut idea?