ArrayDescriptor.createDescritor() fails on OS X

Hello,
I have the following code, which creates an oracle.sql.ARRAY in a Java Stored Procedure.
<code>
Connection con = (new OracleDriver()).defaultConnection();
Statement stmt = con.createStatement();
ResultSet results = stmt.executeQuery("SELECT ename FROM emp");
ArrayList nameList = new ArrayList();
while( results.next() )
nameList.add( results.getString(1) );
String[] names = (String[])nameList.toArray( new String[ nameList.size() ] );
ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor("EMPARRAY", con );
ARRAY array = new ARRAY( descriptor, con, names );
return array;
</code>
When I execute this code from my Java application I get a SQLException with the message "No more data to read from socket".
I'm running the server on my laptop (Powerbook G4 w/ OS X 10.4.1). Any insight that might help me track this down would be extremely helpful.
Thanks

Mike,
There are log files. From "SQL*Plus", try the following command:
show parametersAnd look for: "background_dump_dest" and "user_dump_dest"
The values of these parameters are directories where the log files are. Check the Oracle documentation for more details. The documentation is available from:
http://tahiti.oracle.com
Good Luck,
Avi.

Similar Messages

  • Oracle Arrays support in WLS7.0

    Getting a ClassCast Exception when using Oracle.jdbc.ArrayDescriptor.createDescritor("array",conn)

    Hi,
    If you don't set the datatype (i.e. leave it as "unknown", or set it back to "unknown"), it will generate
    TEST_V AS ( CASE WHEN EVENT_NAME = 'XXXX' THEN 'MMMM' ELSE 'KKKK' END )
    The Oracle 11gR2 documentation for the virtual_column_definition clause notes that "The keyword VIRTUAL is optional and for syntactic clarity."
    So the fact that Data Modeler does not output the keyword VIRTUAL does not make any difference to the effect of the SQL statement.
    David

  • Jdbc fails connection

    I am trying to send an array to a pl/sql module but for some reason i am unable to get the connection object.
    Here is the line of code that fails
    Connection conn = null;
    ArrayDescriptor rectabDescriptor = ArrayDescriptor.createDescriptor("CCS21_CONSIGNMENTLIST_TYPE",conn);   <<FAILS HERE<<
    ARRAY awbNoHwbs = new ARRAY(rectabDescriptor,conn,childLessAwbs);
    ARRAY hwbs = new ARRAY(rectabDescriptor,conn,hwbList);
    OracleCallableStatement cst = (OracleCallableStatement)conn.prepareCall(stp.SUBMIT_CONSIGNMENT_STORED_PROC);
                   Here is the stack trace
    java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.DelegatingCallableStatement
         at com.acbt.ccstt.data.accessors.ConsignmentDAO.submitDeclaration(ConsignmentDAO.java:301)
         at com.acbt.ccstt.presentation.events.consignments.select.SubmitDeclaration.midAction(SubmitDeclaration.java:68)
         at com.acbt.ccstt.presentation.events.CCS21EventAction.execute(CCS21EventAction.java:36)
         at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
         at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Thread.java:595)And here is my connection config
    Struts Web.xml file
    <resource-ref>
          <description>Oracle Datasource</description>
          <res-ref-name>jdbc/ccs21db</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
         </resource-ref>Metainf/context.xml
        <Resource name="jdbc/thedb" auth="Container"
                  type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@xxx.xxx.xxx.xxx:1521:dbsid"
                  username="xxx" password="xxx" maxActive="20" maxIdle="10"
                  maxWait="-1"/> Edited by: ziggy on Sep 26, 2008 4:02 PM

    ziggy wrote:
    OracleCallableStatement cst = (OracleCallableStatement)conn.prepareCall(stp.SUBMIT_CONSIGNMENT_STORED_PROC);
    java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.DelegatingCallableStatement
    Why are you casting CallableStatement to OracleCallableStatement? The JDBC API is intented to be completely implementation independent. Never cast interfaces to implementation specific classes, it will break your app sooner or later.

  • ClassCastException trying to create ArrayDescriptor

     

    There is one way I found to accomplish something like this. It basically involves
    using the customdatum interface that oracle provides. Essentially you can pass
    an object through all of the jdbc layers into the oracle driver and then let the
    driver call your object back with an oracleconnection - thereby avoiding the classcastexception.
    It does require a bit more work, but may be worth it in certain circumstances.
    I have attached an example dervied from some working code(though the example probably
    will not compile). It shows how to accomplish this for a struct containing an
    array of structs (pretty much a one to many model). It can be simplified of course
    if such a containment model does not exist. Also one should be able to adjust
    this strategy for clobs as well to basically avoid having to do two jdbc calls
    to create a new clob.
    Rupen
    "David" <[email protected]> wrote:
    >
    Joseph Weinstein <[email protected]> wrote:
    Jay Fuller wrote:
    I am trying to save information to a Nested Table with type "HISTORY_NT"within "ejbStore", but
    I'm getting a ClassCastException when I make this call.
    ArrayDescriptor.createDescriptor("HISTORY_NT",conn); // orace.sql.ArrayDescriptor
    The exact error statement is:
    java.lang.ClassCastException: weblogic.jdbc20.jts.Connection
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:80)...
    Hi. We currently don't have any way of offering Oracle non-standardJDBC
    extensions through
    our pool and jts drivers. For example, that createDescriptor call requires
    a naked Oracle JDBC
    connection for an argument, not a WebLogic jts or pool connection. There's
    nothing we can do to
    make our jts or pool connections cast directly to an Oracle class. Unless/until
    we provide
    you access to the underlying DBMS connection for these purposes, you
    will not be able to make
    these Oracle calls with a pooled connection. We need to maintain a wrapper
    around any pooled
    connection to be able to guarantee that when the connection is returned
    to the pool, no one retains
    a reference to it that is out of our control. Otherwise the next user
    of the pooled connection may
    have his work corrupted by a former user that mis-uses a reference to
    the DBMS connection they
    obtained long before. A simple example is that if we gave you access
    to the Oracle connection
    class to make that call, and when you were done, you closed both pool
    connection (returning it
    to the pool), and the DBMS connection, you would kill the pooled connection
    and the next user
    would get a dead pool connection. A more serious example would be if
    after closing the pool
    connection, you did a commit() or rollback on the DBMS connection, if
    some other thread got
    the pool connection before the commit/rollback you'd be trampling their
    tx.
    Joe
    My connection statement within my EJB is:
    static
    new weblogic.jdbc20.jts.Driver();
    private Connection getConnection()
    throws SQLException
    return DriverManager.getConnection("jdbc20:weblogic:jts:OraclePool",null);
    I am using a database pool set up as follows.
    weblogic.jdbc.connectionPool.OraclePool=\
    url=jdbc:oracle:oci8:@dbname,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=4,\
    maxCapacity=10,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=xxxxxxxx;password=xxxxxx
    I'm using WLS 5.1 sp1 and Oracle 8.1.6 and I can make the code workif I access the database
    directly, but going through the jts driver there seems to be a bugin the weblogic code. I might
    be wrong about this, so if someone can please point out my error Iwould appreciate it.
    Jay--
    PS: Folks: BEA WebLogic is in S.F., and now has some entry-level positions
    for
    people who want to work with Java and E-Commerce infrastructure products.
    Send
    resumes to [email protected]
    The Weblogic Application Server from BEA
    JavaWorld Editor's Choice Award: Best Web Application Server
    Java Developer's Journal Editor's Choice Award: Best Web Application
    Server
    Crossroads A-List Award: Rapid Application Development Tools for
    Java
    Intelligent Enterprise RealWare: Best Application Using a ComponentArchitecture
    http://weblogic.beasys.com/press/awards/index.htm
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <p>Jay Fuller wrote:
    <blockquote TYPE=CITE>I am trying to save information to a Nested Table
    with type "HISTORY_NT" within "ejbStore", but I'm getting a ClassCastException
    when I make this call.
    <p> <b>ArrayDescriptor.createDescriptor("HISTORY_NT",conn);
    // </b>orace.sql.ArrayDescriptor
    <p>The exact error statement is:
    <br> <b>java.lang.ClassCastException:
    weblogic.jdbc20.jts.Connection</b>
    <br><b>
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:80)
    ....</b></blockquote>
    <p><br>Hi. We currently don't have any way of offering Oracle non-standard
    JDBC extensions through
    <br>our pool and jts drivers. For example, that createDescriptor call
    requires
    a naked Oracle JDBC
    <br>connection for an argument, not a WebLogic jts or pool connection.
    There's nothing we can do to
    <br>make our jts or pool connections cast directly to an Oracle class.
    Unless/until we provide
    <br>you access to the underlying DBMS connection for these purposes,
    you
    will not be able to make
    <br>these Oracle calls with a pooled connection. We need to maintain
    a
    wrapper around any pooled
    <br>connection to be able to guarantee that when the connection is returned
    to the pool, no one retains
    <br>a reference to it that is out of our control. Otherwise the next
    user
    of the pooled connection may
    <br>have his work corrupted by a former user that mis-uses a reference
    to the DBMS connection they
    <br>obtained long before. A simple example is that if we gave you access
    to the Oracle connection
    <br>class to make that call, and when you were done, you closed both
    pool
    connection (returning it
    <br>to the pool), and the DBMS connection, you would kill the pooled
    connection and the next user
    <br>would get a dead pool connection. A more serious example would be
    if
    after closing the pool
    <br>connection, you did a commit() or rollback on the DBMS connection,
    if some other thread got
    <br>the pool connection before the commit/rollback you'd be trampling
    their
    tx.
    <br>Joe
    <blockquote TYPE=CITE><b></b>
    <br>
    <p>My connection statement within my EJB is:
    <br> <b>static</b>
    <br><b> {</b>
    <br><b> new weblogic.jdbc20.jts.Driver();</b>
    <br><b> }</b>
    <p><b> private Connection getConnection()</b>
    <br><b> throws SQLException</b>
    <br><b> {</b>
    <br><b> return
    DriverManager.getConnection("jdbc20:weblogic:jts:OraclePool",null);</b>
    <br><b> }</b>
    <p>I am using a database pool set up as follows.
    <br> <b> weblogic.jdbc.connectionPool.OraclePool=\</b>
    <br><b> url=jdbc:oracle:oci8:@dbname,\</b>
    <br><b> driver=oracle.jdbc.driver.OracleDriver,\</b>
    <br><b> loginDelaySecs=1,\</b>
    <br><b> initialCapacity=4,\</b>
    <br><b> maxCapacity=10,\</b>
    <br><b> capacityIncrement=2,\</b>
    <br><b> allowShrinking=true,\</b>
    <br><b> shrinkPeriodMins=15,\</b>
    <br><b> refreshMinutes=10,\</b>
    <br><b> testTable=dual,\</b>
    <br><b> props=user=xxxxxxxx;password=xxxxxx</b>
    <br>
    <p>I'm using WLS 5.1 sp1 and Oracle 8.1.6 and I can make the code work
    if I access the database directly, but going through the jts driverthere
    seems to be a bug in the weblogic code. I might be wrong about
    this,
    so if someone can please point out my error I would appreciate it.
    <p>Jay</blockquote>
    <p>--
    <p>PS: Folks: BEA WebLogic is in S.F., and now has some entry-levelpositions
    for
    <br>people who want to work with Java and E-Commerce infrastructureproducts.
    Send
    <br>resumes to [email protected]
    <br>--------------------------------------------------------------------------------
    <br>
    The Weblogic Application Server from BEA
    <br> JavaWorld Editor's
    Choice Award: Best Web Application Server
    <br> Java Developer's Journal Editor's Choice Award: Best Web Application
    Server
    <br> Crossroads A-List Award: Rapid Application
    Development Tools for Java
    <br>Intelligent Enterprise RealWare: Best Application Using a Component
    Architecture
    <br>
    http://weblogic.beasys.com/press/awards/index.htm
    <br> </html>
    Weblogic connection pool users weblogic.jdbc.rmi.SerialConnection connection
    class,
    not java.sql.Connection.
    Oracle oracle.sql.ArrayDescriptor.createDescriptor method tries to cast
    it to
    oracle.jdbc.OracleConnection which fails.
    One workaround is to use Oracle connection pool.
    Oracle8i JDBC Developer's Guide and Reference:
    http://download-west.oracle.com/docs/cd/A81042_01/DOC/index.htm
    Another workaround is to stop passing Oracle Array to the stored procedure,
    pass delimited string and conver it into pl/sql Array internaly.
    Here is the code we use (original sample by Tom Kyte):
    CREATE OR REPLACE TYPE INT_TABLE AS TABLE OF NUMBER;
    CREATE OR REPLACE
    FUNCTION str2array( p_string in VARCHAR2 ) RETURN INT_TABLE
    AS
    l_string long default p_string || ',';
    l_data INT_TABLE := INT_TABLE();
    n number;
    BEGIN
    LOOP
    EXIT WHEN l_string is null;
    n := INSTR( l_string, ',' );
    l_data.EXTEND;
    l_data(l_data.COUNT) :=
    LTRIM( RTRIM( SUBSTR( l_string, 1, n-1 ) ) );
    l_string := SUBSTR( l_string, n+1 );
    END LOOP;
    RETURN l_data;
    END;
    --Unit test
    SELECT * from THE ( select cast( str2array('787, 234, 12, 1024, 1,45,1231243,324235435,3436426767,0,-1,-345235')
    AS INT_TABLE ) from dual ) a
    --Performance test
    DECLARE
    it_groups INT_TABLE := INT_TABLE();
    BEGIN
    FOR i IN 1..1000 LOOP
         it_groups:=str2array('787,234,312,787,234,312,345,235,787,235,787,234,312,335,434,235');
    END LOOP;
    END;
    Overhead is about 1 ms to parse 16 tokens.
    Hope it helps,
    David
    [CustomDatumExample.java]

  • Java.sql.SQLException: Fail to convert to internal representation:

    HI All,
    I have a procedure hich is taking the Varray ADDR_CONTACT_VA as input which is varray of object .
    ADDR_CONTACT_OBJ [] address = new ADDR_CONTACT_OBJ[20];
    address[0] = new ADDR_CONTACT_OBJ();
    address[0].setOpportunityId(26731);
    address[0].setAddr_ln_1("100, Street");
    address[0].setAddr_ln_2("Cast card Street");
    address[0].setAddr_ln_3("Cast card Street");
    address[0].setAddr_ln_4(null);
    address[0].setAddr_ln_5(null);
    address[0].setAddr_ln_6(null);
    address[0].setAddress_name("GVPN Testing");
    address[0].setAddressType("HQ");
    address[0].setCity("Mumbai");
    address[0].setContact_title("Mr.");
    address[0].setCountry("India");
    address[0].setEmail_contact_id(null);
    address[0].setName_contact_id(null);
    address[0].setOSO_Address_id(124959);
    address[0].setOso_contact_id(317694);
    address[0].setOso_party_site_id(69387);
    address[0].setPincode("470003");
    address[0].setState("Maharashtra");
    address[0].setContact_firstname("First");
    address[0].setContact_lastname("Last");
    address[0].setContact_email(null);
    address[0].setContact_phone_day("91-45234-4534556");
    address[0].setDay_phone_contact_id(287326);
    System.out.println("Vishwa3: after creating an y array");
    ArrayDescriptor desc1 = ArrayDescriptor.createDescriptor("ADDR_CONTACT_VA",nativeConnection);
    System.out.println("Vishwa4: after creating an y array");
    ARRAY input1 = new ARRAY(desc1,nativeConnection,address);
    System.out.println("Vishwa5: after creating an y array");
    %>
    <% proc_stmt = (OracleCallableStatement)nativeConnection.prepareCall("{ call DBP_UPDATE_STATUSCUSTOMER_DETAILS(?,?)}");
    proc_stmt.setArray(1,input1);
    proc_stmt.registerOutParameter(2,OracleTypes.CURSOR);
    System.out.println("Vishwa6: after creating an y array");
    %>
    <% proc_stmt.execute();
    ResultSet result =(ResultSet)proc_stmt.getObject(2);
    while(result!=null)
    System.out.println(result.getString(1));
    System.out.println(result.getString(2));
    System.out.println(result.getString(3));
    System.out.println(result.getString(4));
    System.out.println(result.getString(5));
    when i try to execute this procedure ai m gettin the exception like
    java.sql.SQLException: Fail to convert to internal representation: com.sy.vo.ADDR_CONTACT_OBJ@4a594a59_
    Please help me to resolve this probelm .it is verey verey urgrnt for me
    Thanks in Advance.....................
    Viswa

    First use code tags when posting code.
    Second you can't simply use a java object as an database array type. It certainly looks like you are doing that.

  • Fail to convert to internal representation

    I'm using the oracle 8.1.7 jdbc driver against oracle 8.1.7.0.0 running on Windows2000. I get the exception message below when I attempt to insert an jpub object structure into a callable statement.
    java.sql.SQLException: Fail to convert to internal representation: com.neogenesis.alis.confirmation.mapping.JHitCollection@536ff3
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:829)
    at oracle.jdbc.oracore.OracleTypeADT.toDatumArray(OracleTypeADT.java:299)
    at oracle.jdbc.oracore.OracleTypeUPT.toDatumArray(OracleTypeUPT.java:137)
    at oracle.sql.ArrayDescriptor.toOracleArray(ArrayDescriptor.java:750)
    at oracle.sql.ARRAY.<init>(ARRAY.java:116)
    Is this a bug of JDBC driver? Any Clue?
    Thanks,
    -Charlie

    From the stacktrace, it looks like a problem. However, if you can provide more code for this. We can figure out what went wrong. By the way, did you try this on Windows NT?
    -cc

  • Commons DBCP and ArrayDescriptor

    I've create that pass an array of java objects to oracle stored procedure using ArrayDescriptor etc... It's working fine. I've used the normal way of java connection (DriverManager.registerDriver ....) also i've used OracleCallableStatement.
    Now when i use the same code in struts application, except for connection - i'm using struts and DBCP etc. I'm receiving the following error:
    fail to construct descriptor : invalid arguments
    Any Help?

    I've create that pass an array of java objects to oracle stored procedure using ArrayDescriptor etc... It's working fine. I've used the normal way of java connection (DriverManager.registerDriver ....) also i've used OracleCallableStatement.
    Now when i use the same code in struts application, except for connection - i'm using struts and DBCP etc. I'm receiving the following error:
    fail to construct descriptor : invalid arguments
    Any Help?

  • ArrayDescriptor only SQL not PL/SQL

    ArrayDescriptor.createDescriptor only seems to work for SQL table types not PL/SQL table types. Is this true or is there some special
    syntax for naming PL/SQL table types.
    neither
    <typename>
    nor
    "<package>.<typename>"
    work
    They both raise exceptions like
    java.sql.SQLException: Fail to construct descriptor: Unable to resolve type: "NDR41.CAMLITE.TT"
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:775)
    at oracle.sql.ArrayDescriptor.<init>(ArrayDescriptor.java:166)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:89)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:161)
    null

    Nicolas,
    This is true.
    Thanks.

  • Bit locker drive encryption failed due to power failer and hard disk corrupted

    I ran Bitlocker drive ecryption drive D. My pc is windows 7 ultimate, while it was in progress of 1% due to power failer the encryption failed, when power resume the drive didn't showed the file format nor the size but it shows the size in disk management.
    It showed like this in My computer
    I do Have the recovery code password and back of recovery password so I ran the "manage-bde-_unlock D:-rp[my code ]
    and my pc got hang  no other option rather than to press the restart button. 
    then I used commang "repair-bde -force D:I:-rp[my rp] and following info showed but it stucked in 1% about 8 hours, and there was no increase in the pecentage
    I also connected the hardisk to mac but all othe partation showed but didn't showed the encrypted one.
    I had lots of memorable picture and other backups so any one kindly help me to get out of this problem. Thanks for help

    Hi,
    The BitLocker encryption and decryption processes can be interrupted by turning the computer off, and it will resume where it left off the next time Windows starts. This is true even if the power is suddenly unavailable.
    Bitlocker-repair (repair-bde)  tool
    can't repair a drive that failed during the encryption or decryption process.
    In addition, could you please explain a bit for what drive you are trying to deal with? external one?
    When you first restart your PC, have you seen any signs that indicate that the encryption is in process?
    Regarding your scenario, please take a look to see if the following articles could help here:
    Scenario 11: Recovering Data Protected by BitLocker Drive Encryption (Windows 7)
    Besides, when running manage-bde command, did we followed the steps mentioned in the below article?
    Scenario 14: Using a Data Recovery Agent to Recover BitLocker-Protected Drives (Windows 7)
    Best regards
    Michael Shao
    TechNet Community Support

  • Cannot send email from my Touch (connection to smtp server fails)

    Hello,
    I have a new iPod Touch with 1.1.4 and the January apps. I am having a problem setting the Mail application.
    I am trying to connect to the IMAP/SMTP servers at my university. I am using the exact same settings and passwords I use on my laptop, which works fine. I can receive email fine on my Touch, but every time I try to send one it fails tellings me "the connection to the outgoing server smtp.myuniversity.edu failed".
    If I on purpose write a wrong password for the outgoing mail, the error message I get is different ("check the account settings for the outgoing server smtp.myuniversity.edu").
    The university IT people confirmed my settings, and told me that there is nothing blocking any handheld device from using the server.
    Does anyone know why this would happen?
    Thanks,
    Marcelo

    Thank you very much for your responses
    1) the link to mail setup is (sorry, it's quite long)
    http://www.knowledgepak.com/kpaksonline/kpol.asp?PiAlias=kpolpi17&k2dockey=04096 3251575739@kpol17&ViewLink=true&SkipHeader=false&printformat=true
    2) I am indeed using SSL, as instructed by IT
    3) I do use port 587 instead of 25 (25 does not work either)
    Any ideas? Thanks again.
    MC

  • BSI ConnectToDataSet...failed

    Hi
    We have a problem with the BSI, we had been getting a dump "RFC_ERROR_SYSTEM_FAILURE", I followed the SAP Note 1068271 for the debug, and the result is:
    =Thu Jan 22 11:53:37 2009
    =SAP AG, Walldorf - Business API for BSI TaxFactory 8.0
    =RfcAccept called
    =Mapping ABAP RFC_PAYROLL_TAX_CALC_US_80 to C function srv_Payroll_Tax_Calc_US_80
    =Mapping ABAP RFC_HR_TAXLOCATOR_US_80 to C function srv_hr_taxlocator_us_80
    =Waiting for ABAP function calls
    =Running function srv_Payroll_Tax_Calc_US_80
    =Loading import parameters
    =Loading export parameters
    =Loading internal tables
    =Calling Payroll_Tax_Calc_US
    =Running Connect_DB_Payroll_Tax_Calc_US
    BSI dataset                  -> 110
    ConnectToDataSource...Succeeded 
    ConnectToDataSet...failed 
    Error String ->  7777 - [Oracle][ODBC][Ora]ORA-00933: SQL command not properly ended
    =RFC error
    operation/code Connect_DB_Payroll_Tax_Calc_US
    key RFC_ERROR_SYSTEM_FAILURE
    status
    message See RFC trace file or SAP system log for more details
    internal status
    The RFC under sm59 is working fine, the error is on the connection to the Dataset according to the Debug log "ConnectToDataSet...failed".
    I don't know what to check about the Dataset, could you please help me?
    Best Regards

    Yes, it's correct.
    I checked it's 8.0.
    I think is a problem with the parameters under tf80server.bat.
    SET
    TF80_CONNECT_STRING=DSN=;UID=;PW
    D=;
    SET TF80_SCHEMA_NAME=.TF80
    REM for SAP trace debugging, uncomment below & see file
    errors.txt in gateway working directory
    REM C:\BSI\TAXFACTORY\tf80serverdebug.exe %*
    REM else for usual operation
    C:\BSI\TAXFACTORY\tf80server.exe %*
    I don't know what is the "ODBC_DSN_NAME"
    I have the user, password, the database name...
    Best Regards

  • Installation of IPC AP 7.0 Jar is getting Failed when uploading in CRM

    Hello Experts,
    we did some changes in the previosly uploded version of IPC AP 7.0  customer user exit Jar file in eclipse.
    While uploading the new modified jar through transaction /SAPCND/UE_DEV in CRM we are getting error :" installation of module <Jar file name > has failed ".
    when we checked the logs in SM 53 we seen the below mentioned error:
    Message: Exception of type com.sap.sql.log.OpenSQLException caught: Exception of type com.sap.sql.sqlparser.CommonSQLParserException: - statement "DELETE FROM "SVMCRT_MOD_TR_T" WHERE "MODULE_NAME" LIKE ? ESCAPE ^ (reason: Modification of ABAP tables is not permit ted)" is not supported
    caught: - statement "DELETE FROM "SVMCRT_MOD_TR_T" WHERE "MODULE_NAME" LIKE ? ESCAPE ^ (reason: Modification of ABAP tables is not permitted)" is not supported
    --> com.sap.sql.log.OpenSQLException: Exception of type com.sap.sql.sqlparser.CommonSQLParserException: - statement "DELETE FROM "SVMCRT_MOD_TR_T" WHERE "MODULE_NAME" LIKE ? ESCAPE '^' (reason: Modification of ABAP tables is n" is not suppor ted
    caught: - statement "DELETE FROM "SVMCRT_MOD_TR_T" WHERE "MODULE_NAME" LIKE ? ESCAPE '^' (reason: Modification of ABAP tables is not permitted)" is not supported
    at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)Lcom/sap/sql/log/OpenSQLException;(Syslog.java:85)
    at 
    if  required i can post the complete stack trace.
    any inputs/suggestions are most welcome.
    Thanks & regards,
    Siddharth

    Hi Mark,
    Yesterday after Posting the thread we found the same Note ,Issue occured because of  JAVA write access was not enabled on the table ,After enabling it as mentioned in SAP Note, Jar file get successfully uploaded.
    Thanks for your Help also.
    Regards,
    Siddharth

  • Upgrade to ERp6 phase STARTSAP_NBAS error: DDIC login fails

    Hi
    During an upgrade from 4.7  to ERP6  I get the following error
    message in phase STARTSAP_NBAS:
    SYSTEM START failed, code -2
    -2: the test rfc did not work.
    Try to log on to the system with user DDIC
    When I try to log on to the system as user DDIC, I get the following
    error message:
    DB-Error -0
    SAP* can log in .The password I submit is correct. I have not changed this password at
    any time.
    Any ideas are most welcome

    Hi,
    DB-Error -0 indicate problem with kernel, try to upgrade kernel.
    check Note 760175 - 6.20: Logon not possible (after DB export or system copy)
    regards,
    kaushal

  • Running workbook from .bat fails to start application missing CORE40 dll

    I have been running several workbook via windows task scheduler / vbscript &/or bat files.
    I now have a new box which I access thru Remote Desktop Connection, so I can run all these automated updates without having my screen blinking everytime a shedule workbook starts.
    If I click on the actual Discoverer icon, or the discoverer workbook shortuct, all works well.
    If I click on the .bat file, or try to run the workbook via the cmd , it gives me the following error:
    DIS4USR.EXE – Unable To Locate Component
    “this application has failed to start because CORE40.DLL was not found. Re-installing the application may fix this problem.”
    The dll is under c/orant/bin/core40.dll, which is where I've read it should be, and it works fine in my regular box...
    Please help! URGENT :)
    Thanks!

    Hello
    Check the PATH environment variables for the machine you are on and the one you are connecting to.
    You might not have Discoverer's objects in the PATH.
    Another possibility is that you have more than one piece of ORACLE software on the machine and you may need to also set the ORACLE_HOME within the BAT file.
    Best wishes
    Michael

  • Due to my laptop screen failing i have to return to facory settings, can i reinstall adobe reader and adobe air afterwards?

    Due to my laptop screen failing I have to return it to factory settings, can I reinstall adobe reader and air afterwards?

    I don't see why not. Do you foresee a special difficulty?

Maybe you are looking for