我的路径没有db_2 只有db_1 G:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_192.168.0.101_orcl\config最后那个文件里好像也没有什么端口 <?xml version = '1.0' standalone = 'yes'?> <!DOCTYPE web-site PUBLIC "OracleAS XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site-9_04.dtd"> <web-site port="1158" display-name="OC4J Java HTTP Web Site"> <!-- The default web-app for this site, bound to the root --> <default-web-app application="default" name="defaultWebApp"/> <web-app application="default" name="dms0" root="/dms0"/> <web-app application="default" name="dms" root="/dmsoc4j"/> <web-app application="em" name="em" load-on-startup="true" root="/em"/> <!-- Access Log, where requests are logged to --> <access-log path="../log/http-web-access.log"/> <!-- Uncomment this if you want to use ODL logging capabilities <odl-access-log path="../log/http-web-access" max-file-size="1000" max-directory-size="10000"/> --> </web-site>
2. 防火墙
3. 网络不通
那个网页形式的,地址我忘了,到哪里可以找到?
http://主机名:1158/em
首先 确认你的console服务有开,然后再确认你的端口是否是1158端口可以在
oracle\product\10.2.0\db_2\oc4j\j2ee\OC4J_DBConsole_(计算机名)_(sid名)\config
下的 http-web-site.xml 里面找到
G:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_192.168.0.101_orcl\config最后那个文件里好像也没有什么端口
<?xml version = '1.0' standalone = 'yes'?>
<!DOCTYPE web-site PUBLIC "OracleAS XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site-9_04.dtd">
<web-site port="1158" display-name="OC4J Java HTTP Web Site">
<!-- The default web-app for this site, bound to the root -->
<default-web-app application="default" name="defaultWebApp"/>
<web-app application="default" name="dms0" root="/dms0"/>
<web-app application="default" name="dms" root="/dmsoc4j"/>
<web-app application="em" name="em" load-on-startup="true" root="/em"/> <!-- Access Log, where requests are logged to -->
<access-log path="../log/http-web-access.log"/>
<!-- Uncomment this if you want to use ODL logging capabilities
<odl-access-log path="../log/http-web-access" max-file-size="1000" max-directory-size="10000"/>
-->
</web-site>