Error in calling a package (What I'm I'm doing wrong)

Error starting at line 1 in command:
declare
RETCODE NUMBER;
ERRBUF VARCHAR2(200);
P_BUSINESS_GROUP_ID NUMBER;
BEGIN
P_BUSINESS_GROUP_ID := NULL;
execute xxghx_sucess_factors.load_sf_data(retcode,errbuf,p_business_group_id);
END;
Error report:
ORA-06550: line 9, column 9:
PLS-00103: Encountered the symbol "XXGHX_SUCESS_FACTORS" when expecting one of the following:
:= . ( @ % ; immediate
The symbol ":=" was substituted for "XXGHX_SUCESS_FACTORS" to continue.
06550. 00000 - "line %s, column %s:\n%s"
*Cause:    Usually a PL/SQL compilation error.
*Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Hi,
EXECUTE is a SQL*Plus command you can use to call a procedure <b>from SQL*Plus</b>.
If you're in PL/SQL, you don't need it, or anything like it. To run a procedure from PL/SQL, just give the procedure name, preceded by the owner and package name (if necessary) and followed by the argument list (if any), like this:
DECLARE
    retcode          NUMBER;
    errbuf          VARCHAR2(200);
    p_business_group_id NUMBER;
BEGIN
    p_business_group_id := NULL;
    xxghx_sucess_factors.load_sf_data (retcode,errbuf, p_business_group_id);     -- Changed
END;

Similar Messages

  • During a demo today could not use Messages for video chat or screen share - what dumb thing was I doing wrong?

    I was giving a demo / class today for some people in a volunteer group I work for. They all got new MacBook Airs or MacBook Pros, and I got a MacBook Pro because I am going to be going into explain how to use them.
    Most everythng went well, but one really cool thing I do all the time from home on my iMac I couldn't get to work. That part of the lesson was a disaster, though fortunately everything else went well.
    I'd like to figure out what dumb thing I was doing wrong so I can show them next week.
    I know we have to sign in with AOL accounts for screen sharing to work in Messages. So first I had everybody sign up for a free AOL account. That went fine.
    Then we all logged in using our accounts. That went fine for everybody except one person. We could all see each other online, with little video cameras next to our names in the Buddy List. One person never showed up anywhere for some reason.
    But we could not do either video chats or successfully request to share other peoples' screens, which I do all the time at home to help other people with their Macs.
    One person could not even see any requests from me pop up. One person could see my requests come in and accepted them, but nothing happened after that.
    Ordinary message chats were working ok.
    Things I already thought of:
    1. Perhaps the wi-fi in the bulding was blocking some ports? Just in case, I turned on mobile hotspot (tethering) on my iPhone 5 and had everybody connect to my network. But the results were the same, so it wasn't that.
    2. I wasn't sure it mattered, but in Settings > Sharing I made sure that everbody had screen sharing turned on. And just in case, even though I don't have this set from home, I further made sure everybody had "anyone may request to control the screen" checked.
    While I could do local network sharing of screens (via the Devices list in the Finder side panel), I couldn't for the life of me get it to work with Messages. But I've been doing this for years from home to help my sister and other people across town with their Mac by doing screen sharing this way and taking over their screen.
    It must be something dumb I'm overlooking. Anybody know what it is?
    Thanks,
    Doug

    Problem solved, finally, by AppleCare support!
    I gave up trying to reach the "English support line" guy located in Manila and decided to insist on plain old Japanese support here in Tokyo and explained the problem from scratch.
    First we tried all the usual suspects, but nothing we did could get it to work. Then we did an ARA (Apple Remote Access) support session. This was the first time I ever did this. Quite cool, and very useful.
    At first we still could not figure out what was wrong, but finally isolated the problem to the way my AOL account name was entered.
    When I added the AOL account to my Messages app, all I did was enter my username part. I didn't add the @aol.com part, because I never did that on my iMac. However, Messages kept on automatically adding "@aol.com" to the end of the AIM account name.
    The Apple tech person got me to try once again to get rid of the @aol.com part of the account name. We:
    1. Disabled the account.
    2. Manually deleted the @aol.com, leaving just my AIM name.
    3. Restarted my MacBook Pro (very quick, by the way, and also immediately brought back his ARA session).
    This time the @aol.com part remained gone, and I was able to test connecting to my iMac, which has a different AIM account set. It worked!
    I was able to do screen sharing via Messages! And also do video chat via Messages. Yay!
    So much thanks to Watabe-san at Apple support. The people I am teaching will be happy to see this working on Sunday, because it really is a very useful tool for assisting people remotely.
    doug

  • HT204370 I have tried on my desktop, my laptop, and my IPad - I keep getting a message that I am unable to download the movie? What if anything am I doing wrong?

    I have tried to download a movie "Escape Plan" on my desktop, my laptop, and my IPad - I keep getting a message that I am unable to download the movie? What if anything am I doing wrong?
    Message was edited by: edalexjr

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Click the Clear Display icon in the toolbar. Try the action that you're having trouble with again. Post any messages that appear in the Console window – the text, please, not a screenshot.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Error when calling a package function

    any insight why my object is erroring out when calling a function. the error is
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 1
    it errors out when the cs.execute() is . is it the placement ? thanks for the help....
    then pkg func is xxx.get_log
    Get_Log(rmode IN NUMBER , doc_type IN VARCHAR2 DEFAULT 'TEL', doc_id IN VARCHAR2 DEFAULT NULL,
    doc_num IN VARCHAR2 DEFAULT NULL -- , p_out out varchar2 --
    RETURN varchar2 IS....
    the co
    Serializable paramDocLocatorParamList [] = {paramRMODE, paramDOC_TYPE, paramDOC_ID, paramDOC_NUM, p_out };
    OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OADBTransaction dbtrans;
    OAViewObject docLocator = (OAViewObject)am.findViewObject("DocLocatorVO1");
    rtxt0.setValue(pageContext, "here it is" + am.invokeMethod("getHTMLString", paramDocLocatorParamList));
    docLocator.executeQuery();
    // am.invokeMethod("getHTMLString", paramDocLocatorParamList);
    the impl
    public String getHTMLString ( String paramRMODE, String paramDOC_TYPE, String paramDOC_ID, String paramDOC_NUM, String p_out )
    System.out.println("Entering The AM Impl");
    CallableStatement st = null;
    OADBTransaction txn = (OADBTransaction)getDBTransaction();
    Connection conn = txn.getJdbcConnection();
    String sql = " BEGIN :5 := test_proc.get_log(:1, :2, :3, :4 ); END; ";
    CallableStatement cs = txn.createCallableStatement(sql,1);
    String ErrorExist = "";
    String getHTML = "";
    try
    cs.setString(1, paramRMODE);
    cs.setString(2, paramDOC_TYPE);
    cs.setString(3, paramDOC_ID);
    cs.setString(4, paramDOC_NUM);
    cs.setString(5,p_out); // --param   
    /* cs.registerOutParameter(1,Types.CHAR);
    cs.registerOutParameter(2,Types.CHAR);
    cs.registerOutParameter(3,Types.CHAR);
    cs.registerOutParameter(4,Types.CHAR);*/
    cs.registerOutParameter(5,Types.CHAR);
    cs.execute();
    getHTML = cs.getString(5 ) ;
    /* System.out.println("getHTML is " + getHTML );
    cs.close();
    // if ( "E".equals(ErrorExist))
    /// throw new OAException ("Payment Request Is Already Cancelled" );
    catch (SQLException sqle)
    try { cs.close(); }
    catch (Exception e) {}
    throw OAException.wrapperException(sqle);
    String doctype = paramDOC_TYPE;
    String docnum = paramDOC_NUM;
    String html ;
    System.out.println( "paramDOC_TYPE in IMPL is " + doctype) ;
    System.out.println( "paramDOC_Numb in IMPL is " + docnum) ;
    return getHTML;

    resolved.....
    public String getHTMLString (String p_out , String rmode, String doc_type, String doc_id, String doc_num )
    System.out.println("");
    System.out.println("Entering The AM Impl");
    // System.out.println("Passing getDocAbbrForHTML in IMPL -------> " +getDocAbbrForHTML     );
    // System.out.println("Passing paramDOC_NUM in IMPL -------> " + paramDOC_NUM );
    System.out.println("Passing getDocAbbrForHTML in IMPL -------> " +doc_type     );
    System.out.println("Passing paramDOC_NUM in IMPL -------> " + doc_num );
    CallableStatement st = null;
    OADBTransaction txn = (OADBTransaction)getDBTransaction();
    Connection conn = txn.getJdbcConnection();
    String sql = " BEGIN :1 := test_proc.get_log(:2, :3, :43, :5 ); END; ";
    CallableStatement cs = txn.createCallableStatement(sql,1);
    String ErrorExist = "";
    String getHTML = "";
    try
    cs.setString(2, rmode);
    cs.setString(3, doc_type);
    cs.setString(4, doc_id);
    cs.setString(5, doc_num);
    cs.registerOutParameter(1,Types.VARCHAR);
    cs.execute();
    getHTML = cs.getString(1 ) ;

  • What the heck am I doing wrong???

    The error message I'm getting is the following: "week4_herbie must be defined in its own file" The problem that I'm running into is that the programs are supposed to work together. One (week4_herbie) handles the mortgage calculation itself (and set up the GUI) and send the information to the amoritizeFrame program, which is designed to display the amoritization table. The numericTextFrame is to make sure that the variable input is acceptable. Here is the coding:
    week4_herbie
    The Amortization Schedule was constructed with my own class called AmortFrame
    that extends JFrame and a JTextArea that was added to a JScrollPane.
    // Imports needed libraries
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    // Event handling:implements listener interface for receiving action events.
    public class week4_herbie implements ActionListener
         // GUI Components
         JFrame calculatorFrame;
         JPanel calculatorPanel;
         AmortizeFrame amortFrame;   //local class for amortization schedule
         //  user input fields
         //  Loan amount entered as user text input from keyboard
         //  Term (in years) selected from a combo box
         //  Rate (%) selected from a combo box
         numericTextField loan;
         JComboBox rate;
         JComboBox term;
         // set up arrays for the selectable term and rate
        int[] loanTerm = new int[3];
        String[] loanTermString = new String[3];
        double[] loanRate = new double[3];
        String[] loanRateString = new String[3];
        // static variables, belong to class on not an instance
         static String sWindowTitle = "Brian's Week 3 - Mortgage Calculator";
         static String scolHeader = "Payment#\tPayment\tInterest\tCumInterest\tPrincipal\tBalance\n";
         static String slineOut = "________\t_______\t________\t___________\t_________\t_______\n";
         static String sfinalInstructions1 = "\nYou can leave windows open and enter new value or close either window to exit\n";
         JLabel loanLabel,termLabel, rateLabel, pmtLabel;
         JButton calculate;
        public week4_herbie()
              // Before progressing, read in the data
              if(readData())
                   //Create and set up the window.
                   calculatorFrame = new JFrame(sWindowTitle);
                   calculatorFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   // Set size of user input frame;
                   calculatorFrame.setBounds(0,0,100,100);
                   //Create and set up the panel with 4 rows and 4 columns.
                   calculatorPanel = new JPanel(new GridLayout(4, 4));
                   //Add the widgets.
                   addWidgets();
                   //Set the default button.
                   calculatorFrame.getRootPane().setDefaultButton(calculate);
                   //Add the panel to the window.
                   calculatorFrame.getContentPane().add(calculatorPanel, BorderLayout.
                   CENTER);
                   //Display the window.
                   calculatorFrame.pack();
                   calculatorFrame.setVisible(true);
              }// good data read
        }// end constructor
        private boolean readData()
              boolean isValid = true;
            loanRateString[0] = "5.35%";
            loanRateString[1] = "5.5%";
            loanRateString[2] = "5.75%";
            loanTermString[0] = "7 Years";
            loanTermString[1] = "15 Years";
            loanTermString[2] = "30 Years";
            loanRate[0] = 5.35;
            loanRate[1] = 5.5;
            loanRate[2] = 5.75;
            loanTerm[0] = 7;
            loanTerm[1] = 15;
            loanTerm[2] = 30;
            return isValid;
         }// end readData
        // Creates and adds the widgets to the user input frame.
        private void addWidgets()
            // numericTextField is a JTextField with some error checking for
            // non  numeric values.
            loan = new numericTextField();
            rate = new JComboBox(loanRateString);
              term = new JComboBox(loanTermString);
            loanLabel = new JLabel("Loan Amount", SwingConstants.LEFT);
            termLabel = new JLabel(" Term ", SwingConstants.LEFT);
            rateLabel = new JLabel("  Interest Rate ", SwingConstants.LEFT);
            calculate = new JButton("Calculate");
            pmtLabel  = new JLabel("Monthly Payment", SwingConstants.LEFT);
            //Listen to events from the Calculate button.
            calculate.addActionListener(this);
            //Add the widgets to the container.
            calculatorPanel.add(loan);
            calculatorPanel.add(loanLabel);
            calculatorPanel.add(term);
            calculatorPanel.add(termLabel);
            calculatorPanel.add(rate);
            calculatorPanel.add(rateLabel);
            calculatorPanel.add(calculate);
            calculatorPanel.add(pmtLabel);
            //set label border size
            loanLabel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
            pmtLabel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
        } // end addWidgets
        // Event handling method invoked when an action occurs.
        // Processes each of the fields and includes error checking
        // to make sure each field has data in it and then calculates
        // actual payment.
        public void actionPerformed(ActionEvent event)
            double tamount = 0; //provides floating point for total amount of the loan
            int term1      = 0; //provides int for the term
            double rate1   = 0; //provides floating point for the percentage rate.
            // get string to test that user entered
                String testit = loan.getText();          // get user entered loan amount
                // if string is present
                if(testit.length() != 0)
                   tamount = (double)(Double.parseDouble(testit)); // convert to double
                   // first value valid - check second one, term value
                   // get the index of the item the user selected
                   // then get the actual value of the selection from the
                   // loanTerm array
                   int boxIndex = term.getSelectedIndex();
                   if(boxIndex != -1)
                        term1 = loanTerm[boxIndex];
                        // second value valid - check third one, interest rate
                        // get the index of the item the user selected
                       // then get the actual value of the selection from the
                       // loanRate array
                       boxIndex = rate.getSelectedIndex();
                       // if something is selected in rate combo box
                        if(boxIndex != -1)
                            rate1 = loanRate[boxIndex];
                             // all three values were good so calculate the payment
                        double payment = ((tamount * (rate1/1200)) /
                                              (1 - Math.pow(1 + rate1/1200, -term1*12)));
                        // format string using a mask
                        java.text.DecimalFormat dec = new java.text.DecimalFormat(",###.00");
                        String pmt = dec.format(payment);
                        // change foreground color of font for this label
                        pmtLabel.setForeground(Color.green); //
                        // set formatted payment
                             pmtLabel.setText(pmt);
                             // generate the amortization schedule
                             amortize(tamount, rate1*.01, term1*12, payment);
                        else  //third value was bad
                             Toolkit.getDefaultToolkit().beep(); // invokes audible beep
                             pmtLabel.setForeground(Color.red);  // sets font color
                             pmtLabel.setText("Missing Field or bad value");  // Error Message
                        }// end validate third value
                   else  // second value was bad
                        Toolkit.getDefaultToolkit().beep();
                        pmtLabel.setForeground(Color.red);
                        pmtLabel.setText("Missing Field or bad value");
                   }// end validate second value
              else  // first value was bad
                   Toolkit.getDefaultToolkit().beep();
                   pmtLabel.setForeground(Color.red);
                 pmtLabel.setText("Missing Field or bad value");
              }// end validate first value
        }// end actionPerformed
         // calculate the loan balance and interest paid for each payment over the
         // term of the loan and list it in a separate window - one line per payment.
         public void amortize(double principal, double APR, int term,
                              double monthlyPayment)
              double monthlyInterestRate = APR / 12;
              //double totalPayment = monthlyPayment * term;
              int payment = 1;
              double balance = principal;
              int num = 0;
              double monthlyInterest;
              double cumInterest = 0;
            // if the frame for the amortization schedule has not been created
            // yet, create it.
              if(amortFrame == null)
                 amortFrame = new AmortizeFrame();
              // obtain a reference to our text area in our frame
              // and update this as we go through
              JTextArea amortText = amortFrame.getAmortText();
              // formatting mask
              java.text.DecimalFormat df= new java.text.DecimalFormat(",###.00");
              // set column header
              amortText.setText(scolHeader);
              amortText.append(slineOut);
              // loop through our amortization table and add to
              // JTextArea
              while(num < term)
                   monthlyInterest = monthlyInterestRate * balance;
                   cumInterest += monthlyInterest;
                   principal = monthlyPayment - monthlyInterest;
                   balance -= principal;
                   //Show Amortization Schedule
                   amortText.append(String.valueOf(payment));
                   amortText.append("\t ");
                   amortText.append(df.format(monthlyPayment));
                   amortText.append("\t ");
                   amortText.append(df.format(monthlyInterest));
                   amortText.append("\t ");
                   amortText.append(df.format(cumInterest));
                   amortText.append("\t ");
                   amortText.append(df.format(principal));
                   amortText.append("\t ");
                   amortText.append(df.format(balance));
                   amortText.append("\n");
                   payment++;
                   num++;
              // print the headers one more time at the bottom
              amortText.append(slineOut);
              amortText.append(scolHeader);
              amortText.append(sfinalInstructions1);
         }// end amortize
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI()
            //Make sure we have nice window decorations.
             //Note this next line only works with JDK 1.4 and higher
            JFrame.setDefaultLookAndFeelDecorated(true);
            week4_herbie calculator = new week4_herbie();
        // main method
        public static void main(String[] args)
             // allow user to set a different file from
             // command line
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable()
                public void run()
                    createAndShowGUI();
    }// end classAmoritizeFrame
    import java.awt.*;
    import javax.swing.*;
    // this class provides the frame and the scrolling text area for the
    // amortization schedule
    class AmortizeFrame extends JFrame
         private JTextArea amortText;
         private JScrollPane amortScroll;
         private String sTitle = "Brian's";
         final String sTitle2 = " Amortization Schedule";
         // default constructor
         public AmortizeFrame()
              initWindow();
         // constructor that takes parameter (such as week number)
         // to add extra info to title on frame of window
         public AmortizeFrame(String week)
              sTitle = sTitle + " " + week;
              initWindow();
         }// end constructor
         // helper method that initialized GUI
         private void initWindow()
              setTitle(sTitle + sTitle2);
              setBounds(200,200,550,400);
              Container contentPane=getContentPane();
              amortText = new JTextArea(7,100);
              amortScroll= new JScrollPane(amortText);
              contentPane.add(amortScroll,BorderLayout.CENTER);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setVisible(true);
         // method to get the text area for users of
         // this frame.  They can then add whatever text they want from the outside
         public JTextArea getAmortText()
              return amortText;
    }// end amortizeFramenumericTextFrame
    * This is a control that subclasses the
    * JTextField class and through a keyboard
    * listener only allows numeric input, decimal point
    * and backspace into the text field.
    * Known Problems!!!:
    * 1) It will not catch if the user
    *    enters two decimal points
    import java.awt.Toolkit;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import javax.swing.JTextField;
       A JTextField subclass component that
       only allowing numeric input.  
    class numericTextField extends JTextField
        private void setUpListener()
            addKeyListener(new KeyAdapter() {
                public void keyTyped(KeyEvent e)
                            char c = e.getKeyChar();
                    if(!Character.isDigit(c) && c != '.' && c != '\b' && c != '\n' && c != '\177')
                        Toolkit.getDefaultToolkit().beep();
                        e.consume();
        numericTextField(int i)
             super(i);
               setUpListener();
        public numericTextField()
              setUpListener();
    }Thanks for the assist

    Top-level classes (that is, classes not inside other classes) must be defined as public or package-private (the default access level if you do not provide one).
    A public top-level class Foo must be contained in Foo.java.
    A non-public top-level class Foo can be contained in any .java file.

  • What am I doing wrong with iPhone 5 iTunes Podcast sync?

    I feel like I'm in a math equation messing up the order of operations every time I sync my device to my iTunes. If I ever catch up on all my podcasts, maybe this will stop being an issue, but here's the problem.
    90% of my podcast listening occurs on my iPhone 5. I have it set up to auto download. I also have an iPad that I will ocassionally listen to podcasts on that. For the most part, I think these sync via the cloud, but with some issues for sure. I'll often close and re-open the Podcast app to see if that gets them to keep talking to each other.
    Ok, but the real problem: I have all my podcasts in iTunes, and whenever I sync my iPhone to iTunes, some podcasts get loaded back onto my iPhone that I've already listened to.
    What the heck am I doing wrong?

    You're welcome.  It's not unusual to have a different number of photos and videos on your devices.  Videos aren't synced with photo stream so unless you import them to your computer and sync them to your other device they will only be on the device they are taken on.  (Also, if you sync them to your device, they will appear in the Videos app rather than the Photos app.)
    Having a different number of photos usually results from having turned on my photo stream at different points in time on your devices.  My photo stream photos only remain in iCloud for 30 days, even though your last 1000 photos will remain on your devices until deleted.  As a result, when you first enable my photo stream on a device it can only download photos from the last 30 days, even though there may be old photos on your other device(s).
    If you want to use iCloud to get the missing photos on your device, you can add them to a shared stream on the device they are on (see http://help.apple.com/icloud/#/mm1bdd9cae49).  (You don't have to invite yourself to the shared stream, just skip this step.  As the owner of the shared stream you are automatically subscribed to it.)  The new shared stream will appear on your devices in the shared section of the photos app.  You can then open the shared stream and save the photos to the device that didn't already have them by tapping Select, tap the share icon (box with upward pointing arrow, then tapping Save Image).  Once they are saved, you can delete the shared stream.

  • Frustrated, What am I doing wrong, cannot get iCloud to set up.??  Just bought Lion 2 days ago.

    I have tried and tried to set up Icloud on my Mac.  It continues to reject my apple ID & password. Even changed to another password.  All Apple support says you can use the same ID you use for the ITunes, App Store and I verified that and still it will not work!!  What could I possibly be doing wrong.  Never signed up for Mobile Me.  Hope someone can help me.  Apple wants to charge for aassistance -ridiculous... May be another trip to the Genius Bar?

    I went through the whole Apple ID, I cloud info Apple has posted.  It says if I have an ITunes or Apps account, it should work -use same usernmae etc. and I have done it all.
    I tried to set up again  and it keeps telling me wrong user id or password.  Even changed my password to see if that would work.
    Nothing.. I am very frustrated by this!

  • Error when calling an Portal Package

    I get the following error when calling a portal30 package. I am logged on to
    another schema. I have run the provsyns.sql (per Doc ID: 122562.996) statement
    but it still doesn't work.
    Any help is appreciated.
    SQL> declare
    2 l_id number;
    3 begin
    4 l_id :=
    portal30.wwsec_api_private.add_portal_user(p_User_Name=>'user1');
    5 end;
    6 /
    declare
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWSEC_API_PRIVATE", line 198
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWLOG_API", line 183
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 849
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 669
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 4
    Thanks,
    Tom Henricksen
    null

    Hi,
    What is the implementation of your Web service? If it's another EJB then you have to define an ejb-local-ref in the deployment descriptor for that other EJB, like this:
    <ejb-local-ref>
        <ejb-ref-name>ejb/MyProcessorBean</ejb-ref-name>
        <ejb-ref-type>Session</ejb-ref-type>
        <local-home>your.package.BiasProcessorLocalHome</local-home>
        <local>your.package.BiasProcessorLocal</local>
    </ejb-local-ref>
    If it's not a J2EE component, there is no java:comp environment naming context (ENC) available. In this case you can look up the EJB local home from the "localejbs/" context, e.g. "localejbs/provider.name/YourAppName/YourEjbName". By default the provider name is "sap.com".
    For more information please refer to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/accessing%20ejb%20applications%20using%20jndi.pdf">this article</a>.
    HTH!
    -- Vladimir

  • Getting error when calling package from master

    Hi ,
    I am facing one issue ,
    when i am running package indivisually its running fine , but when I am calling same package from Master package it gets failded.
    below is the error massage which I am getting.
    "Exception has been thrown by the target of an invocation"
    regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

    Hi Vipin,
    In addition, here is an article regarding how to execute a package from another package for your reference. Please see:
    http://svangasql.wordpress.com/2012/05/01/parent-child-package-ssis-2012-execute-package-task/
    Please help to elaborate your issue with more detail so that we can help you to solve this issue in a effecive manner.  
    Elvis Long
    TechNet Community Support

  • I am receiving an error message that my Adobe Captivate zip file is not a valid SCORM, AICC or IMS Content Package. What am I doing wrong?

    I am receiving an error message that my Adobe Captivate zip file is not a valid SCORM, AICC or IMS Content Package. This zip file has been published identically to my previous zip files. What am I doing wrong?

    First, go back into the CPTX source file and check that LMS reporting is indeed turned on and that it is set to SCORM etc.
    If that is OK.  Republish and use the Zip option in the Captivate Publish dialog settings to zip the file.  Don't zip it yourself.
    If your LMS still rejects this zip file, upload to SCORM Cloud and see if it rejects it too.

  • Timeout error when calling package

    Hi,
    I have an application that calls a package, this package has a process that lasts 40 minutes, 30 minutes with the browser displays the following error:
    Explanation: The request timed out before the page could be retrieved.
    Try the following:
    Refresh page: Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
    Check spelling: Check that you typed the Web page address correctly. The address may have been mistyped.
    Access from a link: If there is a link to the page you are looking for, try accessing the page from that link.
    Contact website: You may want to contact the website administrator to make sure the Web page still exists. You can do this by using the e-mail address or phone number listed on the website home page.
    If you are still unable to view the requested page, try contacting your administrator or Helpdesk.
    Technical Information (for support personnel)
    Error Code 64: Host not available
    Background: The gateway or proxy server lost connection to the Web server.
    Date: 07/01/2012 14:05:39 [GMT]
    Server: SVGFIRE.svgmatriz.local
    Source: Remote server In the application properties:
    Session Timeout
    Maximum Session Length in Seconds, is 0
    Maximum Session Idle Time in Seconds, is 0
    I'm using Firefox 9
    The same error occurs in Chrome.
    Do I have to mess around with settings Browser Timeout? Or is some configuration of Apex?
    thank you
    Márcio Gonçalez

    mag.goncalez wrote:
    Thanks for the tip fac586,
    using apex_plsql_job execution is ok.
    Just wanted to know if there is another way without using Job, since the problem is related to timeout.And Alex and I are trying to convince you that it's the wrong problem. The timeout doesn't affect the execution of the job. Once that has started on the database it's going to complete (successfully or not), regardless of whether the user sits staring at an unresponsive screen for 30 or 40 minutes and/or gets a timeout message. Given that, it makes sense to run it asynchronously in the background and avoid the possibility of a timeout. This lets the user get on with something else in their session.
    You can modify the package so that the job sends email or SMS messages reporting when it is complete (successfully or unsuccessfully); you can use <tt>apex_plsql_job.update_job_status</tt> or <tt>dbms_application_info.set_session_longops</tt> as a mechanism to provide feedback on progress somewhere in your application.

  • While calling plsql  package from Pro*c getting  ORA-1426 error

    Hi Friends
    I am calling a package from Pro*c and getting numberic overflow error ORA-1426 but when i introduce a debug message such as printf or calling standard oracle utility to write in a log file no error comes. So how just introduction of debug messages is resolving the error.Can any one throw some light on it, whether it is some kind of synchronization issue or something else
    Regards
    Abhijeet

    Pretty hard to guess here since you're not providing any sample code.
    However:
    "Internally, PL/SQL assigns the values of the bounds to temporary PLS_INTEGER variables, and, if necessary, rounds the values to the nearest integer. The magnitude range of a PLS_INTEGER is -2147483648 to 2147483647, represented in 32 bits. If a bound evaluates to a number outside that range, you get a numeric overflow error when PL/SQL attempts the assignment. "
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/loop_statement.htm#sthref2852

  • Help what does this  mean ERROR ITMS-9000: "OEBPS/package.opf(23)

      Hi All - I am getting this error message -
    ERROR ITMS-9000: "OEBPS/package.opf(23): element "guide" not allowed here; expected the element end-tag or element "item"" at Book (MZItmspBookPackage)
    - when I try to upload my epub to the Apple bookstore. I have already fixed one error but I dont know where to start on this one so any help would be appreciated. - Kind Regards David

    Javascript isn't Java. You may find another forum that's specifically about Javascript will be of more help.
    You should also check for support from whoever makes the software package you're using.
    I realize this isn't much help, but I advise avoiding Javascript-centric web designs because they tend to lead to the exact sort of problem you're having. The next time you rework your site, shun Javascript, I say.

  • Error when calling a web service in PLSQL, "the page could not be displayed

    Hi, I have a simple web service based on a function returning the name of the employee, I tested it against the standalone oc4j instance and it's working fine, but when I try to call it from PLSQL the error "the page could not be displayed" appears.
    What am I doing wrong?
    CREATE OR REPLACE package body p_call_ws is
    function f_query_ws( pIp varchar2 default '100') return varchar2 is
    v_wsresponse varchar2(2000) := null;
    begin
    utl_http.set_proxy('pccproxy', NULL);
    select utl_http.request( 'http://localhost:8888/ws/wsemp?invoke=pNombre&pId='||pIp)
    into v_wsresponse
    from dual;
    return(v_wsresponse);
    end f_query_ws;
    procedure p_call is
    v_wsresponse varchar2(2000) := null;
    begin
    v_wsresponse := f_query_ws('100');
    dbms_output.put_line(v_wsresponse);
    end p_call;
    end p_call_ws;
    =====================
    Whe I call the function in SQLPLUS> select p_call_ws.f_query_ws from dual;
    The output generated is
    Problem-->The page cannot be displayed

    Sorry I cannot help with this utility. What is your database version? In 10.1 and later, the recommended way is using JPublisher. Download JPublisher 10.2 and the webservice callout utility.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html

  • Error while accessing oracle packaged procedure in crystal report./ How to

    Hi,
    When i tried to call a packaged procedure in crystal reports for .net, i am unable to access it.
    i am getting error as 'unknown query engine'
    In that packaged procedure i have a two IN parameters and one OUT TABLE parameter ( which is declared in package specification )
    And when selecting the packaged procedure in crystal report,the wizard shows all the parameters like the IN parameters, and when i just leave it blank. i unable to set into report.
    ie., the OUT table type is shown as IN paramters (Actually it is an output and has field fields in it.)
    And No fields are coming in the Fields Explorer of crystal reports in .net.
    can you provide any help.
    thanks and regards
    Mohan Raj K.
    Actually using vs.net 2005 prof.
    Message was edited by:
    mohanraj_k

    Actually the OUT Parameter type in the stored
    procedure is showing as IN Parameters and asking
    for input values in the crystal report creation
    wizard(while selecting the
    database,connection,storedprocedures/qualifiers).That sounds like a problem on the .net / crystal report creation wizard side of things. Oracle no doubt recognises them as OUT parameters, so it's not Oracle at fault. I would guess the .net stuff is just querying the data dictionary to see what parameters there are rather than differentiating between the INs and OUTs.

Maybe you are looking for

  • App wont open!!

    I recently received my iphone 6 and everything was running smoothly until i ran in to this problem. when i open imovie it is gray for a split second then it closes. I tried restarting my phone and i still have the same problem. then i find that pages

  • Exporting data from one function group to another

    Dear all, can you pls provide the solution for the below. in my requirement two function groups are there. one is standard function group & other is user specific function grp. in the standard FGRP i have one SAP standard screen xxx, & one user creat

  • Error in requirement class while assigning service order type.

    Hello All, I am getting below error message whenever I am trying to assign a service order type to requirement class. This the error meassage: Maintenance order type ZSC3 is either not flagged as a service order type or revenue posting is allowed for

  • Stupid questions about float operation

    Hi guys. I have this code: public class Stupida{      public static void main(String args[]){           float uno = 14.8210f;           float due = 14.7110f;           System.out.println("" + uno + " - " + due + " = " + (uno-due)); and this is the ou

  • Business Intelligence data model?

    Is there a publically available model for the Business Intelligence objects? My company would like to be able to read against these objects using JDBC calls. Dick Dawson