Mail imap problems: Mail created random folders and saves multiple drafts

Hi there, I have a brand new MacBook Pro, and set up Mail to imap my two primary email accounts (new to discussion forum and forums in general):
I have two imap accounts set up: Gmail and Network Solutions (my work webmail). Gmail is working fine.
Network Solutions imap account:
- Saves numerous copies of drafts of the same email as I type, and when I try to delete them (select them all, delete, or select all and move to trash), I get a message saying the Network Solutions server on port 143 has timed out. So I have a bunch of drafts that I can't clear.
Mail menu on lefthand side of Mail window looks like:
Mailboxes
Inbox icon with dropdown to
Gmail Inbox icon
Net Sol Inbox icon
Drafts icon with dropdown to
Gmail Drafts icon
Net Sol Drafts icon (this is where all those drafts keep saving and can't be deleted from)
Sent icon with dropdown to
Gmail Sent icon (only about a dozen sent emails are shown here)
Net Sol Sent icon (only about ten sent emails are shown here)
Trash icon with dropdown to
Gmail Trash icon (seems to be all my trash)
Net Sol Trash icon (seems to be all my trash)
REMINDERS
ON MY MAC
RSS
GMAIL drop down to
[Gmail] white folder icon that has the following sub folders:
All Mail (appears to have all mail from gmail in here)
Drafts
Sent Mail (appears to have all sent mail here)
Spam
Starred
Trash
NET SOL (drop down triangle)
Draft folder (empty folder)
locker folder (empty, no idea what this is, did not come from Net Sol)
Sent (does not refresh properly, always missing recent msgs)
Sent Items (empty folder)
Trash
The thing is, that in Network Solutions, prior to imapping with Mail, I had these folders:
Inbox
Deleted Messages
Drafts
Sent
Trash
NOW, after setting up imap to Mail, new folders have appeared in Network Solutions:
Folder Name
INBOX
Deleted Messages (Bolded)
Draft
Drafts
INBOX
Sent Messages (Bolded) (all recent sent msgs are in here now)
Sent (Bolded) (all sent msgs from Nov 6 and earlier are in here)
Sent Items
Trash
If I want to reference an email I sent after Nov 6, I have to log onto my Network Solutions webmail and go to that Sent Messages folder, move them to the Sent folder, then log out and update my Mail, at which point, I can see them on Mail.
I have not made a single folder in Mail -- what's there is a result of me setting up the two imap accounts.
Network Solutions has no idea what that "locker" folder is, it is not a Network Solutions-generated folder, does not appear in my Network Solutions webmail folder list, and I did not make it.
Can anyone help me clean this up, explain these mysterious folders, why I can't delete Net Sol drafts, why I can't get my sent messages that are more recent than Nov 6 into Mail, even though I've been primarily using Mail to send and receive mail for both Gmail and Network Solutions?
Thanks in advance for any help you can provide!
-Sunny

Hi. I posted again, and no one has answered either, here is the other post, it's more detailed in scope:
I am having a very strange problem here which started about a week ago, maybe someone can point me in the right direction:
1) I use both gmail and my domain's server email which load into Mail.app. I use gmail because I like their spam filter and I use their SMTP because where I am, my ISP SMTP server isn't very reliable. Gmail solves my outgoing mail problem, but doesn't support showing when mail has been answered and that is a useful feature.
2) My procedure is to open up gmail in my browser, mark and delete the spam (IMAP Account), then close the browser and open mail.app
3) I have a rule in mail.app which moves my gmail to my domain mail Inbox where I organized with folders and subfolders and use many signatures to send different email out to customers. Mail has been very good as you can do quite a lot with it compared to most other email clients for OSX. I do this for three domains, with several email addresses within each domain.
4) In mail.app, I can choose which mailbox to use for sent mail, junk, etc. This way I am sending from my domain, the email response shows and is linked to that mail so I can look for old responses fast and organize things by department. Spotlight or search works fast and perfectly. It's a good solution which I have used for well over a year (whenever gmail released IMAP services), or was, until a week ago.
Problem 1) As of now, when I open the mail account, the domain subfolders which should be below my Inbox are no longer there. If I look lower to the account folder, sometimes the folders show up there, sometimes they do not show up at all, but they are online in my web-based mail with my hosting company. The mails are not lost, but mail.app is not connecting with the host correctly as they appear and disappear randomly.
Problem 2) Every time I open mail.app now, most of my email inbox folders have to download all of the mail and their attachments again, even though I have the boxes in preferences correctly checked. Once the inbox loads all of the mail, then the subfolders disappear. This is very consistent. As long as there is no mail showing in the inbox, then the subfolders are showing correctly. As soon as the inbox is loaded showing mails, then the subfolders either disappear or move.
Problem 3). The mailboxes that my hosting's webmail service creates (like deleted mail, mail to delete, trash, trash delete, whatever, it's a Windows server) keep showing up in Mail. They never did that before. Once I deleted them, I could see them online, but not in mail. All was as it should be. Now they keep coming back every time I reconnect and I often have to reset which mailbox is being used for junk, sent mail, drafts, etc.
Problem 4). This same problem happens on all three of my machines, two being PPC and one Intel, running 10.4.11 and 10.5.5 respectively. The problem started happening on all my machines at the same time. This is also connection from three different ISPs.
Solution? My hosting company says that they have changed nothing in their settings (IMAP uses Port 143 and I do get a time-out error sometimes but not often). They have tried it in Outlook and do not get the same results, they say it's working fine. I have tried to subscribe in Leopard (you can't do this is Tiger, only in Leopard, but Mail.app says I have no subscribed folders, which is not true). The Quota Limits shows the standard Mail.app mailboxes, the Subscription List shows nothing, and no way to change it).
I tried Thunderbird and it connects faster, downloads faster and the folders are OK, but I still get mail folders appearing randomly. Sometimes I get mail folders appearing that I have not ever created with names like "System Mail". Sometimes I get mail boxes which are stored On My Mac which appear on IMAP suddenly. (Also, Thunderbird has poor signature file support, so I would prefer to use Mail, it's a better program overall.)
I have tried rebuilding the mail accounts, have done this, realistically, 25 times. Yesterday I did a complete reinstall of 10.5.5 just because I am at the end of my rope. Now I am about ready to change hosting companies as I am still having the same trouble. I am in the process of archiving all of my mail into Gmail so I can switch hosts if that is the problem. But, I would like to know first if that is actually the problem, since overall I am pretty happy with my hosting company. They are in Arizona and speak my language and they are easy to talk with. However, they do not have a Mac there so they cannot test my situation from their facility.
It's a strange problem in that one, I have used the system fine for well over a year with perfect results. Two, it happens on three different Mac used in three different places (office, home, and another person's home), and three, I have not changed hosting companies, I have been using the same host for two years and they deny changing any settings on their end.
The hosting company has no answer for me, they are not Mac users, and say that it's perfect in Outlook, but it's not actually perfect in Outlook either as mailboxes still appear randomly and sent mail ends up in my inbox randomly even in Outlook. They just don't realize it as they are not watching my mail boxes except when I am on the phone with them.
I am not having trouble with my websites. I do not have this problem with Gmail, only with my domain webmail.
I have to use Windows because of a particular shopping cart system I use, but IMAP systems should be the same on Windows or anything else. Some how, some where, some one has changed some thing. Any idea what and how to solve the problem?
Thanks,
John

Similar Messages

  • Just got mini. In mail I want to create a folder to save certain emails. I'll call the folder "Saved". Should be simple, right?

    Just got an iPad mini. In mail I want to create a folder to save certain emails. I'll call the folder "Saved". Should be simple, right?

    For IMAP mail like Gmail, you can use the Edit button to create new folder. It doesn't work for POP mail.
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%203/b854a6bf48a788257c1 b33ae4e628148.jpg

  • Just got an iPad mini. In mail I want to create a folder to save certain emails. I'll call the folder "Saved". Should be simple, right?

    Just got an iPad mini. In mail I want to create a folder to save certain emails. I'll call the folder "Saved". Should be simple, right?

    Yes ... and it is
    Since you're in the Mountain Lion forum, it is indeed simple to create a "Saved" folder on your Mac and save emails into it.  You should create the "Saved" folder using Finder.
    The fact that you just got an iPad mini is completely irrelevant to the discussion as it stands.

  • Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    Can I create separate folders to save media on my Airport Time Capsule? Issue is I have a 256GB HDD Mac Pro Retina which is almost full. TC will only take backup of my HDD. So where would I save my photos and videos from my iPhone and iPad?

    It is a hard one.. laptops with small drives are a pain.
    What you need is a home media server.
    Some people use a PC running itunes for cost.. but that is nothing like as good as using a Mac mini.. they make great little HTPC device.. you can plug in large hard disks and store all your files and media. And share it with the network.. Read up apple's instructions on home sharing.
    https://www.apple.com/au/support/homesharing/
    For cost you can buy a mini from 2011 or 2012.. I would not recommend earlier ones.. the advantage of 2012 is they have USB3 ports. But you will pay more for them.. new mini is not as useful.. they have soldered in memory and you cannot upgrade.. the old mini was the most easily modified mac in the whole range. Uses little power and can be bought for a $300US for a good one second hand.. maybe less.

  • How do I convert mail merge documents to individual pdf docs and save each with a field in the merge?

    How do I convert mail merge documents to individual pdf docs and save each with a field in the merge?

    Is this an actual field, or just some piece of static text somewhere? Either way, you can't do it using the Split Document command. You'll need to use a custom-made script to read the value of this "field" and use it when extracting pages from the file.

  • HT1349 I have photos and photo folders on my iPhone 4s that I cannot delete ? I created the folders and now it seems there is no way to get rid of them

    I have photos and photo folders on my iPhone 4s that I cannot delete ? I created the folders and now it seems there is no way to get rid of them

    It seems that app was downloaded with the Apple ID that keeps popping up. Delete the app and redownload it.

  • HT1338 I can create bookmarks folders and populate them. but when i quit safari the folders disappear?

    I can create bookmarks folders and populate them. but when i quit safari the folders disappear?
    Please  help

    Hi Nick ...
    Try deleting the cache and reset ...
    From your Safari menu bar click Safari > Empty Cache
    If that doesn't help, back to the menu bar, click Safari > Reset Safari. Select the top 5 boxes, click Reset.
    If that didn't help, try troubleshooting the Safari .plist  (preferences)
    Quit Safari.
    Go to ~/Library/Preferences
    Move the com.apple.Safari.plist file from the Preferences folder to the Desktop.
    Relaunch Safari.
    If it's working ok now, move that .plist  file to the Trash. If not, move it back to the Preferences folder.
    If you have trouble finding those files, open the Finder. From the Finder menu bar top of your screen, click Go > Go to Folder
    Type this exactly as you see it here:   ~/Library/Preferences
    Click Go

  • Trying to create an image and save it on file system

    Hi,
    I'm trying to create an image and save it in the file system :
         public static void main(String[] args) {
         int wid = 632;
         int hgt = 864;
         BufferedImage bufferedImage = new BufferedImage(wid,hgt,BufferedImage.TYPE_INT_RGB);
         bufferedImage.getGraphics().setColor(Color.black);
         bufferedImage.getGraphics().drawOval(30, 30, 100, 100);
              bufferedImage.getGraphics().drawString("test me one two three",2,2);
              bufferedImage.flush();
    try {
                   ImageIO.write(bufferedImage,".bmp",new File("C:/MyImage.bmp"));
         } catch (IOException e) {               
                   e.printStackTrace();
    THE PROBLEM : It creates C:/MyImage.bmp on my file system, but the file is empty (size 0).
    Am I missing something ?
    Thanks

    Try changing ".bmp" to "bmp". If that fails, try posting an SSCCE.
    Edit 1:
    And in future, please use the code tags when posting code, code snippets, HTML/XML or input/output. To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.
    Edited by: AndrewThompson64 on Aug 3, 2009 1:23 AM

  • OS 10.5.6 Mail IMAP Problem

    Hi. I currently use a 3rd-party IMAP mail server to keep my mail synced wherever I go. OS 10.5.6 Mail behaves OK unless it comes to sub-folders.
    I have four separate accounts, and dozens of aliases and rules to sort everything into relevant folders. The problem is, these sub-folders often don't refresh and show new messages unless I click on them. Often if I quit mail and re-launch I'll see a lot of messages suddenly appear that were sent hours earlier.
    Should I find another mail client? Or is my IMAP provider the culprit?
    Thanks.

    I experience the problem of the IMAP sub folders not staying in-sync with the server.
    Our company uses Google as our IMAP provider (thru: google.com/a) and occasionally, when I want to look at company-wide mail that comes to a number of accounts (not to me specifically) I find viewing the threads throughthe GMail interface to be much more efficient. When I'm done and return to Mail.app, I usually have to force sync the account to get the folders to reflect their proper counts.
    I wish Mail.app could keep better track of these things.
    That said, I understand IMAP is a tricky thing and that many email apps have trouble with IMAP. I'm guessing that why there's plenty of competition in browsers, but not email apps.

  • Mail - IMAP problem accessing inbox

    I have an issue accessing my Yahoo Inbox using IMAP with Mail 8.1 on my MacBook Pro running Yosemite 10.10.1.  The Connection Doctor confirms connection and login for both IMAP and SMTP.  When I select Get Account Info at the bottom of the left column in the Inbox pane, the Quota Limits tab shows the number of messages in several mail folders I have on the server, but shows the Inbox with 0 messages, which is not correct.  When I select Get New Mail from the Mailbox tab, the Yahoo mailbox is grayed out.  On one attempt when it was not grayed out, it returned the message "The server returned the error: the attempt to read data from the server imap.mail.yahoo.com failed". 
    The following solutions found online have been tried without success:
    --take account offline then Get All New Mail
    --remove and reinstall the Yahoo internet account in System Preferences
    --remove the Yahoo internet account, then re-add as an "Other" mail account
    --delete com.apple.mail.plist files in the Library, then restore by restarting the program
    --delete com.apple.mail folder in the Library, then restore by restarting the program
    --reduce password characters to 8, alphanumeric
    As a final attempt, I removed Mac OS X from the "Manage apps and website connections" section in my Yahoo account profile.  I removed and restored the Yahoo account in Mail, but this did not restore Mac OS X in my Yahoo account.
    IMAP access worked fine until just a few days ago.  Access through Web browser and my iOS devices has fortunately been unaffected.  What broke?

    ok, I've been doing some digging in here, and I managed to find out some logs that might help.
    This is from the email account that is not working;
    WROTE Jan 17 22:13:53.796 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x6000008adf80 -- thread:0x60800246fb00
    5680.80 FETCH 44 (FLAGS UID)
    READ Jan 17 22:13:54.037 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x6000008adf80 -- thread:0x60800246fb00
    5680.80 NO [SERVERBUG] FETCH Server error - Please try again later
    WROTE Jan 17 22:13:54.037 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x6000008adf80 -- thread:0x60800226e700
    5681.80 FETCH 45 (FLAGS UID)
    READ Jan 17 22:13:54.193 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x6000008adf80 -- thread:0x60800226e700
    5681.80 NO [SERVERBUG] FETCH Server error - Please try again later
    WROTE Jan 17 22:13:54.194 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x6000008adf80 -- thread:0x60800246fb00
    5682.80 FETCH 46 (FLAGS UID)
    READ Jan 17 22:13:54.341 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x6000008adf80 -- thread:0x60800246fb00
    5682.80 NO [SERVERBUG] FETCH Server error - Please try again later
    The other set of logs are from the account that works;
    WROTE Jan 17 22:13:54.794 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x600000ab5ba0 -- thread:0x60800226e700
    4818.105 FETCH 3285 (FLAGS UID)
    READ Jan 17 22:13:54.863 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x600000ab5ba0 -- thread:0x60800226e700
    * 3285 FETCH (FLAGS (\Seen) UID 10632)
    4818.105 OK FETCH completed
    WROTE Jan 17 22:13:54.866 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x600000ab5ba0 -- thread:0x608001665700
    4819.105 FETCH 3286 (FLAGS UID)
    READ Jan 17 22:13:54.935 [kCFStreamSocketSecurityLevelTLSv1_0] -- host:imap.mail.yahoo.com -- port:993 -- socket:0x600000ab5ba0 -- thread:0x608001665700
    * 3286 FETCH (FLAGS (\Seen) UID 10633)
    4819.105 OK FETCH completed
    some how I'm sensing an issue with that UID flag. not sure if I'm correct, but I feel that my mac is not setting it write while sending the request, and then it can't find it when receiving the reply.

  • Mail & imap problem

    Hi,
    I've upgraded from panther to tiger and now Mail on my imap account is very slow. I can't get my mail even if I do multiple synchronise or "get all my mail" !
    If I use Thunderbird I have no problem : it gets all my mail quickly.
    I remark that on certain imap folder Mail see some mails twice or more (i think Mail is donwloading mail although is already downloaded) !
    Is Mail begining unusable ?
    thanks.

    There are known problems with Mail 2.0 when an IMAP or .Mac account is setup to keep local copies of all messages. The problem can be avoided by changing the settings in Preferences > Accounts > Advanced to reduce the amount of work Mail has to do to keep the local data synchronized with the server.
    Set Keep copies of messages for offline viewing to Only messages I've read or, if that doesn't work, to Don't keep copies of any messages. Also, Automatically synchronize changed mailboxes should be disabled.
    After making the changes, do Mailbox > Rebuild on any mailboxes that don't display the content properly.

  • Voice Mail Port Problem with CUCM 8.5 and Connection 8.5

    Hi im having a very strange problem witch the voice mail ports between a CM 8.5 and a Cisco Unity connection 8.5 , i configured them and they registered and all was working fine, however when i rebooted the servers the ports stayed in status unknown i tried resetting them both sides, re adding config both sides and nothing after hours of trying and deleting and adding the same config it worked again, however we have a power outage today and the same thing happened again status unknown and still i cannot get them to register again. Any ideas or help would be appreciated.
    Thanks,

    I'm not sure but it could be a DNS issue. Is DNS configured or are you just using IP addresses?  Make sure everything is resolving correctly.

  • I created 3 folders and added important links; and now I do not see them. Where did it go. I spent 2 hours doing this

    I created 3 folders to hold my important links yesterday; and now they seem to have disappeared. WHY? I invested 2 hours doing this. This is not the first time this happen to me. Can I some how restore this data. Please help. These folders are very important to me.

    I am using apple mail. I know they usually go to the inbox, there is the problem. Incoming email is not going into my inbox. I see it downloading yet it is not in any folder, inbox, trash, junk, etc.  I use gmail and my local cable service email, and both used to download just fine but in two batches. Now I saw hundreds download yet I can not find where they went. Does this describe my situation better?

  • Is there any way to enable rSAP, use the iPhone as a modem, create sms folders, and show the day's calender on the home screen?

    Hi folks
    Had iPhone for a while and generally happy, but it seems I still need to keep my old nokia E72 because I cannot seem to use the iPhone as a modem, nor does it support rSAP.
    Also, while I like the threaded sms view, I'd also like the option to create sms folders to stash away my banking sms info, all of which comes from different numbers, and filled the sms inbox with hundreds of messages.
    Lastly, having the meeting for the day diplayed somewhere on the home screen would be great if there were a way to do it. Yes, I can go into calender easy enough, but unless I develop the habit of checking it all the time, I often forget about a meeting whereas on the old nokia, it was always displayed.
    What gives with the lack of flash support? Maybe ol Steve dislikes adobe, but it seems like a serious lack to me. Even the old nokia has some flash support.
    Given that, I must say I love the seperate calenders and contacts. It's great to be able to keep home contacts seperate from work ones, but still have them on the same phone. Email is great two - full html support seems like a given but it works really well.

    rSAP has largely been supplanted by ABAP, which the iPhone supports. Most modern smartphones, including the iPhone do NOT store any information on the SIM.
    SMS inboxes. Not much to say. I've never had a desire to do this. I understand it could be useful, but it's unlikely to change.
    As for meetings on the home screen... Wait for iOS 5
    Flash: it's not JUST that Steve doesn't like flash. Adobe has failed to produce a workable version of Flash for iOS. Blame has to go to both sides.  I say good riddance to it.

  • Problem with creating Connection pool and JNDI, driver is not detected

    Hi,
    I have an issue with creating Connection Pool and JNDI.
    I'm using:
    - JDK 1.6
    - OS: Linux(ubuntu 8.10)
    - Netbeans IDE 6.5.1
    - Java EE 5.0
    - Apache Tomcat 6.0.18 Its lib directory contains all necessary jar files for Oracle database driver
    - Oracle 11g Enterprise
    My problem is that the Oracle database driver is not detected when I want to create a pool (it works pretty well and is detected without any problem when I create ordinary connection by DriverManager)
    Therefore after running:
    InitialContext ic = new InitialContext();
    Context context = (Context)ic.lookup("java:comp/env");
    DataSource dataSource = (DataSource)context.lookup("jdbc/oracle11g");
    Connection connection = dataSource.getConnection();and right after dataSource.getConnection() I have the following exception:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    at servlets.Servlet1.doPost(Servlet1.java:47)
    at servlets.Servlet1.doGet(Servlet1.java:29)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
    ... 17 more
    My application context file (context.xml) is:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/WebApplication3">
      <Resource auth="Container"
                      driverClassName="oracle.jdbc.OracleDriver"
                      maxActive="8"
                      maxIdle="4"
                      name="jdbc/oracle11g"
                      username="scott"
                      password="tiger"
                      type="javax.sql.DataSource"
                      url="jdbc:oracle:thin:@localhost:1521:database01" />
    </Context>and my web.xml is:
        <resource-ref>
            <description>Oracle Datasource example</description>
            <res-ref-name>jdbc/oracle11g</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
        </resource-ref>
    ...I found similar threads in different forums including sun, such as
    http://forums.sun.com/thread.jspa?threadID=567630&start=0&tstart=0
    http://forums.sun.com/thread.jspa?threadID=639243&tstart=0
    http://forums.sun.com/thread.jspa?threadID=5312178&tstart=0
    , but no solution.
    As many suggest, I also tried to put context directly in the server.xml (instead of my application context) and referencing it by <ResourceLink /> inside my application context but it didn't work and instead it gave me the following message:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '   ' for connect URL 'null'
    Has anyone succeeded in creating a connection pool with JNDI by using Tomcat 6 or higher ? If yes, could kindly explain about the applied method.
    Regards,

    Hello again,
    Finally I managed to run my application also with Tomcat 6.0.18. There was only two lines that had to be modified
    in the context.xml file (the context of my application project and not server's)
    Instead of writing
    <Context antiJARLocking="true" path="/WebApplication2">
        type="javax.sql.DataSource"
        factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
    </Context>we had to write:
    <Context antiJARLocking="true" path="/WebApplication2">
        type="oracle.jdbc.pool.OracleDataSource"
        factory="oracle.jdbc.pool.OracleDataSourceFactory"
    </Context>- No modification was needed to be done at server level (niether server.xml nor server context.xml)
    - I just added the ojdbc6.jar in $CATALINA_HOME/lib (I didn't even need to add it in WEB-INF/lib of my project)
    - The servlet used to do the test was the same that I presented in my precedent post.
    For those who have encountered my problem and are interested in the format of the web.xml and context.xml
    with Tomcat 6.0, you can find them below:
    Oracle server: Oracle 11g Enterprise
    Tomcat server version: 6.0.18
    Oracle driver: ojdbc.jar
    IDE: Netbeans 6.5.1
    The context.xml file of the web application
    <?xml version="1.0" encoding="UTF-8"?>
    <Context antiJARLocking="true" path="/WebApplication2">
        <Resource name="jdbc/oracle11g"
                  type="oracle.jdbc.pool.OracleDataSource"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@localhost:1521:database01"
                  driverClassName="oracle.jdbc.OracleDriver"
                  userName="scott"
                  password="tiger"
                  auth="Container"
                  maxActive="100"
                  maxIdle="30"
                  maxWait="10000"
                  logAbandoned="true"
                  removeAbandoned="true"
                  removeAbandonedTimeout="60" />
    </Context>The web.xml of my web application
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <resource-ref>
            <description>Oracle Database 11g DataSource</description>
            <res-type>oracle.jdbc.pool.OracleDataSource</res-type>
            <res-auth>Container</res-auth>
            <res-ref-name>jdbc/oracle11g</res-ref-name>
        </resource-ref>
        <servlet>
            <servlet-name>Servlet1</servlet-name>
            <servlet-class>servlets.Servlet1</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Servlet1</servlet-name>
            <url-pattern>/Servlet1</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
    </web-app>Ok, now I'm happy as the original problem is completely solved
    Regards

Maybe you are looking for

  • Can I print with a black cartridge only? HP Deskjet 3520

    Hi everyone, I just bought a new black ink cartridge for my printer, assuming that I did not need to replace all the colors since I only want to print in black (shipping labels and such.) Well, it only prints in a grayish shade now!  The ink levels o

  • Connecting Sony DCR-TRV330E (Digital8) to iMac

    Hi, I wanted to capture some old video I shot years ago on my Sony DCR-TRV330E (Digital8) camera. I originally used this on a PC with the supplied FireWire card and all was well. I needed to buy a new Firewire 800 cable (which I did today) to try thi

  • How to use CachedRowSet?

    I want to read the results of the query in pages and try to use OracleCachedRowSet for this purpose. this code example I found in the documentation to the Interface CachedRowSet of J5SE API: crs.setPageSize(100); crs.execute(conHandle); while(crs.nex

  • B210a/Vista WiFi Communication Problem

    Computer (Dell) not talking to printer Thru network properties traced problem to printer port CN08 not responding.  Tried "reconfigure" button, got error message 0.00000003 "operation could not be completed"  Tried to cancel port to then re-install,

  • ME3400E and bandwidth limiting

    Hello, We recently purchased the ME-3400-EG-12CS-M switch and would like to limit one of the ports to 6meg up and down. I have the following configuration in place ofr the output. policy-map out-test class class-default shape average 6000000 int g 0/