Problem with JNDI/LDAP AND connection pool

I'm a newbie to Java but am attempting to write a servlet that retrieves info use to populate the contents of drop down menus. I'd like to only have to do this once. The servlet also retrieves other data (e.g. user profile info, etc ...). I'd like to be able to use the connection pool for all of these operations but I'm getting a compile error:
public class WhitePages extends HttpServlet {
ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");
public static String m_servletPath = null;
public static String cattrs = null;
public static String guidesearchlist[] = {};
public static int isLocalAddr = 0;
private int aeCtr;
private String[] sgDNArray;
private HashMap sgDN2DNLabel = new HashMap();
private HashMap sgDN2SearchGuide = new HashMap();
private String strport;
private int ldapport;
private String ldaphost;
private String ldapbinddn;
private String ldapbindpw;
private String ldapbasedn;
private int maxsearchcontainers;
private int maxsearchkeys;
private String guidesearchbases;
private String guidecontainerclass;
private String strlocaladdr;
private String providerurl;
// my init method establishes the connection
// pool and then retrieve menu data
public void init(ServletConfig config) throws ServletException {
super.init(config);
String strport = config.getInitParameter("ldapport");
ldapport = Integer.parseInt(strport);
String strconts = config.getInitParameter("maxsearchcontainers");
maxsearchcontainers = Integer.parseInt(strconts);
String strkeys = config.getInitParameter("maxsearchkeys");
maxsearchkeys = Integer.parseInt(strkeys);
ldaphost = config.getInitParameter("ldaphost");
ldapbinddn = config.getInitParameter("ldapbinddn");
ldapbindpw = config.getInitParameter("ldapbindpw");
ldapbasedn = config.getInitParameter("ldapbasedn");
guidesearchbases = config.getInitParameter("guidesearchbases");
guidecontainerclass = config.getInitParameter("guidecontainerclass");
strlocaladdr = config.getInitParameter("localaddrs");
providerurl = "ldap://" + ldaphost + ":" + ldapport;
/* Set up environment for creating initial context */
Hashtable env = new Hashtable(11);
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, providerurl.toString());
/* Enable connection pooling */
env.put("com.sun.jndi.ldap.connect.pool", "true");
StringTokenizer st = new StringTokenizer(guidesearchbases, ":" );
String guidesearchlist[] = new String[st.countTokens()];
for ( int i = 0; i < guidesearchlist.length; i++ ) {
guidesearchlist[i] = st.nextToken();
// Get a connection from the connection pool
// and retrieve the searchguides
StringBuffer asm = new StringBuffer(""); // This is the advanced search menu htmlobject buffer
StringBuffer strtmpbuf = new StringBuffer(""); // This is the simple search menu htmlobject buffer
try {
StringBuffer filter = new StringBuffer("");
filter.append("(objectclass=" + guidecontainerclass + ")");
String[] attrList = {"dn","cn","searchguide"};
SearchControls ctls = new SearchControls();
ctls.setReturningAttributes(attrList);
ctls.setSearchScope(SearchControls.SUBTREE_SCOPE);
String attrlabelkey;
sgDNArray = new String[guidesearchlist.length];
for( int i = 0; i < guidesearchlist.length; i++ ) {
// Search each of the namingspaces where
// searchguides exist then build
// the dynamic menus from the result
DirContext ctx = new InitialDirContext(env);
NamingEnumeration results = ctx.search(guidesearchlist, filter, ctls);
I get a compile error:
WhitePages.java:164: cannot resolve symbol
symbol : method search (java.lang.String,java.lang.StringBuffer,javax.naming.directory.SearchControls)
location: interface javax.naming.directory.DirContext
NamingEnumeration results = ctx.search(guidesearchlist[i], filter, ctls);
^
WhitePages.java:225: cannot resolve symbol
symbol : variable ctx
location: class OpenDirectory
ctx.close();
^
Can anyone help? If there is someone out there with JNDI connection pool experience I would appreciate your assistance!

Manish
The issue may not be related to the number of connections or the initial
connections. Check your heap size (ms, mx). Turn on verbosegc. Your heap may
not be big enough to accept the 25,000 rows.
Bernie
"Manish Kumar Singh" <[email protected]> wrote in message
news:3e6c34ca$[email protected]..
We are creating the result set with 25000 rows(each row has 56 columns) bygetting the connection using data source. With the initial capacity of the
connection pool is 5 and the max capacity as 30 and grow connection as 1,
the server gets out of memory exception, when we issue a new request, even
after closing the previous connections.
Now, if we change the initial capacity to 1 and rest all the things assame, the issue gets resolved and the server works fine.
Could you please help me out in this regard????
thanks in advance
manish

Similar Messages

  • Problems with AirPort Extreme and connecting to personal ftp

    Hi all
    I seem to be having a problem with connecting to my personal server outside of my network. When I connect using a static IP within my network(192.168.1.x) I can connect fine using my Mac and PC so I've ruled out improper server settings. I've mapped a port (21) to the same static IP as my server, but I cannot connect. I am prompted with "An FTP Connection to "xxx.xxx.xxx.xxx" could not be opened because the FTP server dropped the connection" I think I've toggled every option in the Airport Utility but nothing seems to work. Has anybody been successful in making this work?
    Thanks for any help offered

    OK, thanks for the info, which really helps.
    Your AirPort Extreme is in Bridge Mode, so the IP addresses that your devices need are being assigned by the Cradelpoint router, not the AirPort Extreme.
    Either the Cradlepoint router is not allowing more than 3 devices to connect, or it is your service provider that is limiting the number of devices that can connect....probably because of very limited bandwidth.
    I'm not sure whether you want to try to contact support at Cradlepoint or your service provider to try to find out who is actually responsible for the maximum number of connections allowed, since they will likely each blame the other for the problem.
    The workaround...if you want to try it, since it bends networking rules a bit....is to configure the AirPort Extreme as a router, not a bridge.
    The upside to this is that all of your devices will be able to connect and get a valid IP address. 
    One downside is that this will introduce what is known as a Double NAT error on the network, but that is rarely serious on a home network, and Apple does provide you with the option to "ignore" the error, so you get a nice green light on the AirPorts.
    Another downside may be....depending on the bandwidth that your service provides....that your connection is really slow....as in dial up speed slow....when you have a number of devices all connected to the network simultaneously, since they will all share the available bandwidth is provided.
    I never had any problems in the past with wireless connections when I configured the AirPort as the router. But I also was very careful to avoid downloading large files using the Cradlepoint connection since the bandwidth was quite limited.
    Not sure how you want to proceed.
    We can tell you how to configure the AirPort as the router in this type of setup if you will let us know what operating system you used to configure the AirPorts, but we cannot guarantee that things will work for you if you try it.

  • Problems with USB port and connecting ipod?

    So I recently got a Macbook Pro Retina and I'm having some trouble with my USB ports especially when syncing my ipod is involved. For some reason, the ipod has trouble connecting and it fluctuates from connecting to not connecting and sometimes, the computer says USB devices are disabled. I've looked this up before and tried the PRAM reset or whatever, but it still doesn't work. I'm not really sure what's going on because when I try to charge the ipod with a wall charger, it works perfectly fine. However, trying to charge it with my computer is a different story. I've tried charging my ipod from both sides of the port but it still does not work. (Also can someone explain how to know whether the USB is 3.0 or 2.0?) Thank you:) This problem does not involve my ipod because I recently just got it back from servicing.

    I went through all said steps.
    It is not acknowledging the fact that I have my iPod plugged in at all under the Universal Serial Bus. Or that fact that the USB port is plugged in.
    Any more advice??
    Thank you so much for any and all help!

  • WebService with Session manager and Connection pooling

    I've created many a Oracle users in our RDBMS. It comes to this, that every
    user in our Company has its own oracle account.
    We are developing now a Web application (Internal information system) for my
    Company.
    This Web application will have GUI created in perl and middle tier will be
    Oracle WebServices.
    This WebServices will be connected to the DB for every oracle user and it also
    must have a session management.
    And this is a Action plan:
    1. the user will log to the Web GUI with his oracle login name and a password
    2. this oracle user name and the password will be sent from this Web app to the
    WebService
    3. this WebService will create a connection over a JDBC (not over DataSources)
    and will create also a session (maybe like a servlet)
    4. in this session the instance of the created connection for this user will be
    saved and the WebService will return to the Web app the session id
    5. and this session id will be then used for further calling of WebServices
    Then comes another user, signs up over the Web app with his oracle account and
    this whole process repeats.
    Finally every logged user will have its own session id with his own connection
    instance to DB.
    Maybe it's possible, that it will work only with Servlet (with HttpSession) and
    WebService created from this Servlet.

    Take a look at the Statefull Java Web Services. It may be able to handle your use case.
    http://download-west.oracle.com/docs/cd/B14099_04/web.1012/b14027/javaservices.htm#i1027664
    You should be able to cache the database connection, directly in your service implementation class.
    Hope this helps,
    Eric

  • A very surprise problem about JDBC and connection pool

    I occur a very problem about JDBC and connection pool on Weblogic Platform
    8.1.
    There is a table in Oracle
    Table
    Name: t1
    id varchar2(5);
    content clob;
    id is primary key.
    If I use a connection pool to connect to Oracle,like following program:
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("cgOracleDataSource");
    con = ds.getConnection();
    then following program will throw a ClassCastException
    String sql = "select content from t1 where id = ?";
    PreparedStatement pst = con.prepareStatement(sql);
    pst.setString(1,"001");
    oracle.sql.CLOB clob = (oralce.sql.CLOB)rs.getClob("content") //this
    statement will throw ClassCastException
    but if I use JNDI to connect to Oracle,like following program, then those
    program above is ok
    private String dbdriver="oracle.jdbc.driver.OracleDriver";
    private String dburl="jdbc:oracle:thin:@192.168.7.148:1521:ep";
    private String username="ep";
    private String password="epuser";
    Class.forName(dbdriver);
    conn = DriverManager.getConnection(dburl, username, password);
    conn.setAutoCommit(false);
    On the contrary, if I use JNDI to connect to Oracle, following program will
    throw ClassCastException
    weblogic.jdbc.vendor.oracle.OracleThinClob clob =
    (weblogic.jdbc.vendor.oracle.OracleThinClob)rs.getClob("content");
    but it is fine if I use connection pool to connect to Oracle.
    I am confused this problem, who can tell me why?
    Daniel

    When you are getting connection using datasource lookup from weblogic
    connection pool, this connection is internally wrapped and hence you have to
    cast it to weblogic.jdbc.vendor.oracle.OracleThinClob which you do and so it
    works.
    But when you get connection by loading driver straight, you are getting naked
    oracle connection. In this case when you cast it to oracle.sql.Clob it works,
    as you have seen in your test case.
    I hope this explains what is going on with your code.
    Thanks,
    Mitesh
    Daniel wrote:
    I occur a very problem about JDBC and connection pool on Weblogic Platform
    8.1.
    There is a table in Oracle
    Table
    Name: t1
    id varchar2(5);
    content clob;
    id is primary key.
    If I use a connection pool to connect to Oracle,like following program:
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("cgOracleDataSource");
    con = ds.getConnection();
    then following program will throw a ClassCastException
    String sql = "select content from t1 where id = ?";
    PreparedStatement pst = con.prepareStatement(sql);
    pst.setString(1,"001");
    oracle.sql.CLOB clob = (oralce.sql.CLOB)rs.getClob("content") //this
    statement will throw ClassCastException
    but if I use JNDI to connect to Oracle,like following program, then those
    program above is ok
    private String dbdriver="oracle.jdbc.driver.OracleDriver";
    private String dburl="jdbc:oracle:thin:@192.168.7.148:1521:ep";
    private String username="ep";
    private String password="epuser";
    Class.forName(dbdriver);
    conn = DriverManager.getConnection(dburl, username, password);
    conn.setAutoCommit(false);
    On the contrary, if I use JNDI to connect to Oracle, following program will
    throw ClassCastException
    weblogic.jdbc.vendor.oracle.OracleThinClob clob =
    (weblogic.jdbc.vendor.oracle.OracleThinClob)rs.getClob("content");
    but it is fine if I use connection pool to connect to Oracle.
    I am confused this problem, who can tell me why?
    Daniel

  • Problems with AOL IMAP server connection on my BlackBerry Z10 STL100-3, and BB PlayBook 64GB WiFi

    Problems with AOL IMAP server connection on my BlackBerry Z10 STL100-3, and BB PlayBook 64GB WiFi
    Thursday 4:20am EST, 02-19-2015
    Hi, My connection to the AOL IMAP server has suddenly failed - Says "Not Connected" on Accounts page
    I haven't changed anything and this just started failing this morning.
    I've saw same issue on my Blackberry PlayBook 64GB.
    Is anyone else recently experiencing AOL IMAP Errors?
    Solved!
    Go to Solution.

    Yes! Same thing happened suddenly to my Z10 this morning. No AOL. 

  • Is there a fix for the connectivity problems with iPhone 5S and ISO 7.0.2?

    Is there a fix for the bluetooth connectivity problems with iPhone 5S and ISO 7.0.4?
    I am having problems connecting the BT Audio and the handsfree phone connectyion is unreliable in 2012 Mitsubishi Lancer XL.
    All worked OK with ISO 6.

    Hello CraigNicholson
    You would need to sync with iTunes to get that process to work for you. Check out the article below for more information on how to resolve that issue to get the proper token to use Push Notifications again.
    iPad and iPod touch: Unable to use YouTube or Push notifications
    http://support.apple.com/kb/ts3305
    Regards,
    -Norm G.

  • I have a problem with my bluetooth and Wi-Fi, it seems not to connect and just keep searching

    i have a problem with my bluetooth and Wi-Fi, it seems not to connect and just keep searching

    Hello there, charles.
    The following Knowledge Base article offers up some great information and links in regards to things that can interfere with both Bluetooth and Wi-Fi:
    Wi-Fi and Bluetooth: Potential sources of wireless interference
    http://support.apple.com/kb/ht1365
    Additionally the following articles offer specific steps for each:
    iOS: Troubleshooting Bluetooth connections
    http://support.apple.com/kb/TS4562
    and
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Problem with JNDI in WLS 5.1

    Hi all,
    i have a problem with JNDI in WLE 5.1.
    i am accessing an LDAP on another machine running Netscape Directory Server.
    The host URL is ldap://myhost:65535/o=marco, c=fi
    i am always getting back the following exception:
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.
    WLInitialContextFactory. Root exception is java.lang.ClassCastException: weblog
    ic.jndi.WLInitialContextFactory
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    58)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242
    at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)
    and my code is this:
    Hashtable _environment = new Hashtable();
    try {
    environment.put(Context.INITIALCONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    environment.put(Context.PROVIDERURL, "ldap://myhost:65535");
    if ((principal!=null) || (credentials!=null)) {
    environment.put(Context.SECURITYAUTHENTICATION, "simple");
    environment.put(Context.SECURITYPRINCIPAL, principal);
    environment.put(Context.SECURITYCREDENTIALS, credentials);
    context = new InitialContext(environment);
    parser = context.getNameParser(initialCtxFactory);
    } catch(Exception e) {
    e.printStackTrace();
    can anyone help me please??
    thanx in advance
    marco

    Take out the "weblogic.jndi.WLInitialContextFactory" and add the respective factory NAME..
    environment.put(Context.INITIALCONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    Cheers,
    Naggi
    Senthil Kumar S wrote:
    http://weblogic.com/docs51/classdocs/API_jndi.html#delegate
    Marco wrote:
    Hi all,
    i have a problem with JNDI in WLE 5.1.
    i am accessing an LDAP on another machine running Netscape Directory Server.
    The host URL is ldap://myhost:65535/o=marco, c=fi
    i am always getting back the following exception:
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.
    WLInitialContextFactory. Root exception is java.lang.ClassCastException: weblog
    ic.jndi.WLInitialContextFactory
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    58)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242
    at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)
    and my code is this:
    Hashtable _environment = new Hashtable();
    try {
    environment.put(Context.INITIALCONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    environment.put(Context.PROVIDERURL, "ldap://myhost:65535");
    if ((principal!=null) || (credentials!=null)) {
    environment.put(Context.SECURITYAUTHENTICATION, "simple");
    environment.put(Context.SECURITYPRINCIPAL, principal);
    environment.put(Context.SECURITYCREDENTIALS, credentials);
    context = new InitialContext(environment);
    parser = context.getNameParser(initialCtxFactory);
    } catch(Exception e) {
    e.printStackTrace();
    can anyone help me please??
    thanx in advance
    marco--
    http://www.net4tech.com

  • [Fwd: Re: rdbms realm and connection pool]

    Hi,
    One reason why I would like to use the connection pool for the RDBMS
    realm is because there is the retry machanism built into the connection
    pool. With this retry, I don't need to re-start WebLogic if the DB
    server is somehow re-started. With the current implementation, all the
    connections maintained by the realm will become invalid if the DB server
    has been restarted independently.
    -------- Original Message --------
    Subject: Re: rdbms realm and connection pool
    Date: Wed, 27 Sep 2000 09:32:47 +0100
    From: "Terry" <[email protected]>
    Reply-To: "Terry" <[email protected]>
    Organization: BEA SYSTEMS Inc
    Newsgroups: weblogic.developer.interest.security
    References: <[email protected]>
    I believe not- the realm restricts access to connection pools to those
    who
    are allowed it, so if the realm needs the connection pool to start up,
    and
    you can't open the connection pool without the realm then you have a bit
    of
    a no-chicken and no-egg situation, which is I believe one of the reasons
    why
    there is no use of connection pools, ejbs, jndi, servlets etc. in the
    realm
    (along with other reasons, like why would it be provided with a servlet)
    The delegate pool acts somewhat similarly to a connection pool, and can
    even
    use the same database, so I'm not sure what the advantage would be
    Terry
    Nirmala devi <[email protected]> wrote in message
    news:[email protected]..
    >
    I think the rdbms realm uses different connection as it need to be setbefore
    the connection pool for Database.Is there any that i can point my rdbmsrealm to use
    the connection pool for Database instead
    Thanks in advance
    Nirmala

    I believe not- the realm restricts access to connection pools to those who
    are allowed it, so if the realm needs the connection pool to start up, and
    you can't open the connection pool without the realm then you have a bit of
    a no-chicken and no-egg situation, which is I believe one of the reasons why
    there is no use of connection pools, ejbs, jndi, servlets etc. in the realm
    (along with other reasons, like why would it be provided with a servlet)
    The delegate pool acts somewhat similarly to a connection pool, and can even
    use the same database, so I'm not sure what the advantage would be
    Terry
    Nirmala devi <[email protected]> wrote in message
    news:[email protected]..
    >
    I think the rdbms realm uses different connection as it need to be setbefore
    the connection pool for Database.Is there any that i can point my rdbmsrealm to use
    the connection pool for Database instead
    Thanks in advance
    Nirmala

  • Distributed transactions and connection pooling

    Hi,
    We have a problem with the enlistment of connections in distributed transactions.
    The following very simple C# program does not work correctly (a simple form with one button and a class hosted in COM+). If you put a breakpoint on "cnOraTx.Close();" you will see that the inserted record is already visible in the database although the transaction has not commited yet.
    If you comment out the lines between //START and //END everything works as expected.
    Also, if we use "Pooling=false" in the connection string, everything works fine again, but since we are writing a web application, we really need the connection pooling.
    We are using ODP.NET 9.2.0.2.102 (I also tried with the ODP.NET 9.2.0.4.0 BETA) and an oracle 8.1.7 database.
    Best Regards,
    Piet
    private void button1_Click(object sender, System.EventArgs e)
    //When commenting the following lines the connection is enlisted in the distributed transaction
    //START
    OracleConnection cnOraTx;
    cnOraTx = new Oracle.DataAccess.Client.OracleConnection("Data Source=ECOMP532;User ID=USER;Password=PWD");
    cnOraTx.Open();
    cnOraTx.Close();
    cnOraTx.Dispose();
    //END
    OpenOraTransConn obj = new OpenOraTransConn();
    obj.Connect();
    //This class is going to be hosted within COM+
    [Transaction(TransactionOption.Required)]
    public class OpenOraTransConn: ServicedComponent
    private OracleConnection cnOraTx;
    private OracleCommand cmd;
    internal void Connect()
    cnOraTx = new OracleConnection("Data Source=ECOMP532;User ID=USER;Password=PWD");          
    cnOraTx.Open();
    cmd = new OracleCommand();
    cmd.Connection = cnOraTx;
    cmd.CommandText = "INSERT INTO SYSADM.PERSON (PE_KEY) VALUES(130000)";
    cmd.ExecuteNonQuery();
    cnOraTx.Close();
    cnOraTx.Dispose();
    ContextUtil.SetComplete();

    Hello:
    We are experiencing the exact same problem. INSERT, UPDATE or DELETE statements that should roll back because an exception is being thrown from inside our ServicedComponent-derived class (which is set to TransactionOption.Required and uses AutoComplete) are not -- and instead are being committed to the database.
    Were you able to figure out why this is happening, and what can be done to get around it? We too were able to avoid the problem by setting Pooling=False to our connect string, but for a variety of reasons we want to use connection pooling ...!

  • Difference between Datasource and Connection Pool

    Hi,
    What is the major difference between Datasource and Connection Pool.
    Both the Datasource with JNDI and Connectio Pool will serve the pool of connections. Then what is the difference.
    regards,
    Raj

    A datasource is not implicitly a connection pool. You can configure that in the datasource properties. A connection pool is also not implicitly a datasource. You can create your own connection pool using the java.sql interfaces. A datasource just gives the ability to acquire the connections and access the database through JNDI. A connection pool just gives the ability to reuse a set of connections which are created/closed/controlled by the connection pool logic.

  • [K8N NEO3-F] Problem with USB keyboard and PS2 mouse after upgrading BIOS

    Hello everyone!
    I have upgraded BIOS from 1.1 to 1.4... I have Sempron 2600 (64bit) so BIOS v.1.1 did not recognise it.
    The motherboard works, but after upgrading I have a small problem with my keyboard and mouse.
    When I use USB keyboard my PS2 mouse doesn't work. When I connect PS2 keyboard mouse works!!!
    Can you tell me what's wrong?                   
    Thanks, bartull@           
    PS. Does BIOS v.1.3 recognise Sempron 64bit? Can you give me a link to it?

    I think that the problem may have been caused by flashing either with liveupdate or with winflash.  I had the problem when i used winflash correctly (shutting down all programs, checking all the boxes to clear bootblock and cmos) but had usb keyboard connected during flash.  My suggestion is to reflash with floppy to last bios version that worked using only ps2 mouse and keyboard with the following instructions:
    DOS floppy flash shall be performed with :
    awfl833d.exe w7030nms.180 /py /sn /wb /cc /cd /cp /f /e
    (Replace biosfilename with appropriate version for Neo1/neo2 etc , switches remain the same )
    After flash is complete :
    TURN OFF PSU (don't restart) wait 15 seconds
    Turn on again , press the power button .
    Enter BIOS and load optimized defaults (NO OTHER CHANGES) , save + exit
    Boot the system again with the floppy in the drive to let the DMI pool build and update itself .
    If that works, then reflash to the bios you tried before with the same procedure.  Once you have stable system with ps2 keyboard and mouse working, re-enter bios and enable usb and keyboard support as a lot of bios' have it disabled by default for some strange reason.
    Good luck.

  • Problems with Mail, Safari and iTunes after updating to 10.5.6

    Hi all,
    after installing 10.5.6 I have problems with Mail, Safari and iTunes.
    The time to open mails, websides and iTunes store is increasing dramatically since the update. If I open a webside parallel with Safari and Firefox, Safari needs minimum 15 times longer to open the complete side. Mails containing HTML-code also needs a long time to be opened. Tha same Problem with iTunes store. Connecting to the Store costs at least 30 - 40 seconds. And unfortunately for every iTunes store side I open. Its terrible
    Any idea or workaroung to solve that problem?
    Regards
    Michael

    First, run Disk Utility and repair permissions and then restart.
    I installed the 10.5.6 Combo update. Sometimes things get "lost in the translation" when you use Software Update depending on your installation. Perhaps you can download 10.5.6 Combo from the website and install it from your desktop.

  • Problems with itunes 8 and ipod shuffle gen 2.

    Problems with itunes 8 and ipod shuffle gen 2.
    I recently upgraded from itunes 7 to itunes 8 on my windows XP PC. That's when i had issues syncing my 2nd gen shuffle.
    When i try to drag songs directly on it, itunes says i can't
    I made a playlist and use auto fill. But when I remove it from the dock, it's either not updated, or the new songs are at the bottom of the playlist when they are supposed to be up higher. I end up having to hit auto fill twice to make it sync correctly.
    Computer Specs
    Windows XP SP3
    384MB of Ram (works really good)
    USB 1.1 connection
    Pentium 4 clocked at 1.285 GHZ
    IPOD Shuffle Specs
    2nd Generation
    1GB (964MB)
    Version 1.0.4
    unchecked options: open itunes when ipod is attached, Sync only checked songs, convert higher bit rate songs to 128kbps AAC, Enable sound check, Limit MAX volume, enable disk use
    All those are NOT checked. Sometimes i enable disk use for seeing the IPOD_Control folder, but either way it still messes up.
    Itunes Specs:
    Version 8.1.1.10

    This is a well-known issue. Apple changed the internal file names used with iTunes 8, which makes the ordering on 2nd generation Shuffles behave differently. There is no good workaround, apart from moving the files with a hand-crafted AppleScript program.
    Apple has been silent on the issue, so nobody knows if we'll ever have a fix for it or not.

Maybe you are looking for