Connection to DB from App server fails ORA-1017

Oracle Enterprise Manager 10g Application Server Control 10.1.2.0.2
DB server1 - Has two DB instances SID=X, SID=Y
DB server2 - Has two DB instances SID=Y, SID=ZApplication server Tnsnames.ora file had entries for X and Y.
Y =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =DB server1)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = Y.WORLD)
  )After Y,Z are installed in DB server2 (without dropping Y DB from DB server1) tnsnames.ora modified as follows
Y =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =DB server1)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = Y.WORLD)
  )to
Y =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =DB server2)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = Y.WORLD)
  )Now from Forms applications deployed in application server , we can connect to Z but we cannot connect to Y. We can connect to DB Y via SQL*Plus from Application server.
Need kind suggestions.
Best Regards,
Lokanath

Hi Lokanath,
Check this parameter
SQL> SHOW PARAMETER SEC_CASE_SENSITIVE_LOGON
NAME                                 TYPE        VALUE
sec_case_sensitive_logon             boolean     TRUEIf value is True set it to False.
SQL> ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;
System altered.Try this Hope it works.
Regards
Santosh Mahajan
Edited by: SanOra13 on Mar 15, 2012 11:59 PM

Similar Messages

  • Transfer a file from App Server to a FTP site.

    Hi, Abapers.
    I need your help. Probably, this topic has already been posted in a similar way, but we need an answer to solve our problem.
    We have to sent a PDF file from a directory of our app server (AIX) to a FTP directory... which would the FM sequence we should use to goal it?
    Best Regards.

    Hi Santiago,
    create fm to send file from APP server to FTP site.
    if you want to Post file from desktop to Appl use Transaction - CG3Y
    if you want to Post file from Appl to Desktop use Transaction - CG3Z
    copy the code below....
    *  Author: Prabhudas                            Date:  02/21/2006  *
    *  Name: Z_FTP_FILE_TO_SERVER                                          *
    *  Title: FTP File on R/3 Application Server to External Server        *
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(DEST_HOST) TYPE  C
    *"     REFERENCE(DEST_USER) TYPE  C
    *"     REFERENCE(DEST_PASSWORD) TYPE  C
    *"     REFERENCE(DEST_PATH) TYPE  C
    *"     REFERENCE(SOURCE_PATH) TYPE  C
    *"     REFERENCE(FILE) TYPE  C
    *"     REFERENCE(BINARY) TYPE  CHAR1 OPTIONAL
    *"     REFERENCE(REMOVE_FILE) TYPE  CHAR1 OPTIONAL
    *"  TABLES
    *"      FTP_SESSION STRUCTURE  ZMSG_TEXT OPTIONAL
    *"  EXCEPTIONS
    *"      CANNOT_CONNECT
    *"      SOURCE_PATH_UNKNOWN
    *"      DEST_PATH_UNKNOWN
    *"      TRANSFER_FAILED
    *"      COMMAND_FAILED
      DATA: w_password     TYPE zftppassword,
            w_length       TYPE i,
            w_key          TYPE i                  VALUE 26101957,
            w_handle       TYPE i,
            w_command(500) TYPE c.
      REFRESH ftp_session.
    * Scramble password (new Unicode-compliant routine)
      w_length = STRLEN( dest_password ).
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = dest_password
          sourcelen   = w_length
          key         = w_key
        IMPORTING
          destination = w_password.
    * Connect to FTP destination (DEST_HOST)
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          user            = dest_user
          password        = w_password
          host            = dest_host
          rfc_destination = 'SAPFTPA'
        IMPORTING
          handle          = w_handle
        EXCEPTIONS
          not_connected   = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          RAISING cannot_connect.
      ENDIF.
    * Optionally, specify binary file transfer
      IF binary = 'X'.
        w_command = 'bin'.
        CALL FUNCTION 'FTP_COMMAND'
          EXPORTING
            handle        = w_handle
            command       = w_command
          TABLES
            data          = ftp_session
          EXCEPTIONS
            command_error = 1
            tcpip_error   = 2.
        IF sy-subrc <> 0.
          CONCATENATE 'FTP command failed:' w_command
            INTO w_command SEPARATED BY space.
          MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
              WITH w_command
              RAISING command_failed.
        ENDIF.
      ENDIF.
    * Navigate to source directory
      CONCATENATE 'lcd' source_path INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING source_path_unknown.
      ENDIF.
    * Navigate to destination directory
      CONCATENATE 'cd' dest_path INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING dest_path_unknown.
      ENDIF.
    * Transfer file
      CONCATENATE 'put' file INTO w_command SEPARATED BY space.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = w_handle
          command       = w_command
        TABLES
          data          = ftp_session
        EXCEPTIONS
          command_error = 1
          tcpip_error   = 2.
      IF sy-subrc <> 0.
        CONCATENATE 'FTP command failed:' w_command
          INTO w_command SEPARATED BY space.
        MESSAGE ID 'ZW' TYPE 'E' NUMBER '042'
            WITH w_command
            RAISING transfer_failed.
      ENDIF.
    * Disconnect from destination host
      CALL FUNCTION 'FTP_DISCONNECT'
        EXPORTING
          handle = w_handle.
    * Optionally, remove file from source directory
      IF remove_file = 'X'.
       CONCATENATE source_path '/' file INTO w_command.
      CONCATENATE 'rm' w_command INTO w_command SEPARATED BY space.
       OPEN DATASET '/dev/null' FOR OUTPUT FILTER w_command.
       CLOSE DATASET '/dev/null'.
    ENDIF.
    Regards,
    Prabhudas

  • App Server Fails to Start after Installation

    Hi,
    I've spent a whole day struggling with this, looking through forum discussions and trying out every single suggestion I've come across in the forums. I'm running out of ideas now and really appreciate any help I can get with this problem.
    I'm trying to install SJSC2 (also tried with SJSC2u1 with the same outcome) on a new HP notebook (nw9440) running WinXP_sp2. I'm using the default installation done by HP.
    My installation path is C:\Java\SunCreator2 (C:\Java\SunCreator2_1 for update 1).
    After the installation the App server fails to start up and gives the below error in the server.log.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d779c9d, pid=5368, tid=5760
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0x99c9d]
    # An error report file with more information is saved as hs_err_pid5368.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Upon looking at the install.log in the rave_home directory, I noticed the below sequence of errors.
    Timeout waiting for domain creator to go to starting state.
    Compiler warnings:
    line 44: Attribute 'debug-options' outside of element.
    line 62: Attribute 'port' outside of element.
    line 73: Attribute 'port' outside of element.
    line 84: Attribute 'port' outside of element.
    line 105: Attribute 'port' outside of element.
    line 116: Attribute 'port' outside of element.
    line 127: Attribute 'port' outside of element.
    line 145: Attribute 'port' outside of element.
    line 156: Attribute 'port' outside of element.
    CLI156 Could not start the domain creator.
    The following script has unexpected output: "C:\Creator2\bin\deploy-ws.bat"
    Aug 14, 2006 11:27:33 PM com.sun.appserv.management.client.ProxyFactory getInstance
    SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
    Aug 14, 2006 11:27:35 PM com.sun.appserv.management.client.ProxyFactory getInstance
    SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
    Aug 14, 2006 11:27:37 PM com.sun.appserv.management.client.ProxyFactory getInstance
    SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
    The following script has unexpected output: "C:\Creator2\bin\deploy-ejbs.bat"
    Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    CLI137 Command create-jdbc-connection-pool failed.
    CLI137 Command create-jdbc-resource failed.
    CLI137 Command create-jdbc-connection-pool failed.
    CLI137 Command create-jdbc-resource failed.
    Aug 14, 2006 11:27:52 PM com.sun.appserv.management.client.ProxyFactory getInstance
    SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
    Aug 14, 2006 11:27:53 PM com.sun.appserv.management.client.ProxyFactory getInstance
    SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
    Aug 14, 2006 11:27:55 PM com.sun.appserv.management.client.ProxyFactory getInstance
    SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
    Aug 14, 2006 11:27:57 PM com.sun.appserv.management.client.ProxyFactory getInstance
    SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    CLI171 Command deploy failed : Deployment of application failed - java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.; requested operation cannot be completed
    I've tried every workaround I've seen in the forums such as installing under different paths (both with spaces and without spaces), cleaning all the temporary files in the Temp directory, renaming the productregistry in the windows system directory. Each time I get the exact same error in the install.log.
    I also tried installing the stand alone SUN App Server 8.1_02_2005Q2 as well as 8.2. I don't seem to have any issue with this installation or running of the stand alone server at all on the same machine.
    Really appreciate any help I can get. TIA....
    rgds,
    KC

    Hi,
    After spending more time looking through the forum, I came across the below thread which has worked in my case (though it was suggested for Sol10x86).
    http://forum.sun.com/jive/thread.jspa?threadID=62404&messageID=243113
    This is the workaround that worked in my case.
    > $ cd <Creator_Home>/SunAppServer8/lib
    $ mv processLauncher.xml processLauncher.xml.trayIcon
    $ cp processLauncher.xml.bak processLauncher.xml
    # If you have a domains/creator/config/domain.xml
    $ cd ../bin
    $ ./asadmin start-domain creator
    This started the app server. After that I was able to start and stop app server within the JSC as well.
    Only difference between these two xml files seem to be,
    processLauncher.xml.trayicon
    <main_class classname="com.sun.rave.tray.RavePEMain"/>
    processLauncher.xml
    <main_class classname="com.sun.enterprise.server.PEMain"/>
    Possibly pointing to a bug in the "com.sun.rave.tray.RavePEMain" class.
    Thanks for your suggestions guys... and especially to Marco and Greg.
    Rgds,
    Kc
    Message was edited by:
    Kc

  • DB Audit from App Server

    Hello guys,
    I'd like to audit transactions, coming from App Server.
    We have an application, that uses one database account, and all the connections to the database are coming from the App Server, obviously. That's why I cannot log the client IP, OS-User etc.
    What would you recommend to me to meet my this requirement ?
    11gR3, no DB Vault.
    Thanks a lot,
    Regards

    Hi Vlad Visan,
    Thank you for the reference, it gave an idea to me.
    You mean, this should be set by during the development process on application ?
    It's an enterprise application, I'll discuss on this, but not sure if they can optimize the codes fastly for this usage.
    If you have any other solution or an idea, let me know please
    Have a nice day

  • System exception while deleting the file from app server in background job

    Hi All,
    I have a issue while the deleting the file from application server.
    I am using the statement DELETE DATASET in my program to delete the file from app server.
    I am able to delete the file from the app server when i run the program from app server.
    When i run the same report from background job i am getting the message called System exception.
    Is there any secuirity which i need to get the issue.
    Thank You,
    Taragini

    Hi All,
    I get all the authorization sto delete the file from application serever.
    Thing is i am able to run the program sucessfully in foreground but not in the background .
    It i snot giving any short dump also just JOB is cancelled with the exception 'Job cancelled after system exception ERROR_MESSAGE'.
    Can anybody please give me suggestion
    Thanks,
    Taragini

  • Issue with uploading flat file from App Server

    Hi,
    Im loading a flat file to an ODS.
    When I try to load in from my Local Workstation, it works fine.
    All data is loaded green.
    However, when I try to load the file after i copied it to my App Server, it cannot load.
    The error is get is:
    Error 2 while splitting CSV data: see long text
    Message no. RSDS_ACCESS011
    Diagnosis
    Error 2 occurred while splitting the CSV data string.
    1 = Could not find a closing escape character
    2 = Invalid escape character
    3 = Conversion error
    4 = OTHERS
    The thing is that it worked fine (exact same file no changes) when I loaded from my Desktop.
    Appreciate any help or input.
    Rgds,
    Gary.

    Gary,
    You can load it from the App server. Just check the file name whther you are giving it correctly and also check the readio button from App Server.
    Go to AL11 (Tcode) and cross check whther your file is there. See in which directory your file is there. Mention the same path in the extraction tab in IP.
    Thanks...
    Shambhu

  • Problem in downloading file from app server using CG3Y in to .XLS fomat

    hi All,
    I have uploaded file in to application server through a program using open data set with the separater as "|" ( pipe ) . Now the user should be able to download the file from apps server to presenataion server in .XLS format using txn CG3Y. but when we download, the format appears wierd and the data is not consistent across columns in excel. i.e the data which is supposed to be in one column in the excel is in the other column. what precautaions should i take  before moving data to apps server so that it will be downloaded in a good format.
    Appreciate your help...
    Regards,
    Sreekanth.

    Separate each values with TAB space present in the application server .
    Currently u r using | pipe character. Instead of that use CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB as delimiter.
    Each value will displayed in separate cells in excel sheet when u download it frm app.server
    Regards,
    Lakshman.

  • How to fetch file from app. server without complete filename?

    Hi,
    In my report I have to read data from txt file on application server.
    My file name on App. server conatain system id and date and time stam.
    my file path :- /User/IDD/S10009112007101525
    here,'User'  is dirctory
            'IDD' is folder in directory
            'S100' is system id
             '09112007' is date
             '101525'  is time in hour,miniute,second format.
    From my program I can only pass directory , Folder name,System Id,Date only. I don't have time value in my program.
    So please tell me how to fetch files without having time stamp value from app. server.
    Plz send me exact code.It's urgent.
    Message was edited by:
            Manisha Kadam
    Title was edited by:
            Alvaro Tejada Galindo

    Do you want to return the file to the user on click of button or something?
    Then, use web_show_document with http link which you are speaking about.
    Else download the file to client using Webutil.

  • Download PDF file from APP server!

    Hi!
    Has anyone tried uplaoding and downloding a PDF table from app server as I tried from a normal method by Open dataset, Transfer but it wont work.
    Please provide any inputs.
    Thanks.

    Hi park,
    1. Using open data set, transfer , close etc,
       also it will work.
       ( it will download / upload any kind of file from app server)
    2. Just make sure the
       FULL PATHNAME and the FILENAME
       are mentioned in EXACT CASE
      (small/CAPITAL).
    3. U can check thru transaction AL11, to see the file and path.
    regards,
    amit m.

  • Get the connected users count from sql server using powershell

    Hi,
    I am working on SharePoint 2013,I am having SQL server 2012.
    I want to get the Connected Users count from  sql server using power shell.
    Can any one please let me know how to implement.
    Thanks in advance.
    Regards,
    Phani Kumar R

    Sorry Tom, I dont like to hear "There is no way" :-(
    There is always a way in computer to get what you need (at least it is good as Rule of thumb). I am not sure we will find it here (in a voluntary supporting forum).
    Now we (or better the architect of their system) should think of the way :-)
    Of course doing so in the forum, while we do know the system and only got a glimpse on what is needed, is not the best idea. I will point some issues which can be related to a solution. Those are not a solotions as it is but something we can use for a solution
    once something look in the right way.
    * A web connects counter is one of the easier thing to do. The basic idea is just to use the connect event and the disconnect event an adding 1 or removing 1 from the counter. This is best to do in the application using static variable as any way the second
    the application is down the counter can be go to hell as we know there is no one connect (there for a counter do not use database usually). Using a web dot-net (or asp 3) application this is done most of the time using the global.asa/global.asax file, which
    include the application and session events. for example using the method Session_Start
    protected void Session_Start(object sender, EventArgs e) {
    // Code that runs when a new session is started
    * IIS have a build-in loging system where we can log each and every request/response or only logins users. There is lot we can do with this log files including data mining. Using small bulk insert script we can use the SQL agent to insert those logs to the
    database and get the information we need.
    * any web developer i want to believe know about the Fiddler application which we use to monitor traffic. A proxy is not the only way to to monitor traffic (it is not good for our case as this is in the client side), there are several option in the server
    side.
    * SQL trigger on logon can be use to get information on who is loging on and can be logging only specific source (like our sharepoint IP or any sharepoint application). This information (what is the application which connect to the server can be retrive
    in several solution without using a trigger as well)
    *** (I'll be brief ... I'm getting bored... probably the reader feel the same)
    * using extended events and/or profiler we can monitor any connection and save the data or just remember it in shared (static) variable (this
    blog show how to do it by the way). Again we can monitor specific application or use any filter in order to get only the sharepoint users
    .... and i can continue for several days more :-) ...
    "If there is a willing, then there's a way"
    "If you can't do it, Then someone else probably can"
    "Never say never"
    I hope this help somehow :-)
    [Personal Site] [Blog] [Facebook]

  • Deploying jdeveloper application to apps server fails

    I'm trying to deploy application from jdeveloper to apps server 10.1.2.02
    connection to apps server is successful. but deployment fails with foll error
    ---- Deployment started. ---- Sep 10, 2007 4:51:49 PM
    Target platform is Standard J2EE.
    Wrote EJB JAR file to D:\Program\JDeveloper\jdev\mywork\HDFCCustWeb\website\deploy\ejb1.jar
    Elapsed time for deployment: 1 second
    ---- Deployment finished. ---- Sep 10, 2007 4:51:50 PM
    ---- Deployment started. ---- Sep 10, 2007 4:54:37 PM
    Target platform is Oracle Application Server 10g 10.1.2 (Windows) (howsora9).
    Wrote EJB JAR file to D:\Program\JDeveloper\jdev\mywork\HDFCCustWeb\website\deploy\ejb1.jar
    Wrote EAR file to D:\Program\JDeveloper\jdev\mywork\HDFCCustWeb\website\deploy\ejb1.ear
    Invoking DCM servlet client...
    D:\Program\JDeveloper\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar D:\Program\JDeveloper\jdev\lib\oc4j_remote_deploy.jar http://howsora9:18100/Oc4jDcmServletAPI/ ias_admin **** redeploy G:\Oraappsr2 D:\Program\JDeveloper\jdev\mywork\HDFCCustWeb\website\deploy\ejb1.ear hdfccustweb
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy G:\Oraappsr2 D:\Program\JDeveloper\jdev\mywork\HDFCCustWeb\website\deploy\ejb1.ear hdfccustweb UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 0a0000b746b40e54065c96c04298b795b7b5e8caef3b
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=0a0000b746b40e54065c96c04298b795b7b5e8caef3b
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 13 seconds
    #### Deployment incomplete. #### Sep 10, 2007 4:54:50 PM

    Try deploying directly from the OAS EM Web interface - it might provide a more detailed error message.
    If you are using JDev 10.1.3 my guess it might be that your deployment descriptor files are using J2EE 1.4 syntax instead of J2EE 1.3 syntax which is what OAS 10.1.2 expects.

  • The attempt to read data from the server failed

    Today I was looking into an error with several IMAP accounts in Apple Mail:
    +The attempt to read data from the server "<<servername.tld>>" failed.+
    At first I thought this was an Apple Mail problem, as the accounts in question seemed to work just fine when not used in combination. One possible answer to this problem is rather short:
    Apple Mail uses IMAP caching, which uses more than 4 connections at the same time to the mail server. Some mail servers (like courier-imap in its default configuration) do not allow that much connections from the same IP address. The more accounts you are trying to connect to at the same time raises this number of connections. Meaning while you could probably check one account for new mails, the second will ultimately fail for no obvious reasons. The only solution to this problem is to raise the connections allowed by your IMAP server software. this solution only applies to people who have root access to their mail server.
    in courier-imap you have to edit /etc/courier-imap/imapd
    and change MAXPERIP=4 to a higher number (5 to 10 times the number of accounts you want to check simultaneously)
    and change MAXDAEMONS=40 to a higher number (with only one user 200 might work, whereas if you serve multiple users, something like 500 or higher might be better suited).
    of course increasing the numbers increases load on your server. this is why there are these restrictions in place.

    MY SOLUTION REPOSTED FROM ANOTHER THREAD:
    I've just solved a similar issue.
    I have a dedicated server running Plesk 9.5 and when I upgraded to iLife 11 and Snow Leopard this error appeared. I could quickly click "get mail" and I'd get all my mail, but only 3-4 of my 9 mail accounts would connect. Theo others would have the error:
    "The server error encountered was: The attempt to read data from the server..."
    I found solutions for those using IMAP mail:
    modify the /etc/courier-imap/imapd configuration file and change MAXDAEMONS from 40 to 80 and MAXPERIP from 4 to 40. This allows all the machines behind my home firewall to connect to multiple accounts on the e-mail server with mailbox caching enabled.
    I'd made this change on my server but it didn't seem to have any effect. It dawned on me that I'm using POP, not IMAP. So I found in /etc/courier-imap/pop3d the same settings. I changed the MAXDAEMONS from 40 to 80 and MAXPERIP from 4 to 40 and voila, all my connections concurrently worked.
    This has taken me more than two days to fix and I hope posting this helps someone else with the same issue.

  • SQL Portlets - Executing across db link from app server db to DataWarehouse

    Hi
    We are using Ora App Server 10.2.
    Discoverer Portlets saved on app server db, execute their SQL direct to our DataWarehouse (Oracle 9r2) and this works fine.
    However, when we use SQL portlets, the SQL has to be coded with db links from our app server db to our Datawarehouse. This is not ideal.
    Does any know how you can use SQL Portlets without using db links?
    Thanks
    Colm

    Try creating your portlets as java providers using jdbc instead of in PL/SQL.
    Cheers,
    Mick.

  • Attempt to read data from the server failed...

    I'm getting the following error on one of my email accounts:
    +There may be a problem with the mail server or network. Verify the settings for account “[my account]” or try again.+
    +The server returned the error: The attempt to read data from the server “[my account]” failed.+
    I'd like to find out more about the error, so that I can start to track this down and see if there is a problem with the mail server settings, or if the problem is on my end.
    I don't see any reference to this error in the logs – would it be somewhere else?

    I've just solved a similar issue.
    I have a dedicated server running Plesk 9.5 and when I upgraded to iLife 11 and Snow Leopard this error appeared. I could quickly click "get mail" and I'd get all my mail, but only 3-4 of my 9 mail accounts would connect. Theo others would have the error:
    The server error encountered was: The attempt to read data from the server...
    I found solutions for those using IMAP mail:
    modify the /etc/courier-imap/imapd configuration file and change MAXDAEMONS from 40 to 80 and MAXPERIP from 4 to 40. This allows all the machines behind my home firewall to connect to multiple accounts on the e-mail server with mailbox caching enabled.
    I'd made this change on my server but it didn't seem to have any effect. It dawned on me that I'm using POP, no IMAP. So I found in /etc/courier-imap/pop3d the same settings. I changed the MAXDAEMONS from 40 to 80 and MAXPERIP from 4 to 40 and voila, all my connections concurrently worked.
    This has taken me more than two days to fix and I hope posting this helps someone else with the same issue.

  • Problem with READ DATASET when reading file from app server

    Hi,
    wondering if anyone can help, I'm using the following code to read from a file on app server, the file is of type .rtf
    OPEN DATASET file_rtf FOR INPUT IN TEXT MODE
                                 ENCODING DEFAULT
                                 WITH SMART LINEFEED.
    DO.
    READ DATASET file_rtf INTO string.
    IF SY-SUBRC = 0.
    EXIT.
    ENDIF.
    ENDDO.
    the open dataset part works sy-subrc = 0, but the read returns sy-subrc = 8 and no data is passed to string.
    Any ideas as to what is causing this problem appreciated, <removed>
    Thanks
    Edited by: Thomas Zloch on Mar 17, 2010 3:57 PM - please don't offer p...

    Hi Adam,
    The source code in the below link has details about how to read/write to application server.
    [Application server file operartions|http://www.divulgesap.com/blog.php?p=NDk=]
    Please let us know if you have any issues.
    Regards,
    Ravi

Maybe you are looking for