Total Pageviews

Friday, November 16, 2007

Changing HTTP Listener Port on Oracle Express 10g

The oracle installer does not give you the chance to change the port of the HTTP Listener. I installed my Oracle 10g Express Edition under Windows and my Tomcat Servlet Container already uses port 8080.
So I decided to change the port of the Oracle HTTP listener doing the following with SQLPlus:
C:\>sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 10 18:49:14 2006

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> exec dbms_xdb.sethttpport(8081);

PL/SQL procedure successfully completed.

SQL>