opmn 无法启动
时间:2010-05-25 来源:夏德虎
soa无法启动
现象:
1.oc4j_soa起不来,部分日志如下:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
//10.30.7.73:1521/soa
09/01/17 02:43:22 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
09/01/17 02:43:22 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:280)
09/01/17 02:43:22 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
09/01/17 02:43:22 at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
09/01/17 02:43:22 at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
09/01/17 02:43:22 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
09/01/17 02:43:22 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
09/01/17 02:43:22 at java.sql.DriverManager.getConnection(DriverManager.java:525)
09/01/17 02:43:22 at java.sql.DriverManager.getConnection(DriverManager.java:171)
09/01/17 02:43:22 at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
09/01/17 02:43:22 at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
09/01/17 02:43:22 at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
09/01/17 02:43:22 at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
09/01/17 02:43:22 at java.sql.DriverManager.getConnection(DriverManager.java:525)
09/01/17 02:43:22 at java.sql.DriverManager.getConnection(DriverManager.java:171)
09/01/17 02:43:22 at com.cfluent.utils.db.DBContext.getConnection(DBContext.java:86)
09/01/17 02:43:22 ... 26 more
09/01/17 02:43:22 The following is the cause of the above exception
09/01/17 02:43:22 java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
09/01/17 02:43:38 Start process
--------
09/01/17 02:43:42 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/home/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/config/jms.xml]
09/01/17 02:43:49 log4j:WARN No appenders could be found for logger (wsif).
09/01/17 02:43:49 log4j:WARN Please initialize the log4j system properly.
09/01/17 02:43:51 Warning: Unable to set up connection factory for a resource adapter in esb-dt: Error creating a ResourceAdapter implementation class. Error creating a JavaBean of class 'oracle.tip.esb.server.bootstrap.DesignTimeResourceAdapter: javax.resource.spi.ResourceAdapterInternalException: oracle.tip.esb.model.repository.exception.RepositoryException: Unable to get connection to Repository
Ensure repository is accessible
09/01/17 02:43:53 Warning: Unable to set up connection factory for a resource adapter in esb-rt: Error creating a ResourceAdapter implementation class. Error creating a JavaBean of class 'oracle.tip.esb.server.bootstrap.RuntimeResourceAdapter: javax.resource.spi.ResourceAdapterInternalException: oracle.tip.esb.model.repository.exception.RepositoryException: Unable to get connection to Repository
Ensure repository is accessible
2.home或其他应用实例启动失败,部分日志:
--------
09/01/17 03:48:56 Start process
--------
09/01/17 03:49:01 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/home/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/config/jms.xml]
09/01/17 03:49:20 WARNING: OC4J will not send ONS ProcReadyPort messages to opmn for service: OC4JServiceInfo id: null protocol: jms hostname: null port: 12601 description: null
09/01/17 03:49:20 null hostname was null
09/01/17 03:49:20 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
解决办法:
jms.xml文件破坏,重新打开并保存或者先备份再删掉即可。
现象:
1.oc4j_soa起不来,部分日志如下:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
//10.30.7.73:1521/soa
09/01/17 02:43:22 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
09/01/17 02:43:22 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:280)
09/01/17 02:43:22 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
09/01/17 02:43:22 at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
09/01/17 02:43:22 at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
09/01/17 02:43:22 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
09/01/17 02:43:22 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
09/01/17 02:43:22 at java.sql.DriverManager.getConnection(DriverManager.java:525)
09/01/17 02:43:22 at java.sql.DriverManager.getConnection(DriverManager.java:171)
09/01/17 02:43:22 at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
09/01/17 02:43:22 at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
09/01/17 02:43:22 at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)
09/01/17 02:43:22 at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
09/01/17 02:43:22 at java.sql.DriverManager.getConnection(DriverManager.java:525)
09/01/17 02:43:22 at java.sql.DriverManager.getConnection(DriverManager.java:171)
09/01/17 02:43:22 at com.cfluent.utils.db.DBContext.getConnection(DBContext.java:86)
09/01/17 02:43:22 ... 26 more
09/01/17 02:43:22 The following is the cause of the above exception
09/01/17 02:43:22 java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
09/01/17 02:43:38 Start process
--------
09/01/17 02:43:42 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/home/oracle/product/10.1.3.1/OracleAS_1/j2ee/oc4j_soa/config/jms.xml]
09/01/17 02:43:49 log4j:WARN No appenders could be found for logger (wsif).
09/01/17 02:43:49 log4j:WARN Please initialize the log4j system properly.
09/01/17 02:43:51 Warning: Unable to set up connection factory for a resource adapter in esb-dt: Error creating a ResourceAdapter implementation class. Error creating a JavaBean of class 'oracle.tip.esb.server.bootstrap.DesignTimeResourceAdapter: javax.resource.spi.ResourceAdapterInternalException: oracle.tip.esb.model.repository.exception.RepositoryException: Unable to get connection to Repository
Ensure repository is accessible
09/01/17 02:43:53 Warning: Unable to set up connection factory for a resource adapter in esb-rt: Error creating a ResourceAdapter implementation class. Error creating a JavaBean of class 'oracle.tip.esb.server.bootstrap.RuntimeResourceAdapter: javax.resource.spi.ResourceAdapterInternalException: oracle.tip.esb.model.repository.exception.RepositoryException: Unable to get connection to Repository
Ensure repository is accessible
2.home或其他应用实例启动失败,部分日志:
--------
09/01/17 03:48:56 Start process
--------
09/01/17 03:49:01 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/home/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/config/jms.xml]
09/01/17 03:49:20 WARNING: OC4J will not send ONS ProcReadyPort messages to opmn for service: OC4JServiceInfo id: null protocol: jms hostname: null port: 12601 description: null
09/01/17 03:49:20 null hostname was null
09/01/17 03:49:20 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
解决办法:
jms.xml文件破坏,重新打开并保存或者先备份再删掉即可。
相关阅读 更多 +