<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    jinfeng_wang

    G-G-S,D-D-U!

    BlogJava 首頁 新隨筆 聯(lián)系 聚合 管理
      400 Posts :: 0 Stories :: 296 Comments :: 0 Trackbacks
    refer : http://m.tkk7.com/jinfeng_wang/archive/2009/05/26/277988.html

    1) edit the ubbconfig file:
         

    *RESOURCES
    IPCKEY          
    69345

    #Example:
    #IPCKEY         
    123456

    DOMAINID        simpapp
    MASTER          simple
    MAXACCESSERS    100

    MAXSERVERS      20
    MAXSERVICES     40
    MODEL           SHM
    LDBAL           N

    *MACHINES
    DEFAULT:
                    APPDIR
    ="/home/test/atmi"
                    TUXCONFIG
    ="/home/test/atmi/tuxconfig"
                    TUXDIR
    ="/home/oracle/tuxedo10gR3"
    #Example:
    #               APPDIR
    ="/home/me/simpapp"
    #               TUXCONFIG
    ="/home/me/simpapp/tuxconfig"
    #               TUXDIR
    ="/usr/tuxedo"

    rhelserver      LMID
    =simple

    MAXWSCLIENTS
    =50

    *GROUPS
    GROUP1  LMID
    =simple     GRPNO=1 OPENINFO=NONE
    WSGRP   LMID
    =simple     GRPNO=2
    JSLGRP  LMID
    =simple     GRPNO=100
    JREPGRP LMID
    =simple     GRPNO=101




    *SERVERS
    DEFAULT:
                    CLOPT
    ="-A"

    simpserv        SRVGRP
    =GROUP1 SRVID=1
    WSL             SRVGRP
    =WSGRP SRVID=10 RESTART=Y MAXGEN=10 GRACE=3600 CLOPT="-A -- -n//192.168.247.129:7110   -m 5 -M 10 -x 5"
    JSL             SRVGRP=JSLGRP  SRVID=100 CLOPT="-A -- -n //192.168.247.129:9110 -m 3 -M 10 -x5"
    JREPSVR         SRVGRP=JREPGRP SRVID=101 CLOPT="-A  --   -W -P /home/oracle/tuxedo10gR3/udataobj/jolt/repository/jrepository"





    *SERVICES
    TOUPPER

       now ,you must compile the ubbconfig file , and boot youre tuxedo server. 
        $ tmloadcf   ubbsimple
        $ tmboot

    2)edit the  jolt respository file:
         a) edit and save simpapp.rep: (YOUR MUST REMVE ALL THE BLANKS IN THE HEAD AND TAIL OF THE LINE.)
             
    service=TOUPPER
    inbuf
    =STRING
    outbuf
    =STRING
    export
    =true
    param
    =STRING
    type
    =string
    access
    =inout

       b) config the JAVA's CLASSPATH and run jbld command and import the simpapp.rep to jolt respository
          $ export  CLASSPATH=.:/home/oracle/jrockit_160_05/lib/dt.jar:/home/oracle/jrockit_160_05/lib/tools.jar:/home/oracle/tuxedo10gR3/
    udataobj/jolt/jolt.jar:/home/oracle/tuxedo10gR3/udataobj/jolt/joltadmin.jar 
          $ java bea.jolt.admin.jbld -p SIMPSERV //192.168.247.129:9110  simpapp.rep


    3)   write your java code in your client. certarnly, you must config your classpath.
        
     1import bea.jolt.JoltRemoteService;
     2import bea.jolt.JoltSession;
     3import bea.jolt.JoltSessionAttributes;
     4
     5public class Test {
     6    public static void main(String[] args) {
     7
     8        JoltSession session;
     9        JoltSessionAttributes sattr;
    10        JoltRemoteService toupper;
    11
    12        sattr = new JoltSessionAttributes();
    13        sattr.setString(JoltSessionAttributes.APPADDRESS, "//192.168.247.129:9110");
    14        sattr.setInt(JoltSessionAttributes.IDLETIMEOUT, 300);
    15        session = new JoltSession(sattr, null, null, null, null); 
    16
    17        toupper = new JoltRemoteService("TOUPPER", session);
    18        toupper.setString("STRING", "hello,wolrd!");
    19        toupper.call(null);
    20        System.out.println(toupper.getStringDef("STRING", null));
    21        session.endSession();
    22    }
    23
    24}

      
    posted on 2009-05-26 16:03 jinfeng_wang 閱讀(995) 評論(0)  編輯  收藏 所屬分類: Linuxtuxedo
    主站蜘蛛池模板: 亚洲国产精品无码中文lv| 中文字幕一区二区免费| 亚洲精品成人区在线观看| 国产性生大片免费观看性 | 在线观看国产情趣免费视频| 日本黄页网址在线看免费不卡 | 精品免费AV一区二区三区| 亚洲伊人色欲综合网| 一本岛高清v不卡免费一三区| 色屁屁在线观看视频免费| 亚洲美女激情视频| 亚洲成AV人网址| 四虎成年永久免费网站| 羞羞视频免费网站日本| 亚洲国产韩国一区二区| 亚洲欧洲日本在线| 国产精品视频免费一区二区| 中文字幕免费在线看线人动作大片| 亚洲入口无毒网址你懂的| 亚洲综合伊人久久综合| 日韩精品视频免费网址| 久久国产免费一区| 永久免费无码网站在线观看个| 亚洲AV无码乱码麻豆精品国产| 亚洲综合国产一区二区三区| 女人毛片a级大学毛片免费| 无码国产精品一区二区免费3p| 四虎精品免费永久免费视频| 亚洲一区二区三区国产精品无码| 亚洲日韩精品无码专区网址| 国产男女猛烈无遮挡免费视频 | 亚洲av无码成人黄网站在线观看| 在线观看免费国产视频| 日本在线高清免费爱做网站| 久操视频免费观看| 久久久久久久久久久免费精品| 亚洲AV无码成人网站在线观看| 67194在线午夜亚洲| 亚洲视频在线观看网址| 亚洲AV日韩AV永久无码下载| a级亚洲片精品久久久久久久|