ORA-24344 with JAVA SOURCE

Hello,
I try to recompile java stored procedures.
I do it like this :
ALTER JAVA SOURCE MY_JAVA_SOURCE_NAME compile;
And I get the following error : ORA-24344: success with compilation error
But if i do this it works.
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED MY_JAVA_SOURCE_NAME
as
My Java Code......
Can anybody help me in just recompiling java source ?
Edited by: Zabo on Mar 29, 2012 4:44 AM
Edited by: Zabo on Apr 2, 2012 7:21 AM

Zabo wrote:
Hello,
I try to recompile java stored procedures.
I do it like this :
ALTER JAVA SOURCE MY_JAVA_SOURCE_NAME compile;
And I get the following error : ORA-24344: success with compilation error
But if i do this it works.
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED MY_JAVA_SOURCE_NAME
as
My Java Code......
Can anybody help me in just recompiling java source ?
Edited by: Zabo on Mar 29, 2012 4:44 AM
Edited by: Zabo on Apr 2, 2012 7:21 AM*Cause:  A sql/plsql compilation error occurred.
// *Action: Return OCI_SUCCESS_WITH_INFO along with the error code
It is a challenge to debug code that can not be seen
Handle:     Zabo
Status Level:     Newbie
Registered:     Mar 22, 2007
Total Posts:     149
Total Questions:     31 (19 unresolved)
why so many unanswered questions?
Edited by: sb92075 on Apr 2, 2012 7:24 AM

Similar Messages

  • Problem with java source procedure

    Hello everyone, I've set up a simple example that is supposed to create an fdf file on the server. I tested my program and it works fine.
    Now I'm trying to do the same thing except that I would like to have my java code in the database. Here's what I've done:
    # on database in opus schema
    create or replace and compile java source named testpdf as
    import java.io.*;
    import com.adobe.fdf.*;
    import com.adobe.fdf.exceptions.*;
    public class TestPDF
         public static void Test()
    try
         FDFDoc outputFDF = new FDFDoc();
         outputFDF.SetValue("status", "En traitement!");
         outputFDF.SetValue("Date", "01-01-2006");
         outputFDF.SetValue("Name", "Alexandre Folgueras");
         outputFDF.SetValue("Address", "12 Saratoga Ave");
         outputFDF.SetValue("City", "Saratoga");
         outputFDF.SetValue("State", "CA");
    outputFDF.SetFile("/tmp/java_pdf/GenerateFDF.pdf");
    outputFDF.Save("/tmp/java_pdf/alex.fdf");
    catch (Exception e)
    e.printStackTrace();
    create or replace procedure pdf_doc
    AS LANGUAGE JAVA
    NAME 'TestPDF.Test()';
    commit;
    Everything seems to be OK by when I run it, my file does not get created even though I don't get any errors.
    Anybody knows why?
    Thanks in advance!

    Hello,
    I'm also creating a class with static functions and putting it as a Java source in Oracle but I have problems with imports. In my case, I use MQSeries JAR files and when I put my code in Oracle, I have warnings "Java created with compilation errors". It's just about the lines where I create/use MQSeries objects, because when I comment them, I have no more errors.
    I see you also use specific imports with PDF, so I would like to know where you put the JAR files so that the Java source can be compiled correctly.
    Thanks in advance,

  • Ora-03113 with Java Procedure On 10g Enterprise Edition Release 10.1.0.3.1

    Hi All,
    I am getting Ora-03113 (End-of-Communication) while executing Java Stored procedure. Java Stored Procedure executes Sqlldr on server. Server OS is Linux 86x.
    Database is -- Oracle with Infrastructure.
    Oracle Database 10g Enterprise Edition Release 10.1.0.3.1 - Prod
    PL/SQL Release 10.1.0.3.1 - Production
    CORE 10.1.0.3.0 Production
    TNS for Linux: Version 10.1.0.3.0 - Production
    NLSRTL Version 10.1.0.3.0 - Production
    Same java procedure was working properly when database was 10.1.0.2.1. Any suggestion
    SKM

    Check in Ur programs -Application Tool bar, Whether your have two oracle or not.
    You can unintall the OLD version from your PC using the Oracle Unistaller

  • E-Commerce for mySAP ERP: Problem with java source code

    Hello everybody,
    we try to implement web shops on the basis of ECO for ERP 5.0. The shop is running fine and we want to start with some extensions in java classes and web UI with NWDI  2004s.
    We created a new track and our own application as described in "Development And Extension Guide". We need to extend some of the original java classes for the b2b scenario and of course the user interface.
    We got the information from SAP, that the original java classes are not intended
    to be modified by customers and therefore it is not intended to create a project with NWDI that contains that source code. But we should be able to create own DCs and copy the source code into it and then modify them on own risk.
    We tried to do that, but always got errors.
    Due to customer requirements we have to make some modifications otherwise we can not use this solution.
    If there is anybody who has already some experience with this topic we
    would be very glad to get some hints.
    Kind Regards
    Helmut

    Hello Raju,
    I am sorry, but I am no technical consultant, but I am have to change 
    the already installed application for our customers.
    Nethertheless I try to give you some information I have. I had a look at SAP note 883948 you mentioned. The software components which are listed under XECO are the software components which contain the E-Commerce Application. You also find them in the "Development and Extension Guide".
    There are some guides under  http://service.sap.com/instguides -> mySAP Business Suite Solutions -> mySAP ERP -> mySAP ERP 2005 -> Installation. In the document "SAP E-Commerce for mySAP ERP: Business Scenario Configuration Guide" there is a table of the needed components on a high level.
    From the view of the application you need the E-Commerce application itself, the TREX for searching in the product catalog, the IPC if you want to have price calculation in the shop or configuration of products with optional components.
    Hope this helps a bit
    Kind Regards
    Helmut

  • How to exclude src.zip with java source files from archive

    Hello All.
    Our team have to prepare our SCs (Sowtware Components) for using outside the company. Meanwhile our source files should be protected. We tried a lot of ways to remove all sources from SCA archives.
    This SC should then be integrated in third-party product.
    Using build options in compartments gives no effect.
    Any ideas?
    Thanks in advance.
    Maxim Maltsev.

    Thanks a lot.
    To make code invisible for customer we should build an assembly with build option "include_sources"=false.
    DCs in such assemblies won't be visible in inactive branch and could be used as non-editable in active branch of track.
    The task is settled - client can modify his own code and use our code only via used DC and their public parts, he is not able to see our code.
    Also customer can not see private sources as he gets assemblies without sources. Remember - public parts of type assembly shouldn't be of Source type.
    Maxim Maltsev.
    Edited by: Maxim Maltsev on Dec 10, 2009 3:53 PM

  • Problem with creating JAVA Source. please help

    Dear all
    how are you.
    In fact I have made a simple java class that return a string which represents the screen size . for example 800/600 or 1024/768 or others
    but I face error ORA-29541 class string.string could not be resolved
    This what i made
    first i created my JAVA Source
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "ScreenProperty" AS
    import java.lang.Object;
    import java.awt.*;
    public class ScreenProperty
    int w;
    int h;
    public static String getScreenSize()
    w = Toolkit.getDefaultToolkit().getScreenSize().width;
    h = Toolkit.getDefaultToolkit().getScreenSize().height;
    return w+"/"+h;
    SQL>Operation 160 succeeded.
    this means the the java source created successfuly
    and I'm sure that my java code is correct
    then i created a fuction to call this java source as fellow
    SQL> create or replace function f_get_screen_size
    return varchar2
    as language java
    name 'ScreenProperty.getScreenSize() return java.lang.String';
    Function created.
    the I Issued this sql statement to return the result that should be varchar2 that represent the sceen size(1024/768)
    SQL> select f_get_screen_size from dual;
    ORA-29541 class string.string could not be resolved.
    I do not know what is the reason for this error
    and when i searched the documentation for this error i found
    ORA-29541 class string.string could not be resolved
    Cause: An attempt was made to execute a method in a Java class that had not been previously and cannot now be compiled or resolved successfully.
    Action: Adjust the call or make the class resolvable
    I need to know what is the problem.
    And is there another way to load this class other than making JAVA SOURCE
    please help

    before drawing hands of clock you could fill a circle/oval with certain color, then you'd have that kind of circle that has been filled as backgound.
    you may change those dots to be small lines for 12, 3, 6 and 6 o'clock and then have small dots represent 1, 2, 4, 5, 7, 8, 10 and 11 o'clock
    anyhow, you should study that code and see how you can modify it whitout breaking it but having it look different.
    better yet would be trying to understand how it works, what any line there means and then recreate your own... this way you would learn more....
    and if there are some methods or anything you don't understand, then look them up from API documentation
    good luck.

  • ORA-24344: Success with compilation error.

    Hi, i got the following error notification mail when the DB job [runs only once in a day at 1 AM] tries to execute the following procedure.
    The mail reads like this ----
    "Condition Raised in: toll_partitions.recompile_invalid_objects
    Short Desc: ORA-24344
    Long Desc: ORA-24344: Success with compilation error.
    Cause: Trigger creation did not successfully complete.
    Solution: Check trigger status for all triggers created in this schema and find out which error caused the failure by querying the user_errors table for the named trigger and Trigger type.
    --- end of mail ----
    === This is the procedure =====
    PROCEDURE recompile_invalid_objects IS
    -- Declare variables
    v_ins_str VARCHAR2(2000);
    cursor_handle NUMBER;
    execute_feedback NUMBER;
    v_unix_str VARCHAR2(200);
         v_object_cnt NUMBER := 0;
         -- Declare cursor objects
         CURSOR curs_obj IS
    SELECT decode( OBJECT_TYPE, 'PACKAGE BODY',
    'ALTER PACKAGE ' || OWNER||'.'||OBJECT_NAME || ' COMPILE BODY',
    'ALTER ' || OBJECT_TYPE || ' ' || OWNER||'.'||OBJECT_NAME || ' COMPILE' )
                   "COMP_OBJECT"
    FROM dba_objects
    WHERE STATUS = 'INVALID'
    AND OBJECT_TYPE IN ( 'PACKAGE BODY', 'PACKAGE', 'FUNCTION', 'PROCEDURE',
              'TRIGGER', 'VIEW' )
    AND OWNER = USER
              AND OBJECT_NAME NOT LIKE 'TOAD_PROFILER'
    ORDER BY OWNER, OBJECT_TYPE, OBJECT_NAME;
    BEGIN
         -- Set Package/Procedure Name for email notification.
         vFacility := cProcName || '.recompile_invalid_objects';
    -- Select invalid object count
    BEGIN
         SELECT count(*)
              INTO v_object_cnt
              FROM dba_objects
    WHERE STATUS = 'INVALID'
    AND OBJECT_TYPE IN ( 'PACKAGE BODY', 'PACKAGE', 'FUNCTION', 'PROCEDURE',
              'TRIGGER', 'VIEW' )
    AND OWNER = USER
                   AND OBJECT_NAME NOT LIKE 'TOAD_PROFILER'
    ORDER BY OWNER, OBJECT_TYPE, OBJECT_NAME;
              -- Recompile invalid objects
              IF v_object_cnt > 0 THEN
              FOR i in curs_obj
                   LOOP
                   v_ins_str := i.COMP_OBJECT;
                        cursor_handle := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(cursor_handle,
         v_ins_str,
                   DBMS_SQL.V7);
    execute_feedback := DBMS_SQL.EXECUTE(cursor_handle);          
    DBMS_SQL.CLOSE_CURSOR(cursor_handle);
    COMMIT;
                   END LOOP;
              END IF;
    END;
    EXCEPTION
         WHEN OTHERS THEN
         -- Log error condition and generate email notification if needed.
    toll_handle.error_condition(vFacility, toll_handle.get_ora_desc(sqlerrm),vErrorID);
         END recompile_invalid_objects;
    ==== end of procedure ====
    I got '0' count when I ran the invalid object count to see the invalid objects. I ran the following code ..and it gave me 0 value.
    SELECT count(*)
              FROM dba_objects
    WHERE STATUS = 'INVALID'
    AND OBJECT_TYPE IN ( 'PACKAGE BODY', 'PACKAGE', 'FUNCTION', 'PROCEDURE',
              'TRIGGER', 'VIEW' )
    AND OWNER = USER
                   AND OBJECT_NAME NOT LIKE 'TOAD_PROFILER'
    ORDER BY OWNER, OBJECT_TYPE, OBJECT_NAME;
    --- end of query ---
    The count 0 means, there are no invalid objects. But it throws daily the same error notification mail at 1 AM[the time job runs]. I compiled the procedure and it reports no errors. I checked the status of the triggers and all are valid and enabled. Please suggest me. Any help in this regard will be of great help to me. Thanks in advance...

    Just some hints. I'm not sure if they help solving your problem.
    1) Don't COMMIT inside a cursor.
    2) Instead of DBMS_SQL you could use DBMS_DDL.ALTER_COMPILE, also see here: http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_ddl2.htm#1000604
    3) Check if there are other jobs running during the recompile. Maybe you run into some conflicts.
    4) Output the statement that creates the error. It looks like you could try to put this into your exception handler: toll_handle.error_condition(vFacility, v_ins_str,vErrorID);

  • Using PL/SQL Function with CLOB types and a Java Source

    Hi people.
    I have some problems trying to use a function in pl/sql with a CLOB parameter to a java source function.
    Here is the problem: I have to read a TXT file and return a CLOB with the data of the file. The reading is done with a java source function.
    The problem is how to read the file without messing the content and return it to the pl/sql function?
    Another problem: If I pass a CLOB as a parameter to a pl/sql function and have to write the content to a file, how to do it without screwing the EOL chars and so?
    My code is:
    /******** PLSQL FUNCTIONS ********/
    function fn_gravaconteudoarquivo( pv_caminho in varchar2
    , pv_nomearquivo in varchar2
    , pc_conteudo in clob ) return varchar2 as language java
    name 'Importacao.gravaConteudoArquivo(java.lang.String, java.lang.String, oracle.sql.CLOB) return varchar2';
    function fn_lerconteudoarquivoclob( pv_caminho in varchar2
    , pv_nomearquivo in varchar2 ) return clob as language java
    name 'Importacao.lerArquivoClob(java.lang.String, java.lang.String) return clob';
    /******** JAVA SOURCE FUNCTIONS *********/
    public static String gravaConteudoArquivo(String caminho, String nomeArquivo, CLOB conteudo) {
    File file = new File(caminho, nomeArquivo);
    PrintWriter pwFile;
    String mensagem = "";
    StringBuffer sb = new StringBuffer();
    try {
    pwFile = new PrintWriter(new BufferedWriter(new FileWriter(file,true)));
    for (int i=0;i<=(conteudo.length()/32000);i++) {
    sb.append(conteudo.getSubString(conteudo.getLength()+1,32000));
    pwFile.println(sb.substring(0));
    pwFile.close();
    } catch (Exception ex) {
    mensagem = "Erro: "+ex;
    return mensagem;
    public static CLOB lerArquivoClob(String caminho, String nomeArquivo) throws SQLException {
    File file = new File(caminho, nomeArquivo);
    Connection conn;
    CLOB clob = null;
    String lineSep = System.getProperty("line.separator");
    StringBuffer sb = new StringBuffer();
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:csdesv", "csestoque", "liberada");
    clob = CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION);
    BufferedReader brFile = new BufferedReader(new FileReader(file.getPath()));
    while (brFile.ready()) {
    sb.append(brFile.readLine());
    sb.append(lineSep);
    clob.open(CLOB.MODE_READWRITE);
    clob.setString(clob.getLength()+1, sb.toString());
    clob.close();
    } catch (Exception ex) {
    ex.printStackTrace();
    return clob;
    Ah, just remembered... This will work as a JOB.... >.< ... So the connection aparently is at localhost.
    Thanks.

    No one? I really need this....

  • I want to get the source code of the examples of berkeley DB with Java

    Hi
    I want to get the source code of the examples of berkeley DB with Java
    Thanks and Regards
    Rahul

    Look in the "examples" directory, in the BDB JE package that you downloaded.
    --mark                                                                                                                                                                           

  • ORA-24344: success with compilation error While creating workspace

    Hi,
    We had an instance with db 9.2.0.5 and HTML DB 1.56.
    First we upgraded database to to 10.1.0.4.Then we upgraded HTML DB to 1.6.1(Upgraded html db 1.5 to 1.6, Then applied patch 1.6.1 patch - 4173133)
    Logged to the HTML DB as an administrator for creating application developer's workspace. I have got the error "ORA-24344: success with compilation error" while creating the workspace.
    We are able to create the workspace successfully on HTML DB 1.5.
    Any help is highly appreciated.
    Thanks, Venkanna

    Venkanna - Do you think the workspace creation was at least partly successful? I mean, can you login to it, can you see anything about it in the admin app, etc.? It would be useful to get a list of invalid objects in the new workspace's schema. If there are none, then get a list of invalid objects in FLOWS_010600.
    Scott

  • "ORA-24344: success with compilation error" in beginDDL

    Hello,
    I'm facing a really strange problem. When i try to use dbms_wm.beginDDL in one of my versioned tables, i get the error:
    ORA-24344: success with compilation error
    ORA-06512: "WMSYS.LT", line 12178
    ORA-06512: line 2
    I just get the error if i run the procedure from SQLPlus.
    Using PLSQL Developer, for example, I get a normal execution but the LTS table it's not created and the state of the table stays 'VERSIONED'.
    I used this procedure other times in the past and there were no problems.
    Trying to identify the cause of the error, i've tried:
    (1) - run dbms_wm.beginDDL for all the other tables - No Problem
    (2) - verifiy if there were invalid objects - All valid
    (3) - verify the error tables for more details (user_, dba_, user_wm_vt_) - No entries
    (4) - generate a trace file, to search for abnormal executions - Apparently nothing really strange (but obviously I don't know what was supposed to happen)
    Any possible reasons for this to happen?
    Any ideas?
    Some help would be welcome.
    Best regards,
    Pedro Lourenço

    Hi Noel,
    I just found the problem...
    I have a trigger defined on the table that uses a synonym for another user table.
    That synomym was dropped, so the trigger was invalid.
    I didn't notice the problem because the trigger was disabled, so the WM$ procedure wasn't being generated, and there were no "visible errors".
    Recreating the synomyn, the problem was solved.
    Thanks for your help!
    Regards,
    Pedro Lourenço

  • Problems with Java AQ interface migrating 9i to 10g

    Hi!
    I've got problems with Java AQ Interface migrating from 9i DB, JDBC, AQ to 10g rel.2 DB, JDBC, AQ
    First, i started to occasionally receive NullPointerException in Oracle JDBC 9.2.0.8
    java.lang.NullPointerException
    at oracle.jdbc.driver.OracleStatement.describe(OracleStatement.java:6439)
    at oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:6203)
    at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:1557)
    at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1543)
    at gpnic.messaging.LDAPMessenger.messageFromRS(Unknown Source)
    We were using 9.2.0.8 JDBC and 9i and 10g databases.
    We decided to go up for 10g r2 JDBC Drivers, and 10.2 AQ but started to get the following errors:
    oracle.AQ.AQOracleSQLException: ORA-25216: invalid recipient, either NAME or ADDRESS must be specified
    ORA-06512: на "SYS.DBMS_AQIN", line 454
    ORA-06512: на line 1
         at oracle.AQ.AQOracleQueue.enqueue(AQOracleQueue.java:1267)
         at gpnic.comm.messaging.transport.AQTransportAdapter$AQDestanation.send(AQTransportAdapter.java:607)
         at gpnic.comm.messaging.transport.OutboundThread.run(OutboundThread.java:83)
    I'm specifying address of an agent, but oracle says I am not.
    I tried both native AQ and JMS interfaces, bot got the same error. I specify recipient the following way:
    'consumer' var contains name of AQ agent and is not null
    native AQ interface:
    aqSess = AQDriverManager.createAQSession(db_conn);
    AQQueue destQ = aqSess.getQueue(schema, queue);
    dequeueOptionsOut = new AQDequeueOption();
    dequeueOptionsOut.setWaitTime(AQDequeueOption.WAIT_NONE);
    dequeueOptionsOut.setConsumerName(consumer);
    dequeueOptionsOut.setDequeueMode(AQDequeueOption.DEQUEUE_REMOVE);
    dequeueOptionsOut.setNavigationMode(AQDequeueOption.NAVIGATION_FIRST_MESSAGE);
    AQMessageProperty mpOut = new AQMessageProperty();
    Vector vRecpt = new Vector();
    vRecpt.add(new AQAgent(consumer, null, 0));
    mpOut.setRecipientList(vRecpt);
    AQMessage aqMsg = null;
    AQEnqueueOption eOpt = null;
    //prepare message
    aqMsg = destQ.createMessage();
    CLOB chMsg = CLOB.createTemporary(db_conn, true, CLOB.DURATION_SESSION);
    chMsg.open(CLOB.MODE_READWRITE);
    chMsg.putString(1,msg);
    //creating oracle type message
    gpnic.db.SDSTypes.SdsMsgT oraMsg = new gpnic.db.SDSTypes.SdsMsgT(chMsg);
    AQObjectPayload payload = aqMsg.getObjectPayload();
    payload.setPayloadData(oraMsg);
    //setting properties
    aqMsg.setMessageProperty(mpOut);
    //do enqueueOut
    eOpt = new AQEnqueueOption();
    destQ.enqueue(eOpt, aqMsg); //<- here AQOracleSQLException is thrown
    JMS interface to Oracle AQ:
    TopicSession session;
    TopicConnection connection;
    TopicPublisher publisher;
    AQjmsAgent[] recipientList;
    connection = AQjmsTopicConnectionFactory.createTopicConnection(db_conn);
         session = connection.createTopicSession(true, Session.CLIENT_ACKNOWLEDGE);
         connection.start();
         Topic topic = ((AQjmsSession) session).getTopic(schema, queue);
         publisher = session.createPublisher(topic);
         recipientList = new AQjmsAgent[1];
         recipientList[0] = new AQjmsAgent(consumer, null);
    CLOB chMsg = CLOB.createTemporary(db_conn, true, CLOB.DURATION_SESSION);
    chMsg.open(CLOB.MODE_READWRITE);
    chMsg.putString(1,msg);
    //creating oracle type message
    gpnic.db.SDSTypes.SdsMsgT oraMsg = new gpnic.db.SDSTypes.SdsMsgT(chMsg);
    AdtMessage adtMessage = ((AQjmsSession)session).createAdtMessage();
    adtMessage.setAdtPayload(oraMsg);
    ((AQjmsTopicPublisher) publisher).publish(adtMessage, recipientList); <- here Exception is thrown
    We tried the following combinations
    9i DB, 9i jdbc, 9i aq - enqueue ok
    10g DB, 9i jdbc, 9i aq - enqueue ok
    10g DB, 10g jdbc, 10g aq - exception is thrown
    Can anyone help?

    Duplicate post, please check Upgrade 9i to 10g

  • Oracle Waveset with Java 7 (JDK 1.7)?

    Hi
    has anyone attempted to run Oracle Waveset with Java 7 (with Weblogic)? does it work? We're planning an upgrade and we're thinking of going directly to Java 7 (instead of Java 6 which will be EOL this autumn).
    the latest certification matrix (updated in May 2011) does not mention Java 7.
    thanks, Peter

    Hi,
    As the warning message suggests, You need to check the Supported Platforms for your XI 3.1 version:  www.service.sap.com/pam   ... and look under section "Web Intelligence, Desktop Intelligence, Dashboard and Analytics Data Sources"
    here the SP05 one for Windows : http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000087200&_SCENARIO=01100035870000000202&_OBJECT=012002523100019873322011E
    Basically, you need to use ORA 10 or 11. Else, you aren't supported, and probably wasting your time.
    Regards,
    H

  • Installation Of Solman 7.1 aix Oracle failed with Java Error

    Dear All,
    We are doing SOLMAN Installation 7.1 SR1 AIX Oracle.
    Now the installation stopped at the 19th phase "IMport ABAP"as in the attached screenshot.
    OS : AIX 6100-07-02-1150
    Database:  Oracle 11.2.0.3
    Java Version currently maintained:  java version "1.4.2"
    When i checked in log File  import_monitor.java.log  (  /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS) ,
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] cat import_monitor.java.log
    java version "1.6.0_45"
    Java(TM) SE Runtime Environment (build 6.1.051)
    SAP Java Server VM (build 6.1.051 23.5-b02, May 30 2013 05:04:21 - 61_REL - optU - aix ppc64 - 6 - bas2:197575 (mixed mode))
    Required system resources are missing or not available:
      Import directory '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP2' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP3' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP4' does not exist.
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS]
    Also i checked all the above import Directories [
    '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1'
    '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP2'
    '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP3'
    '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP4'
    ] and all the above import directories are present in my system.
    Later from the above log, i compared the Java Version of our System
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20110630 (SR13 FP10) (JIT enabled: jitc))
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] which java
    /usr/java14_64/jre/bin/java
    Kindly clarify the below Queries.
    1)Is the above Solman installation error was due to Java version? If so, do we need to install   java version "1.6.0_45" in Solman Server to proceed with the installation.
    2)Cant we proceed the Solman installation with the current Java version (java version "1.4.2") of our System .
    3) What is the actual Prerequistes to be maintained for JAVA.  I have downloaded the Installtion guide from SMP.
    but in the installation guide, The exact java version to be maintained to proceed with the Solman Installation 7.1 SR1 is not mentioned anywhere.
    4)If we install the Java 1.6, do we need to start Solman installation from the scratch . Any reboot required after installing java 1.6?
    5)Because of the inconsistencies in java version in our System, The installation shows the Error " Import directory does not exist  "?
    6)Please tel the cause of the Error
    Kindly assist to proceed with the installation
    Regards,
    Gayathri.K

    Hello Gayathri
    The import_monitor.java.log says the JRE used is 1.6 - java version "1.6.0_45"
    There must be multiple JRE's installed on the system.
    Run the below command and check the output
    ls -lad /usr/java*
    Few things I would try.
    Is the '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1' an NFS mount ? If yes use a local file system.
    Create a directory called /SMINSTALL and move all from /cddumps/Solman_Export_Cds
    It should look like /SMINSTALL/51042607_1/DATA_UNITS/EXP1
    Start the installation.
    Try to use Java 1.4 or 1.5 and see if that helps.
    You need to set the environment variable JAVA_HOME before starting the installation.
    export JAVA_HOME=/usr/java14_64/jre
    Are there any files/directories under 51042607_*/DATA_UNITS/EXP* ?
    Regards
    RB

  • Any way to search for casts in java source code?

    Anyone know of a decent way to search your java source files to find all the casts?
    I ended up doing a simple text search for
         " = ("(quote marks not included) which works for my code because I am strict about writing my casts with spaces like
         String s = (String) iterator.next();Unfortunately, the above search has all kinds of problems with both false positives and negatives. It picks up lots of irrelevant lines like
         int index = (number > 0) ? 0 : 1;as well as misses casts that appear nested inside expressions like
         ((String) iter.next()).charAt(...)I suppose that one could do a regular expression search for any pair of open and close parens which bound non-blank text, but that would pick up even more non-cast expressions in typical java code.
    I think that the only way to properly do this is to have a tool which understands java syntax.
    Anyone know of an IDE which will do this? Does IntelliJ or Netbeans support this kind of search?
    In case you are wondering why I am interested in this, it is because I am refactoring some code to fully use generics, and searching for casts is one source of identifying candidates for genericity.

    cliffblob wrote:
    Better late than never?Yes!
    cliffblob wrote:
    ...The answer I found to ID unnecessary casts was, using Eclipse IDE, In compiler error and warning preferences to warn on unnecessary casts.Thanks for pointing IDEs out. I just opened IntelliJ, and going back to at least version 7.04 (maybe earlier) they have an inspection for "Redundant type cast".
    cliffblob wrote:
    I would still be interested to know if there is a way to identify casts in general in your source, perhaps now four years later there is a way?The only solutions that I can think of are either a complicated regex search, or you must use some tool like an IDE that understand Java syntax and can determine if a cast is happening.

Maybe you are looking for

  • Time machine won't backup

    I've been having a lot of issues with time machine lately. A couple of days back I suddenly got the message that time machine didn't make backups for over 22 days! The first thing I thought was: why am I just now learning about this but okay let's ch

  • After i had my hard drive replaced, i've gone to get my old emails and am unable to find them on time machine. The file com.apple.mail.plist isn't there. HELP!

    Pretty sure this will be some sort of user error, but i'm lost. I had to have my hard drive replaced, so before taking it to the genius bar, i backed up using time machine. I'd had issues with trying to use Carbon Copy Cloner previously so had format

  • Who'd like to test a new Drag and Drop Interactive Widget?

    It's taken about 6 months of every spare minute we could find but we're finally ready to do a round of Alpha testing for our new Drag and Drop Interactive Widget for Cp4 and 5.  This post is to ask for a handful of volunteers to test the new widget o

  • Dropdown list in oppurtunities screen

    Hi Experts, I want to create a dropdown with different product types in oppurtunity screen SAP CRM 2007 UI.I don't want to show in assignment block, just i want to show on the top side anywhere, on oppurtunities screen.Please give some inputs, thanks

  • X120e Bluetooth non-existant?

    I ordered my laptop from cdw (will post link when cdw gets finished with their downtime). On the one I ordered, it said that bluetooth was included. As a general rule I always re-install windows after I get it, and did the same this time because I ha