楼主: justforregister

Integrating FileNet P8 with the J2EE messaging infrastructure

[复制链接]
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
21#
 楼主| 发表于 2009-12-15 00:01 | 只看该作者
  • Select the Security tab and add the users as shown in                    Figure 16.
                             
Figure 16. Security
               

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
22#
 楼主| 发表于 2009-12-15 00:01 | 只看该作者
  • Click OK and remember to commit your changes.
             You have now finished configuring the component queue on FileNet P8.
            
Configuring the EJB transport
             If the user needs to use the JMS component queue, complete the following                steps to create a                component manager in the process task manager with EJB transport.
               
  • Modify the                        <APPCLIENT_INSTALL_DIR>/properties/sas.client.props file                        to identify the CE host CE boostrap port.
  • Set com.ibm.CORBA.loginSource to none as shown in Listing 1.                        

    Listing 1. Setting com.ibm.CORBA.loginSource to none
                
    com.ibm.CORBA.securityServerHost=servername
    com.ibm.CORBA.securityServerPort=2809
    com.ibm.CORBA.loginTimeout=300
    com.ibm.CORBA.loginSource=none
  • Find component manager under Application Engine Node.
  • Right-click and select New on the menu, as shown in                            Figure 17.

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
23#
 楼主| 发表于 2009-12-15 00:01 | 只看该作者
Figure 17. Process task                    manager
                               
               
  • Select the region and click OK.
  • In the General Tab of the new component manager, remove  *                        from the Queues field, replace it with the new JMSQueue, and click                            Apply, as shown in Figure 18.
  • Enter the content engine URL as iiop://servername:2809 and                        complete the other fields, as shown in Figure 18.

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
24#
 楼主| 发表于 2009-12-15 00:02 | 只看该作者
Figure 18. Component manager
                               
                 
  • Select the Required Libraries tab and add entries for the .jar                    files, as shown in Figure 19.

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
25#
 楼主| 发表于 2009-12-15 00:02 | 只看该作者
Figure 19. Required libraries
                                     
                     
  • Remove the wasp.jar from the list.
  • Add <APPCLIENT_INSTALL_DIR>\properties
  • Add all                        the .jar files in the <APPCLIENT_INSTALL_DIR>\lib directory and                        its sub directories.
  • Add all the .jar files in the                        <APPCLIENT_INSTALL_DIR>
  • Select the Advanced tab and enter the fields as shown                             in Listing 2.

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
26#
 楼主| 发表于 2009-12-15 00:02 | 只看该作者

  • Listing 2. Advanced tab entries
                
    Registry Port : 32771

    Event Port : 32773

    JNDI Initial Context Factory : com.ibm.websphere.naming.WsnInitialContextFactory

    JRE Parameters : [see Listing 3]
                                 
  • Set the JRE parameters to define the                        following system properties:                        

    Listing 3. JRE parameters
                
    filenet.naming.provider.url=iiop://<JMSServer>:<JMSServerBootstrap>
         (from serverindex.xml)
    com.ibm.CORBA.ConfigURL=<APPCLIENT_INSTALL_DIR>/properties/sas.client.props
    com.ibm.SSL.ConfigURL=<APPCLIENT_INSTALL_DIR>/properties/ssl.client.props
    java.ext.dirs=<APPCLIENT_INSTALL_DIR>/java/jre/lib/ext;
    <APPCLIENT_INSTALL_DIR>/lib;
    <APPCLIENT_INSTALL_DIR>/lib/WMQ/java/lib;<APPCLIENT_INSTALL_DIR>/properties;
         <APPCLIENT_INSTALL_DIR>/plugins
            Listing 4 shows an example of what your .jar files might look like.

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
27#
 楼主| 发表于 2009-12-15 00:02 | 只看该作者
Listing 4. Example .jar files
            
                             
-Dwasp.location=C:/Program Files/FileNet/AE/Router/../CE_API/wsi
-Djava.naming.provider.url=iiop://<jmserver>:<jmsserverbootstrap>
     (from serverindex.xml)
(such as iiop://<servername>:2809 )
-Dserver.root=C:\Program Files\IBM\WebSphere\AppServer
-Dcom.ibm.CORBA.loginSource=none
-Dcom.ibm.CORBA.ConfigURL=C:\Program
     Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties\sas.client.props
-Duser.install.root=C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01
-Xbootclasspath/p:C:\Program Files\IBM\WebSphere\AppServer\java\jre\lib\ibmorb.jar;
C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties
-Djava.ext.dirs=C:\Program Files\IBM\WebSphere\AppServer\java\jre\lib\ext;
C:\Program Files\IBM\WebSphere\AppServer\java\lib;
C:\Program Files\IBM\WebSphere\AppServer\classes;
C:\Program Files\IBM\WebSphere\AppServer\lib;
C:\Program Files\IBM\WebSphere\AppServer\installedChannels;
C:\Program Files\IBM\WebSphere\AppServer\lib\ext;
C:\Program Files\IBM\WebSphere\AppServer\web\help;
C:\Program
   Files\IBM\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime;
C:\Program Files\IBM\WebSphere\AppServer\plugins;
C:\Program Files\IBM\WebSphere\AppServer\lib\WMQ\java\lib

Preferred JRE path bin : C:\Program Files\IBM\WebSphere\AppServer\java\jre\bin

                                      Select the Java Security tab and add the entries in Listing                        5.                        

Listing 5. Java Security tab entries
            
java.security.auth.login.config : C:/Program
     Files/FileNet/AE/Router/taskman.login.config.websphere
java.security.policy : C:/Program Files/FileNet/AE/Router/taskman.policy
                        

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
28#
 楼主| 发表于 2009-12-15 00:03 | 只看该作者
  • The contents of C:/Program Files/FileNet/AE/Router/taskman.login.config.websphere                        are shown in Listing 6.                       

    Listing 6. C:/Program Files/FileNet/AE/Router/taskman.login.config.websphere
                
    CELogin
    {
      filenet.vw.server.VWLoginModule required routerurl="region1";
      com.filenet.wcm.toolkit.server.operations.util.CELoginModule
      required credTag=Clear;
    };
    FileNetP8
    {
         com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy
         required delegate=com.ibm.ws.security.common.auth.module.WSLoginModuleImpl;
    };
                           
You are now finished configuring the component manager with EJB transport.

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
29#
 楼主| 发表于 2009-12-15 00:03 | 只看该作者
Understanding JMS                message format and related code
             Now for the most interesting part of this article, it is time to get your hands dirty                with the code. After you write a message driven bean (MDB) and while                deploying on the WebSphere Application Server, you need to provide the JNDI name of the                activation specification that you created under Configuring                    JMS on WebSphere. You do this to activate the MDB once                the process engine tries to execute the component step. The component                integrator service manager posts the actual message, which is part of the                application engine (AE) talking to the component adapter, such as the JMS                adapter.
           The JMS adapter uses the JNDI for the queue connection                factory and for the queue, as shown in Figure 14. The               JMS posts messages to the queue. The process task manager, the component                integrator service manager, and the JMS adapter are part of the                application engine, as shown in Figure 20.
                                    
Figure 20. Sequence diagram for posting a message on queue
                    

使用道具 举报

回复
论坛徽章:
131
乌索普
日期:2017-09-26 13:06:30马上加薪
日期:2014-11-22 01:34:242014年世界杯参赛球队: 尼日利亚
日期:2014-06-17 15:23:23马上有对象
日期:2014-05-11 19:35:172014年新春福章
日期:2014-04-04 16:16:58马上有对象
日期:2014-03-08 16:50:54马上加薪
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14
30#
 楼主| 发表于 2009-12-15 00:03 | 只看该作者
In JMS, you can post a message to a queue using                ObjectMessage, MapMessage, TextMessage ,                    StreamMessage, or ByteMessage. At first glance,                 ObjectMessage and MapMessage look like the most likely candidates that the JMS                adapter would use to send messages. But a closer look suggests that the                ObjectMessage format can go out of reckoning because the developer needs                to implement a serializable class, which would complicate things for the                MDB developer.                Also notice that the definition of each operation is similar to an                individual method call.
                So you might think the better choice would be MapMessage, because you can make the parameter name into a key and you can make the value for the parameter                be the value for the key. But, TextMessageis actually the better choice, because you can use a self-descriptiveXML format, which defines everything about the contents of the message,as shown in Listing 7.
                    
Listing 7. XML format of text message
<StepElement LaunchedBy="Administrator"
LaunchedOn="20090324T153400Z"
ReceivedOn="20090324T153401Z"
Description=""  WOBName="*"  WOBNumber="582B46B0D1203D4F981F4F2A707963FF"
WorkflowName="CruiseBooking"
WorkflowNumber="582B46B0D1203D4F981F4F2A707963FF"       
WorkClassName="CruiseBooking"
Tag="*"        
RosterName="DefaultRoster"
QueueName="JMSQueue"
CurrentQueueName="JMSQueue"
Operati
CurrentMapName="Workflow"
Excepti
Excepti
IsTracker="false"
Overdue="NotOverdue"
CanReassign="false"
CanViewStatus="false"
CanViewHistory="false"
CanReturnToSource="false">
       
<Originator>
   <Value DistinguishedName="CN=Administrator,CN=Users,DC=ibm,DC=idmdev,DC=com"
                DisplayName="Administrator"
                GUID="S-1-5-21-3351868238-2367661336-251463525-500"
                DomainName="dc=ibm,dc=idmdev,dc=com"
                    IsGroup="false">administrator</Value>

</Originator>
<Responses/>
<Parameters>
   <Parameter Name="cruiseID" AuthoredName="cruiseID" Description="" Type="int"
      IsSystemParameter="false" Mode="in" IsArray="false">
                <Values>
                        <Value>51</Value>
                </Values>
   </Parameter>
   <Parameter Name="orderID" AuthoredName="orderID" Description=""
            Type="int"        IsSystemParameter="false" Mode="in" IsArray="false">
                <Values>
                        <Value>52</Value>
                </Values>
   </Parameter>
   <Parameter Name="passengerName" AuthoredName="passengerName" Description=""
     Type="string" IsSystemParameter="false" Mode="in" IsArray="false">
                <Values>
                <Value>hellodude</Value>
                </Values>
   </Parameter>
   <Parameter Name="passengerID" AuthoredName="passengerID"        Description=""
                Type="int" IsSystemParameter="false"        Mode="in" IsArray="false">
                <Values>
                        <Value>53</Value>
                </Values>
   </Parameter>
</Parameters>
       
</StepElement>

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表