Change Tomcat Port

I just needed to do this, since Oracle 10g XE Web Interface also listens on port 8080.

After a quick lookaround in its folders, I found a way.

So here is how it is done:

Stop Tomcat.

Go to <Your Tomcat Directory>/conf/

Edit server.xml there.

There will be a Connector tag there.

<Connector port=”8082” protocol=”HTTP/1.1″
redirectPort=”8443″ />

Change its port attribute to anything you like; in my case it is 8082 as you can see.

Restart Tomcat.


*Solution* – Cannot access Oracle 10g XE Home Page on Windows XP

I have just installed a brand new Oracle 10g XE and just after installation, I was not able to access the home page.

When I executed the "lsnrctl status" command I got this output:

C:\Documents and Settings\me>lsnrctl status

LSNRCTL for 32-bit Windows: Version – Production on 19-√ĆUB-2009 00:01:03

Read the rest of this entry »

Oracle OCI8 Database Connection Problem #2 [Linux]

Hello folks,

Recently, I had another problem connecting to an Oracle 10g R2 database with the Oracle Call Interface. Well, this was not about the driver actually. Having passed 2 weeks from my first problem, this time I was deploying the servlet, Tomcat 6 and Oracle 10g R2 to a OpenSUSE 10.3 machine. It still was stopping at this line:

connection = DriverManager.getConnection(url, username, password);

Read the rest of this entry »