Tuxedo service returing VIEWS

Hello All,
I have written a tuxedo service which returns a VIEW via the tpreturn call.
I want to call this service from wls via wtc.
I could not find any info on how to receive VIEW structures from tuxedo
via wtc.
thanks for your help.
regards,
Abhishek.

Abhishek,
VIEWs were added to WTC in WLS 7.0.
Please check the following for more info:
http://e-docs.bea.com/wls/docs70/wtc_atmi/Views.html
Bob Finan
Abhishek Srivastava wrote:
Hello All,
I have written a tuxedo service which returns a VIEW via the tpreturn
call.
I want to call this service from wls via wtc.
I could not find any info on how to receive VIEW structures from
tuxedo via wtc.
thanks for your help.
regards,
Abhishek.

Similar Messages

  • Passing data from jsp/servlet to a Tuxedo Service thru VIEW

    Hi..
    We are using Tuxedo10g R3 on AIX 5.3..
    We have a Tuxedo Service running which takes values from the VIEW and converts that to upper case.. From the jsp page v r passing values to the VIEW fields which will be accepted by the service..
    For testing v checked the service with a tuxedo client and it is working fine..
    We have defined a jolt repository file for this service and finished bulkloading and coded the servlet also.. After passing the datas from the jsp, the Tuxedo service is called and it is ended.. but in the service only blank values are passed or the datas are not passed to VIEW fields.. It is not showing any error..
    The repository file for this service:
    service=NSIMPSRV
    export=true
    inbuf=VIEW
    inview=sample
    outbuf=STRING
    param=FIRSTSTR
    type=string
    access=in
    param=SECONDSTR
    type=string
    access=in
    param=THIRDSTR
    type=string
    access=in
    param=S-FIRST
    type=string
    access=out
    param=S-SECOND
    type=string
    access=out
    param=S-THIRD
    type=string
    access=out
    and the servlet code for this service:
    Result result1;
    ServletSessionPool servletsession = (ServletSessionPool) joltsession.getSessionPool("demojoltpool");
    ServletDataSet joltdataset = new ServletDataSet();
    joltdataset.setValue("FIRSTSTR","Testing");
    joltdataset.setValue("SECONDSTR","Tuxedo");
    joltdataset.setValue("THIRDSTR","Views");
    result1 = servletsession.call("NSIMPSRV", joltdataset, null);
    System.out.println("FIRSTSTR:"+result1.getValue("S-FIRST",""));
    System.out.println("SECONDSTR:"+result1.getValue("S-SECOND",""));
    System.out.println("THIRDSTR:"+result1.getValue("S-THIRD",""));
    we are not sure why the datas have not been passed.. do anyone have any idea regarding this??
    Thanks..

    Hi Wayne,
    This is my view definition:
    VIEW sample
    # type cname fbna count flag size null
    string firststr - 1 - 10 -
    string secondstr - 1 - 10 -
    string thirdstr - 1 - 10 -
    ENDJolt repository file:
    service=NSIMPSRV
    export=true
    inbuf=VIEW
    inview=sample
    outbuf=VIEW
    outview=sample
    param=FIRSTSTR
    type=string
    access=inout
    param=SECONDSTR
    type=string
    access=inout
    param=THIRDSTR
    type=string
    access=inoutThe Servlet code is:
    package Servlet;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import bea.jolt.pool.servlet.weblogic.PoolManagerStartUp;
    import bea.jolt.pool.servlet.*;
    import bea.jolt.pool.ApplicationException;
    import bea.jolt.pool.SessionPoolException;
    import bea.jolt.pool.ServiceException;
    import bea.jolt.pool.SessionPoolManager;
    import bea.jolt.pool.*;
    * Servlet implementation class ZC00582Servlet
    public class VIEWServlet extends HttpServlet {
         private ServletSessionPoolManager joltsession = (ServletSessionPoolManager) SessionPoolManager.poolmgr;
    public VIEWServlet() {
    super();
    // TODO Auto-generated constructor stub
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
         response.setContentType("text/html");
         ServletResult result;
         Result result1;     
         String String1 = request.getParameter("FIRSTSTR");
         String String2 = request.getParameter("SECONDSTR");
         String String3 = request.getParameter("THIRDSTR");
         System.out.println("THE VALUES BEFORE CONVERSION");
         System.out.println("FIRSTSTR:"+String1);
         System.out.println("SECONDSTR:"+String2);
         System.out.println("THIRDSTR:"+String3);
         System.out.println("1..");     
         //ServletResult message;
         ServletSessionPool servletsession = (ServletSessionPool) joltsession.getSessionPool("demojoltpool");
         System.out.println("2..");
         ServletDataSet joltdataset = new ServletDataSet();
         //joltdataset.importRequest(request);
         System.out.println("3..");
         //joltdataset.setValue("firststr","Hi");
         joltdataset.setValue("firststr",String1);
         System.out.println("4..");
         //joltdataset.setValue("secondstr","hello");
         joltdataset.setValue("secondstr",String2);
         System.out.println("5..");
         //joltdataset.setValue("thridstr","fine");
         joltdataset.setValue("thirdstr",String3);
         System.out.println("6..");
         //result = (ServletResult) servletsession.call("NSIMPSRV", joltdataset, null);
         result1 = servletsession.call("NSIMPSRV", joltdataset, null);
         result = (ServletResult) result1;
         System.out.println("THE VALUES AFTER CONVERSION");
         System.out.println("FIRSTSTR:"+result.getStringValue("firststr",""));
         System.out.println("SECONDSTR:"+result.getStringValue("secondstr",""));
         System.out.println("THIRDSTR:"+result.getStringValue("thirdstr",""));     
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
    and my server program :
    IDENTIFICATION DIVISION.
    PROGRAM-ID. NSIMPSRV.
    AUTHOR. TUXEDO DEVELOPMENT.
    ENVIRONMENT DIVISION.
    CONFIGURATION SECTION.
    DATA DIVISION.
    WORKING-STORAGE SECTION.
    * Tuxedo definitions
    01 TPSVCRET-REC.
    COPY TPSVCRET.
    01 TPTYPE-REC.
    COPY TPTYPE.
    01 TPSTATUS-REC.
    COPY TPSTATUS.
    01 TPSVCDEF-REC.
    COPY TPSVCDEF.
    * Log message definitions
    01 LOGMSG.
    05 FILLER PIC X(10) VALUE
    "NSIMPSRV :".
    05 LOGMSG-TEXT PIC X(50).
    01 LOGMSG-LEN PIC S9(9) COMP-5.
    * User defined data records
    01 STRING-DATA.
    COPY SAMPLE.
    LINKAGE SECTION.
    PROCEDURE DIVISION.
    START-FUNDUPSR.
    MOVE LENGTH OF LOGMSG TO LOGMSG-LEN.
    MOVE "Started" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    * Get the data that was sent by the client
    MOVE LENGTH OF STRING-DATA TO LEN.
    CALL "TPSVCSTART" USING TPSVCDEF-REC
    TPTYPE-REC
    STRING-DATA
    TPSTATUS-REC.
    IF NOT TPOK
    MOVE "TPSVCSTART Failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EXIT-PROGRAM
    END-IF.
    IF TPTRUNCATE
    MOVE "Data was truncated" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EXIT-PROGRAM
    END-IF.
    MOVE FIRSTSTR TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    MOVE SECONDSTR TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    MOVE THIRDSTR TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    INSPECT FIRSTSTR CONVERTING
    "abcdefghijklmnopqrstuvwxyz" TO
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ".
    INSPECT SECONDSTR CONVERTING
    "abcdefghijklmnopqrstuvwxyz" TO
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ".
    INSPECT THIRDSTR CONVERTING
    "abcdefghijklmnopqrstuvwxyz" TO
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ".
    MOVE "Success" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    MOVE STRING-DATA TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    SET TPSUCCESS TO TRUE.
    COPY TPRETURN REPLACING
    DATA-REC BY STRING-DATA.
    * Write out a log err messages
    DO-USERLOG.
    CALL "USERLOG" USING LOGMSG
    LOGMSG-LEN
    TPSTATUS-REC.
    * EXIT PROGRAM
    EXIT-PROGRAM.
    MOVE "Failed" TO LOGMSG-TEXT.
    PERFORM DO-USERLOG.
    SET TPFAIL TO TRUE.
    COPY TPRETURN REPLACING
    DATA-REC BY STRING-DATA.
    Thanks & Regards,
    Janani.

  • Tuxedo service start

    Hi
    I have a Tuxedo COBOL service and I have a problem: the TPSVCSTART routine it seams that not working very well.
    When I start the service for the first time and I send some record to the TPSVCSTART service routine, everything goes fine. After the COBOL service is terminated (COPY TPRETURN...) and I try to connect to the service again, the VIEW record passed to the TPSVCSTART routine contains the data that I sent but contains also random chars in his string fields, although the record's string value fields and their lengths are correctly set on the client side.
    Anyone knows why this is happening?
    Code for the TPSVCSTART routine:
    DO-TPSVCSTART.
    INITIALIZE ClientData
    MOVE "VIEW" TO REC-TYPE OF TPTYPE-REC.
    MOVE "ClientData" TO SUB-TYPE OF TPTYPE-REC.
    MOVE LENGTH OF CLIENT-DATA-REC TO LEN IN TPTYPE-REC.
    CALL "TPSVCSTART" USING TPSVCDEF-REC
    TPTYPE-REC
    CLIENT-DATA-REC
    TPSTATUS-REC.
    IF TPTRUNCATE
    MOVE "Input data exceeded DATA-REC length"
    TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EZ-EXIT.
    IF NOT TPOK
    MOVE "TPSVCSTART Failed" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EZ-EXIT.
    IF REC-TYPE NOT = "VIEW"
    MOVE "REC-TYPE is not VIEW" TO LOGMSG-TEXT
    PERFORM DO-USERLOG
    PERFORM EZ-EXIT.
    Thanx
    Daniel

    Run the server manually using the command line from "tmboot -n -d1" and
    see if it is dumping core or failing in some other manner.
    Or if you already have a core file, get a stack trace with a debugger.
    Paul van Rixel wrote:
    Hi,
    With version Tuxedo 6.4 I have a fmldef.fml with 472 entries. The number of views
    is 121. So when I tried to add a service the tuxedo services will not start and
    returns with an "CMDTUX_CAT:819 INFO: Process Id=.... assumed started (pipe)".
    However, when I delete this service (or another one) the tmboot process does not
    return an error and works fine.
    So I wondered if there might be (default) value which I exceed. Anyone an idea?
    Regards,
    Paul

  • Calling Tuxedo Service using BEA Jolt.

    I'm trying to call Tuxedo service from java stored procedure using BEA JOLT.My normal java client works fine but when i use the same client as java stored procedure i get following error message :
    can not connect to any //lucy:9021(host:port)
    Reason:Nwhdlr:can not open socket
    I've successfully loaded all required JOLT jar files using loadjava and created the procedure successfully .Java code is given below :
    import bea.jolt.*;
    import java.sql.*;
    public class JoltToTux
         public static void callTuxService() throws Exception
              JoltSession session;
              JoltSessionAttributes sattr;
              JoltRemoteService toupper;
              JoltTransaction trans;
              String userName=null;
              String userPassword=null;
              String appPassword=null;
              String userRole=null;
              String outstr;
              try {
              sattr = new JoltSessionAttributes();
              sattr.setString(sattr.APPADDRESS, "//lucy:9021");
              sattr.setInt(sattr.IDLETIMEOUT, 300);
              session = new JoltSession(sattr, userName, userRole,userPassword, appPassword);
                        toupper = new JoltRemoteService ("CB_EXESUB", session);
              toupper.setString("CLFY_SUB", "PingSrvr");
              toupper.call(null);
              System.out.println( "Call to Tuxedo complete" );
              outstr = toupper.getStringDef("WF_MESSAGE","" );
              System.out.println("return string : " + outstr);
                        session.endSession();
              System.exit(0);
              } //end of try
              catch (Exception e) {
                   // System.err.println(e.getMessage());}
                   e.printStackTrace();
         } // end main
         public static void main( String args[] ) {
              try {
                   JoltToTux jt = new JoltToTux();
                   jt.callTuxService();
              catch ( Exception e0 ) {
                   e0.printStackTrace();
    } // end ToUpper
    thanks
    anurag

    Ams,
    You can't do that with JOLT. You will need to use the WTC product,
    currently in beta - see WTC Questions and Answers
    Regards,
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, and
    BEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness of
    the
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    Ams wrote:
    Hi Manoj,
    I want to call a tuxedo service and also want to update
    database (using entity beabs) in same transaction so I
    can't use AUTOTRAN , Am I right ?
    I am using bea.jolt.pool.SessionPool's startTransaction
    method to start a transaction and passing this
    to SessionPool's call method.
    Ams.
    "Manoj SASIDHARAN" <[email protected]> wrote:
    Hello Ams,
    Could u plz give more information abt the usage scenario. Another way
    to test
    would be to put AUTOTRAN=Y for the service in question.
    HTH
    regards
    MS
    "Ams" <[email protected]> wrote:
    Hi,
    I am calling Tuxedo service from ejb using jolt.
    I want the service call in transaction started in ejb.
    I am getting following error.
    LIBTUX_CAT:481: ERROR: Service xa_start returned -7
    Does jolt support transaction ?
    Ams
    [att1.html]

  • Tpcall() within a tuxedo service fails

    when i invoke tpcall() within another Tuxedo service, the call fails with code
    TPESVCFAIL. If I call this service from a standalone client, it works fine.
    I'm reallocating a new FML Buffer to pass to the call, so I'm not sure if this
    is somehow causing the service dispatcher (in main()) to not find the service
    I'm trying to call.... here is the relevant code:
    if ((trans_deposit = (FBFR*)tpalloc(FMLTYPE, NULL, 0)) == (FBFR*)NULL)
    (void)printf("Failed to allocate deposit buffer>>>>\n");
    tpreturn(TPFAIL, 0, transb->data, 0L, 0);
    } else
    printf(" allocated deposit buffer\n");
    (void)Fadd(trans_deposit, ACCOUNT_ID, &account_id, (FLDLEN)0);
    (void)Fadd(trans_deposit, TRANS_AMT, &trans_amt, (FLDLEN)0);
    (void)Fadd(trans_deposit, TRANS_DATE, open_date, (FLDLEN)0);
    if ((retc = tpcall("DEPOSIT", (char*)trans_deposit, 0L, (char**)&trans_deposit,
    &reply_len, 0)) == -1)
    printf(" error number is: %d\n", tperrno);
    printf(" error message using tperr: %s\n", tpstrerror(tperrno));
    printf("*********************\n");
    Any help is greatly appreciated.

    I checked, and it is set to Y. What is the support email, and I will send them
    an overview of what is happening....
    thanks
    John
    Peter Holditch <[email protected]> wrote:
    >
    >
    This seems a little wierd... I suggest you raise it with support.
    The only thing I can think of is that your server making the tpcall has
    REPLYQ=N set for it in the ubbconfig *SERVERS section.  It needs to be
    Y
    if a call is to work.
    I woudn't expect the symptoms you describe if that was the problem, however.
    Regards,
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, and
    BEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness
    of
    the
    information provided
    and assumes no duty to correct, expand upon, delete or update any of
    the
    information contained in this posting.
    john wrote:
    I found that if I call tpforward() instead, then it works. I noticedsomething
    in the documentation about specifying TPNOREPLY, is this the problemwith the
    way I was trying to do it?
    Thanks
    John
    "john" <[email protected]> wrote:
    Actually, the error code is TPENOENT, sorry.....
    "john" <[email protected]> wrote:
    when i invoke tpcall() within another Tuxedo service, the call fails
    with code
    TPESVCFAIL. If I call this service from a standalone client, it works
    fine.
    I'm reallocating a new FML Buffer to pass to the call, so I'm not
    sure
    if this
    is somehow causing the service dispatcher (in main()) to not findthe
    service
    I'm trying to call.... here is the relevant code:
    if ((trans_deposit = (FBFR*)tpalloc(FMLTYPE, NULL, 0)) == (FBFR*)NULL)
    (void)printf("Failed to allocate deposit buffer>>>>\n");
    tpreturn(TPFAIL, 0, transb->data, 0L, 0);
    } else
    printf(" allocated deposit buffer\n");
    (void)Fadd(trans_deposit, ACCOUNT_ID, &account_id, (FLDLEN)0);
    (void)Fadd(trans_deposit, TRANS_AMT, &trans_amt, (FLDLEN)0);
    (void)Fadd(trans_deposit, TRANS_DATE, open_date, (FLDLEN)0);
    if ((retc = tpcall("DEPOSIT", (char*)trans_deposit, 0L, (char**)&trans_deposit,
    &reply_len, 0)) == -1)
    printf(" error number is: %d\n", tperrno);
    printf(" error message using tperr: %s\n", tpstrerror(tperrno));
    printf("*********************\n");
    Any help is greatly appreciated.
    <html>
    <head>
    </head>
    <body>
    This seems a little wierd...  I suggest you raise it with support.<br>
    <br>
    <br>
    The only thing I can think of is that your server making the tpcall has
    REPLYQ=N
    set for it in the ubbconfig *SERVERS section.  It needs to be Y
    if a call
    is to work.<br>
    <br>
    I woudn't expect the symptoms you describe if that was the problem, however.<br>
    <br>
    Regards,<br>
    Peter.<br>
    <br>
    <p>__________________________________________________________ <br>
    Got a Question?  Ask BEA at http://askbea.bea.com
    </p>
    The views expressed in this posting are solely those of the author, and
    BEA
    <br>
    Systems, Inc. does not endorse any of these views. <br>
    BEA Systems, Inc. is not responsible for the accuracy or completeness
    of
    the <br>
    information provided <br>
    and assumes no duty to correct, expand upon, delete or update any of
    the <br>
    information contained in this posting. <br>
    ___________________________________________________________ <br>
    <br>
    john wrote:<br>
    <blockquote type="cite" cite="mid:[email protected]">
    <pre wrap="">I found that if I call tpforward() instead, then it works.
    I noticed something<br>in the documentation about specifying TPNOREPLY,
    is this the problem with the<br>way I was trying to do it?<br>Thanks<br>John<br><br>"john"
    <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
    wrote:<br></pre>
    <blockquote type="cite">
    <pre wrap="">Actually, the error code is TPENOENT, sorry.....<br><br>"john"
    <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]"><[email protected]></a>
    wrote:<br></pre>
    <blockquote type="cite">
    <pre wrap="">when i invoke tpcall() within another Tuxedo service,
    the call fails<br>with code<br>TPESVCFAIL. If I call this service from
    a standalone client, it works<br>fine. <br>I'm reallocating a new FML
    Buffer to pass to the call, so I'm not sure<br>if this<br>is somehow
    causing the service dispatcher (in main()) to not find the<br>service<br>I'm
    trying to call.... here is the relevant code:<br><br> if ((trans_deposit
    = (FBFR*)tpalloc(FMLTYPE, NULL, 0)) == (FBFR*)NULL)<br> {<br> (void)printf("Failed
    to allocate deposit buffer>>>>\n");<br> tpreturn(TPFAIL,
    0, transb->data, 0L, 0);<br> } else<br> {<br> printf(" allocated
    deposit buffer\n");<br> }<br> (void)Fadd(trans_deposit, ACCOUNT_ID,
    &account_id, (FLDLEN)0);<br> (void)Fadd(trans_deposit, TRANS_AMT,
    &trans_amt, (FLDLEN)0);<br> (void)Fadd(trans_deposit, TRANS_DATE,
    open_date, (FLDLEN)0);<br> <br> if ((retc = tpcall("DEPOSIT", (char*)trans_deposit,
    0L, (char**)&trans_deposit,<br>&a
    mp;reply_len, 0)) == -1)<br> {<br> printf(" error number is: %d\n",
    tperrno);<br> printf(" error message using tperr: %s\n", tpstrerror(tperrno));<br>
    printf("*********************\n");<br><br>Any help is greatly appreciated.<br></pre>
    </blockquote>
    </blockquote>
    <pre wrap=""><!----><br></pre>
    </blockquote>
    <br>
    </body>
    </html>

  • Unable to insert sql server reporting services report viewer webpart

    Hello,
    We are trying to add a SQL Server Reporting Services Report Viewer and when we click add we get the following error message
    The file you imported is not valid. Verify that the file is a Web Part description file (*.webpart or *.dwp) and that it contains well-formed XML.
    Does anyone know what the fix to this is?

    Hi,
    The Report Viewer Web Part is a custom Web Part that is installed by the Reporting Services Add-in for SharePoint Products and associated with report definition (.rdl) files that are processed by a Microsoft SQL Server Reporting Services report
    server.
    To install the Web Part, you must run Setup for the Reporting Services Add-in. You should not install or uninstall the Web Part independently. It is part of the add-in and can only be installed through the add-in setup package. The Report Viewer Web Part
    file name is ReportViewer.dwp. It is located in the Program Files\Common Files\Microsoft Shared\web server extensions\15\template\features\reportserver folder and should not be moved to other folders.
    To use the Web Part, you must have installed and configured the Reporting Services Add-in and configured the report server for SharePoint integration.
    For more information,you can have a look at the blog:
    http://msdn.microsoft.com/en-us/library/jj219068.aspx
    http://msdn.microsoft.com/en-us/library/aa905871.aspx
    http://msdn.microsoft.com/en-us/library/bb522800.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Unified Communications Operations Manager 8.0: How can I get rid of exlamation marks in Service Level View?

    Hi all,
    In Operations Manager I open the Service Level View and there are 3 exclamation marks visible for some devices. I acknowledged all alerts & events and they are already cleared now, but I'd like to know if I can get rid of the exclamation marks in Service Level View too. Is this possible?
    Kind regards,
    Richard
    Message was edited by: Richard Bovens

    Nancy,
    You are God!
    It worked!
    Thanks.
    I have a dumb basic question which is sort of related to your shambles comment, which I don't deny is true.
    I am confused about whether style.css files get affiliated with each separate HTML page or whether there is just one style.css file that is affiliated with all my HTML pages. If they are separate CSS files, how do I separate each style.css file?
    Best, P.

  • Help needed in Service Ticket view version CRM 2007

    Hi,
    We have a requirement to replace the Service Level Agreements with Location details screen (custom defined) in the Service Ticket View. I did this in 5.0 version,but couldn’t replicate it in the CRM 2007
    version.
    Here is how I proceeded in the new version.
    Instead of creating a new view, I approached the Adding required
    context node approach and populated the fields that we need.
    1. I enhanced the component ICCMP_BTCTR
    2. I added Context node BTActivityH ( I did not link it to any CutomController in the wizard, but defined dependency to Higher LevelContext node BTAdminH, with BOL relation, BTHeaderActivityExt, and
    activated the check box “Always Create Instance” and let the the wizard to finish off.
    3. Then using the UI Config tool, I copied the standard configuration to my custom config for changes, I removed all the 3 fields that are there in the standard configuration, and replaced with the attributes
    of BTActivityH using UI Config tool in the component work bench. All fields are Input ready fields (not set for Display only).
    4. When I open the Service Ticket view to access these fields, in the UI of Service Ticket, I realized that they are display only fields.
    5. Then I created the attributes, ( to access GET_I_S_*) methods of the attributes, and I externally set rv_disabled = ‘FALSE’ in the metod (say GET_I_S_CITY)
    6. Now I am able to input values for those fields, but still I am not able to save those entries that I entered in there.
    I guess I am missing some thing in the wizard, like linking custom
    controller or dependency relations.
    Is it mandatory for me to bound the context node to component
    controller Node (BTActivityH). If so how can I bound it.
    Please advice me.
    Thanks and regards,
    Sreekanth

    Hello Sreekanth,
    I think that the fields are read-only and not saved because your context node is not bound to a custom controller. (Even though your higher level node, BTAminH, is probably bound to a CuCo)
    The code to perform the CuCo binding is mostly coded in the CREATE_BTACTIVITYH (controller class->typed_context->create_btactivityh or check create_context_nodes to see how the method is called)
    like this:
      owner->do_context_node_binding( iv_controller_type = cl_bsp_wd_controller=>co_type_custom
                                      iv_name            =  <name of the CuCo>"#EC NOTEXT
                                      iv_target_node_name = '<the context node of the CuCo to bind to>'
                                      iv_node_2_bind = <your context node> ).
    Now, save yourself a headache and a lot of debugging time and just create a new context node through the wizard again, this is much easier than trying to 'fix' it yourself! Once you have created your new context node you can delete the old one by deleting the attribute in the typed_context class.
    Hope this helps!
    Reward points if useful!
    Kind regards,
    Joost

  • SharePoint - Web Part - SQL Server Reporting Services Report Viewer Error.

    Hi,
    I was just having a bit of a fiddle with the differen't web-parts available to add on our local SharePoint site, and as one of my tasks is to have a report automatically open when the page is opened i thought i would try to add the web-part 'SQL Server Reporting
    Services Report Viewer' just to see the outcome.
    Now, I don't much care about viewing the report at this time, but imediately after trying to add the web part i am being displayed with an error and no matter how much i navigate away from the page or close the browser the particular link to the page i was
    trying to insert the web-part into now displays an error.
    The error simply says 'An unexpsected error has occured' with various 'Correlation ID:' each time.
    Now i have a link to other parts or subsites of that SharePoint site and they work just fine, it's just when i try to click on the page where i wanted to put the web-part in it
    still comes up with an error. This page just so happens to be the home page so it really does need to be fixed.
    Please help!?
    Many Thanks,
    Plain_Clueless

    Hi again,
    Sorry for the bother, We have now fixed the issue for the time being.. all that was needed was a simple '?contents=1' at the end of the url which takes you to a menu where you can delete the
    necessary web-part that was causing the trouble.
    As for actually implementing the report onto SharePoint.. in future i will make Dev pages instead.. and it seems i may need to contact the admin side of building so they configure 'SQL Reporting 
    Services Report Viewer' properly.
    Thanks a lot though!
    - A little less Plain_Clueless
    Plain_Clueless

  • I have a problem when running my own EJB as a TUXEDO service using WTC.

    Hello,
    I have a problem when running my own EJB as a TUXEDO service using WTC. I am using TUXEDO 8.1 and WL 9.1.
    When I am trying to run my own EJB as a TUXEDO service error appears.
    TPENOENT(6):0:0:TPED_MINVAL(0):QMNONE(0):0:Could not find service TOUPPER
    at weblogic.wtc.gwt.WTCService.getImport(WTCService.java:4988)
    at weblogic.wtc.gwt.TuxedoConnection.getImport(TuxedoConnection.java:303)
    at weblogic.wtc.gwt.TuxedoConnection.tpcall(TuxedoConnection.java:1302)
    at examples.MyTestSessionBean.Toupper(MyTestSessionBean.java:102)
    at examples.TestSessionBean_knby6k_EOImpl.Toupper(TestSessionBean_knby6k_EOImpl.java:61)
    at net.roseindia.web.servlets.SessionTestServlet.doGet(SessionTestServlet.java:69)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    e8
    10
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NullPointerException
    at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:95)
    at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:713)
    at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:681)
    at weblogic.ejb.container.internal.BaseEJBObject.postInvoke1(BaseEJBObject.java:447)
    at weblogic.ejb.container.internal.StatelessEJBObject.postInvoke1(StatelessEJBObject.java:72)
    at weblogic.ejb.container.internal.BaseEJBObject.postInvokeTxRetry(BaseEJBObject.java:374)
    at examples.TestSessionBean_knby6k_EOImpl.Toupper(TestSessionBean_knby6k_EOImpl.java:75)
    at net.roseindia.web.servlets.SessionTestServlet.doGet(SessionTestServlet.java:69)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: java.lang.NullPointerException
    at examples.MyTestSessionBean.Toupper(MyTestSessionBean.java:130)
    at examples.TestSessionBean_knby6k_EOImpl.Toupper(TestSessionBean_knby6k_EOImpl.java:61)
    ... 15 more
    Any clue on this.
    With Regards,
    MVS

    If you are trying to create a Tuxedo service in Java using WTC you need to develop an EJB that implements the TuxedoService interface and register its home in JNDI so WTC can look it up. Once that is done you can then export the service to a remote domain in the WTC configuration.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • [help]a problem about dbx/attach a tuxedo service

    I attempted to trace a Tuxedo service process via dbx/attach command:
    attach nnnnwhen I attached dbx to the service PID, the service process is stopped somewhere outside my service program:
    (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
    current thread: t@1
    =>[1] __systemcall(0xffbfeda8, 0x31, 0x2, 0x10540c, 0x2cc0e8, 0x641dc), at 0xfe120080
      [2] _libc_msgrcv(0x10540c, 0x2cc0e8, 0x641dc, 0xc0000000, 0x0, 0x2ec), at 0xfe117928
      [3] msgrcv(0x10540c, 0x2cc0e8, 0x641dc, 0xc0000000, 0x0, 0x0), at 0xfe45dc40
      [4] _tmmbrecvm(0x0, 0xbdb0c, 0x2, 0xa, 0x0, 0x7), at 0xfe59b658
      [5] _tmmsgrcv(0xfffffffc, 0xfe5fdaa8, 0x0, 0xffff, 0xbf800, 0xb76c8), at 0xfe4bc1d0
      [6] _tmrcvrq(0xae608, 0xffbff38c, 0x22, 0x10000000, 0x1000, 0xc0000000), at 0xfe4f9738
      [7] _tmrunserver(0x0, 0x1400, 0x0, 0xfe5fdaa8, 0x0, 0xb76c8), at 0xfe4fe418
      [8] _tmstartserver(0x15, 0x1c00, 0x8b160, 0xae608, 0x0, 0x8af88), at 0xfe4d7530
      [9] main(0x15, 0xffbff4bc, 0xffbff514, 0x8b000, 0x0, 0x0), at 0x238f8However, I can not resume the service process either. when I use cont command, the dbx seems to stop there with no input prompt.
    Has anyone debug a tuxedo serive in SunOS using dbx?How can I resume the server process If I want to print the local variables?Thank you in advance!
    Edited by: angeloyu on Sep 16, 2008 8:02 PM

    angeloyu wrote:
    I attempted to trace a Tuxedo service process via dbx/attach command:
    attach nnnnwhen I attached dbx to the service PID, the service process is stopped somewhere outside my service program:
    (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
    current thread: t@1
    [9] main(0x15, 0xffbff4bc, 0xffbff514, 0x8b000, 0x0, 0x0), at 0x238f8
    Judging by WS6U2 above, I assume you are using dbx 6.2, which is very, very old. Unless you need it to work on similarly old Solaris, please consider upgrading to Sun Studio 11 (supports Solaris 8) or Sun Studio 12 (supports Solaris 9+). Both are free and contain many improvements.
    angeloyu wrote:
    However, I can not resume the service process either. when I use cont command, the dbx seems to stop there with no input prompt.That's kind of expected behavior from the debugger - it resumes debuggee and sits there until debuggee generates some event (like hitting breakpoint or receiving a signal). Once dbx gets notified of this event, it presents details to the user and provides input prompt.
    Did you put any breakpoints in (with stop command)? You'll also need to make sure breakpoint is reached by that service you are debugging.
    Anyways, if all you need is to trace the service, it might be easier to use truss(1) command like this:
    $ truss -p `pgrep Tuxedo`

  • Debugging  of Tuxedo Service in C/C++

    Hi All,
    I am trying to debug tuxedo service (C code on HP-UNIX 11.00) in the following ways :
    shprod25 48: gdb csbfp001 -> csbfp001 is the application service exe
    (gdb) b GetRecircRow -> GetRecircRow is the function name
    (gdb) r
    Starting program: /appl/bstar/bin/csbfp001
    Error while reading dynamic library list.
    (gdb)
    Looks like it is not able to read DLL and it exists. Can anyone please tell me how can i debug the code line by line ?

    It's even more complex than this, because Tuxedo Services has to attach IPCS and register in the BBL/DBBL in order to communicate with the world. The problem you are facing is because you are trying to boot the server without all the variables that tuxedo programs (like tmboot) uses when starting all the stuff.
    So, I will recommend you two different aproaches:
    1) Start tuxedo server as usual (with tmboot a/o tmadmin) and attach gdb to the pid when it has started, debugging from then on. It is the easiest and safest way.
    2) If you need to debug from the start (which is a little more complex), load the environment that starts initially the domain (BBL/DBBL), start tuxedo server as usual, take note with a "ps" of all the parameters tuxedo uses when starting this server, shutdown it and start debugging with gdb using this parameters to run the server.
    Hope this helps.
    Ramon

  • Is it possible to Remove the inbuf and outbuf tags from a SALT exposed Tuxedo Service?

    Hi All,
    Currently I have the need to expose my tuxedo Service in a pre-created WSDL file (with all the fields names and namespaces already defined). Searching the web and the examples presented in the Tuxedo and Salt Package, I was able to configure most of the fields but  still can't remove the wrapper inbuf tag.
    Is there any parameter or configuration I can use to eliminate this tag so I can expose the SALT generated WSDL the way I want? Or is it a requirement for every tuxedo service to have his input exposed that way by using SALT?
    If you need anything else in order to provide an answer for this, please let me know. I'm also open to any sugestions.
    Thanks in advance,
    Brunno Attorre

    Hi,
    You would need to set the environment variable GWWS_WSDL_NO_BUF_WRAPPER="Y" (and restart the GWWS server).
    This should prevent the <inbuf> and <outbuf> tags from being added but it may depend upon the SALT release and rolling patch
    level you are using(i.e. if it is included or not) 
    Regards,
    Bob Finan

  • Can a Tuxedo service send a message to itself?

    Hello,
    is it possible for a Tuxedo service to send a request to itself?
    The scenario is this:
    - The same Tuxedo service is provided by multiple processes (for scalability). The processes are single-threaded.
    - While handling a request in a transaction (XA transaction is started outside the process), the service code determines that some cached data needs to be refreshed. This refresh needs to be done outside the current transaction.
    - The service send an non-transactional async request to itself (the same process). [How?]
    - The transactional request completes.
    - The non-transactional request is handled and refreshes the cache.
    - The next transactional request is handled (by the same process), and uses the refreshed cache data.
    Is this possible? The challenge seems to be that the same process gets the non-transactional request. With multiple instances of the service, any instance could normally get the request (eg. when using tpacall()).
    Thanks...
    Roger

    Hi Roger,
    A couple of comments:
    1) There isn't any standard way of forcing a request to go to a specific server when the service is offered by multiple servers. The traditional way of handling the need to make a request to a specific server is to explicitly advertise the service with a synonym name that is unique to the server. So to call the BAL service in a particular server with a PID of 1433, the server would advertise the BAL server as BAL_1433 or something similar, and then any requests that had to be made to that particular server would be made to BAL_1433 instead of BAL. Unfortunately this is rather cumbersome and doesn't scale particularly well. One feature we are adding to Tuxedo in an upcoming release is client server affinity. With this feature an application could specify that all requests are routed to the first server that handles a service. Thus subsequent requests that are made to services while in a "session" with the server would always be routed to that server. While this client/server affinity might be a solution in the future, it's not really designed for the scenario you mention, i.e., performing an asynchronous out of band request to the same server.
    2) In your scenario under the point where you ask "how?", you could use the above approach, although the call would have to be a tpacall with TPNOTRAN set (which you already indicated) but would also have to set TPNOREPLY as it appears you are planning on performing a tpreturn before processing the asynch request.
    3) Obviously another solution would be to make the server multi-threaded and handling the refresh of the cache in a separate thread and not use a tpcall/tpacall to initiate the cache refresh.
    4) Although not likely to be an option, the Tuxedo CORBA infrastructure will support what you are trying to do. By activating an object in a process with a process activation policy, you could make a request to that object reference and be guaranteed the request would return to that same server.
    5) Finally one other possible solution, although probably inelegant and may not scale as well would be to use data dependent routing and only have a single server offering the service in each group.
    As an aside, we are planning on adding a distributed data caching mechanism to Tuxedo in a future release. Yeah, I know that doesn't help right now, but it is certainly something to look forward to! :-)
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • TPESYSTEM error when calling tuxedo service

    Hello,
    I have a problem when running my own EJB as a TUXEDO service using WTC.
    Im using TUXEDO 8.1 and WL 8.1.
    My TUXEDO and WTC configuration seems OK, because TOLOWER example is running OK.
    When im trying to run my own EJB as a TUXEDO service on TUXEDO side TPESYSTEM
    error appears.
    JDNI name and configuration of the EJB is correct, because when I put wrong JNDI
    then on TUXEDO side TPENOENTRY error appears. Additionally - my EJB's bussines
    logic is pretty the same as TOLOWER example.
    I think that is EJB issue because in server logs there is an information that
    domains are connected but ejbCreate method isn't called. My EJB was developed
    using JBuilder 9 WebLOgic Edition and WL Workshop 8.1.
    Thanks,
         Patrick

    Hi Hemant,
    I'm not sure, but my guess is it was a setup problem. Perhaps not implementing the right interface in the EJB, not having the correct home specified, etc.
    Usually the best way to find these errors the first time is to turn on some debugging information in WLS. More information can be found at: http://edocs.bea.com/wls/docs91/wtc_admin/Install.html
    For this sort of problem, it probably makes sense to enable -Dweblogic.debug.DebugWTCGwtEx=true and/or -Dweblogic.debug.DebugWTCJatmiEx=true
    The above examples are for WLS 9.1 and later. For earlier releases of WLS, check edocs for the settings of weblogic.wtc.TraceLevel
    Best Regards,
    Todd Little
    BEA Tuxedo Chief Architect

Maybe you are looking for

  • Can you "lock" iTunes Media Folder location?

    One of the things I hate about iTunes is that I keep my music collection on an external hard drive with mirrored RAID array. Songs I buy are automatically transferred onto that drive. But sometimes, the hard drive will go offline, for whatever reason

  • User exit in the transport proccess by stms

    Hello everyone, I need to do some "abaps" in the event of transporting objects from one enviroment to an other (dev to qa to prod). I know i can make an enhancment in the standard transaction STMS cause i'm in ecc6 version. But, as a programmer, i'm

  • Auto upgrade during restore

    My iPhone is stuck at the apple logo screen. I need to restore. If I do, will itunes also automatically upgrade my iphone to the latest FW? (I still use some old apps which might not work anymore). Message was edited by: Applz

  • After typing url & hitting enter firefox will not take me to that web page

    after typing url into address bar & hitting enter, nothing happens. firefox will not take me to the web address i typed. this started yesterday

  • Web Clips Bug

    We are using profile manager to manage ipads, we created a web clip app which is opening safari. Why the web clip app opens 2 safari windows at the same page????????? D.