我正在尝试将一个相当复杂的Oracle BPM应用程序(BPMN)部署到RHLinux 5上安装的Weblogic 10.3.4服务器。问题是我在部署日志中遇到连接超时异常,因此部署失败。
在谷歌搜索后,我试图通过weblogic控制台增加JTA的超时值,但这没有帮助。
以下是jDeveloper中的部署日志:
[11:44:33 PM] Preparing to send HTTP request for deployment
[11:44:33 PM] Creating HTTP connection to host:localhost, port:7001
[11:44:33 PM] Sending internal deployment descriptor
[11:44:33 PM] Sending archive - sca_BPM_rev1.0.jar
Connection to the server timed out. Please check the server log for problems or increase the timeout value.
[12:03:43 AM] Error deploying archive sca_BPM_rev1.0.jar to partition "default" on server AdminServer [http://localhost:7001]
[12:03:43 AM] HTTP error code returned [-1]
[12:03:43 AM] No error message is returned from the server.
[12:03:43 AM] Error deploying archive sca_BPM_rev1.0.jar to partition "default" on server AdminServer [http://localhost:7001]
[12:03:43 AM] #### Deployment incomplete. ####
Error log from Weblogic Console:
May 19, 2011 12:11:28 AM PDT Error oracle.soa.bpel.engine BEA-000000 Unable to activate process IntraFirmTransfer
javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 303 seconds
BEA1-0E886C94EA7C131B76F3
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1748)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1591)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1911)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1501)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 303 seconds
BEA1-0E886C94EA7C131B76F3
at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:154)
at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:595)
at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:52)
at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_ICubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:885)
有人可能会对可能的原因提出一些暗示吗?
答案 0 :(得分:0)
1)'localhost'的主机文件设置是什么?
2)您的管理服务器中的监听地址是什么?确保这与hosts文件中的设置一致。
3)你能telnet到'localhost'上的7001端口吗?该命令是[telnet localhost 7001]
答案 1 :(得分:0)
请确保您在交易超时方面遵循以下规则。
数据库分发超时> XA> JTA timouts。