SendPaymetTermsToRetek bpel process出错

现在已经将SendPaymentTermsToRetek bpel process 成功部署在bpel server上,但是运行bpel process的时候出错,错误信息如下:

bpel-error1

<messages><input><PublishPaymentTermsToRetek_Produce_Message_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="RibMessages"><RibMessages xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/top/PublishService" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/PublishService">
   <ns1:publishetname>etEXTPayTerm</ns1:publishetname>
</RibMessages>
</part></PublishPaymentTermsToRetek_Produce_Message_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>null</code>
</part><part name="summary"><summary>file:/home/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_SendPaymentTermsToRetek_1.2_c4cc1f9b57c1a8f1232822f7db772ba9.tmp/PublishPaymentTermsService.wsdl [ Produce_Message_ptt::Produce_Message(RibMessages) ] – WSIF JCA Execute of operation ‘Produce_Message’ failed due to: Adapter Framework unable to create outbound JCA connection.
file:/home/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_SendPaymentTermsToRetek_1.2_c4cc1f9b57c1a8f1232822f7db772ba9.tmp/PublishPaymentTermsService.wsdl [ Produce_Message_ptt::Produce_Message(RibMessages) ] – : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12133
ERRJMS_JMS_EXCEP.
Unable to create JMS connection due to JMS exception.
Please examine the log file to determine the problem.
[Caused by: Could not create session, connection may be dropped]
; nested exception is:
    ORABPEL-12511
Adapter Framework unable to create outbound JCA connection.
file:/home/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_SendPaymentTermsToRetek_1.2_c4cc1f9b57c1a8f1232822f7db772ba9.tmp/PublishPaymentTermsService.wsdl [ Produce_Message_ptt::Produce_Message(RibMessages) ] – : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12133
ERRJMS_JMS_EXCEP.
Unable to create JMS connection due to JMS exception.
Please examine the log file to determine the problem.
[Caused by: Could not create session, connection may be dropped]
Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console.
</summary>
</part><part name="detail"><detail>null</detail>
</part></remoteFault></fault></messages>

 

 

domain.log日志中记录:

<2008-10-20 11:11:35,249> <DEBUG> <default.collaxa.cube.ws> <JMSAdapter::Outbound> JMSConnectionFactoryFactory_getConnectionFactory: looking up ‘com.seebeyond.jms.client.STCTopicConnectionFactory’
<2008-10-20 11:11:35,250> <DEBUG> <default.collaxa.cube.ws> <JMSAdapter::Outbound> JMSConnectionFactoryFactory_getConnectionFactory: JNDI Naming exception when looking up com.seebeyond.jms.client.STCTopicConnectionFactory: com.seebeyond.jms.client.STCTopicConnectionFactory not found
<2008-10-20 11:11:35,250> <DEBUG> <default.collaxa.cube.ws> <JMSAdapter::Outbound> JMSConnectionFactoryFactory_getConnectionFactory: Will now try to determine if the ‘ConnectionFactoryLocation’ com.seebeyond.jms.client.STCTopicConnectionFactory is a loadable Java class. If so, the above exception can be ignored.
<2008-10-20 11:11:35,250> <DEBUG> <default.collaxa.cube.ws> <JMSAdapter::Outbound> JMSConnection_init: Using non-XA TopicConnectionFactory
<2008-10-20 11:11:35,273> <DEBUG> <default.collaxa.cube.ws> <JMSAdapter::Outbound> Error while creating managed connection:
<2008-10-20 11:11:35,275> <DEBUG> <default.collaxa.cube.ws> <JMSAdapter::Outbound>
ORABPEL-12133
ERRJMS_JMS_EXCEP.
Unable to create JMS connection due to JMS exception.
Please examine the log file to determine the problem.

 

在metalink上提了TAR,现在还没有解决,请高手帮忙.

部署bpel流程出错,请老商看看(已解决)

部署BPEL流程bpel_SendPaymentTermsToRetek_1.0.jar出现错误,错误信息如下:

bpel_SendPaymentTermsToRetek_1.0.jar 无法部署。
Could not initialize activation agent. An error occured while initializing an activation agent for process "SendPaymentTermsToRetek", revision "1.2". Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml). oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException

 

 

—该问题已经解决,解决办法:

配置相应的Database Adapter后成功部署bpel流程.

安装BPEL 10.1.3.1.0

概述:本文档描述bpel的安装过程,安装类型:Oracle BPEL Process Manager for OracleAS Middle Tier,安装组件包括:

    1)Oracle BPEL Server

    2)Oracle BPEL Control

安装步骤如下:

  1. 安装Oracle Database10g

          可以利用rms数据库,不需要单独安装.

     2. 运行IRCA

          IRCA在安装文件在bpel\bpel_oc4j\install\soa_schemas\irca目录下,在windows下运行irca.bat文件,按照操作提示即可安装.  安装过程中需要sys用户远程连接数据库,有关sys用户远程连接数据库的解决方法可参考老商的 DB怪问题. IRCA在db中创建orabpel用户和相关表.

     3.安装Oracle Applicaton Server

  •           安装前的准备(root用户下操作):

                   1)创建组:  groupadd oinstall

                   2)创建组:groupadd dba

                   3)创建组:groupadd  oper

                   4)创建用户:useradd -g oinstall oracle

                   5)设置oracle用户密码:passwd oracle

                   6)创建AS的安装目录,且oracle用户可访问: mkdir /u01; cd /u01; mkdir OraAS_10g; chown -R oracle:oinstall /u01/OraAS_10g

                   7) vi/etc/hosts,检查该文件中是否包含 HOSTNAME=egate

                   8) 检查是否存在文件/etc/sysconfig/networking/profiles/default/network,如果有则重新命名该文件

                   9)系统参数调整,修改/etc/sysctl.conf文件,加参数如下:

                       kernel.msgmnb=65535

                       kernel.msgmni=2878

                       kernel.shmmax=4294967295

                       kernel.sem=256 32000 100 142

                       fs.file-max=206173

                  10)设置shell limits

                       在文件/etc/security/limits.conf文件中加入:

                        *       soft     nproc         2047

                        *       hard    nproc         16384

                        *       soft     nofile          2048

                        *       hard    nofile          65536

                       在文件/etc/pam.d/login 中加入:

                       session    required    /lib/security/pam_limits.so

                       在文件/etc/profile中加入:

                       if[$USER = "oracle"]; then

                           if[$SHELL="/bin/bash"]; then

                               ulimit -p 16384

                               ulimit -n 65536

                           else

                               ulimit -u 16384 -n 65536

                           fi

                       fi

                   11)安装package,安装命令为: rpm -ihv package_name

                       sysstat-4.0.7-4.EL3.3可以在redhat 安装光盘中找到

                       compat-glibc-7.x-2.2.4.32.6.i386.rpm,可以在http://rpm.pbone.net/index.php3上下载

                   12)设置环境变量,root用户运行xhost +

                        切换到oracle:  su oracle

                        确保oracle 对/tmp2有写权限

                        TMP=/tmp2; export TMP

                        TMPDIR=/tmp2; export TMPDIR

                   13)ftp上传soa_linux_x86_101310_disk1.cpio 文件到/u01/OraAS_10g目录后运行如下命令:

                        cpio -ivdm < soa_linux_x86_101310_disk1.cpio

                        运行./runInstaller后安装

  •           安装是选择客户化安装,选择安装J2EE Server and Web Server类型,后面的安装比较简单,不再详细说明

                   安装后的组件有: 

                     Oracle HTTP Server

                     Oracle Containers for J2EE (OC4J)

                     Oracle Process Manager & Notification Server (OPMN)                

  •           安装后测试

                   在IE地址栏输入http://192.168.11.82:8888出现欢迎界面,本次安装hostname为egate

  •           关闭启动服务

                  opmn 位于$ORACLE_HOME/opmn/bin

                  start oc4j:     opmnctl startall

                  stop oc4j:      opmnctl stopall

     4.安装BPEL

  •         选择安装Oracle Application Server 的ORACLE HOME,本例安装为oracleas1,路径为/home/oracle/product/10.1.3.1/OracleAS_3
  •         安装类型BPEL Process Manager for OracleAS Middle Tier
  •         设置bpel 数据库为前面IRCA安装所指定的数据库,本次安装在192.168.11.41:1521的RETL数据库
  •         安装成功后可以在http://192.168.11.82:8888/BPELConsole看到BPEL控制台界面