HVMPI: Call to GetEnv() for JVMPI_VERSION_1 returns -3

I am running JDK 1.2.2-17 on a Sun ES 450. I would like to use JProfiler but within the JVM_OnLoad method, I get a return value of -3 when calling with JVMPI_VERSION_1. Obviously -3 means illegal version!
Any ideas?

Sorry, typo in the subject - should run JVMPI: ...

Similar Messages

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Test call of TP ended with return  0212

    while releasing a transport request, getting the following error message-
    test call of TP ended with return  0212
    your transport request cannot be exported , since all the requirements are not fulfilled
    calling transport control (tp) program "TP EXE CHK DEVK908291  pf=usr/sap/trans/bin/tp_domain_PRD.pfl -Dtransdir=usr/sap/tr"
    which checks the export requirement , returned the following information
    returned code from tp :0212
    further processing is terminated
    Please help if anyone has any clue
    Regards
    Al Mamun

    Hi Eric,
    Thanks for your reply,
    I have checked the configuration, looks ok. The path is ok, I missed the / before usr while typing this message.
    one thing I checked that there is no cofile or datafile corresponding to that transport. Same thing is happening while releasing  other transports.
    Is it mount problem?
    Al Mamun

  • How to call a dialog program with return value in another dialog program

    Dear All,
    How can I call a dialog program with return value from another dialog program?
    Regards,
    Alok.

    Hi Alok,
    You can you SET/GET parameters to do this.
    This is some information about this.
    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETERstatements.
    To fill one, use:
    SET PARAMETER ID pid FIELD f.
    This statement saves the contents of field f under the ID pid in the SAP memory. The ID pid can be up to 20 characters long. If there was already a value stored under pid, this statement overwrites it. If you double-click pid in the ABAP Editor, parameters that do not exist can be created as a Repository object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID pid FIELD f.
    This statement places the value stored under the pid ID into the variable f. If the system does not find any value for pid in the SAP memory, sy-subrc is set to 4. Otherwise, it sets the value to 0.
    Thanks,
    SriRatna

  • Finalize() method being called multiple times for same object?

    I got a dilly of a pickle here.
    Looks like according to the Tomcat output log file that the finalize method of class User is being called MANY more times than is being constructed.
    Here is the User class:
    package com.db.multi;
    import java.io.*;
    import com.db.ui.*;
    import java.util.*;
    * @author DBriscoe
    public class User implements Serializable {
        private String userName = null;
        private int score = 0;
        private SocketImage img = null;
        private boolean gflag = false;
        private Calendar timeStamp = Calendar.getInstance();
        private static int counter = 0;
        /** Creates a new instance of User */
        public User() { counter++;     
        public User(String userName) {
            this.userName = userName;
            counter++;
        public void setGflag(boolean gflag) {
            this.gflag = gflag;
        public boolean getGflag() {
            return gflag;
        public void setScore(int score) {
            this.score = score;
        public int getScore() {
            return score;
        public void setUserName(String userName) {
            this.userName = userName;
        public String getUserName() {
            return userName;
        public void setImage(SocketImage img) {
            this.img = img;
        public SocketImage getImage() {
            return img;
        public void setTimeStamp(Calendar c) {
            this.timeStamp = c;
        public Calendar getTimeStamp() {
            return this.timeStamp;
        public boolean equals(Object obj) {
            try {
                if (obj instanceof User) {
                    User comp = (User)obj;
                    return comp.getUserName().equals(userName);
                } else {
                    return false;
            } catch (NullPointerException npe) {
                return false;
        public void finalize() {
            if (userName != null && !userName.startsWith("OUTOFDATE"))
                System.out.println("User " + userName + " destroyed. " + counter);
        }As you can see...
    Every time a User object is created, a static counter variable is incremented and then when an object is destroyed it appends the current value of that static member to the Tomcat log file (via System.out.println being executed on server side).
    Below is the log file from an example run in my webapp.
    Dustin
    User Queue Empty, Adding User: com.db.multi.User@1a5af9f
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    User Dustin destroyed. 0
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    User Dustin destroyed. 1
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    User Dustin destroyed. 2
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    User Dustin destroyed. 3
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    User Dustin destroyed. 4
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    User Dustin destroyed. 5
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    User Dustin destroyed. 6
    Joe
    USER QUEUE: false
    INSIDE METHOD: false
    AFTER METHOD: false
    User Dustin pulled from Queue, Game created: Joe
    User Already Placed: Dustin with Joe
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    User Dustin destroyed. 7
    INSIDE METHOD: false
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    User Dustin destroyed. 9
    User Joe destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    User Dustin destroyed. 9
    INSIDE METHOD: true
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    INSIDE METHOD: true
    INSIDE METHOD: false
    USER QUEUE: true
    INSIDE METHOD: false
    INSIDE METHOD: false
    It really does seem to me like finalize is being called multiple times for the same object.
    That number should incremement for every instantiated User, and finalize can only be called once for each User object.
    I thought this was impossible?
    Any help is appreciated!

    Thanks...
    I am already thinking of ideas to limit the number of threads.
    Unfortunately there are two threads of execution in the servlet handler, one handles requests and the other parses the collection of User objects to check for out of date timestamps, and then eliminates them if they are out of date.
    The collection parsing thread is currently a javax.swing.Timer thread (Bad design I know...) so I believe that I can routinely check for timestamps in another way and fix that problem.
    Just found out too that Tomcat was throwing me a ConcurrentModificationException as well, which may help explain the slew of mysterious behavior from my servlet!
    The Timer thread has to go. I got to think of a better way to routinely weed out User objects from the collection.
    Or perhaps, maybe I can attempt to make it thread safe???
    Eg. make my User collection volatile?
    Any opinions on the best approach are well appreciated.

  • Call to flush() does not return

    I have an application that manages network connections to various other applications and sends and receives messages (lines of text) to and from each. Each message to be sent is written to the socket's output stream, followed by a call to flush()
    Occasionally, a call to flush() on one of the sockets will freeze, and fail to return. This behavior is random and fairly rare and thus I haven't been able to reproduce it. A stack trace of the affected thread follows:
    TradeThread 2" daemon prio=10 tid=0x0000000043618800 nid=0x4b5 runnable [0x00000000427f4000]
       java.lang.Thread.State: RUNNABLE
            at java.net.SocketOutputStream.socketWrite0(Native Method)
            at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
            at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
            at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
            at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
            at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
            at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
            - locked <0x00002aaab36a6558> (a java.io.OutputStreamWriter)
            at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
    {code}
    Perhaps the buffer on the consumer end of the socket is full, but that seems unlikely, as the app consuming the messages has no exceptions, and seems to be performing fine (i.e. is not consuming messages slower than they are being sent).
    Does anybody know of any other reason a call to flush would not return?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Will that call block forever?No, see below. However there's no write timeout if that's what you mean.
    It seems that being unable to flush a buffer because the consumer won't take any more data would warrant an exception being thrown.Why? What if the consumer stops reading for an hour? a day? a year? Where exactly are you going to draw the line? A write timeout would be nice but TCP doesn't have one.
    What if the app on the consumer side of the connection exits? Wouldn't that cause an IOException to be thrown?Yes, IOException: connection reset by peer, if the peer closes the connection via any means.

  • Calling Stored function and showing returned value on the UI screen

    I am calling a stored function by using the following steps mentioned as per the below link. The stored function returns a single scalar value
    http://download.oracle.com/docs/cd/E1790401/web.1111/b31974/bcadvgen.htm#sm0297_
    Please verify if I am putting the code in the classes as required by the ADF framework.
    * 1) In class CustomApplicationModuleImpl extends ApplicationModuleImpl*
    // Some constants
    public static int NUMBER = Types.NUMERIC;
    public static int DATE = Types.DATE;
    public static int VARCHAR2 = Types.VARCHAR;
    protected Object callStoredFunction(int sqlReturnType, String stmt,
    Object[] bindVars) {
    CallableStatement st = null;
    try {
    // 1. Create a JDBC CallabledStatement
    st = getDBTransaction().createCallableStatement(
    "begin ? := "+stmt+";end;",0);
    // 2. Register the first bind variable for the return value
    st.registerOutParameter(1, sqlReturnType);
    if (bindVars != null) {
    // 3. Loop over values for the bind variables passed in, if any
    for (int z = 0; z < bindVars.length; z++) {
    // 4. Set the value of user-supplied bind vars in the stmt
    st.setObject(z + 2, bindVars[z]);
    // 5. Set the value of user-supplied bind vars in the stmt
    st.executeUpdate();
    // 6. Return the value of the first bind variable
    return st.getObject(1);
    catch (SQLException e) {
    throw new JboException(e);
    finally {
    if (st != null) {
    try {
    // 7. Close the statement
    st.close();
    catch (SQLException e) {}
    With a helper method like this in place, calling the func_with_no_args procedure shown in Example 37-7 would look like this:
    *2) In class CustomServiceImpl extends CustomApplicationModuleImpl*
    public String callEnvironmentName(){
    return (String) callStoredFunction(VARCHAR2, "CAR_UTIL_PK.get_environment_name()", new Object[] {});
    3) If I have the first two steps correct, I was to display the value returned by method callEnvironmentName() with scalar values like (Development, Production etc) at the footer of each JSFX page. What is the flow I should follow, should I call callEnvironmentName() from some managed bean? Also I want to store it once on first call to some application variable and use that to populate the JSFX pages. Is there a working example. What is the best practice?
    Thanks
    Edited by: user5108636 on Apr 5, 2011 11:58 PM

    Hi John,
    Duplicate alerts are coming for BP_Confirmed as well as one custom event. Earlier I thought there is some issue with my custom event, but when it came for BP_Confirmed also, then i have a doubt something is wrong with the application.
    I have also checked that BP_Confirmed is being raised only once inside the method-BP_CONFIRM of class-cl_crmcmp_b_cucobupa_impl.
    raise event BPConfirmed
      CLASS cl_crm_ic_services DEFINITION LOAD.
      CREATE OBJECT event.
      event->set_name( if_crm_ic_events_con=>gc_bpconfirmed ).
      event_srv = cl_crm_ic_services=>get_event_srv_instance( ).
      event_srv->raise( event ).
    Are you aware of any other place from where this event is getting triggered?
    Thanks for your help!
    Regards,
    Rohit

  • Need a  code / How  to  call outstanding notification for a loggined user !!

    hi all ,
    Need a  code / How  to  call outstanding notification for a loggined user !!
    i need to create a service  such then when the user logins in he should see the outstanding service..

    Hello Prashanth,
    1) Goto QMEL table read OBJNR of the notification.
    2) Pass the notification number and the language to the function module "STATUS_TEXT_EDIT".
        in the return parameter read the parameter LINE, based on the first four characters you can find out       the status of the notification.
    OSNO - Outstanding notification
    NOPR - Notification in process
    NOCO - Notification completed
    Regards,
    TP

  • CS3 Mac I bought CS3 several years ago while in school, but had to drop out before I even opened the software. A few months ago I opened and installed the software and used Photoshop to complete a review project in preparation for my return to school. Thi

    I bought CS3 several years ago while in school, but had to drop out before I even opened the software. A few months ago I opened and installed the software and used Photoshop to complete a review project in preparation for my return to school. This morning when I tried to open Photoshop again I got a message saying the license didn't support the software anymore and I would need to check with my IT administrator or contact Adobe. I tried calling Adobe but the recorded message said CS was not phone supported. I know it took me a long time to get back to school, but it seems sad to waste the $1,000 I spent on the software. Is there a solution to this issue or do I need to buy new software? Thank you for your help if you have any suggestions.

    Error "Licensing has stopped working" | Mac OS
    Mylenium

  • Call a Stored Procedure that returns a REFCURSOR using ODI Procedure

    Hi,
    I have a scenario wherein the stored procedure (TEST_PROC1) that returns a REFCURSOR. The second procedure(TEST_PROC2) will use the REFCURSOR as inpuut and insert it to a table.
    Now, I need to execute the test procedures (TEST_PROC1 and TEST_PROC2) using the ODI Procedure but I always get error. However, I was able to execute the test procedures using sqlplus. Here is the command I used for sqlplus:
                   var rc refcursor
                   exec TEST_PROC1(:rc);
                   exec TEST_PROC2(:rc);
    PL/SQL Stored Procedure:
    -- TEST_PROC1 --
    create or replace
    PROCEDURE TEST_PROC1 (p_cursor IN OUT SYS_REFCURSOR)
    AS
    BEGIN
    OPEN p_cursor FOR
    SELECT *
    FROM test_table1;
    END;
    -- TEST_PROC2 --
    create or replace
    procedure TEST_PROC2( rc in out sys_refcursor ) is
    FETCH_LIMIT constant integer := 100;
    type TFetchBuffer is table of test_table2%RowType;
    buffer TFetchBuffer;
    begin
    loop
    fetch rc bulk collect into buffer limit FETCH_LIMIT;
    forall i in 1..buffer.Count
    insert into test_table2(
    c1, c2
    ) values(
    buffer(i).c1, buffer(i).c2
    exit when rc%NotFound;
    end loop;
    end;
    Is there a way to call a PL/SQL Stored Procedure that returns a REFCURSOR using ODI Procedure?
    Thanks,
    Cathy

    Thanks for the reply actdi.
    The procedure TEST_PROC1 is just a sample procedure. The requirement is that I need to call a stored procedure that returns a cursor using ODI and fetch the data and insert into a table, which in this case is test_table2.
    I was able to execute a simple SQL procedure (without cursor) using ODI procedure. But when i try to execute the SQL procedure with cursor in ODI, I encountered error.
    Do you have any idea how to do this?

  • What is the right Call Back url for twitter OAuth in BlackBerry eclipse plugin 9550 simulator

    Hi friendz
    Being optimistic to get the proper help regarding the "Call Back" Url for twitter, I'm here. Actually I'm implementing 
    "TwitterAPIME-RIM-OAuthSample" for twitter. Here I am feeling helpless when callback url has been asked.
    I read somewhere that call back url is not required for java me. But here after putting my credentials in web view, I can't return back to my app as I'm passing "" in callback url param(as I think).
    How to handle this thing... please suggest me??

    CallBack URL is the url where the twitter redirects after successful authentication. The callback url can be a webpage that builds in any web tech like php etc. for the application. Then the mobile app moves to that redirected page after successful authentication. We can set www.google.com as Callback Url. In that case we need to check the url in the onPageStarted method of the WebViewClient as to finish the webview otherwise it redirects it to www.google.com.
    if (uri != null && uri.toString().startsWith(TwitterConnector.CALLBAC​K_URL)) {
     finish();

  • Need urgent help - how to call a procedure from sql returning a rowset

    Hello,
    I need to send a SQL Query from a VB application to let it execute on the oracle DB. This query needs to call a procedure/function, which returns a resultsets, so that i can to a (Where x in ( <call procedure> )). Would result in Where x in (50,100,3094).
    Is this possible in oracle, and how?
    Thanks.
    Daniel Meyer

    Hi Daniel,
    I had a similiar problem yesterday.
    Thanks to the nice people in this forum I was able to figured that out.
    So here is a PL/SQL Oracle 9i code for your reference.
    You can create and test it using the SQL Plus console.
    I used this stored procedure in my VB .NET and worked fine!
    I am enclosing the VB code in this reply as well.
    One last note: in order to test it in the VS .NET, don't forget to download the Oracle ODP driver for .NET
    Good luck!
    Amintas
    create or replace package pkg_emp
    AS
    type rc_emp is ref cursor;
    end;
    create or replace
    procedure SP_GetEmpData(v_empno IN emp.empno%Type,
    v_ename IN emp.ename%Type,
    emp_cur OUT pkg_emp.rc_emp)
    is
    begin
    if v_empno is not null and v_ename is null then
    OPEN emp_cur for
    select empno,ename,sal
    from emp
    where empno=v_empno;
    elsif v_ename is not null and v_empno is null then
    OPEN emp_cur for
    select empno,ename,sal
    from emp
    where ename like v_ename ||'%';
    end if;
    end;
    /* Testing the stored procedure */
    /*#1 */
    var myresultset refcursor;
    execute SP_GetEmpData(7900,null,:myresultset);
    print myresultset;
    /*#2 */
    var myresultset refcursor;
    execute SP_GetEmpData(null,'A',:myresultset);
    print myresultset;
    -x-x-x-x-x-x-x-x-x VB .NET CODE x-x-x-x-x-x-x-xx-x-
    Private Sub btnSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnProcurar.Click
    Dim dr As Oracle.DataAccess.Client.OracleDataReader
    Try
    If txtEmpNo.Text <> "" Then
    dr = GetData(CInt(Val(txtEmpNo.Text)), "")
    Else
    dr = GetData(0, UCase(txtEname.Text))
    End If
    txtEmpNo.Text = ""
    txtEname.Text = ""
    Catch ex As Exception
    Response.Write(ex)
    End Try
    drgTest.DataSource = dr
    drgTest.DataBind()
    End Sub
    Private Function GetData(ByVal v_empno As Integer, ByVal v_ename As String) As Oracle.DataAccess.Client.OracleDataReader
    Dim cn As New Oracle.DataAccess.Client.OracleConnection(ConfigurationSettings.AppSettings("ConnectionString"))
    Dim cmd As New Oracle.DataAccess.Client.OracleCommand
    Dim dr As Oracle.DataAccess.Client.OracleDataReader
    cmd.Connection = cn
    cmd.CommandType = CommandType.StoredProcedure
    cmd.CommandText = "SP_GetEmpData"
    cmd.Parameters.Add("v_empno", Oracle.DataAccess.Client.OracleDbType.Int32).Value = IIf(v_empno = 0, System.DBNull.Value, v_empno)
    cmd.Parameters.Add("v_ename", Oracle.DataAccess.Client.OracleDbType.Varchar2, 40).Value = IIf(v_ename = "", System.DBNull.Value, v_ename)
    cmd.Parameters.Add("rc_emp", Oracle.DataAccess.Client.OracleDbType.RefCursor).Direction = ParameterDirection.Output
    Try
    cn.Open()
    dr = cmd.ExecuteReader(CommandBehavior.CloseConnection)
    Catch ex As Exception
    Throw ex
    Exit Function
    End Try
    Return dr
    End Function

  • How to call a procdure that will return me list of values(JSF,ADF BC)

    hi all,
    any one can help me how to call a procedure that will return me list of value with using adf and jsf

    I did this with a LoginModule that returned a list of user roles. Below is the Java call
    stmt = conn.prepareCall(authquery);
            stmt.registerOutParameter(1, OracleTypes.CURSOR);
            stmt.setString(2,username);
            stmt.setString(3,new String(password));
            // realm is null if not set
            stmt.setString(4,_application_realm);
            stmt.execute();
            rolesResultSet = (ResultSet)stmt.getObject(1); 
            stmt.close();authquery is the name of a procedure that returned a ref Cursor
    CREATE OR REPLACE PACKAGE "DBPROCLM" IS
      TYPE principal_ref IS REF CURSOR;
      function get_user_authentication(p_username in varchar2, p_password in varchar2, p_realm varchar2) return principal_ref;
    END;
    CREATE OR REPLACE PACKAGE BODY "DBPROCLM" IS
      FUNCTION get_user_authentication (p_username in varchar2, p_password in varchar2, p_realm varchar2)
      RETURN principal_ref
      AS
        var_username varchar2(100);
        var_userid number(10);
        var_password varchar2(100);
        role_cursor principal_ref;
        FAILED_AUTHENTICATION exception;
      BEGIN
        select userid, username, password into var_userid, var_username, var_password from sec_users where username = p_username;
        if (var_password = p_password) then
          begin
            if (p_realm is null) then
              open role_cursor for
                select rolename from user_roles_view where userid = var_userid;
            else
              open role_cursor for
                select rolename from user_roles_view where userid = var_userid and realm=p_realm;
            end if; -- p_realm check
          end;
          -- if password doesn't match, raise Excpetion for LM to
          -- abort the authentication process
        else raise FAILED_AUTHENTICATION;
        end if;
        RETURN role_cursor;
      END get_user_authentication;
    END;You only ned to expose the call to teh procedure in a method (e.g. on ADF BC Application Module) and create a method binding for it.
    Frank

  • A question about call manager traces for Sip phones.

    So today I create a sip based ip communicator and pressed the new call button and heard a dial tone.  I started typing my telephone number. Half way through, I heard  another secondary dial tone (which indicates mis-configured route pattern somewhere) . 
    However, When I look at the call manager logs, I do not actually see the digits that I was typing. With SCCP, I can see the keypad button press messages in the traces, but here, I cannot see the pressed buttons in my CUCM traces. Can anyone help with telling me how I can see button presses going to call manager .   All I can see are the logs  below which came up as soon as I got the dial tone and the final sip invite messages. I see nothing in-between. 
    |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.xx.4.xx on port 56714 index 31809 with 973 bytes:
    [6387070,NET]
    NOTIFY sip:[email protected] SIP/2.0
    Via: SIP/2.0/TCP 10.x.x.66:56714;branch=z9hG4bK00005b1e
    To: <sip:[email protected]>
    From: <sip:[email protected]>;tag=00ffb00bc50a00340000499f-00006ab4
    Call-ID: [email protected]
    Date: Sat, 14 Feb 2015 14:17:40 GMT
    CSeq: 19 NOTIFY
    Event: dialog
    Subscription-State: active
    Max-Forwards: 70
    Contact: <sip:[email protected]:56714;transport=TCP>
    Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE
    Content-Length: 350
    Content-Type: application/dialog-info+xml
    Content-Disposition: session;handling=required
    <?xml version="1.0" encoding="UTF-8" ?>
    <dialog-info xmlns:call="urn:x-cisco:parmams:xml:ns:dialog-info:dialog:callinfo-dialog" version="18" state="partial" entity="sip:[email protected]">
    <dialog id="12" call-id="[email protected]" local-tag="00ffb00bc50a003300006390-00002d4f"><state>trying</state></dialog>
    </dialog-info>
    SIPStationD(12991) - processCommonDialogNotifyInd:   Did 12 Sending Notified SIPOffHook to new Cdfc

    Here is a more detailed explanation of how SIP calls notify cucm when they go off hook to make a call. The digit dialled here is 4080
    +++++ Analysis of SIP Phone making a call +++++++++
    The user picks up the phone and the IP Phone sends a NOTIFY to CUCM to indicate the start of a new dialog. This dialog begings by an offhook event
    00869539.002 |14:58:13.837 |AppInfo  |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.50.16.1 on port 52910 index 2748 with 976 bytes:
    [46240,NET]
    NOTIFY sip:[email protected] SIP/2.0
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK00002531
    To: <sip:[email protected]>
    From: <sip:[email protected]>;tag=544e42f26d0b001e000056e7-0000311c
    Call-ID: [email protected]
    Date: Mon, 16 Feb 2015 12:58:13 GMT
    CSeq: 11 NOTIFY
    Event: dialog
    Subscription-State: active
    Max-Forwards: 70
    Contact: <sip:[email protected]:52910;transport=TCP>
    Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE
    Content-Length: 350
    Content-Type: application/dialog-info+xml
    Content-Disposition: session;handling=required
    <?xml version="1.0" encoding="UTF-8" ?>
    <dialog-info xmlns:call="urn:x-cisco:parmams:xml:ns:dialog-info:dialog:callinfo-dialog" version="10" state="partial" entity="sip:[email protected]">
    <dialog id="6" call-id="[email protected]" local-tag="544e42f26d0b001d00007cc9-000044a3"><state>trying</state></dialog>
    </dialog-info>
    ++++ CUCM SIP stack processes the new connection for the phone+++++++
    00869540.001 |14:58:13.837 |AppInfo  |//SIP/Stack/Info/0x0/ccsip_process_sipspi_queue_event: ccsip_spi_get_msg_type returned: 2 (SIP_NETWORK_MSG), for event 1 (SIPSPI_EV_NEW_MESSAGE)
    00869540.002 |14:58:13.837 |AppInfo  |//SIP/Stack/Transport/0x0/sipTransportProcessNWNewConnMsg: context=(nil)
    00869540.003 |14:58:13.837 |AppInfo  |//SIP/Stack/Transport/0x0/sipConnectionManagerProcessNewConnMsg: gConnTab=0xe81c0d70, addr=10.50.16.1, port=52910, connid=2748, transport=TCP
    ++++ Next CUCM allocates a call id for this call +++++
    00869546.002 |14:58:13.838 |AppInfo  |LineControl(66) - Get call instance=1 for CI=24419584
    +++Next CUCM sends a 200 OK to the NOTIFY request for the new dialog ++++
    00869555.007 |14:58:13.839 |AppInfo  |//SIP/Stack/Transport/0x0xe7df4d48/sipTransportPostSendMessage: Posting send for msg=0xefbe9910, addr=10.50.16.1, port=52910, connId=2748 for
    00869555.008 |14:58:13.839 |AppInfo  |//SIP/Stack/Info/0x0/act_dialog_pending_resp_event: Changing from State: SUBSCRIBE_STATE_DIALOG_PENDING to state SUBSCRIBE_STATE_ACTIVE
    00869556.000 |14:58:13.839 |SdlSig   |SIPSPISignal                           |wait                           |SIPTcp(1,100,71,1)               |SIPHandler(1,100,79,1)           |1,100,14,31314.75^10.50.16.1^SEP00909E9D106C |*TraceFlagOverrode
    00869556.001 |14:58:13.839 |AppInfo  |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.50.16.1 on port 52910 index 2748
    [46241,NET]
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK00002531
    From: <sip:[email protected]>;tag=544e42f26d0b001e000056e7-0000311c
    To: <sip:[email protected]>;tag=1822746380
    Date: Mon, 16 Feb 2015 12:58:13 GMT
    Call-ID: [email protected]
    CSeq: 11 NOTIFY
    Server: Cisco-CUCM10.5
    Content-Length: 0
    ++++ The IP Phone sends its connection ID to CUCM, its ip address and its port number+++++++++
    00869541.001 |14:58:13.838 |AppInfo  |SIPStationInit: connID=2748, SEP00909E9D106C, 10.50.16.1:52910, Routed signal by connection index to (1,100,73,66)
    ++++ Next CUCM informs us that the NOTIFY message is for an offhook event ++++++
    00869542.003 |14:58:13.838 |AppInfo  |SIPStationD(66) - processCommonDialogNotifyInd: Notified Dialogs - Did 6 State trying
    00869542.004 |14:58:13.838 |AppInfo  |SIPStationD(66) - processCommonDialogNotifyInd:   Did 6 Sending Notified SIPOffHook to new Cdfc
    00869542.010 |14:58:13.838 |AppInfo  |SIPStationD(66) - processSIPOffHook Primary Call Not-Found
    00869543.000 |14:58:13.838 |SdlSig   |SIPOffHookInd 
    +++ The next thing is the USER dials a digit on the phone ++++++
    This is where it gets a little complicated. So lets examine this. The first digit that is dialled generates an INVITE to CUCM like this:
    In this example the user dialled "4" first so we see an "INVITE sip:4@host-IP"
    00869559.002 |14:58:14.064 |AppInfo  |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.50.16.1 on port 52910 index 2748 with 1445 bytes:
    [46242,NET]
    INVITE sip:[email protected];user=phone SIP/2.0
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK000015ec
    From: "Emre ESEN" <sip:[email protected]>;tag=544e42f26d0b001d00007cc9-000044a3
    To: <sip:[email protected];user=phone>
    Call-ID: [email protected]
    Max-Forwards: 70
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    CSeq: 101 INVITE
    User-Agent: Cisco-SIPIPCommunicator/9.1.1
    Contact: <sip:[email protected]:52910;transport=tcp>
    Expires: 180
    Accept: application/sdp
    Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE,INFO
    Remote-Party-ID: "Emre ESEN" <sip:[email protected]>;party=calling;id-type=subscriber;privacy=off;screen=yes
    Supported: replaces,join,sdp-anat,norefersub,extended-refer,X-cisco-callinfo,X-cisco-serviceuri,X-cisco-escapecodes,X-cisco-service-control,X-cisco-srtp-fallback,X-cisco-monrec,X-cisco-config,X-cisco-sis-5.1.0,X-cisco-xsi-8.5.1
    Allow-Events: kpml,dialog
    Content-Length: 373
    Content-Type: application/sdp
    Content-Disposition: session;handling=optional
    v=0
    o=Cisco-SIPUA 21020 0 IN IP4 10.50.16.1
    s=SIP Call
    t=0 0
    m=audio 20250 RTP/AVP 0 8 18 9 116 124 101
    c=IN IP4 10.50.16.1
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:9 G722/8000
    a=rtpmap:116 iLBC/8000
    a=fmtp:116 mode=20
    a=rtpmap:124 ISAC/16000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=sendrecv
    +++++ NEXT CUCM sends a trying for the INVITE it received +++++++++++
    00869562.001 |14:58:14.065 |AppInfo  |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.50.16.1 on port 52910 index 2748
    [46243,NET]
    SIP/2.0 100 Trying
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK000015ec
    From: "Emre ESEN" <sip:[email protected]>;tag=544e42f26d0b001d00007cc9-000044a3
    To: <sip:[email protected];user=phone>
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow-Events: presence
    Content-Length: 0
    ++++NOW CUCM evaluates the DTMF supported by the phone to determine how to inform the phones to send the remaining dtmf digits++++
    From the INVITE cucm concludes that KPML and rtp-nte is supported
    00869566.009 |14:58:14.066 |AppInfo  |setEndpointsDtmfCaps: KPML Supported.
    00869566.010 |14:58:14.066 |AppInfo  |setEndpointsDtmfCaps: Detected inband DTMF support
    Next CUCM generates kpml event pkg which is going to be used to receive the remaining digits from the phone
    00869590.001 |14:58:14.067 |AppInfo  |SIPEventPkg::SIPEventPkg 0xe4a1d1e0 scbId[16725], event name[kpml; [email protected]; from-tag=544e42f26d0b001d00007cc9-000044a3], id[]
    +++ Next CUCM sends a SUBSCRIBE to the IP phone for kpml event +++++
    00869594.001 |14:58:14.068 |AppInfo  |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.50.16.1 on port 52910 index 2748
    [46244,NET]
    SUBSCRIBE sip:[email protected]:52910 SIP/2.0
    Via: SIP/2.0/TCP 10.28.132.111:5060;branch=z9hG4bKce719b37856
    From: <sip:[email protected]>;tag=480227084
    To: <sip:[email protected]>
    Call-ID: [email protected]
    CSeq: 101 SUBSCRIBE
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    User-Agent: Cisco-CUCM10.5
    Event: kpml; [email protected]; from-tag=544e42f26d0b001d00007cc9-000044a3
    Expires: 7200
    Contact: <sip:[email protected]:5060;transport=tcp>
    Accept: application/kpml-response+xml
    Max-Forwards: 70
    Content-Type: application/kpml-request+xml
    Content-Length: 424
    <?xml version="1.0" encoding="UTF-8" ?>
    <kpml-request xmlns="urn:ietf:params:xml:ns:kpml-request" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:kpml-request kpml-request.xsd" version="1.0">
      <pattern criticaldigittimer="1000" extradigittimer="500" interdigittimer="15000" persist="persist">
        <regex tag="Backspace OK">[x#*+]|bs</regex>
      </pattern>
      </kpml-request>
     +++ Next we get a 200 OK to the SUBSCRIBE from the ip phone ++++
     00869595.002 |14:58:14.118 |AppInfo  |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.50.16.1 on port 52910 index 2748 with 459 bytes:
    [46245,NET]
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 10.28.132.111:5060;branch=z9hG4bKce719b37856
    From: <sip:[email protected]>;tag=480227084
    To: <sip:[email protected]>;tag=544e42f26d0b001f0000092c-0000070a
    Call-ID: [email protected]
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    CSeq: 101 SUBSCRIBE
    Server: Cisco-SIPIPCommunicator/9.1.1
    Contact: <sip:[email protected]:52910;transport=TCP>
    Expires: 7200
    Content-Length: 0
    +++ NEXT the IP phones sends the remaining digit dialled on the phone to CUCM +++
    00869603.002 |14:58:14.183 |AppInfo  |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.50.16.1 on port 52910 index 2748 with 573 bytes:
    [46247,NET]
    NOTIFY sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK000045c8
    To: <sip:[email protected]>;tag=480227084
    From: <sip:[email protected]>;tag=544e42f26d0b001f0000092c-0000070a
    Call-ID: [email protected]
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    CSeq: 1000 NOTIFY
    Event: kpml
    Subscription-State: active; expires=7200
    Max-Forwards: 70
    Contact: <sip:[email protected]:52910;transport=TCP>
    Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE
    Content-Length: 0
    00869608.001 |14:58:14.183 |AppInfo  |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.50.16.1 on port 52910 index 2748
    [46248,NET]
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK000045c8
    From: <sip:[email protected]>;tag=544e42f26d0b001f0000092c-0000070a
    To: <sip:[email protected]>;tag=480227084
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    Call-ID: [email protected]
    CSeq: 1000 NOTIFY
    Server: Cisco-CUCM10.5
    Content-Length: 0
    +++Next the IP phone sends the next digit. Here its important to note that the NOTIFY doesnt contain the next digit,
    the NOTIFY is still the same as the first digit but the next digit is carried in the xml document attached to the NOTIFY.
    At this point I will insert a paragraph from the RFC 4730 for SIP KPML
    +++++++++++++
    The event package uses SUBSCRIBE
       messages and allows for XML documents that define and describe filter
       specifications for capturing key presses (DTMF Tones) entered at a
       presentation-free User Interface SIP User Agent (UA).  The event
       package uses NOTIFY messages and allows for XML documents to report
       the captured key presses (DTMF tones), consistent with the filter
       specifications, to an Application Server +++++++++++++++++++++++++++
    00869609.002 |14:58:14.209 |AppInfo  |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.50.16.1 on port 52910 index 2748 with 877 bytes:
    [46249,NET]
    NOTIFY sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK00003c9d
    To: <sip:[email protected]>;tag=480227084
    From: <sip:[email protected]>;tag=544e42f26d0b001f0000092c-0000070a
    Call-ID: [email protected]
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    CSeq: 1001 NOTIFY
    Event: kpml
    Subscription-State: active; expires=7200
    Max-Forwards: 70
    Contact: <sip:[email protected]:52910;transport=TCP>
    Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE
    Content-Length: 209
    Content-Type: application/kpml-response+xml
    Content-Disposition: session;handling=required
    <?xml version="1.0" encoding="UTF-8"?>
    <kpml-response xmlns="urn:ietf:params:xml:ns:kpml-response" version="1.0" code="200" text="OK" suppressed="false" forced_flush="false" digits="0" tag="Backspace OK"/>
    00869622.001 |14:58:14.210 |AppInfo  |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.50.16.1 on port 52910 index 2748
    [46250,NET]
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK00003c9d
    From: <sip:[email protected]>;tag=544e42f26d0b001f0000092c-0000070a
    To: <sip:[email protected]>;tag=480227084
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    Call-ID: [email protected]
    CSeq: 1001 NOTIFY
    Server: Cisco-CUCM10.5
    Content-Length: 0
    +++ Again we get the next digit ++++
    00869624.002 |14:58:14.262 |AppInfo  |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.50.16.1 on port 52910 index 2748 with 877 bytes:
    [46251,NET]
    NOTIFY sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK0000310f
    To: <sip:[email protected]>;tag=480227084
    From: <sip:[email protected]>;tag=544e42f26d0b001f0000092c-0000070a
    Call-ID: [email protected]
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    CSeq: 1002 NOTIFY
    Event: kpml
    Subscription-State: active; expires=7200
    Max-Forwards: 70
    Contact: <sip:[email protected]:52910;transport=TCP>
    Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE
    Content-Length: 209
    Content-Type: application/kpml-response+xml
    Content-Disposition: session;handling=required
    <?xml version="1.0" encoding="UTF-8"?>
    <kpml-response xmlns="urn:ietf:params:xml:ns:kpml-response" version="1.0" code="200" text="OK" suppressed="false" forced_flush="false" digits="8" tag="Backspace OK"/>
    00869637.001 |14:58:14.263 |AppInfo  |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.50.16.1 on port 52910 index 2748
    [46252,NET]
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK0000310f
    From: <sip:[email protected]>;tag=544e42f26d0b001f0000092c-0000070a
    To: <sip:[email protected]>;tag=480227084
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    Call-ID: [email protected]
    CSeq: 1002 NOTIFY
    Server: Cisco-CUCM10.5
    Content-Length: 0
    +++ Finally we get the last digit ++++
    00869638.002 |14:58:14.390 |AppInfo  |SIPTcp - wait_SdlReadRsp: Incoming SIP TCP message from 10.50.16.1 on port 52910 index 2748 with 877 bytes:
    [46253,NET]
    NOTIFY sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 10.50.16.1:52910;branch=z9hG4bK00006c1c
    To: <sip:[email protected]>;tag=480227084
    From: <sip:[email protected]>;tag=544e42f26d0b001f0000092c-0000070a
    Call-ID: [email protected]
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    CSeq: 1003 NOTIFY
    Event: kpml
    Subscription-State: active; expires=7200
    Max-Forwards: 70
    Contact: <sip:[email protected]:52910;transport=TCP>
    Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,OPTIONS,REFER,REGISTER,UPDATE,SUBSCRIBE
    Content-Length: 209
    Content-Type: application/kpml-response+xml
    Content-Disposition: session;handling=required
    <?xml version="1.0" encoding="UTF-8"?>
    <kpml-response xmlns="urn:ietf:params:xml:ns:kpml-response" version="1.0" code="200" text="OK" suppressed="false" forced_flush="false" digits="0" tag="Backspace OK"/>
    Once digit collection is completed CUCM proceeds to finalise its digit analysis process.
    Note that digit analysis is carried out for each digit that is recieved. I have only included the final DA here
    00869648.003 |14:58:14.391 |AppInfo  |Digit Analysis: star_DaReq: Matching SIP URL, Numeric User, user=4080
    00869648.004 |14:58:14.391 |AppInfo  |Digit Analysis: getDaRes data: daRes.ssType=[0] Intercept DAMR.sstype=[0], TPcount=[0], DAMR.NotifyCount=[0], DaRes.NotifyCount=[0]
    00869648.005 |14:58:14.391 |AppInfo  |Digit Analysis: getDaRes - Remote Destination [4080] isURI[0]
    00869648.012 |14:58:14.391 |AppInfo  |Digit analysis: match(pi="2", fqcn="9106", cn="9106",plv="5", pss="", TodFilteredPss="", dd="4080",dac="0")
    00869648.013 |14:58:14.391 |AppInfo  |Digit analysis: analysis results
    00869648.014 |14:58:14.391 |AppInfo  ||PretransformCallingPartyNumber=9106
    |CallingPartyNumber=9106
    |DialingPartition=
    |DialingPattern=4XXX
    |FullyQualifiedCalledPartyNumber=4080
    |DialingPatternRegularExpression=(4[0-9][0-9][0-9])
    |DialingWhere=
    +++++Once this is done CUCM then proceeds to send the call out to to the intended destination as configured in the RL ++++
    00869701.001 |14:58:14.435 |AppInfo  |SIPTcp - wait_SdlSPISignal: Outgoing SIP TCP message to 10.250.0.13 on port 5060 index 2754
    [46256,NET]
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 10.28.132.111:5060;branch=z9hG4bKce931ee3d74
    From: "Emre ESEN" <sip:[email protected]>;tag=16726~813ee89e-33db-4d58-9f6a-61542cc840ee-24419585
    To: <sip:[email protected]>
    Date: Mon, 16 Feb 2015 12:58:14 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces

  • Returned equipment but got charged for un-returned equipment...

    I returned fios equipment months ago and I was never credited for the return. I have tracking and serial numbers of the returned items. Please advise.

    I tried talking to customer service many times and they never get anywhere. The customer service forwards the call to the device return department, and that department says I have nothing else to return in their system but they also say they cannot update the bill to show that I returned the equipment because its not their department. Everytime I talk to support they keep sending me to different departments and I get nowhere. 

Maybe you are looking for