DISCLAIMER: The information and links provided on this site are my personal notes, based on my limited experience installing, using, and deinstalling Oracle databases and application servers on a variety of computers using Windows NT/2000/XP operating systems. The installation and deinstallation procedures found here can cause irreversable loss of data and may damage your operating system. However, you are welcome to use them AT YOUR OWN RISK. I am in no way responsible for data you lose or operating systems you damage or destroy.

How to find an OC4J HTTP Listener Port

OC4J HTTP listener ports are specified in it's <OC4J name>-web-site.xml configuration file.

This is an example of a default OC4J stand alone configuration file. The port number is in bold text:

<?xml version="1.0" ?>
- <web-site xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/web-site-10_0.xsd" port="8888" display-name="OC4J
10g (10.1.3) Default Web Site" schema-major-version="10" schema-minor-version="0">
<default-web-app application="default" name="defaultWebApp" />
<web-app application="system" name="dms0" root="/dmsoc4j" access-log="false" />
<web-app application="system" name="dms0" root="/dms0" access-log="false" />
<web-app application="system" name="JMXSoapAdapter-web" root="/JMXSoapAdapter" />
<web-app application="default" name="jmsrouter_web" load-on-startup="true" root="/jmsrouter" />
<web-app application="ascontrol" name="ascontrol" load-on-startup="true" root="/em" ohs-routing="false" />
<web-app application="bc4j" name="webapp" load-on-startup="true" root="/webapp" />
<access-log path="../log/default-web-access.log" split="day" />
</web-site>

[Return to HowTo]

Valid XHTML 1.0!