It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android 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
Author

how to change port number of Oracle 10g xe

sirisha kukunuri
Greenhorn

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.http://daust.blogspot.com/2006/01/xe-changing-default-http-port.html
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.

Thanks,
Kukunuri
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
Greenhorn

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 10.2.0.1.0 - 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>
Connected.
SQL> Exec DBMS_XDB.SETHTTPPORT(8087); [Assuming you want to have HTTP going to this port]

PL/SQL procedure successfully completed.

SQL>quit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to change port number of Oracle 10g xe
 
Similar Threads
Not able to store ukrainian characters in Oracle 10g database
Connection Pool between Oracle10g Express Edition and Glassfish V3
trigger to check if a row can be inserted or not
IIS Plugin for weblogic throwing connection pool errors
Connectio pool: Oracle and Glassfishv3