ORACLE 11GR2 OEM配置出错解决

错误描述如下:

 

2012-7-14 18:23:11 oracle.sysman.emdrep.config.IConfigurationContext createConnection
信息: jdbcUrl = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=LIBIN)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DREAM)))
2012-7-14 18:24:12 oracle.sysman.emdrep.config.IConfigurationContext createConnection
信息: jdbcUrl = jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=LIBIN)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DREAM)))
2012-7-14 18:24:12 oracle.sysman.emdrep.config.IConfigurationContext createConnection
信息: jdbcUrl = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=LIBIN)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DREAM)))
2012-7-14 18:25:13 oracle.sysman.emdrep.config.IConfigurationContext createConnection
信息: jdbcUrl = jdbc:oracle:oci:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=LIBIN)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DREAM)))
2012-7-14 18:26:13 oracle.sysman.emdrep.util.TransxWrapper perform
严重: Error Loading TransX:Socket read timed out
2012-7-14 18:26:14 oracle.sysman.emdrep.config.EMSchemaConfiguration$ConfigInstance run
严重: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.sysman.emdrep.config.EMSchemaConfiguration$ConfigInstance.run(EMSchemaConfiguration.java:480)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.sysman.emdrep.config.ConfigurationException: Loading DLF Exception
Socket read timed out
java.sql.SQLException: Socket read timed out
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracle.xml.transx.ConnectionHelper.getConnection(ConnectionHelper.java:59)
at oracle.xml.transx.TransXImpl.open(TransXImpl.java:79)
at oracle.sysman.emdrep.util.TransxWrapper.perform(TransxWrapper.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at oracle.sysman.emdrep.config.EMSchemaConfiguration$ConfigInstance.run(EMSchemaConfiguration.java:480)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.net.ns.NetException: Socket read timed out
at oracle.net.ns.Packet.receive(Packet.java:320)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:286)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
... 15 more

at oracle.sysman.emdrep.util.TransxWrapper.perform(TransxWrapper.java:82)
... 6 more
Caused by: java.sql.SQLException: Socket read timed out
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracle.xml.transx.ConnectionHelper.getConnection(ConnectionHelper.java:59)
at oracle.xml.transx.TransXImpl.open(TransXImpl.java:79)
at oracle.sysman.emdrep.util.TransxWrapper.perform(TransxWrapper.java:67)
... 6 more
Caused by: oracle.net.ns.NetException: Socket read timed out
at oracle.net.ns.Packet.receive(Packet.java:320)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:286)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
... 15 more

2012-7-14 18:26:14 oracle.sysman.emdrep.config.EMSchemaConfiguration perform
警告: Exception Occured during Execution of oracle.sysman.emdrep.util.TransxWrapper
2012-7-14 18:26:14 oracle.sysman.emdrep.config.EMSchemaConfiguration perform
严重: FATAL EXCEPTIONS:
FATAL Configuration Exceptions

 

 

解决办法:

 

Solution
Add entries into the host file, to force IPv4 style resolution:-

1) edit the windows\system32\drivers\etc\hosts file

2) add an entry for the machine of the format:-

<ipaddress> <fully qualified hostname> <short hostname>

eg.

138.3. 146.333 machine1.uk.oracle.com machine1

Now when pinging the short hostname, the ipv4 style ipaddress is returned.

你可能感兴趣的:(oracle 11g)