-
1. Re: Default Port
integ Mar 22, 2002 10:37 PM (in response to integ)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.
-
2. Re: Default Port
integ Mar 22, 2002 10:38 PM (in response to integ)That was meant to be:
Typo above in the port number. -
3. Re: Default Port
adrian.brock Mar 23, 2002 4:58 AM (in response to integ)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.
Regards,
Adrian -
4. Re: Default Port
integ Mar 23, 2002 10:14 PM (in response to integ)Thanx Warjort. That helped. One more question. How can i change the default SSL Port.
-
5. Re: Default Port
adrian.brock Mar 24, 2002 5:58 AM (in response to integ)There is information on this for 2.4.4
in this thread.
http://main.jboss.org/thread.jsp?forum=50&thread=3663&message=241807
If it mentions jboss.jcml, it is now called
jboss-service.xml
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.
Regards,
Adrian -
6. Re: Default Port
r0ckflite Apr 2, 2002 2:24 PM (in response to integ)The file I found on my beta (04/02/2002) was
called tomcat4-service.sar, but otherwise this
is perfect. Thanks! -
7. Re: Default Port
craigday Apr 4, 2002 8:51 AM (in response to integ)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? -
8. Re: Default Port
adrian.brock Apr 4, 2002 9:04 AM (in response to integ)Yes,
The better method is to split tomcat4-service.sar
into a tomcat4.jar with the classes
and a tomcat4-service.xml with a
dependency.
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.
Regards,
Adrian -
9. Re: Default Port
lkafle Jun 18, 2008 7:14 AM (in response to integ)Hi Adrian, I want to deploy multiple applications at multiple ports . What would be the shortcut idea?
Lava Kafle
Principal Engineer
D2hawkeyeServices.