Comilation error in stdexcept

Hi,
I am compiling a C++ source and got the following erros inside stdexcept and iostream.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./stdexcept", line 57: Error: Function std::logic_error::~logic_error()
can throw only the exceptions thrown by the function std::exception::~exception() it overrides.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./stdexcept", line 60: Error: Function std::logic_error::what() const ca
n throw only the exceptions thrown by the function std::exception::what() const it overrides.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./stdexcept", line 128: Error: Function std::runtime_error::~runtime_err
or() can throw only the exceptions thrown by the function std::exception::~exception() it overrides.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./stdexcept", line 131: Error: Function std::runtime_error::what() const
can throw only the exceptions thrown by the function std::exception::what() const it overrides.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./istream", line 41: Error: Use ";" to terminate declarations.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 444: Error: Illegal number of arguments for std::basic_
ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<std::basic_ostream<std::charT, std::trai
ts>::charT, std::basic_ostream<std::charT, std::traits>::traits>&, std::basic_ostream<char, std::char_traits<
char>>::charT).
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: While specializing "std::basic_ostream<
char, std::char_traits<char>>".
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: Specialized in non-template code.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 450: Error: Illegal number of arguments for std::basic_
ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<std::basic_ostream<std::charT, std::trai
ts>::charT, std::basic_ostream<std::charT, std::traits>::traits>&, char).
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: While specializing "std::basic_ostream<
char, std::char_traits<char>>".
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: Specialized in non-template code.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 457: Error: Illegal number of arguments for std::basic_
ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<char, std::char_traits<char>>&, char).
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: While specializing "std::basic_ostream<
char, std::char_traits<char>>".
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: Specialized in non-template code.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 464: Error: Illegal number of arguments for std::basic_ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<std::basic_ostream<std::charT, std::trai
ts>::charT, std::basic_ostream<std::charT, std::traits>::traits>&, const std::basic_ostream<char, std::char_t
raits<char>>::charT*).
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: While specializing "std::basic_ostream<
char, std::char_traits<char>>".
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: Specialized in non-template code.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 470: Error: Illegal number of arguments for std::basic_
ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<std::basic_ostream<std::charT, std::trai
ts>::charT, std::basic_ostream<std::charT, std::traits>::traits>&, const char*).
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: While specializing "std::basic_ostream<
char, std::char_traits<char>>".
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: Specialized in non-template code.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 477: Error: Illegal number of arguments for std::basic_
ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<char, std::char_traits<char>>&, const ch
ar*).
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: While specializing "std::basic_ostream<
char, std::char_traits<char>>".
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: Specialized in non-template code.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 488: Error: Illegal number of arguments for std::basic_
ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<char, std::basic_ostream<std::charT, std
::traits>::traits>&, unsigned char).
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: While specializing "std::basic_ostream<
char, std::char_traits<char>>".
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: Specialized in non-template code.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 492: Error: Illegal number of arguments for std::basic_
ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<char, std::basic_ostream<std::charT, std
::traits>::traits>&, signed char).
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: While specializing "std::basic_ostream<
char, std::char_traits<char>>".
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./iostream", line 43: Where: Specialized in non-template code.
"/opt/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 496: Error: Illegal number of arguments for std::basic_
ostream<char, std::char_traits<char>>::operator<<(std::basic_ostream<char, std::basic_ostream<std::charT, std
::traits>::traits>&, const unsigned char*).
can anyone figure out what this mean ?
:

I wanted to rule out errors in using the compiler, or an old compiler version. I don't see anything wrong. I have not found any bug reports or anything in later patches showing this problem.
The errors indicate either that something is wrong with the standard library headers installed in the compiler area, or that the code you are compiling conflicts with the compiler's own version of the C++ standard library.
Is it possible that someone has deliberately modified or accidently clobbered the compiler installation?
Check the install logs for all the C++ 5.3 patches:
/var/sadm/patches/111685-*/log
and see if there were any installation errors noted. (You need to be superuser to read the files.)
See if the MsgHandler.cpp file, or a file that it includes, is directly including something that conflicts with the standard library provided with the compiler. For example, it might be using an alternative version of the standard library.
Quick check: Run this command   /opt/SUNWspro/bin/CC -c -H  -D__sun__ -D__CPLUSPLUS MsgHandler.cpp The output lists all the included headers. You should not see anything that looks like a standard library header except those coming from /opt/SUNWspro/WS6U2/include.
If the code expects to use its own version of the C++ standard library, you can do that by following the instructions in the C++ Users Guide about replacing the default standard library. The short version is to add -library=no%Cstd to every CC command line. NOTE: You cannot mix and match pieces of the C++ standard library. Everything in the entire program, including linked libraries, must use the same standard library implementation.
If that isn't the problem, run this command:   /opt/SUNWspro/bin/CC -E  -D__sun__ -D__CPLUSPLUS MsgHandler.cpp >& MsgHandler.i The .i file will show the preprocessed output along with where the lines of code originate. Look for standard exception classes (logic_error, etc) that do not come from /opt/SUNWspro/WS6U2/include.
If you have conflicting declarations, remove them from your code.
If none of this helps, you might need to reinstall the product and patch -18 to fix the problem. (Patches are cumulative, so you don't need to reinstall the same sequence of 111685-xx patches, but ony the latest one.) You would also need to reinstall other products patches that were installed.
An alternative, if you are feeling brave, and if you have WS6u2 at the same patch level installed on another system:
On the other system% cd  /opt/SUNWspro/WS6U2/include
% tar  cf  /some/shared/directory/headers.tar  CC On your system% su
<root password>
# cd  /opt/SUNWspro/WS6U2/include
# rm  -fr  CC
# tar  xf  /some/shared/directory/headers.tar

Similar Messages

  • Included JSPs gives comilation error, even in the JBuilder plugin

    Dears,
    I'm making a web application, it contains a header, and footer JSPs.
    These two JSPs are included in every JSP in the site, and I use the <%@ include The problem in this is that I define variables in every parent JSP including these two JSPs, but when I build my project using JBuilder, it gives me complation error as it tries to compile the JSPs and the vatiables are still not defined, as they r defined only when included.
    This prevents me from deployment using JBuilder, also if I try deployment on SUN ONE 7 platform edition with precompile JSPs checked.
    Do anyone know a solution for this?
    Thanks

    Hi,
    IF you are using EPCF.doNavigate then you should give the iview address as the url. If should be something like this
    <%
    String componentName = componentRequest.getComponentContext().getApplicationName();
    String helpUrl = "ROLES://portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.system_admin_ws/com.sap.portal.support/com.sap.portal.support_desk";
    %>
    <a href="tools" onClick = "return EPCM.doNavigate("<%=helpUrl %>");">click here</a>
    Or as Ranjith said use the href option
    Regards
    Prakash

  • Error#: 2301 Internal Comiler Error

    Hi!
    I get this error when I try to run a program I've written. It contains of 5 classes. I've copied all the files (both java and class-files) to a diskette, and tries to run the program. I use Borland JBuilder 7.
    When I try to execute the program from the diskette within JBuilder, I
    get this error: (The program works fine form my harddrive! )
    Error#: 2302 Internal Compiler Error: java.lang.StringIndexOutOfBoundException: String index out of range: -2
    I need help! :)
    I would be grateful for an answer!
    Thanks! :)

    Nobody?

  • Comilation Errors

    Hi I am new to Oracle forms,
    I have done some changes in an existing form module. When I compile this through form builder it's compiling successfully but when I complie this trough Form compiler its showing me following errors:
    FRM-18108: Failed to load the following objects.
    Source Module:Ref.fmb
    Source Object: PC_EFFECTIVE_START_DATE
    Source Module:Ref.fmb
    Source Object: PC_CREATED_BY
    Source Module:Ref.fmb
    Source Object: PC_MESSAGE_CANVAS
    Source Module:Ref.fmb
    Source Object: PC_DEFAULT_WINDOW
    Source Module:Ref.fmb
    Source Object: PC_MESSAGE_WINDOW
    Source Module:Ref.fmb
    Source Object: PC_ID_LIST
    Source Module:Ref.fmb
    Source Object: PC_ID_DESC_LIST
    Source Module:Ref.fmb
    Source Object: PC_PB_ADD
    Source Module:Ref.fmb
    Source Object: PC_PB_SAVE
    Source Module:Ref.fmb
    Source Object: PC_PB_QUERY
    Source Module:Ref.fmb
    Source Object: PC_PB_CANCEL
    Source Module:Ref.fmb
    Source Object: PC_PB_MENUS
    Source Module:Ref.fmb
    Source Object: PC_ID_DESC
    Source Module:Ref.fmb
    Source Object: PC_CHECK_BOX
    Source Module:Ref.fmb
    Source Object: PC_PB_LOV
    Source Module:Ref.fmb
    Source Object: PC_ID
    Source Module:Ref.fmb
    Source Object: PC_CANVAS
    Compiling .....................
    I have got all the above items under 'Property Classes' I really don't know how to complie those and what is the use of those items
    Please help
    Thanks

    I am getting the following error when I try to run my form module--
    FRM-30436: Parent window not specified for canvas.View Canvas MESSAGE
    FRM-30041: Position of item places it off of canvas.
    Item: DIRECTORY
    Block: EXTRACT
    Form: GASEXT
    FRM-30085: Unable to adjust form for output.
    Thanks

  • ORA-00902: invalid datatype comile error while using CAST function

    Hi everyone,
    I'm getting ORA-00902: invalid datatype compilation error while using CAST function.
    open ref_cursor_list for select empName from TABLE(CAST(part_t AS partnumberlist));
    The partnumberlist and ref_cursor_list is declared in the Package spec as given below.
    TYPE ref_cursor_list IS REF CURSOR;
    TYPE partnumberlist IS TABLE OF emp.empName%TYPE;
    The error points the partnumberlist as invalid datatype in TOAD because of this i'm unable to compile the package.
    Any suggestion
    Thanks and regards
    Sathish Gopal

    Here is my code for
    package Spec
    CREATE OR REPLACE PACKAGE "HISTORICAL_COMMENTZ" AS
    TYPE prior_part_data_record IS RECORD (
    prior_part_row_id PGM_RPLCMNT_PART.PR_PART_ROW_S_ID%TYPE,
    prior_pgm_chng_s_id PGM_RPLCMNT_PART.PR_PGM_CHNG_S_ID%TYPE
    TYPE parts_list IS TABLE OF prior_part_data_record;
    --TYPE parts_list IS TABLE OF NUMBER;
    TYPE partnumberlist IS TABLE OF PGM_RPLCMNT_PART.PR_PART_ROW_S_ID%TYPE;
    TYPE partnumber_cursor IS REF CURSOR;
    TYPE comment_record IS RECORD (
    pgm_s_id                     PGM_PART_CMNT.PGM_S_ID%TYPE,
    part_row_s_id                PGM_PART_CMNT.PART_ROW_S_ID%TYPE,
    pgm_chng_s_id                PGM_PART_CMNT.PGM_CHNG_S_ID%TYPE,
    cmnt_txt                     PGM_PART_CMNT.CMNT_TXT%TYPE,
    cmnt_dt                     PGM_PART_CMNT.CMNT_DT%TYPE,
    updt_rsrc_id                PGM_PART_CMNT.UPDT_RSRC_ID%TYPE
    TYPE comment_list IS TABLE OF comment_record;
    global_pgm_s_id INTEGER := 0;
    global_part_row_s_id INTEGER := 0;
    err_num NUMBER := 999999;
    err_msg VARCHAR2 (250);
    PROCEDURE getComments (
    pgm_s_id IN NUMBER,
    part_row_s_id IN NUMBER,
    partnumber_cursorlist out partnumber_cursor);
    END;
    Package Body
    CREATE OR REPLACE PACKAGE BODY HISTORICAL_COMMENTZ
    AS
    FUNCTION getPriorPart
    (param_prior_pgm_chng_s_id IN PGM_RPLCMNT_PART.PR_PGM_CHNG_S_ID%TYPE,
    return_prior_part_data_record IN OUT prior_part_data_record
    RETURN INTEGER
    IS
    retVal INTEGER;
    prior_part_row_id INTEGER;
    prior_pgm_chng_s_id INTEGER;
    local_prior_part_data_record prior_part_data_record;
    BEGIN
    SELECT PR_PART_ROW_S_ID AS prior_part_row_id, PR_PGM_CHNG_S_ID AS prior_pgm_chng_s_id
    INTO local_prior_part_data_record
    --SELECT PR_PART_ROW_S_ID INTO retVal
    FROM PGM_RPLCMNT_PART
    WHERE PGM_S_ID = global_pgm_s_id AND CUR_PGM_CHNG_S_ID = param_prior_pgm_chng_s_id;
    return_prior_part_data_record := local_prior_part_data_record;
    retVal := 0;
    RETURN retVal;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    err_num := SQLCODE;
    err_msg := 'SQL Error ' || SUBSTR (SQLERRM, 1, 250);
    DBMS_OUTPUT.put_line ('SQLERROR = ' || err_msg);
    retVal := -1;
    RETURN retVal;
    WHEN OTHERS
    THEN
    err_num := SQLCODE;
    err_msg := 'SQL Error ' || SUBSTR (SQLERRM, 1, 250);
    DBMS_OUTPUT.put_line ('SQLERROR = ' || err_msg);
    retVal := -1;
    RETURN retVal;
    END getPriorPart;
    FUNCTION getComment (found_parts_list IN parts_list, comments OUT comment_list)
    RETURN INTEGER
    IS
    CURSOR init_cursor
    IS
    SELECT PGM_S_ID,PART_ROW_S_ID,PGM_CHNG_S_ID,CMNT_TXT,CMNT_DT,UPDT_RSRC_ID
    FROM PGM_PART_CMNT WHERE 1 = 2;
    retVal INTEGER;
    indexNum PLS_INTEGER;
    local_part_record prior_part_data_record;
    local_comment_record comment_record;
    local_part_row_s_id NUMBER;
    i PLS_INTEGER;
    BEGIN
    OPEN init_cursor;
    FETCH init_cursor
    BULK COLLECT INTO comments;
    i := 0;
    indexNum := found_parts_list.FIRST;
    WHILE indexNum IS NOT NULL
    LOOP
    local_part_record := found_parts_list(indexnum);
    local_part_row_s_id := local_part_record.prior_part_row_id;
    SELECT PGM_S_ID,PART_ROW_S_ID,PGM_CHNG_S_ID,CMNT_TXT,CMNT_DT,UPDT_RSRC_ID
    INTO local_comment_record FROM PGM_PART_CMNT
    WHERE PGM_S_ID = global_pgm_s_id
    AND PART_ROW_S_ID = local_part_row_s_id;
    comments(i) := local_comment_record;
    i := i + 1;
    END LOOP;
    RETURN retval;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    err_num := SQLCODE;
    err_msg := 'SQL Error ' || SUBSTR (SQLERRM, 1, 250);
    DBMS_OUTPUT.put_line ('SQLERROR = ' || err_msg);
    RETURN retval;
    WHEN OTHERS
    THEN
    err_num := SQLCODE;
    err_msg := 'SQL Error ' || SUBSTR (SQLERRM, 1, 250);
    DBMS_OUTPUT.put_line ('SQLERROR = ' || err_msg);
    RETURN retval;
    END getComment;
    PROCEDURE getComments
    pgm_s_id IN NUMBER,
    part_row_s_id IN NUMBER,
    partnumber_cursorlist OUT partnumber_cursor)
    IS
    comment_recordlist comment_record;
    retPartnumberlist partnumberlist;
    found_parts_list parts_list;
    local_part_record prior_part_data_record;
    is_more_parts BOOLEAN;
    driver_chng_s_id NUMBER;
    num_parts NUMBER;
    retVal NUMBER;
    comments comment_list;
    returnPartnumberlist partnumberlist;
    iloopCounter PLS_INTEGER;
    inx1 PLS_INTEGER;
    part_t partnumberlist :=partnumberlist(100,200,300);
    CURSOR part_list_init_cursor
    IS
    SELECT PR_PART_ROW_S_ID,PR_PGM_CHNG_S_ID FROM PGM_RPLCMNT_PART WHERE 1 = 2;
    CURSOR inIt_cursor
    IS
    SELECT 0 FROM DUAL WHERE 1 = 2;
    BEGIN
    DBMS_OUTPUT.ENABLE (5000000);
    global_pgm_s_id := pgm_s_id;
    global_part_row_s_id := part_row_s_id;
    SELECT PART_ROW_S_ID AS prior_part_row_id, PR_PGM_CHNG_S_ID AS prior_pgm_chng_s_id
    INTO local_part_record
    FROM PGM_RPLCMNT_PART
    WHERE PGM_S_ID = global_pgm_s_id AND PART_ROW_S_ID = global_part_row_s_id AND
    CUR_PGM_CHNG_S_ID IN (SELECT MAX(CUR_PGM_CHNG_S_ID) FROM PGM_RPLCMNT_PART WHERE
    PGM_S_ID = global_pgm_s_id AND PART_ROW_S_ID = global_part_row_s_id
    GROUP BY PART_ROW_S_ID);
    OPEN part_list_init_cursor;
    FETCH part_list_init_cursor
    BULK COLLECT INTO found_parts_list;
    -- Add the existing part to the found list
    found_parts_list.EXTEND;
    found_parts_list(1) := local_part_record;
    driver_chng_s_id := local_part_record.prior_pgm_chng_s_id;
    num_parts := 1;
    is_more_parts := TRUE;
    WHILE (is_more_parts) LOOP
    retVal := getPriorPart(driver_chng_s_id,local_part_record);
    IF (retVal != -1) THEN
    found_parts_list.EXTEND;
    num_parts := num_parts + 1;
    found_parts_list(num_parts) := local_part_record;
    driver_chng_s_id := local_part_record.prior_pgm_chng_s_id;
    ELSE
    is_more_parts := FALSE;
    END IF;
    END LOOP;
    --num_parts := getComment(found_parts_list,comments);
    OPEN init_cursor;
    FETCH init_cursor
    BULK COLLECT INTO returnPartnumberlist;
    num_parts := found_parts_list.COUNT;
    FOR iloopCounter IN 1 .. num_parts
    LOOP
    returnPartnumberlist.EXTEND;
    returnPartnumberlist(iloopCounter) := found_parts_list(iloopCounter).prior_part_row_id;
    END LOOP;
    retPartnumberlist := returnPartnumberlist;
    open
    *          partnumber_cursorlist for select PR_PART_ROW_S_ID from TABLE(CAST(retPartnumberlist AS historical_commentz.partnumberlist));*                              
    DBMS_OUTPUT.put_line('Done....!');
    EXCEPTION
    some code..............................
    END getComments;
    END HISTORICAL_COMMENTZ;
    /

  • Comiling Error

    My apology for posting this agian, but the answers that i saw in the others thread didnt really help me out :/
    this is my code
    public class NetPay
    {//open class
         public static void main(String[] Args)
              {//open main
                   double hours, wage, taxRate, taxes, grossPay, netPay;
                   System.out.print("Hours Worked: ");
                   hours = in.getDouble();
                   System.out.print("Hourly Wage: ");
                   wage = in.getDouble();
                   System.out.print("Tax Rate (as a decimal): ");
                   taxRate = in.getDouble();
                   grossPay = hours * wage;
                   taxes = taxRate * grossPay;
                   netPay = grossPay - taxes;
                   System.out.println("Your Pay this week is $ " + netPay + "!!!");          
         }//close main
    }//close class
    when i compile it with the command prompt like so
    javac E:\Java\NetPay.java
    i get "Exeption in thread "main" java.lang.NoClassDefFoundError: E:\Java\NetPay
    but if i open this bad boy in Net Beans, it works fine...
    And when i try to compile the code over again i get 3 errors, but net beans compiles it no problems
    The error says that cannot resolve symbol, then location: Class NetPay
    then it has taxRate = in.getDouble();
    ^
    It gives me the errors for Wage, taxRate and Hours.
    I tried to set the path to blank, like what i read in couple posts, but didnt work.
    This all works in Net Bean, but i wanna learn the code, and compile it in command prompt instead of Net Beans showing me every mistake.

    import java.io.*;
    public class in
         public static int getInt()
              try
              BufferedReader i = new BufferedReader(
              new InputStreamReader(System.in));
              return Integer.parseInt(i.readLine());
              catch(Exception e)
                   //System.out.println(e.getClass() + " " + e.getMessage());
                   return 0;
         public static char getChar()
              return getString().charAt(0);
         public static double getDouble()
                   try
                   BufferedReader i = new BufferedReader(
                   new InputStreamReader(System.in));
                   return Double.parseDouble(i.readLine());
                   catch(Exception e)
                   return 0;
         public static String getString()
                   try
                   BufferedReader i = new BufferedReader(
                   new InputStreamReader(System.in));
                   return i.readLine();
                   catch(Exception e)
                   return "Error";
    }I was told to put that code the in.java and the in.class in the dir the program is in, but it doesent seem to work know..
    How do i import it ? Import in.java ? (Tried that, doesent work)

  • WebUtil Demo Runtime Error FRM-40039: Cannot attach library webutil

    I download the WebUtil Demo from
    http://www.oracle.com/technology/products/forms/htdocs/webutil/Webutil_demo.zip
    I follow the instruction given in the file ReadMe.html
    I am using Oracle Developer Suite 10g Release 2.
    There is no compilation error.
    I started OC4J Instance
    The following error appears:
    FRM-40039: Cannot attach library webutil while opening form WU_TEST_106
    Help!

    I try to compile the WEBUTIL.pll but with comilation error.
    I run FOrms Builder 10g Release 2
    Click on File, Open
    Select the file WEBUTIL.pll
    Click on Program, Compile Module
    but showing error
    Compilation errors on WEBUTIL_DB_LOCAL:
    PL/SQL ERROR 201 at line 9, column 12
    identifier 'WEBUTIL_DB.OPENBLOB' must be declared
    PL/SQL ERROR 0 at line 9, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 18, column 12
    identifier 'WEBUTIL_DB.CLOSEBLOB' must be declared
    PL/SQL ERROR 0 at line 18, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 24, column 5
    identifier 'WEBUTIL_DB.WRITEDATA' must be declared
    PL/SQL ERROR 0 at line 24, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 29, column 12
    identifier 'WEBUTIL_DB.READDATA' must be declared
    PL/SQL ERROR 0 at line 29, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 35, column 12
    identifier 'WEBUTIL_DB.GETLASTERROR' must be declared
    PL/SQL ERROR 0 at line 35, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 40, column 12
    identifier 'WEBUTIL_DB.GETSOURCELENGTH' must be declared
    PL/SQL ERROR 0 at line 40, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 45, column 12
    identifier 'WEBUTIL_DB.GETSOURCECHUNKS' must be declared
    PL/SQL ERROR 0 at line 45, column 5
    Statement ignored
    Failed to generate library.
    HELP!

  • Compile error for 2.6.16.9

    I"m trying to compile my custom kernel 2.6.16.9 and I'm getting the following comile error:
    CC kernel/sched.o
    kernel/sched.c: In function 'sched_init':
    kernel/sched.c:6034: error: 'array' undeclared (first use in this function)
    kernel/sched.c:6034: error: (Each undeclared identifier is reported only once
    kernel/sched.c:6034: error: for each function it appears in.)
    kernel/sched.c:6034: error: 'struct runqueue' has no member named 'arrays'
    kernel/sched.c:6035: error: 'k' undeclared (first use in this function)
    make[1]: *** [kernel/sched.o] Error 1
    make: *** [kernel] Error 2
    I'm using the latest con kolivas patch with the kernel.  Any suggestions as to how to fix this?

    bostoniman wrote:Ok, I sort of feel like an idiot, but I cant seem to find 2.6.16 base on kernel.org.  It's been a while since I made my custom kernel, so am I ooking in the wrong place?  It  should just be on kernel.org, right?
    You were so close, it was just a few clicks away 
    It's in here: http://www.kernel.org/pub/linux/kernel/v2.6/

  • MapViewer JDeveloper embedded OC4J installation error

    Hi,
    I downloaded all latest mapviewer.ear and latest OC4J.
    Followed MapviewerUG installation instructions
    After starting OC4J
    using the url http://localhost:8888/mapviewer/
    works well and the demos like jview also works well
    using the url http://localhost:8888/mapviewer/omserver
    however, generates the following error
    &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;oms_error&gt;Message:[oms] empty or null xml map request string. Sat Apr 02 14:40:14 IST 2005 Severity: 0 Description: at oracle.lbs.mapserver.oms.getXMLDocument(oms.java:852) at oracle.lbs.mapserver.oms.doPost(oms.java:302) at oracle.lbs.mapserver.oms.doGet(oms.java:234) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)&lt;/oms_error&gt;
    I also downloaded the latest JDeveloper 10G and JDeveloper extensions and follwed the instructions in the How To Document
    How To Build Dynamic Maps Using JDeveloper 10g and Oracle Application Server MapViewer
    An Oracle JDeveloper How To Document
    Justin Lokitz
    October 2004
    I have no compilation errors but I am not able to view the density map. I am getting the Internal Server Error 500 instead.
    Can anyone please guide me through this.
    Thomas Joseph

    Hi Joao
    Thanks for tip on the log file.
    I have the data loaded.
    Evrything works fine when I use Mapviewer with OC4J and try the jview demo.
    I am however not able to get the example 'How to build Dynamic Maps' running using JDeveloper using the embeded OC4J server.
    The jsp source is as follows
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <DIV align="center">
    <P>MapViewer WebMap</P>
    <P>
    <mapviewer:init url="http://localhost:8888/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
    </P>
    </DIV>
    <DIV align="center">
    <mapviewer:setParam antialiasing="true" basemap="density_map" centerX="-122.4" centerY="37.8" height="450" size="10" title="MyWebMap" width="600"/>
    <mapviewer:run/>
    </DIV>
    <img src="<mapviewer:getMapURL />"/>
    </body>
    </html>
    There are no comilation errors
    When I run the code I get 500 Internal Server Error.
    The Application2-oc4j-app.log generated is as follows
    05/04/05 20:04:11 Started
    05/04/05 20:05:14 Application2-ViewController-webapp: JDevOJSP: init
    05/04/05 20:05:14 Application2-ViewController-webapp: action: init
    05/04/05 20:05:16 Application2-ViewController-webapp: 9.0.4.0.0 Started
    05/04/05 20:05:28 Application2-ViewController-webapp: Servlet error
    javax.servlet.jsp.JspException: Connection refused: connect
         at oracle.lbs.mapclient.taglib.MapViewerRunTag.doStartTag(MapViewerRunTag.java:123)
         at webmap.jspService(webmap.jsp:17)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Please put me on the track. I am not able to figure out what is going wrong.
    Regards
    Thomas Joseph

  • Java 1.4 compilation error

    Hi
    I am using JDK 1.4 to compile my source code which is compatable with JDK 1.3.1.
    The source code was compiling fine . But when i use the JDK 1.4 i am getting the following comilation error in the following code snippet.
    // Automatically-generated file -- do not edit.
    package org.omg.CORBA;
    import org.omg.CORBA.IDLType;
    import org.omg.CORBA.IDLTypeHelper;
    public class IDLTypeHelper {
    Error:
    ----- \org\omg\CORBA\IDLTypeHelper.java:12: org.omg.CORBA.IDLTypeHelper is already defined in this compilation unit
    import org.omg.CORBA.IDLTypeHelper;
    Any help is appreciated
    Thanks
    Harish

    Hello gkharishbabu,
    The message appears to say that you are trying to import org.omg.CORBA.IDLTypeHelper into itself. Try commenting out the line:
    import org.omg.CORBA.IDLTypeHelper;Hope that helps.
    -Merwyn,
    Developer Technical Support,
    http://www.sun.com/developers/support.

  • Jsp:include directives compilation errors

    hi,
    we have lot of <%@ include file="" %> files in out jsp page. when we trying to change this to <jsp:include page="" %>. we r getting lot of comilation errors
    The file size is increasing more than 64mb.
    Can u tell how to contain them within 64mb .
    thank you.

    The stack trace isn't very indicative of whatever problem you may be having.
    However, there is a major difference between <%@ include %> and <jsp:include />. The include directive <%@ include %> slams the content of the included resource into your JSP at compilation time, it is "static". No individual evaluation of the included resource is done, it becomes a part of the JSP that included it.
    <jsp:include /> is a dynamic include--it is evaluated at run-time. The content of the included resource is accessed and written to the output stream with the JSP is accessed. If the included content is a JSP, it is compiled and accessed as a separate servlet.
    So, it looks like your included JSPs do not qualify as valid, standalone JSPs. Typically, this is because of some dependency on variables or beans declared in the including JSP.
    Good luck.
    -brian

  • Alert message and timeout PJC

    Hi,
    We are using timeout PJC  functionality for our web forms. It's working fine and the form application display the alert/message whenever inactivity time reaches(which is set for 30 minutes). The issue is when you minimized the form application by clicking the browser's minimized button and now let say you are working in Toad or some other application and in a mean time your form application which is minimized and its inactivity time reaches but the alert/message is hidden with the minimized form application. Is there anyway to show the alert/message in my current working window/application? Any advise/suggestion please?
    Thanks
    RM

    Hi Francois,
    The frmall.jar is already in C:\Oracle10g_ds\forms\java location. But still when i try to compile TimeoutPJC.java in jdeveloper i get the comilation errors.
    Compiling...
    C:\Oracle10g_ds\jdev\bin\ojc.exe -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -target 1.2 -encoding Cp1252 -g -d C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -make C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes\Project.cdi -classpath C:\Oracle10g_ds\jdk\jre\lib\rt.jar;C:\Oracle10g_ds\jdk\jre\lib\i18n.jar;C:\Oracle10g_ds\jdk\jre\lib\sunrsasign.jar;C:\Oracle10g_ds\jdk\jre\lib\jsse.jar;C:\Oracle10g_ds\jdk\jre\lib\jce.jar;C:\Oracle10g_ds\jdk\jre\lib\charsets.jar;C:\Oracle10g_ds\jdk\jre\classes;C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -sourcepath C:\Oracle10g_ds\jdev\mywork\Application1\Project\src;C:\Oracle10g_ds\forms\demos\timeout\src;C:\Oracle10g_ds\jdk\src.zip C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
      compiling C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    [1:07:42 PM] Compilation complete: 6 errors, 0 warnings.
    Project: C:\Oracle10g_ds\jdev\mywork\Application1\Project\Project.jpr
    C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    Error(46,28): cannot access class oracle.forms.engine.Main; file oracle\forms\engine\Main.class not found
    Error(47,29): cannot access class oracle.forms.handler.IHandler; file oracle\forms\handler\IHandler.class not found
    Error(48,32): cannot access class oracle.forms.properties.ID; file oracle\forms\properties\ID.class not found
    Error(49,24): cannot access class oracle.forms.ui.CustomEvent; file oracle\forms\ui\CustomEvent.class not found
    Error(50,24): cannot access class oracle.forms.ui.VBean; file oracle\forms\ui\VBean.class not found
    Error(52,33): class VBean not found in class oracle.forms.demos.TimeoutPJC
    Thanks RM

  • Not allowed to import classes without package names?

    Hi,
    I have a few questions on Packages and importing?
    1. Is the following true that it is illegal to import classes in the same package as the current class, will this cause a comilation error? If this is the case where in the Java Language specification is this actually written as I could not find it?
    2. This has probably been answered by question 1 but if I have 2 classes in the same package and if I import 1 of the classes into the other class, is it illegal to import it by just using the class name and not the package name as well, ie
    if the package name is ie.tcd
    and the 2 class names are exp1.class and exp2.class, can I do this in class 2
    package ie.tcd;
    import exp1;
    public class exp2 {
    3. Is it illegal to import classes that are not explicitly part of any package or must a class be part of a package to be imported. I read somewhere that while this was always illegal it is only after jdk 1.4.2 that this is being enforced? If this is the case where in the Java Language specification is this actually written as I could not find it either?
    Thanks very much for any help,
    John

    Was just also wondering, 1 other thing, I am looking
    at someone elses code they have 2 classes (Class A
    and Class B) in the same package (pkg). The person
    imports class A into B:
    package pkg;
    import A;
    public class B {
    Is this legal code (or was it ever)?Not if A is really in pkg.A. If there is an A in the unnamed package it was legal, or at least it was understood by the compiler, and now it isn't (to both).
    Can you import or is there a point in importing a class in the same
    package?Only by naming the package in the import statement. If the current and the import statement are in the same package the import is redundant.
    If there is a point would you import just be
    using the class name (this would be illegal after jdk
    1.4) or should you use the whole package name even
    though it is in the package anyways?As I understand it you must always use the whole package name in imports.

  • Flex 4.5 webtier settings

    Hi All,
    I am migrating from flex 3.2 to flex 4.5.
    My flex project contains the flex webtier to compile the project on server.
    I have resolve all the comiler errors of flex 4 but when i deploy a war on Jboss server it's not get compiled.
    Is their any way to generate the webtier in Flash builder 4.5.I am using flah builder 4.5 as a plugin in eclipse.
    I tried to update flex webtier manually by replacing the flex 4 sdk jars and swc.
    Updated flex-config.xml accorfing to the flex 4 sdk.
    I didn't find the latest flex-bootstrap.jar according to flex 4.5 which will validate the flex 4 flex-config file for new tags.
    when i tried to deploy on server i get errors for folloting tags which are not supported
    <omit-trace-statements>
    <runtime-shared-library-path>
    <remove-unused-rsls>
    My web.xml contains follwing entries
    <servlet>
                <servlet-name>MessageBrokerServlet</servlet-name>
                <display-name>MessageBrokerServlet</display-name>
                <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
                <init-param>
                    <param-name>services.configuration.file</param-name>
                    <param-value>/WEB-INF/flex/services-config.xml</param-value>
                </init-param>
                <init-param>
                    <param-name>flex.write.path</param-name>
                    <param-value>/WEB-INF/flex</param-value>
                </init-param>
                <load-on-startup>1</load-on-startup>
            </servlet>
         <servlet>
            <servlet-name>FlexMxmlServlet</servlet-name>
            <display-name>MXML Processor</display-name>
            <description>Servlet wrapper for the Mxml Compiler</description>
            <servlet-class>flex.bootstrap.BootstrapServlet</servlet-class>
            <init-param>
                <param-name>servlet.class</param-name>
                <param-value>flex.webtier.server.j2ee.MxmlServlet</param-value>
            </init-param>
            <init-param>
                <param-name>webtier.configuration.file</param-name>
                <param-value>/WEB-INF/flex/flex-webtier-config.xml</param-value>
            </init-param>
           <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>FlexSwfServlet</servlet-name>
            <display-name>SWF Retriever</display-name>
            <servlet-class>flex.bootstrap.BootstrapServlet</servlet-class>
            <init-param>
                <param-name>servlet.class</param-name>
                <param-value>flex.webtier.server.j2ee.SwfServlet</param-value>
            </init-param>
            <!-- SwfServlet must be initialized after MxmlServlet -->
            <load-on-startup>2</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>FlexForbiddenServlet</servlet-name>
            <display-name>Prevents access to *.as/*.swc files</display-name>
            <servlet-class>flex.bootstrap.BootstrapServlet</servlet-class>
            <init-param>
                <param-name>servlet.class</param-name>
                <param-value>flex.webtier.server.j2ee.ForbiddenServlet</param-value>
            </init-param>
        </servlet>
        <servlet>
            <servlet-name>FlexInternalServlet</servlet-name>
            <servlet-class>flex.bootstrap.BootstrapServlet</servlet-class>
            <init-param>
                <param-name>servlet.class</param-name>
                <param-value>flex.webtier.server.j2ee.filemanager.FileManagerServlet</param-value>
            </init-param>
            <load-on-startup>10</load-on-startup>
        </servlet>
    Thanks,
    Amol.

    Flex 4.5 doesn't officially support iOS.  Make sure you are using Flex 4.5.1 which adds support for iOS and BlackBerry Tablet OS platforms.
    Yes iPhone 3GS is the minimum requirement.

  • ClassNotFoundException-javax.faces.application.ProjectStage - deploy of WAR

    Hello All,
    We are trying to deploy the ViewController project, of a jsf/adf based application, to a WAR file. We are migrating our application from 10g to 11g. We have successfully gone past all the comilation errors and now trying deployment.
    We were getting the following error and got around it by checking - ViewController -> rt. Click ProjectProperties -> Deployment -> Edit WAR deployment profile -> WEB-INF/LIB -> Contributors : checked jsf2.0, jstl1.2, jstl1.2tags
    Error while deployment: [12:52:11 PM] [Deployer:149193]Operation 'deploy' on application 'webapp1' has failed on 'AdminServer'
    [12:52:11 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp1 on AdminServer.: Failed to load webapp: 'webapp1.war'.
    [12:52:12 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'webapp1.war'
    [12:52:12 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@16785362[app:webapp1 module:webapp1.war path:/coagov spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    NOW, we get the following error and the deployment is unsuccessful
    [04:16:59 PM] Deploying Application...
    [04:19:58 PM] [Deployer:149193]Operation 'deploy' on application 'webapp1' has failed on 'AdminServer'
    [04:19:58 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp1 on AdminServer.: javax.faces.application.ProjectStage.
    [04:19:58 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException: javax.faces.application.ProjectStage
    [04:19:58 PM] See server logs or server console for more details.
    [04:19:58 PM] weblogic.application.WrappedDeploymentException: javax.faces.application.ProjectStage
    [04:19:58 PM] Deployment cancelled.
    [04:19:58 PM] ---- Deployment incomplete ----.
    [04:19:58 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    From log-
    java.lang.ClassNotFoundException: javax.faces.application.ProjectStage
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
    Please help!!!
    Thanks,

    This seems like a JDeveloper packaging issue perhaps, or at least needs some knowledge of the JDeveloper packaging process:
    The deployment error:
    [12:52:12 PM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@16785362[app:webapp1 module:webapp1.war path:/coagov spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false] Seems to indicate that the weblogic.xml file you are embedding, has a <library-ref> element pointing to a JSF 2.0 shared-library deployed on WLS -- and that shared-library is not available.
    So you fixed it by doing this:
    Deployment -> Edit WAR deployment profile -> WEB-INF/LIB -> Contributors : checked jsf2.0, jstl1.2, jstl1.2tagsAnd thus, you have JSF 2.0 packaged in the WEB-INF/lib.
    Can you check that it is actually included in the WEB-INF/lib directory of your WAR file? Perhaps it's not being included for some reason.
    Have you also tried deploying the WLS jsf-2.0.war shared-library to the server you are deploying the web app to?
    -steve-

Maybe you are looking for

  • HELP Needed with this error:   Exception in thread "main" java.lang.NoClass

    Folks, I am having a problem connecting to my MSDE SQL 2000 DB on a WindowsXP pro. environment. I am learning Java and writing a small test prgm to connect the the database. The code compiles ok, but when I try to execute it i keep getting this error

  • How can I change the date of birth on my child's Apple ID?

    HI, My son's school have started an initiative where they use iPads as part of their lessons, and subsequently my son has a brand new iPad through the scheme. The setup guide that the school supplied directed us to enter the parent's date of birth an

  • Rather than persists in the future thread...

    The point I was making would be for Archs documents to pick up where man pages leave off, but whatever. If you think I stated Arch must fix man pages, not so. I was intending to show that docs as a whole, leave whole subjects unhandled, Arch could pr

  • Using Screen Exit AMPL0001 in TCode MP02 but fields are not showing.

    Hello SAPients! I created a project, added the enhancement AMPL0001, included some test fields in the subscreen, activated components and project but when I run the transaction where my custom fields are supposed to be shown this is not happening. No

  • Unable to set Data in MODEL NODE ??????

    Hello All, I have created a Web Dynpro application which makes  RFC or BAPI calls. I need to <b>pass data to the BAPI as input parameter, but am failing to do so.</b> The Context structure for the model node is as follow - Level1 - Z_Mm_XXX_Input Lev