Attempt to read XMLType from Oracle 11G

Hi.
I try to read XMLtype field from Oracle11G next way:
import java.io.InputStream;
import oracle.sql.*;
import oracle.jdbc.*;
import oracle.xdb.XMLType;
import java.sql.Connection;
import java.sql.DriverManager;
import oracle.jdbc.driver.OraclePreparedStatement;
public class test_XMLType {
public static DocumentBuilder loader;
public static Transformer transformer;
public static DocumentBuilderFactory factory,factory_o;
public static Document d,o;
public static NodeList nl;
public static Element el;
public static int regim=0;
public static String OS_command;
public static String result_command="";
public static String name_element="";
public static String SID ="orcl";
public static String pwd ="oracle";
public static String user="monit";
public static String port ="1521";
public static String connect_string ="";
public static String host ="localhost";
public static String connect_string1 = "jdbc:oracle:thin:";
// public static InputSource scen = new InputSource();
public static XMLType scen;
// public static CLOB scen;
public static OracleCallableStatement proc = null;
public static String this_host ="host1";
public static Connection conn;
public static InputStream xmlStream;
// public static XMLscen XmlType;
public test_XMLType() {
super();
public static String GetCommand() {
// reading XML scenary from moniroring server
try {
connect_string =connect_string1 + user + "/" + pwd + "@" + host + ":" + port + ":" + SID;
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
conn = DriverManager.getConnection(connect_string);
OracleCallableStatement proc = (OracleCallableStatement)conn.prepareCall("select SCENARY from scenaries where host_name = ?");
// OracleCallableStatement proc = (OracleCallableStatement)conn.prepareCall("select TEST from scenaries where host_name = ?");
proc.setString(1, this_host);
OracleResultSet rs = (OracleResultSet)proc.executeQuery();
rs.next();
System.out.println(rs.getOPAQUE("SCENARY").getSQLTypeName());
scen = XMLType.createXML(rs.getOPAQUE("SCENARY"));
// System.out.println(XMLType.createXML(rs.getOPAQUE("SCENARY")));
// InputStream xmlStream = scen.getStream();
// System.out.println(rs.getString("test"));
proc.close();
catch (Exception e) {
e.printStackTrace();
return "Ok";
I got next error in JDeveloper runnig window
E:\Middleware\jdk160_18\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\Application_test_XMLType\.adf;C:\JDeveloper\mywork\Application_test_XMLType\Client\classes;E:\app\sys\product\11.2.0\dbhome_2\oui\jlib\classes12.jar;E:\app\sys\product\11.2.0\dbhome_2\RDBMS\jlib\xdb.jar;E:\app\sys\product\11.2.0\dbhome_2\oui\jlib;E:\app\sys\product\11.2.0\dbhome_2\RDBMS\jlib -Djavax.net.ssl.trustStore=E:\Middleware\wlserver_10.3\server\lib\DemoTrust.jks client.test_XMLType
SYS.XMLTYPE
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/binxml/BinXMLException
     at client.test_XMLType.GetCommand(test_XMLType.java:118)
     at client.test_XMLType.main(test_XMLType.java:138)
Caused by: java.lang.ClassNotFoundException: oracle.xml.binxml.BinXMLException
     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     ... 2 more
Process exited with exit code 1.
But using SQLDeveloper I get this field without any problems.
Thanks in advance for reply.
Andrii.

Thanks for reply. A have added xmlparsev2.jar library and got next
E:\Middleware\jdk160_18\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\Application_test_XMLType\.adf;C:\JDeveloper\mywork\Application_test_XMLType\Client\classes;E:\app\sys\product\11.2.0\dbhome_2\oui\jlib\classes12.jar;E:\app\sys\product\11.2.0\dbhome_2\RDBMS\jlib\xdb.jar;E:\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;E:\Middleware\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;E:\app\sys\product\11.2.0\dbhome_2\oui\jlib;E:\app\sys\product\11.2.0\dbhome_2\RDBMS\jlib -Djavax.net.ssl.trustStore=E:\Middleware\wlserver_10.3\server\lib\DemoTrust.jks client.test_XMLType
SYS.XMLTYPE
Exception in thread "main" java.lang.NoSuchMethodError: oracle.jdbc.OracleConnection.physicalConnectionWithin()Loracle/jdbc/internal/OracleConnection;
     at oracle.xdb.XMLType.initConn(XMLType.java:3673)
     at oracle.xdb.XMLType.<init>(XMLType.java:1358)
     at oracle.xdb.XMLType.createXML(XMLType.java:821)
     at oracle.xdb.XMLType.createXML(XMLType.java:799)
     at client.test_XMLType.GetCommand(test_XMLType.java:118)
     at client.test_XMLType.main(test_XMLType.java:138)
Process exited with exit code 1.

Similar Messages

  • Can we access Oracle 10g R2 database from Oracle 11g Client

    Hi,
    Can any1 tell me can we access Oracle 10g R2 database from Oracle 11g Client ? I m unable to find a Oracle Client 10g R2 for Windows 7 32 bit.
    Below link is for Vista only
    http://www.oracle.com/technetwork/database/10203vista-087538.html

    832812 wrote:
    Hi,
    Can any1 tell me can we access Oracle 10g R2 database from Oracle 11g Client ? I m unable to find a Oracle Client 10g R2 for Windows 7 32 bit.
    Below link is for Vista only
    http://www.oracle.com/technetwork/database/10203vista-087538.html
    Check this note for client/server compatibility
    Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]

  • Connect to DB2 from oracle 11g on windows 2008 server

    Hi Folks,
    I want to conenct to DB2 from oracle 11g using DB link.
    DB2 :
    user : db2user
    pwd : db2pwd
    database : db2database (OSBLDEV)
    able to connect to db2 server (installed on machine M1) using db2 client with above details from machine M2 (where oracle is installed).
    Oracle :
    user : orauser
    pwd : orapwd
    host : orahost
    port : 1521
    service : oraservice
    able to connect to oracle server using oracle sql developer with above details on Machine M2 (windows 2008 server)
    when i execute the query with database link
    select row_id from siebel.s_org_ext@OSBLDEV;
    I get the message : ORA-12154: TNS:could not resolve the connect identifier specified.
    could you pls check and let me know whether the below enteries are correct or not.
    Pls share if you have step by step connectivity from DB2 to oracle using DB link.
    1. I have created the Data source for DB2 - test successful
    create database link OSBLDEV
    connect to "db2user"
    identified by "ldb2pwd"
    using 'OSBLDEV';
    1. I have made the following entry in E:\oracle\product\11.1.0\db_1\hs\admin\initosbldev.ora
    HS_FDS_CONNECT_INFO = OSBLDEV
    HS_FDS_TRACE_LEVEL = 0
    2. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\tnsnames.ora
    OSBLDEV =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
    (CONNECT_DATA=(SID=OSBLDEV))
    (HS=OK)
    3. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\listener.ora and releoaded the listner (lsnrctl reload)
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER=
    (SID_LIST=
         (SID_DESC = # this is the entry for HSODBC
         (SID_NAME = OSBLDEV)
         (ORACLE_HOME = e:\oracle\product\11.1.0\db_1)
         (PROGRAM = hsodbc)
    Thanks in advance.

    1. My listener.ora is placed at the below location:
    E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN
    2. I have modifed the listener and removed the entry - hsodbc
    3. stop and start the listener.
    still can't see the service entry in listener status.
    C:\>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 19-JUL-2010 02:27
    :08
    Copyright (c) 1991, 2008, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.1.0.7.0 - Produ
    ction
    Start Date 19-JUL-2010 02:21:17
    Uptime 0 days 0 hr. 5 min. 52 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Log File e:\oracle\diag\tnslsnr\DALDEVDBCRM1\listener\alert\log
    .xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=daldevdbcrm1.corp.nai.org)(PORT=1521
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+asm1", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+asm1", status READY, has 1 handler(s) for this service...
    Service "ARIBADEV" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "ARIBADEV_XPT" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "ARIBAXDB" has 1 instance(s).
    Instance "ariba", status READY, has 1 handler(s) for this service...
    Service "aiad.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 2 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aiadXDB.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 1 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aiad_XPT.corp.nai.org" has 2 instance(s).
    Instance "aiad1", status READY, has 2 handler(s) for this service...
    Instance "aiad2", status READY, has 1 handler(s) for this service...
    Service "aianew" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    Service "aianewXDB" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    Service "aianew_XPT" has 1 instance(s).
    Instance "aianew", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\>

  • How to make data base link from oracle 11g r2 to microsoft sql 2008 express

    I need to make data base link from oracle 11g r2 to microsoft sql 2008 express to make replication between then
    please help me !
    I didn't know what is the user and password in the command which create database link

    To replicate data you can ude Database Gateway for ODBC or Database Gatewy for MS SQl Server. Please use the search engine of this forum if you ant to get more details about each product.
    Some SQl Servers are set up to use Windows authentication only. In this case you won't be able to connect to the SQL Server as Windows authentication isn't supported with the gateways. You have to make sure your SQL server is supporting username and password authentication - a common user is the "sa" user. Regarding the username/password, please get in touch with your SQL Server Admin.

  • ACL error when sending email from Oracle 11g

    Hi,
    It returned something like "error...ACL security" when I tried to send email from Oracle 11g. Is there any security thing that I need to release in Oracle 11g? I used to send emails from Oracle 10g and didn't find any problem.
    Thanks.
    Andy

    In Database 11g Oracle introduced Network Access Control Lists (ACLs) to protect the database from users using the many internet-capable packages such as UTL_INADDR, UTL_HTTP, UTL_TCP, etc.
    Read all about it in the docs and look at the code demos here:
    http://www.morganslibrary.org/library.html
    under DBMS_NETWORK_ACL_...

  • Want to export with Export: Release 9.2.0.1.0 from Oracle 11g database

    hi gurus,
    I need to put a user's data from Oracle 11g to Oracle 9i. I heard, I had to do it using exp 9.2, so I installed Oracle 9i client (Export: Release 9.2.0.1.0 ) and tried to export data from Oracle 11g database but I got following character set error while exporting.
    "Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set"
    and exp crashes out.
    (env. windows xp)
    My questions:
    1. may i need to set the character set of oracle 11g database to US7ASCII ?
    2. is it reversable process to change character set from WE8MSWIN1252 to US7ASCII ?
    3. or there is something else i need to do to get this problem fixed?
    regards
    nadeem ameer

    i installed patchset 9.2.0.8 and tried again with same result.
    screen looks like ...
    {color:#99cc00}C:\ora9i&gt;set NLS_LANG=AMERICAN_AMERICA.US7ASCII
    C:\ora9i&gt;exp system/mnbvlkjh@oracle
    Export: Release 9.2.0.8.0 - Production on Wed Oct 29 13:22:43 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Produc
    tion
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Enter array fetch buffer size: 4096 &gt;
    Export file: EXPDAT.DMP &gt;
    (1)E(ntire database), (2)U(sers), or (3)T(ables): (2)U &gt;
    Export grants (yes/no): yes &gt;
    Export table data (yes/no): yes &gt;
    Compress extents (yes/no): yes &gt;
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8MSWIN1252 character set (possible charset conversion)
    {color:#000000}here appears famous microdoft window saying EXP.EXE has encountered a problem and needs to close blah blah blah
    with buttons "send error report" and "don't send" etc......{color}
    C:\ora9i&gt;
    {color:#000000}any further suggesstions?
    {color}
    {color:#000000}nadeem{color}
    {color}

  • Steps to generate AWR report from Oracle 11g OEM

    I have gone through online documentation for generating an AWR report from Oracle 11g OEM but the documentation is more focused on generating the AWR report manually. I would request if there is a link or documentation to go through for generating AWR report from Oracle 11g enterprise manager.
    I hope my question is clear.
    Please revert with the reply to my query.
    Regards

    HI ,
    Please check following link: Siva Oracle: How to generate AWR Report from OEM Grid
    Thank you

  • Ordered processing required from Oracle 11g on Linux to BizTalk Server

    Need a viable solution enabling ordered processing (OP) of messages from Oracle 11g on Linux allowing for ordered delivery to subscribers in BizTalk over MSMQ.
    We are currently running BizTalk 2010 (with Adapter Pack 2010) and are using ordered delivery for inbound messages to Oracle (received from msmq) but not for outbound messages since the Wcf-adapters doesn't support Ordered Processing in a receive port/location
    (except for msmq). However, we do need to implement ordered processing for outbound messages also. It's a major drawback that the Wcf-adapters does not support ordered processing not even with restricted or limited functionality.
    Our current implementation is polling Oracle using the Wcf-adapter calling PLSQL-package functions that handles all logic and returns a pre-built XML in a CLOB/string to BizTalk.
    Since Oracle is hosted on Linux we can't switch the PLSQL-logic to use Oracle COM-automation and post XML directly into MSMQ which otherwise would have been a quick solution. Also no WebSphere MQ (MQSeries) exists on the premises ruling out that adapter.
    Preferences:
    - Stable and reliable message transfer with ordered processing from Oracle to BizTalk
    - Messaging only pattern (generic) preferred over custom Orchestations (such as re-sequencing pattern)
    - Products preferred over custom development (within reasonable price limits).
    - Follow Microsoft best practices if possible
    In-house development of a custom BizTalk adapter or a nt-service bridging from Oracle to MSMQ could be considered as an option.
    regards
    /Henrik
    /Henrik

    Thanks for the reply but it's not that easy I'm afraid, if it had then this post would never have been written.
    We're retrieving one message at the time and with pollWhileDataFound=true so that's all good.
    The problem is that the inner workings of the wcf-adapters are multithreaded and can not guarantee ordered delivery (which also has proven itself).
    The answer why can be found in this post
    http://blogs.msdn.com/b/paolos/archive/2009/11/17/customizing-and-extending-the-biztalk-wcf-adapters.aspx 
    Here's the crucial part: "The WCF Adapters create a separate ServiceHost and singleton service object of this class for each receive location to handle client requests for the lifetime of the BizTalk Host instance running WCF receive locations. The service
    object uses multiple threads to process messages concurrently unless the WCF-NetMsmq receive locations are used with the Ordered processing property being selected"
    (this is also why I'm wondering why Microsoft doesn't provide the option to run ordered delivery with other wcf-bindings than NetMsmq...)
    The search for ordered processing out of Oracle continues...
    regards
    /Henrik

  • 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.

  • How to connect from Oracle 11g to SQL Server 2008 R2

    Hi,
    Is it possible to connect from Oracle 11g on AIX to SQL Server 2008 R2? If so, what is the preferred method?
    SQL Server has the original table. From Oracle 11g, we want to access data which is in SQL Server real time.
    Thank You
    Sarayu

    Hi,
    Have a look at these Oracle notes for the full information on the gateways -
    Master Note for Oracle Gateway Products (Doc ID 1083703.1)
    Functional Differences Between DG4ODBC and Specific Database Gateways (Doc ID 252364.1)
    Gateway and Generic Connectivity Licensing Considerations (Doc ID 232482.1)
    How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX) (Doc ID 562509.1)
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
    The Database Gateway for SQL*Server (DG4MSQL) needs a separate license but the Database Gateway for ODBC (DG4ODBC) is included in your RDBMS license. You only need to provide the third party ODBC driver needed by DG4ODBC.
    Regards,
    Mike

  • Dropping sample schemas like scott,hr,bi  from Oracle 11g Database.

    Hi Friends,
    Do any one have the query to drop all the sample schemas from Oracle 11g Database.Any steps need to be
    performed to drop all the schemas.
    Best regards,

    Hi;
    Please see:
    drop all objects owned by schema
    drop all objects owned by schema
    Regard
    Helios

  • Can you suggest a best way to store and read arabic from oracle database?

    Hi ,
    can you suggest a best way to store and read arabic from oracle database?
    My oracle database is Oracle Database 10g Release 10.1.0.5.0 - 64bit Production on unix HP-UX ia64.
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CHARACTERSET WE8ISO8859P1
    I have presently stored the data in nvarchar2 field. But i am not able to display it correctly.

    Using the national characterset should work but there are other factors that you have to consider when working with NCHAR/NVARCHAR2/NCLOB.
    If possible, changing the characterset is usually the best solution if it's a possiblity for you.
    For more info:
    Dear Gurus: Can u pls explain the difference between VARCHAR2 & NVARCHAR2??

  • Send encrypted data from oracle 11g to Ms SQL Server 12

    Hi every body,
    we want to send encrypted data from oracle 11g to Ms SQL Server 12:
    - data are encrypted to oracle
    - data should be sent encrypted to Ms SQL server
    - data will be decrypted in Ms SQL server by sensitive users.
    How can we do this senario, any one has contact simlare senario?
    can we use asymetric encription to do this senario?
    Please Help!!
    Thanks in advance.

    Hi,
      What you want to do about copying data from Oracle to SQL*Server using insert will work with the 12c gateway.  There was a problem trying to do this using the 11.2 gateway but it should be fixed with the 12c gateway.
    If 'insert' doesn't work then you can use the SQLPLUS 'copy' command, for example -
    SQL> COPY FROM SCOTT/TIGER@ORACLEDB -
    INSERT SCOTT.EMP@MSQL -
    USING SELECT * FROM EMP
    There is further information in this note available on My Oracle Support -
    Copying Data Between an Oracle Database and Non-Oracle Foreign Data Stores or Databases Using Gateways (Doc ID 171790.1)
    However, if the data is encrypted already in the Oracle database then it will be sent in the encrypted format. The gateway cannot decrypt the data before it is sent to SQL*Server.
    There is no specific documentation about the gateways and TDE.  TDE encrypts the data as it is in the Oracle database but I doubt that SQL*Server will be able to de-encrypt the Oracle data if it is passed in encrypted format and as far as I know it is not designed to be used for non-Oracle databases.
    The Gateway encrypts data as it is sent across the network for security but doesn't encrypt the data at source in the same way as TDE does.
    Regards,
    Mike

  • Server error: "The attempt to read data from the server '(null)' failed"

    Multiple times during each day my client (Mail.app) puts up a little exclamation mark "!" next to the mail account hosted on our Leopard Server. Clicking on this little alert icon pops up a message that reads:
    +There may be a problem with the mail server or network. Verify the settings for account “Leopard Server Account” or try again.+
    +The server returned the error: The attempt to read data from the server “(null)” failed.+
    I can make the "!" go away by choosing Mailbox>Synchronize>Leopard Server Account. And everything seems peachy but it inevitably pops up again in another hour or two. It's annoying because I'm not sure if mail is getting through or not when the "!" is up.
    Any ideas why this is happening?

    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.

  • 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.

Maybe you are looking for

  • Package check error

    Hi All Whenever i am doing the package check for all object for two Z function group i am getting the following error 1 . INTF /SAPSRM/IF_PDO_ACTIVITIES_C ( The object cannot be used by client object ) 2 . Tabl PRCT_COND_DU , PRCT_HEAD_DU and PRCT_IT

  • ITunes Stopped Working - Apple Pull Your Finger Out And Fix It Please!!!

    Okay so this is a similar story to hundreds I have seen. The other day I opened iTunes (7.0.2) Which has been working fine for years (Obvioously with previous versions). It opened up and began doing some kind of scan, then closed with the error "iTun

  • HT201274 the screen is lock

    how do i unlock my i [pod do not remenber my code

  • A "Caret Browsing" box has popped up and I cannot get rid of it.

    This box just showed up and even when I tell it not to show me again and click no it does not go away. If I try to move it it pops back to the middle of my screen. Currently there are 4 of them now on my desktop. I did not download anything and do no

  • What is the oc4j's default port?

    What is the oc4j's default port? I want to type the address in browser's address bar and see the default page of oc4j (ex.: http://localhost:8080) Thanks sávio