Hi!
I have ran across many instances that during Java development, that the engineers cannot startup their Tomcat server because the port 8080 is used by some other resource.
It has been noticed that if Oracle XE was installed prior to tomcat, this has occurred.
Possible Options to resolve
1) Change the connector port from 8080 to some other available port in Tomcat
2) Changing the Oracle APEX port from 8080 to some other.
Method
Please note that you may use either of these 2 options but only one option is required to resolve this issue.
Most of the time it is very important to keep Tomcat port as 8080 so if that is the case you may use the 2 nd option.
Option 1) Changing Tomcat Port
go to "apache-tomcat-5.5.26\conf" inside tomcat installation folder.
Edit "server.xml" file
find Connector port="8080"
you may change 8080 with some other available port number.
Restart your tomcat.
Option 2) Changing Oracle APEX port
Logon to your XE database using sqlplus as system user
to check the existing port execute the following sql query
select dbms_xdb.gethttpport from dual;
you may see the result something similar
gethttpport
8080
Now let’s assume we are to change the port to 8081. Execute the following pl/sql anonymous block.
BEGIN
dbms_xdb.sethttpport('8081');
END;
You may check to verify the changes have been affected by:
select dbms_xdb.gethttpport from dual;
I have ran across many instances that during Java development, that the engineers cannot startup their Tomcat server because the port 8080 is used by some other resource.
It has been noticed that if Oracle XE was installed prior to tomcat, this has occurred.
Possible Options to resolve
1) Change the connector port from 8080 to some other available port in Tomcat
2) Changing the Oracle APEX port from 8080 to some other.
Method
Please note that you may use either of these 2 options but only one option is required to resolve this issue.
Most of the time it is very important to keep Tomcat port as 8080 so if that is the case you may use the 2 nd option.
Option 1) Changing Tomcat Port
go to "apache-tomcat-5.5.26\conf" inside tomcat installation folder.
Edit "server.xml" file
find Connector port="8080"
you may change 8080 with some other available port number.
Restart your tomcat.
Option 2) Changing Oracle APEX port
Logon to your XE database using sqlplus as system user
to check the existing port execute the following sql query
select dbms_xdb.gethttpport from dual;
you may see the result something similar
gethttpport
8080
Now let’s assume we are to change the port to 8081. Execute the following pl/sql anonymous block.
BEGIN
dbms_xdb.sethttpport('8081');
END;
You may check to verify the changes have been affected by:
select dbms_xdb.gethttpport from dual;
Comments
Post a Comment