This post is more than 5 years old
44 Posts
0
781
December 8th, 2009 13:00
How to change default listener port/ URL path on ECC UB7 web services?
Hello,
I'm about 80% complete w/ my ECC 6.0 to ECC 6.1 UB7 upgrade. After the upgrade I noticed that the method I used to change the default listener ports and paths for the Tomcat webservershas changed . We now have to access the ECC Console Installer, StorageScope and Web Console via the following links
Default URLs:
I would prefer these links -->
Desired URLs:
How would I change these paths to the default SSL port and default web path. I'm doing this is to make the expereince consistent for the users in our enterprise.
This was easily modifiable in ECC 6.0 but its not as simple with this new version of Tomcat. I tried changing the listener port in
%ECC%\Tomcat\conf\server.xml But every change I made caused the webserver to not respond so I had to keep it at its default in order to keep things functional.
Any help/insight would be greatly appreciated.
Thanks,
Ayo
Timothy4
1 Rookie
•
27 Posts
0
February 3rd, 2010 13:00
If you want to access the webapps directly without port information you'll need a connector to redirect off port 80
which can be done quite easily since the default server.xml already has one just commented out
If you're looking at the %ECC Root%\tomcat\conf\server.xml
search for "port=80"
you'll find code for a connector that looks like this:
just delete the comment tags
from around the code block and change:
redirectPort="8443"
to
redirectPort="30002"
then restart the webserver service
What that will do is if storagescope is the only app on this host you can now access it with
http://hostname
and it will redirect to the correct https://hostname:30002/srm/login.do url
if you have multiple webapps on the same host you'll only get the default /webinstall when accessing http://hostname
but you should be able to do http://hostname/srm or http://hostname/eccweb etc...
AAdedipe
44 Posts
0
January 25th, 2010 07:00