my dog learned polymorphism
The moose likes Oracle/OAS and the fly likes how to change port number of Oracle 10g xe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "how to change port number of Oracle 10g xe" Watch "how to change port number of Oracle 10g xe" New topic

how to change port number of Oracle 10g xe

sirisha kukunuri

Joined: Jun 04, 2008
Posts: 13
Hi All,
I am using Oracle 10g XE. It is working well. This is using port 8080.
Now i am getting problems with Tomcat running on the same port.
I want to change Oracle port number.
For this i followed a tutorial.
But when i am following this tutorial i am getting a problem,

It is asking for password.But it is not allowing me to type.

Can any one please tell me any other way to change port number.

I appreciate any help.

Agador Paloi
Ranch Hand

Joined: Jan 24, 2006
Posts: 118
Actually it is taking your password without showing what you have keyed.
Key in the password and press enter , you should then be connected.
Sandeep Kumar Arya

Joined: Jul 29, 2011
Posts: 2
If you have port conflict and you want to change Oracle 10G XE's HTTP port (default is 8080) you can change it.

This is what you do in the Windows XP machine.

Make sure OracleServiceXE and OracleXETNSListener have started in the Control Panel.

From Start | Run open a command window.
Assuming your environmental variables are set correctly start with the following: (Reds are what you type-in and blues are what the computer writes to screen)

C:\>sqlplus /nolog

SQL*Plus: Release - Production on Tue Aug 26 10:40:44 2008

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

SQL> connect
Enter user-name: system
Enter password: <enter password if will not be visible>
SQL> Exec DBMS_XDB.SETHTTPPORT(8087); [Assuming you want to have HTTP going to this port]

PL/SQL procedure successfully completed.

Disconnected from Oracle Database 10g Express Edition Release - Production
I agree. Here's the link:
subject: how to change port number of Oracle 10g xe
jQuery in Action, 3rd edition