Error in sqlj stub: invalid argument

Could you please help me with this?
When I try to launch sqlj it always answer in the same way:" Error in sqlj stup: ivalid argument" even if I specify arguments that should be recognized.
I am using WinNT 4.0 Server:
Classpath:
.;..;c:\sqlj\lib\translator.zip;c:\sqlj\lib\runtime.zip;D:\PeerLogic\LiveCon
tent\VISION_3.1\ScreenBean_1.3\lib\kixemuapi.jar;D:\PeerLogic\LiveContent\VI
SION_3.1\Generators_3.8.1\386xnt4;e:\jsdk2.1\examples;e:\jsdk2.1\server.jar;
e:\jsdk2.1\servlet.jar;d:\websphere\appserver\servlets
Path:
D:\PeerLogic\LiveContent\VISION_3.1\Generators_3.8.1\386xnt4\bin;D:\PeerLogi
c\LiveContent\VISION_3.1\Groff_1.10\386xnt4\bin;D:\PeerLogic\LiveContent\VIS
ION_3.1\Tools_4.5.1\386xnt4\bin;%SystemRoot%\system32;%SystemRoot%D:\PeerLog
ic\LiveContent\VISION_3.1\JavaRuntimeEnvironment_1.1.8\bin;D:\WebSphere\AppS
erver\plugins\nt;e:\jdk1.1.8\bin;c:\sqlj\bin
Thanks in advance
null

Christian --
Your information is not sufficient to determine the cause of the problem (some system or spawnvp call returns the error code EINVAL).
- If you just say sqlj, do you also see the problem?
- Do you see the problem if you say sqlj -n ?
- As a workaround, you can give the -n argument to sqlj to see an alternative command line that you could issue directly without going through the SQLJ wrapper executable.
- I can also give you the source to sqlj.exe, so you can try to get to the bottom of this problem in your environment (mail to [email protected])
Thanks!
-- Ekkehard

Similar Messages

  • Oracle.jms.AQjmsException: invalid arguments in call

    Hi
    Has anyone seen this error before?
    Environment Configuration:
    APP SERVER 9.0.4 (OUT 0F BOX CONFIG)
    JDK 1.4
    RED HAT ENTERPRISE SERVER 3.0
    COMPAC DL380
    ON VM SOFTWARE
    DB 9.2.0.4
    HP-UX 11i
    SUPERDOME
    Error logs:
    [18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.common.jms.pool.QueueConnectionPool]
    [getQueueConnection] :Using pooled queue connection for factory:
    java:comp/resource/SDEJMS/QueueConnectionFactories/SDEQUEUETAB
    [18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.common.jms.pool.QueueSessionPool]
    [createQueueSession] :Failed to create queue session: oracle.jms.AQjmsException: invalid arguments in call
    [18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.common.jms.BytesMessageWriter]
    [writeBytesMessage] :Failed to write message onto queue: java:comp/resource/SDEJMS/Queues/SDEDEV_LOGQUEUE using queue
    factory: java:comp/resource/SDEJMS/QueueConnectionFactories/SDEQUEUETAB - bcc.sde.common.jms.pool.JMSPoolException:
    QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments in call
    [18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.sil.common.log.silInteractionLogger] [log]
    :silInteractionLogger.log() Exception writing ServiceExecutionRecord to JMS queue: bcc.sde.common.exception.SDEException:
    Failed to write message onto queue: java:comp/resource/SDEJMS/Queues/SDEDEV_LOGQUEUE using queue factory:
    java:comp/resource/SDEJMS/QueueConnectionFactories/SDEQUEUETAB - bcc.sde.common.jms.pool.JMSPoolException:
    QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments in
    call: QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments
    in call;
    ---> nested: bcc.sde.common.jms.pool.JMSPoolException: QueueSessionPool.createQueueSession() failed to create queue
    session - oracle.jms.AQjmsException: invalid arguments in call
    [18-06-04 10:27:20] [AJPRequestHandler-ApplicationServerThread-137] - [bcc.sde.sil.bids.api.sql.BidsSQLInterface]
    [logInteractionRecord] :Failed to log interaction record: bcc.sde.common.exception.SDEException: silInteractionLogger.log()
    Exception writing ServiceExecutionRecord to JMS queue: bcc.sde.common.exception.SDEException: Failed to write message onto
    queue: java:comp/resource/SDEJMS/Queues/SDEDEV_LOGQUEUE using queue factory:
    java:comp/resource/SDEJMS/QueueConnectionFactories/SDEQUEUETAB - bcc.sde.common.jms.pool.JMSPoolException:
    QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments in
    call: QueueSessionPool.createQueueSession() failed to create queue session - oracle.jms.AQjmsException: invalid arguments
    in call;
    ---> nested: bcc.sde.common.jms.pool.JMSPoolException: QueueSessionPool.createQueueSession() failed to create queue
    session - oracle.jms.AQjmsException: invalid arguments in call
    Database error with same error message:
    ORA-17433 - invalid arguments in call
    http://www.doc.gold.ac.uk/oracle/doc/java.817/a83724/ermesap3.htm
    Code causing problem:
    queueConnection = queueConnectionPool.getQueueConnection(queueConnectionFactoryName, runningExternal);
    queueSession = queueConnection.createQueueSession(TRANSACTIONAL, AUTO_ACK_MODE);

    I am facing the same problem. Have you figured out what the cause was? Thanks,

  • Invalid Argument ? WHat's wrong with a url?

    package chapter5networks;
    import java.io.*;
    import java.net.*;
    public class GetURL     {
         public static void main(String[] args)     {
              InputStream inStream = null;
              OutputStream outStream = null;
              try     {
                   if ( (args.length!= 1) && (args.length != 2))     
                        throw new IllegalArgumentException("Wrong number of args");
                   URL myurl = new URL(args[0]);
                   inStream = myurl.openStream();
                                                                //System.err.println("DEBUG");
                   if (args.length == 2)
                        outStream = new FileOutputStream(args[1]);
                   else outStream = System.out;
                   byte[] myBuffer = new byte[4096];
                   int bytes_read;
                   while((bytes_read = inStream.read(myBuffer)) != -1)
                        outStream.write(myBuffer, 0, bytes_read);
              catch (Exception e)     {
                   System.err.println(e);
                   System.err.println(" HERE! Usage: java GETURL <URL> [<filename>]");
              finally {
                   try     {
                        inStream.close();
                        outStream.close();
                   catch (Exception e)     {
                        e.printStackTrace();
    }Hey everyone,
    I realize that the line inStream = myurl.openStream(); is creating error, I am getting invalid argument as a reason when I do the following:
    java GetURL http://www.google.com
    What's wrong with the url

    If you ask me, the only way you can get an 'invalid argument' message with a SocketException is by specifying a port number of zero or > 65535. I find it hard to believe that the author of that package really went to the pointless trouble of remapping the real exceptions into what he describes on that page, so I have to conclude that he probably just doesn't know what he's talking about.
    In reality, you get a ConnectException: connection refused for the first two cases he cites, and a ConnectException: connection timeout for the third.
    And what he has to say about 'connection reset by peer' is complete and utter drivel. It has only one cause: the peer has issued a TCP RST, which happens either on an abortive close, or in response to receiving data after the peer application has already closed his end of the connection.

  • Report fails with " Invalid argument for database." error.

    Hi All,
    Several of my reports deployed on Crystal Reports Server 2008 server fails everyday with the following error.
    Error in File ~tmp121c5dc747685036.rpt: Invalid argument for database.
    The error is not consistent, if report A fails today, it is Report B the next day. When I reschedule the reports, they run just fine. They fail only when the daily schedules run at 2:00 AM in the morning. 100 + reports are run at this time and some of the reports that fail run many times with different parameters. Is this error due to scheduling reports many times or is it something else? Appreciate any help with this.
    Thanks
    Bin

    Hi,
    can you please check under <BOBJ installation directory>\BusinessObjects Enterprise 12.0\logging in the log files created by the crystal reports job server for additionaly error messages?
    Regards,
    Stratos
    PS: Do you run CRS 2008 V0 or V1?

  • Invalid arguments error while executing oracle procedure

    Dear all,
    we have a table hr_emp with fields ecode, ename, edoj.
    the following procedure we created to return the table data to our .net app.
    CREATE OR REPLACE
    PACKAGE pname AS
    TYPE T_hr_cursor IS REF CURSOR;
    PROCEDURE get_hr_list (P_hrlist OUT T_hr_cursor);
    END HRPACK;
    create or replace PACKAGE BODY pname AS
         PROCEDURE get_hr_list (P_hrlist OUT T_hr_cursor)
         IS
         BEGIN
         OPEN P_hrlist FOR
              SELECT *
                   FROM Hr_Emp WHERE edoj>='01-jan-2009';
         END get_hr_list;
    END;
    these code edited in a single file [both package and package body] and created successfully.
    but, while executing, by typing execute get_hr_list, ORA-00304 error, invalid arguments, is coming. How to resolve this, please help.
    also, in sql developer 1.5.3, when we create this, another error is ciming like 'source doesnot have a runnable target'.
    Where is the issue? please help

    Yes, its great dear...
    sqlplus>
    declare
    hr_cursor hrmain.t_hr_cursor;
    begin
    pname.get_hr_list(hr_cursor);
    end;
    Its worked as i got 'pl/sql procedure successfully executed'.
    Also, then how i can call this get_hr_list procedure from .net? im using c# and i want to get the result of hr_emp to c#. how i can call the same from c#? any help please

  • "invalid argument" error message when connecting to the App store after upgrading iphone 4 to 5.0 firmware

    Hi everyone,
    I have seen many topics about this problem but none of them helped and they seem to date a little bit so I would like to ask again.
    here is the situation :
    we have two iphone 4 in the house and everything was going fine until we did the update to the new 5.0 firmware. there was no problem while the update had only been applied to the first iphone... but after updating the second one, we now have the same problem on both iphones. We can still connect to the internet from the iphone just fine but the connection is erratic at best with the itunes store because we keep getting cut by this dreaded error message "connection to the itunes store impossible, "invalid argument" occasionnally we'd get a different message that says "connection reset by peer"
    - what is invalid argument mean anyway???
    - I have tried to renew the lease in the network settings, it didn't work
    - I have tried to reset the network setting, it didn't help
    - I have checked in the network setting for the IP address, it starts with 192.xx.xx..... which is supposed to be a good thing as opposed to 162.xx.xx....
    - I have reset my router, nothing happened...
    - I have tried unauthorising my computer to any accounts because we were afraid that using two iphones with two different itunes store accounts one the same computer may have caused these problems.. but no luck
    I am running out of ideas, I would like to renew my frustration to apple because we buy these expensive products and still seem to suffers from stupid bugs... I was under the impression that these things were tested !!! anyway if anyone has found a definitive solution to this problem (short of burning your iphone out of anger) it would be deeply appreciated.
    thx

    Hi!
    I'm also using Air SDK 15 and I'm getting  Invalid Bundle Error:
    Adobe Air iOS Invalid Bundle
    The bundle does not support the minimum version os specified in info.plisthttp://stackoverflow.com/questions/26047837/adobe-air-ios-invalid-bundle-the-bundle-does-n ot-support-the-minimum-version-os
    Really need help
    Michael

  • Disk Utility create image error - "Invalid Argument"  - on USB drive.

    I wanted to use a USB 2.0 drive that I share with a Windows machine to backup my son's iBook. I divided the drive into two partitions and formatted the iBook backup partition as FAT32. I attempted to create a read-only disk image on the USB drive in order to backup the iBook, but it does not complete successfully - it terminates with an "Invalid Argument" error. I also tried creating a read/write disk image and that terminates with an error "File or Folder not found." Anyone have any tips or clues as to what may be the problem?
    iBook   Mac OS X (10.4.3)  

    I figured out my problem to some extent. I was not creating an empty image, but was trying to create a disk image without selecting a folder. Once I selected create an empty image from the File menu I did not get the error and was able to create an empty image on the USB drive.

  • Couldn't export schema because of invalid argument value and other errors.

    Hello, All.
    I am using an oracle 10g database, which is running on a Redhat9 linux server, to manage our lab information.
    I plan to export a schema (only tables, not the real data) into a file.
    First, I used the Enterprise Manager to export. I went through and complete the export job. After submitting, the system says:
    There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
    So I just copy the PL/SQL code which would be send to the source database and comment the set_parallel procedure.
    The code is listed here:
    declare
    h1 NUMBER;
    begin
    begin
    h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'EXPORT000468', version => 'COMPATIBLE');
    end;
    --begin
    --dbms_datapump.set_parallel(handle => h1, degree => 1);
    --end;
    begin
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_FILE_DIR', filetype => 3);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    end;
    begin
    dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''FLOWLIMS'')');
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    end;
    begin
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U.DMP', directory => 'DATA_FILE_DIR', filetype => 1);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    end;
    begin
    dbms_datapump.data_filter(handle => h1, name => 'INCLUDE_ROWS', value => 0);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
    end;
    begin
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    end;
    begin
    dbms_datapump.detach(handle => h1);
    end;
    end;
    I paste the code in an SQL*Plus session and execute it. The system says:
    declare
    ERROR at line 1:
    ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2486
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2718
    ORA-06512: at line 23
    I am not very sure which part is wrong for I have exported another schema successfully using this method just now.
    Any advice is highly appreciated!
    Qian

    Well, I will list more details about how to complete the job here.
    1) Go to the Enterprise Manager, log in as FLOWLIMS (I just want to export the schema FLOWLIMS)
    2)Go to the "Maitenance"
    3)Under the "Utilities", select the "Export to files"
    4)in the next page: Export: Export Type, select "Schemas"
    5) in the next page, select the schema "FLOWLIMS"
    6) in the next page, select these parameters:
    Maximam Number of Threads in Export job: 1
    Estimate Disk Space: Blockes
    7) when I click the "Estimate Disk Space Now", it says :
    Export Estimate Failed
    There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
    8) So I give up extimating
    9) Other options:
    I select "Generate Log file"
    The Directory Object is the default value "DATA_FILE_DIR"
    The Log File is the default value "EXPDAT.LOG"
    10) the advanced options are like these:
    Content: What to export from the Source Database: "Metadata only"
    Export content: "include all objects"
    Flashback: select "As the specified System Change Number (SCN)
    SCN: just accept the default number 28901412
    Query: select nothing. I need all fields of all tables.
    11) in the next page, I accept the default directory object "DATA_FILE_DIR" and the default File Name "EXPDAT%U.DMP". The Maximam File Size is blank, I just leave it blank.
    12) in the next page "Schedule" , I select to start the job immediatly.
    13) in the next page "Review", it shows:
    Export Type          Schemas
    Statistics type          Estimate optimizer statistics when data is imported
    Parallelism          1
    Files to Export          DATA_FILE_DIR EXPDAT%U.DMP
    Log File          DATA_FILE_DIR EXPDAT.LOG
    and the PL/SQL is like that:
    declare
    h1 NUMBER;
    begin
    begin
    h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'EXPORT000487', version => 'COMPATIBLE');
    end;
    begin
    dbms_datapump.set_parallel(handle => h1, degree => 1);
    end;
    begin
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_FILE_DIR', filetype => 3);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    end;
    begin
    dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''FLOWLIMS'')');
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    end;
    begin
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U.DMP', directory => 'DATA_FILE_DIR', filetype => 1);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    end;
    begin
    dbms_datapump.data_filter(handle => h1, name => 'INCLUDE_ROWS', value => 0);
    end;
    begin
    dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
    end;
    begin
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    end;
    begin
    dbms_datapump.detach(handle => h1);
    end;
    end;
    14) after I click the "submit" , it shows:
    Export Submit Failed
    There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition..
    15) I copy the PL/SQL, comment this part:
    --begin
    --dbms_datapump.set_parallel(handle => h1, degree => 1);
    --end;
    I run it in an iSQL*Plus Release 10.1.0.2,
    It shows:
    declare
    ERROR at line 1:
    ORA-39001: invalid argument value
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2486
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2718
    ORA-06512: at line 23
    Could anybody help? Thanks a lot!
    Qian

  • Insert error SQLException: Invalid argument(s) in call:

    The following exception is produced because resultSet.next() was
    called on an empty resultSet why ??
    Driver = Oracle 8.1.7 thin (current version 8/30/01) for NT.
    Thanks
    try
         m_resultSet = m_statement.executeQuery("SELECT
    CODE_DECODE.* FROM CODE_DECODE WHERE 0 = 1");
         // NOTE If this statement is not called the code works
    fine.
         while( m_resultSet.next())
              // Does nothing as the resultset is empty
         // NOTE If the above statement is not called the code
    works fine
         // Insert a row
         m_resultSet.moveToInsertRow();
         m_resultSet.updateObject
    ("CODE_DECODE.CODE_DECODE_ID",new Double(100000001d));
         // Next statement causes the exception
         m_resultSet.insertRow();
    catch(Exception e)
    e.printStackTrace();
    gives the following stack trace
    java.sql.SQLException: Invalid argument(s) in call:
    setRowBufferAt
         at oracle.jdbc.dbaccess.DBError.throwSqlException
    (DBError.java:168)
         at oracle.jdbc.dbaccess.DBError.throwSqlException
    (DBError.java:210)
         at oracle.jdbc.driver.UpdatableResultSet.setRowBufferAt
    (UpdatableResultSet.java:1803)
         at oracle.jdbc.driver.UpdatableResultSet.setRowBufferAt
    (UpdatableResultSet.java:1785)
         at oracle.jdbc.driver.UpdatableResultSet.updateObject
    (UpdatableResultSet.java:1574)
         at oracle.jdbc.driver.OracleResultSet.updateObject
    (OracleResultSet.java:2787)
         at com.aceva.tool.toolbox.dbtool.JDBCAdapter.insertRow
    (JDBCAdapter.java:440)
         at com.aceva.tool.toolbox.dbtool.DBToolPanel.doInsert
    (DBToolPanel.java:289)
         at
    com.aceva.tool.toolbox.dbtool.DBToolPanel$4.actionPerformed
    (DBToolPanel.java:102)
         at javax.swing.AbstractButton.fireActionPerformed
    (AbstractButton.java:1450)
         at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
    (AbstractButton.java:1504)
         at javax.swing.DefaultButtonModel.fireActionPerformed
    (DefaultButtonModel.java:378)
         at javax.swing.DefaultButtonModel.setPressed
    (DefaultButtonModel.java:250)
         at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased
    (BasicButtonListener.java:216)
         at java.awt.Component.processMouseEvent
    (Component.java:3717)
         at java.awt.Component.processEvent(Component.java:3546)
         at java.awt.Container.processEvent(Container.java:1164)
         at java.awt.Component.dispatchEventImpl
    (Component.java:2595)
         at java.awt.Container.dispatchEventImpl
    (Container.java:1213)
         at java.awt.Component.dispatchEvent(Component.java:2499)
         at java.awt.LightweightDispatcher.retargetMouseEvent
    (Container.java:2451)
         at java.awt.LightweightDispatcher.processMouseEvent
    (Container.java:2216)
         at java.awt.LightweightDispatcher.dispatchEvent
    (Container.java:2125)
         at java.awt.Container.dispatchEventImpl
    (Container.java:1200)
         at java.awt.Window.dispatchEventImpl(Window.java:912)
         at java.awt.Component.dispatchEvent(Component.java:2499)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
         at java.awt.EventDispatchThread.pumpOneEvent
    (EventDispatchThread.java:103)
         at java.awt.EventDispatchThread.pumpEvents
    (EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run
    (EventDispatchThread.java:84)

    The stack trace was:
    06/09/06 09:02:52 java.sql.SQLException: Invalid argument(s) in call
    06/09/06 09:02:52 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBErro
    r.java:189)
    06/09/06 09:02:52 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBErro
    r.java:231)
    06/09/06 09:02:52 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBErro
    r.java:294)
    06/09/06 09:02:52 at oracle.sql.CLOB.createTemporary(CLOB.java:527)
    After that I change a code little bit:
    clob = oracle.sql.CLOB.createTemporary(c, true, 1);
    Ant it pass through, but it fails with CastException. Then I upgraded JDBC driver, because I'm using Java 1.4
    So, now I have this kind of error:
    at oracle.jdbc.driver.OracleConnection.physicalConnectionWithin(OracleConnection.java:5174)
         at oracle.sql.CLOB.createTemporary(CLOB.java:1009)
         at oracle.sql.CLOB.createTemporary(CLOB.java:956)
         at my.pack.db.impl.ImportDatabaseDAO_JDBC.execute(ImportDatabaseDAO_JDBC.java:68)
    It fails when I'm creating temporaryClob:
    clob = oracle.sql.CLOB.createTemporary(c, true, 1);
    The problem occurs, because my connection driver is:
    com.evermind.sql.OrclCMTConnection and it can't be converted into oracle.jdbc.driver.OracleConnection.
    It is datasource config:
    <data-source location="jdbc/oooDS"
         class="com.evermind.sql.DriverManagerDataSource"
         password="iate"
         xa-location="jdbc/xa/oooXADS"
         connection-driver="oracle.jdbc.driver.OracleDriver"
         username="ooo"
         url="jdbc:oracle:thin:@192.168.45.14:1526:ooo"
         inactivity-timeout="30"
         name="oooDS"
         ejb-location="jdbc/oooDS"
         pooled-location="jdbc/oooPoolDS"
         min-connections="3"
         max-connections="200"/>
    Could you advise, how can I convert my Connection class?

  • ORA-27102: out of memory SVR4 Error: 22: Invalid argument

    Hi all,
    I'm doing an install of a Solaris 10.2, Oracle 10.2 system. During the Create Database phase, I am getting;
    ORA-27102: out of memory SVR4 Error: 22: Invalid argument
    Doing some research, and reading through the details here:
    Link: [http://technopark02.blogspot.com/2006/09/solaris-10oracle-fixing-ora-27102-out.html]
    I think my issue is my SHM parameters, reinforced by the repeated entry in the Oracle Alert log:
    +WARNING: EINVAL creating segment of size 0x0000000085000000+*
    +fix shm parameters in /etc/system or equivalent+*
    when the create fails.
    I am not familar with Solaris' new project mechanism, although from what I have read, it seems to be set up properly.
    Here are my server details:
    # prtconf | grep Mem
    Memory size: 8192 Megabytes
    # prctl -n project.max-shm-memory -i project 200
    project: 200: QBI
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    project.max-shm-memory
            privileged      10.0EB      -   deny                                 -
            system          16.0EB    max   deny                                 -
    And as for Oracle:
    shared_pool_size = 1522029035
    shared_pool_reserved_size = 152202903
    pga_aggregate_target = 2705829396
    sga_max_size = 3439329280
    db_cache_size = 1159641169
    During the course of troubleshooting, I have:
    1 - Increased the amount of SHM allocated in the project. I have tried 16GB, 8 GB, 10 GB, 11GB etc, to no effect, so I reset it to 10GB (as seen above) and focused my efforts elsewhere.
    2. SHARED_POOL_SIZE - I have decreased this by roughly 75% from the original value, again to no effect.
    3. PGA and SGA sizes - I have increased these from the original values by an increment of 25%
    Following the advice from the referenced blog (which does a good job of explaining the logic behind the actions) I have determined that the Alert log error message is telling me that it is lacking
    2231369728
    (Hex conversion value, which I think I need to read as 2GB, not 100% sure)
    I've increased my project allocation, and the PGA sizes, did I just not do it enough?
    Any advice?
    Thanks for any input,
    Troy Shane

    Hi,
    check following sap note
    Note 546006 - Problems with Oracle due to operating system errors
    Note 743328 - Composite SAP note: ORA-27102
    regards,
    kaushal

  • Invalid argument error in IE7

    I'm working on my first HTML5 site. And I'm getting an invalid argument error that's keeping it from loading all of the content on the page. It's telling me that the error is in line 256, but line 256 is an image tag.
    The page in question is here:
    http://jerauf.com/filmggp/locations-sub.html
    I'm thinking that it's a script but can't tell what the problem is.
    Can anyone help?

    Hello.
    <img src="image.jpg" height="120" width="120" alt="description" />

  • I am getting an error [Microsoft][ODBC Driver Manager] invalid argument val

    My code is :
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Hashtable.*;
    import java.sql.*;
    public class LoginServlet extends HttpServlet
         Connection con;
         PreparedStatement ps;
         HttpSession session;
    public void init(ServletConfig sc) throws ServletException
    try
         super.init(sc);
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         }catch(ClassNotFoundException e)
    {System.out.println("SQLException"+e.getMessage());}
    try
         con=DriverManager.getConnection("jdbc:odbc:aaa","scott","tiger");
    }catch(SQLException e)
         System.out.println("SQLException caught" +e.getMessage());
    public void service(HttpServletRequest req, HttpServletResponse res)
         res.setContentType("text/html");
         try
         String ulogin=req.getParameter("login").trim();
         String upass=req.getParameter("pass").trim();
         ps=con.prepareStatement("select pass from Userdetails where login='"+ulogin+"'");
         session=req.getSession(true);
         session.putValue("n1",ulogin);
         ps.setString(1,upass);
         ResultSet rs=ps.executeQuery();
         if(rs.next())
              if(upass.equals(rs.getString(1)))
              res.sendRedirect("http://localhost:8080/Welcome.html");
              session.putValue("login",ulogin);
              else
              PrintWriter pw=res.getWriter();
              pw.println("Sorry your password is incorrect,Reenter your password
    <html><center>");
              pw.println(" <form input type=password name=pass>");
              pw.println("<input type=hidden name=login value="+ulogin+">");
              pw.println("<input type=submit value=submit>");
              pw.println("</form></center></html>");
         else
         System.out.println("your are not a registered user,please register");
         res.sendRedirect("http://localhost:8080/Register.html");
         rs.close();
         catch(Exception e)
              System.out.println(e);
    When i compile, it is well but when i run through displaying my html and passing the data to test,then i am getting an error [Microsoft][ODBC Driver Manager]invalid argument value,
    I was set all my DSN correctly,the same pieve of code worked in another program but now i am getting an error.can any one clear this.
    Thanks in advance

    You have created a PreparedStatement with zero parameters in this statement:
    ps=con.prepareStatement("select pass from Userdetails where login='"+ulogin+"'");so "ps.setString(1, ulogin)" fails because there is no place to put parameter 1. Try this instead:
    ps=con.prepareStatement("select pass from Userdetails where login=?");and your program will work better. Better still, create the PreparedStatement in your init() method, there's no reason for creating it more than once.

  • Crystal reports 10 - Invalid Argument Provided Error obtained

    Post Author: p8***8
    CA Forum: General
    I have a report that takes a USERID value(int) as a parameter(user supplied).  This report works for all parameter values except one(so I know this has nothing to do with stored procedure permissions).  If I run the associated stored procedure independently for this parameter value, it returns the complete result set.  Also, the data obtained from the database tables is validated, so I doubt that the report encountered some invalid value.  The Stored Procedure that the report uses does not call any other procedure.  I don't understand what invalid argument the report comes across causing it to throw this error.  The only thing I can think of is the enormous result set that is returned for this particular parameter(over 8000 records).  Is there a limit to the report size in Crystal Reports version 10?

    can you run it locally outside the viewer?

  • Error " ulimit: open files: cannot modify limit: Invalid argument" when open a terminal window

    Every time I open a terminal (bash), it shows error " ulimit: open files: cannot modify limit: Invalid argument".    I googled it but did not find the solution that works.  My OS is 10.8.2.  I followed the instruction here http://wordpress.org/support/topic/upgraded-to-php-530-on-mac-now-no-database-co nnection but it doesn't work.(basically, I just commented some lines in that file).       Can anyone help?

    Back up all data.
    Select
    Shell ▹ New Command
    from the Terminal menu bar. Copy and paste the following line into the text box that opens:
    mkdir disabled_shell_files; mv .profile .bash* $_
    Your old shell initialization and history files will be saved in a directory with the indicated name at the top level of your home directory. Test.

  • Invalid Argument Error

    I am getting above error on load of the JNLP file. When I access the URL for the JNLP, the JNLP file downloads (I can see the content using Ethereal) and WebStart does launch. So, I assume MIME type is OK and the download servlet is working, at least enough to serve up the JNLP.
    What makes this more curious is that it is a working configuration in Jetty. I can take the exact same application - drop it in Jetty, it works; drop the SAME file in Tomcat 4.1.27, it doesn't work.
    Anyone seen this?
    WS 1.2
    J2SDK 1.4.1_01 on both ends.
    Tomcat 4.1.27
    The error and log information is as follows.
    Error dialog/General Tab:
    An error occurred while launching/running the application.
    Category: Invalid Argument error
    Could not load file/URL specified: C:\Documents and Settings\mjf860\Local Settings\Temporary Internet Files\Content.IE5\2DQR21KT\cwms[1].jnlp
    The JNLP file does in fact NOT exist (the directory does, no JNLP files are in in it), despite the fact that I saw it go over the network to my box.
    The JNLPServetLog stuff:
    JnlpDownloadServlet(3): Request: /cwms/app/cwms.jnlp
    JnlpDownloadServlet(3): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; H010818)
    JnlpDownloadServlet(4): DownloadRequest[path=/app/cwms.jnlp isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /app/cwms.jnlp lastModified=Tue Sep 09 17:14:51 EDT 2003]]
    JnlpDownloadServlet(3): Resource returned: /app/cwms.jnlp
    JnlpDownloadServlet(4): lastModified: 1063142091684 Tue Sep 09 17:14:51 EDT 2003
    TIA,
    Mike

    I just found out by searching tomcat list that in your
    dynamic jnlp file you can set the cache-control to
    public using
    response.setHeader("Cache-Control", "public")
    This will allow Internet Explorer to cache the jnlp
    file and you won't get the exception.
    This way you can keep your jnlp file under a security
    constraint.I wasn't sure what was meant by "dynamic JNLP" or how to follow the above procedure, so I created a servlet (a JSP, actually) to implement the above workaround. It will serve JNLP files from a password-protected directory in a way that works for the Tomcat-to-Internet Explorer combination. It's posted below in case it can help anyone else.
    There are still a few things to watch out for: (1) the protection (the <auth-method> tag in your web.xml file) for the JNLP file must be BASIC--FORM will not work. (2) you will have to enter the password twice--once for the browse and again for Web Start.
    The servlet itself is enclosed below. If you have questions about it, please post them to this forum.
    Bob Pollack
    Gestalt, LLC
    <%@ page import="java.io.*" %>
    <%
    // This is a fetch program to retrieve a JNLP file from a
    // password-protected directory. Java Webstart has problems
    // doing this directly, so this program must be used instead.
    // That is, instead of a link that points to "xxx.jnlp", make
    // a link that points to "fetchJNLP.jsp?name=xxx.jnlp".
    // Even with this program, the only kind of authentication
    // that Webstart understands is basic authentication.
    // You cannot use form-based authentication and Webstart together.
    String jnlpName = request.getParameter ("name");
    String myPath = request.getServletPath ();
    String myURL = request.getRequestURL ().toString ();
    String dirPath = null;
    String dirURL = null;
    String jnlpPath = null;
    String jnlpRealPath = null;
    boolean abort = false;
    // Screen the name parameter to make sure that hackers
    // cannot use this program to fetch any old thing
    // The current criteria are that the name must be a JNLP file
    // in this directory
    if (jnlpName == null)
    abort = true;
    else if (! jnlpName.endsWith (".jnlp"))
    abort = true;
    else if (jnlpName.indexOf ("/") >= 0)
    abort = true;
    if (abort)
    response.sendError (response.SC_FORBIDDEN);
    return;
    int pos = myPath.lastIndexOf ("/");
    if (pos < 0)
    pos = myPath.length ();
    dirPath = myPath.substring (0, pos);
    pos = myURL.lastIndexOf ("/");
    if (pos < 0)
    pos = myURL.length ();
    dirURL = myURL.substring (0, pos);
    if (jnlpName.startsWith ("/"))
    jnlpPath = jnlpName;
    else
    jnlpPath = dirPath + "/" + jnlpName;
    out.clear ();
    response.setContentType ("application/x-java-jnlp-file");
    // The following line is the reason this servlet exists.
    // If a JNLP file is in a protected directory, Tomcat will
    // send it out with a Cache-Control header of "no-cache",
    // which keeps the client end of JNLP from working.
    // See Java Developer Forum,
    // "Java Web Start & JNLP: Invalid Argument Error",
    // at http://forum.java.sun.com/spider.jsp?f=38&t=442995
    // for a rambling discussion of this issue.
    response.setHeader ("Cache-Control", "public");
    jnlpRealPath = application.getRealPath (jnlpPath);
    File jnlpFile = new File (jnlpRealPath);
    FileReader fr = new FileReader (jnlpFile);
    BufferedReader br = new BufferedReader (fr);
    while (true)
    String line = br.readLine ();
    if (line == null)
    break;
    // As long as we're doing this anyway, we'll add a service
    // that substitutes the full URL for this directory into
    // the codebase of the outgoing JNLP file. This will make it
    // possible for the files to be moved from machine to machine
    // without changes.
    // For example, instead of saying
    // codebase="http://myhost:8080/home/protected"
    // the JNLP file can say
    // codebase="$BASE"
    String base = "$BASE";
    pos = line.indexOf (base);
    if (pos < 0)
    out.println (line);
    else
    out.print (line.substring (0, pos));
    out.print (dirURL);
    out.print (line.substring (pos + base.length ()));
    out.println ();
    out.flush ();
    out.close ();
    %>

Maybe you are looking for

  • Why is this so hard to use?

    All the iLife software is a breeze to use. My grandmother can even manage her pictures and music using iTunes and iPhoto. So why is GarageBand so freaking complicated. I have no idea how to do anything in it. Earlier, I wanted to create a dance beat

  • Touchpad randomly stops working and I need to disable/enable it in driver settings

    My mouse touchpad sometimes (very often, actually) just stops working completely (no mouse movements, no clicks etc.), it's just completely dead, even both click buttons. What I then need to do in order to temporarily fix it is to go Synaptics Pointi

  • How to use 2G data network in iOS 8.0.2??

    I cant toggle between 2G/3G data in iphone 5s since upgrade to iOS 8.0.2. Any solution??

  • Need help on this plz.

    I would like to write a program for a supermarket loyalty card system. The program should have 2 customers and 2 gifts on offer. The customer details and the gift details can be hard coded. When the program starts the user should be shown a menu whic

  • How to get murrine dust theme to work? (new concept theme for ubuntu)

    hello! i just want to try and install the new concept theme for ubuntu - DustTheme! but i don't get it to work. it uses the murrine-engine - but when i want to select it via gtk-chtheme or gtk2_prefs it does not sets the colors or anything else. when