Can not programmatically undeploy the application from a Weblogic Server

Hi experts,
I have a weblogic client application that is used to deploy/undeploy the application to weblogic server. The following code call undeploy() method to undeploy the application. But I still can see the application shown in the admin console after undeploying the app. Click the link of the app and the status is shown as "remove Successful".
// source codes
String protocol=”t3″;
String hostName=”localhost”;
String portString=”7001″;
String adminUser=”weblogic”;
String adminPassword=”weblogic”;
WebLogicDeploymentManager deployManager=SessionHelper.getRemoteDeploymentManager( protocol,hostName,portString,adminUser,adminPassword);
ProgressObject processStatus=deployManager.undeploy(new TargetModuleID[]{target}); //assume target is created already
However I can successfully undeploy the application in oc4j server by calling the undeploy() API. Is there anything wrong with my code?

Hi,
Sometimes back i developed a JMX code to Deploy and Undeploy the Applications may be that's going to be helpful for you :
http://weblogic-wonders.com/weblogic/2010/01/15/undeploying-application-using-java-method-jmx/ (For Undeployment)
And
http://weblogic-wonders.com/weblogic/2010/01/21/deploying-applications-using-java-jmx/ (For Deployment)
Thanks
Jay SenSharma

Similar Messages

  • I can not access to the isqlplus from the client

    Version: Oracle 10.1.0.2.0
    I have installed Oracle 10.1.0.2.0 on SuSE Linux Enterprise Server 8.
    I can access to my dbconsole from PC without any issue.
    I can also access to the isqlus environment from the server without any issue.
    But I can not access to the isqlplus from client or PC.
    I can go the first web page of isqlplus by using isqlplus url by clicking on isqlplus icon under home page of dbconsole.
    But I enetered username and password.Its bring error page.
    Note: isqlplus start up on the server.
    Any help wil be appricated.
    D

    The page cannot be displayed\
    The page you are looking for is currently unavailable.
    The Web site might be experiencing technical difficulties,
    or you may need to adjust your browser settings.
    Please try the following:
    Refresh button, or try again later.
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    To check your connection settings, click the Tools- menu, and then click Internet Options .
    On the Connections\ tab, click \ Settings\b0 .
    The settings should match those provided by your local area network (LAN) administrator or
    Internet service provider (ISP).
    If your Network Administrator has enabled it,
    Microsoft Windows can examine your network and automatically discover network connection settings.
    \line If you would like Windows to try and discover them,
    Detect Network Settings <javascript:doNetDetect
    Some sites require 128-bit connection security. Click the \b Help\b0 menu and then click
    \b About Internet Explorer \b0 to determine what strength security you have installed.
    If you are trying to reach a secure site,
    make sure your Security settings can support it.
    Click the \b Tools\b0 menu, and then click \b Internet Options\b0 .
    On the Advanced tab, scroll to the Security section and check settings
    for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
    back button to try another link. \
    Cannot find server or DNS Error\line Internet Explorer \

  • Installing Apple TV and can not home share the apps from my IPad. When I attempt to download iTunes I get a message saying that iTunes is attached. Need help.

    Installing Apple TV and can not home share the apps from my iPad. When attempting to download iTunes a message appears indicating iTunes is attached. Need help!

    Setup Apple TV with iPad
    1. Setup Apple TV
    (a) Connect cables and power cord
    (b) Turn on TV and select Input
    (c) Configure Apple TV e.g. Language, network
    2. Setup Home Sharing on iPad
    Settings>Music/Video>Home Sharing
    3. Setup Home Sharing on Apple TV
    Settings>Computer>Turn on Home Sharing. Enter Apple ID and Password
    4. Pair Apple TV with Remote Control
    General>Remotes>Pair Apple Remote

  • Can not deploy after upgrading application from workshop 8.1 to 9.2

    Hi,
    We have an application developed on workshop 8.1 worked fine. when we upgrade the application to 9.2, the application can not be deployed on weblogic server. The error is
    weblogic.application.ModuleException: [HTTP:101064][WebAppModule(SynDesk:SynDesk
    Web)] Error parsing descriptor in Web appplication "C:\build\weboutput"
    "weblogic.application.ModuleException: Unmarshaller failed'
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
    "weblogic.j2ee.descriptor.ParamValueBeanImpl@dccea29(/[NTLM HTTP Authentication
    Filter]/InitParams[jcifs.netbios.wins])"
    When I remove the NTLM filter part in the web.xml, the application is able to be deployed. But of course application does not work propertly due to no authentication.
    How can I fix the web.xml file with everything works as before? Thanks for your help
    Here is my web.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>SyndeskWeb Application</display-name>
    <description/>
    <filter>
    <filter-name>NTLM HTTP Authentication Filter</filter-name>
    <filter-class>com.mycompany.BofaNtlmFilter</filter-class>
    <init-param>
    <description/>
    <param-name>jcifs.netbios.wins</param-name>
    <param-value>crpsecwin00.mycompany.com</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>jcifs.netbios.wins</param-name>
    <param-value>crpchiwin00.mycompany.com</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>jcifs.util.log</param-name>
    <param-value>ALL</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>bofa.retryCount</param-name>
    <param-value>1</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>bofa.retrySleepTime</param-name>
    <param-value>60</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>NTLM HTTP Authentication Filter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>NTLM HTTP Authentication Filter</filter-name>
    <url-pattern>*.jpf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>NTLM HTTP Authentication Filter</filter-name>
    <url-pattern>*.do</url-pattern>
    </filter-mapping>
    <servlet>
    <description/>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.beehive.netui.pageflow.PageFlowActionServlet</servlet-class>
    <init-param>
    <description/>
    <param-name>config</param-name>
    <param-value>/_pageflow/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>config/-global</param-name>
    <param-value>/_pageflow/struts-config--global.xml</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <description/>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <welcome-file-list>
    <welcome-file>Controller.jpf</welcome-file>
    </welcome-file-list>
    <error-page>
    <error-code>500</error-code>
    <location>/error.jsp</location>
    </error-page>
    <error-page>
    <error-code>505</error-code>
    <location>/error.jsp</location>
    </error-page>
    <error-page>
    <error-code>404</error-code>
    <location>/Controller.jpf</location>
    </error-page>
    <jsp-config>
    <taglib>
    <taglib-uri>netui-tags-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/netui-tags-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>netui-tags-databinding.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/netui-tags-databinding.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>netui-tags-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/netui-tags-template.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>c.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>fmt.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>sql.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/sql.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>x.tld</taglib-uri>
    <taglib-location>/WEB-INF/tld/x.tld</taglib-location>
    </taglib>
    </jsp-config>
    <filter>
    <filter-name>PageFlowJspFilter</filter-name>
    <filter-class>org.apache.beehive.netui.pageflow.PageFlowJspFilter</filter-class>
    </filter>
    <filter>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <filter-class>org.apache.beehive.netui.pageflow.PageFlowForbiddenFilter</filter-class>
    <init-param>
    <param-name>response-code</param-name>
    <param-value>404</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>PageFlowJspFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowJspFilter</filter-name>
    <url-pattern>*.jspx</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.java</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.jsfb</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>*.jpfs</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>PageFlowForbiddenFilter</filter-name>
    <url-pattern>/_pageflow/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <listener>
    <listener-class>org.apache.beehive.netui.pageflow.PageFlowContextListener</listener-class>
    </listener>
    <listener>
    <listener-class>org.apache.beehive.netui.pageflow.HttpSessionMutexListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <servlet-class>org.apache.beehive.netui.pageflow.xmlhttprequest.XmlHttpRequestServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.jpf</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <url-pattern>*.xhr</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>XmlHttpRequestServlet</servlet-name>
    <url-pattern>*.render</url-pattern>
    </servlet-mapping>
    </web-app>
    Edited by cynthialiu at 05/28/2008 12:16 PM

    Hi. The issue is a level or two above JDBC. I suggest
    opening an official support case. It's probably a
    WLW issue.
    Joe

  • TS1702 my serial number: 85******3NP, IPHONE 3GS can not syned all the app from computer to iphone,

    many time i syn my iphone app from computer to iphone 3gs  but can not
    <Edited By Host>

    Did you try to download them again using Wi-Fi and the phone? If you're using the same account, yopu can do this again for free: Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Why Firefox 4 can not plug in the NoDoFollow from SEO Rapid Profit Formula It said Not Compatible, what to do now ?

    I am installing new program of Rapid Profit Formula called the SEO Quake but Firefox rejected it because it is not compatible with Firefox 4 (I have installed Firefox 4 currently). how to continue installed the "NoDoFollow" from Rapid Profit Formula ?

    The author has not yet updated NoDoFollow, and I do not see any note here about when it might be updated:
    https://addons.mozilla.org/en-US/firefox/addon/nodofollow/
    If you trust '''unofficial''' versions, you can get an updated version from this blog. I don't think anyone has verified it, but you can read comments to see whether you trust it:
    '''unofficial''': http://www.jayceooi.com/2011/03/22/download-nodofollow-1-3-add-on-for-firefox-4/
    I also saw a recommendation on a different site to use a Greasemonkey userscript instead. If you have the Greasemonkey add-on, you can install the script here:
    http://userscripts.org/scripts/show/26418
    I haven't tried it myself.

  • Can you transfer all the application from a laptop to ipad 2 ???

    Can you transfer all application from my laptop to ipad 2 like vMware fusion and other ???
    Gilles

    The iPad runs a completely different operating system from a Windows or Mac (even though they're both made by Apple) - it's called iOS. The only apps that you can run on it are those you can purchase from the App Store (you can get free ones there as well). Some programs have both computer and iOS versions, but they are separate pieces of software.

  • HT203200 I can not complete buy the application, i have enough account in my itunes gift card, how is that possible and how to resolve it, thanks.

    When i try to buy the coins and gold in diamond dash games, I can not purchase and they ask me to contact iTunes support to complete the pruchased. i have enough credit in my iTunes gift card, how to resolve this...thanks

    You can contact iTunes support here : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • Can not download on the computer from itunes. keep getting a message that i don't have itunes. then icon to download itunes. ihave downloaded itunes 2 times.

    i can't download itunes from my computer. i receive a message indicating that i should download the latest itunes app. i have installed the latest download at least 3 times.

    What's the precise text of that message, please?

  • How can I remove the applications from the Content Administrator

    I had undeployed the applications from Content Administrator in two ways:
    A:
    1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
    2. Log in with an Administrator user.
    3. Under the Server node click Services-> Deploy.
    4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
    5. Select the application and click on the Remove button.
    B:
    Undeploying using SDM remoteGUI.
    after I finished that,the application still exist in the browse of Content Administrator Web Dynpro.
    But it is'n invailable.When I click the application name,it throws exceptions:
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get list of defined JCO clients for deployable object 'local/Welcome'.
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get enable state for 'local/Welcome'.
    No resource bundles found for development component ''local/Welcome''.
    My question is , how can I remove it form the list.

    Hi,
       Have you restarted the server after removing the application from the Visual Admin?
    Regards,
    Satyajit.

  • Itunes application can not be open the disk can not be read from or writte

    itunes can not be opened the disk can not be read from or written to. That is the warning i get when i click my itunes to open it. Problem...
    there is no disk:) i have no idea what this warning means.. i have restarted and nothing.. i updated itunes and same warning.. there is no disk in the drive at all..
    infact i made sure i was in a room with no other disks.. Help??

    A few things to try:
    • Restore Permissions, using Disk Utility (in ~Applications/Utilities)
    • Set the correct Ownership & Permissions for the iTunes folder:
    Select the iTunes folder in ~/Users/YourUsername/Music.
    Get Info (command-I).
    Expand 'Ownership & Permissions' and 'Details:'
    You must read: 'You can Read & Write': if not, change it.
    Click on the 'Apply to enclosed items...' button.
    Hope this helps.
    M

  • I can not resume when I downloaded the application from the Apple Store. If I have to start from the beginning of a solution to this too please.

    I can not resume when I downloaded the application from the Apple Store. If I have to start from the beginning of a solution to this too please. ?

    Are  you away from your home country?
    Settings > General > International > Region Format > set to correct location?
    Settings > Phone > Dial Assist > ON

  • I have photos in a DVD. In order to visualize them in iPhoto, must I necessarily import them? Can't I see the pictures from the media without importing? If not, is there any application with this functionality? I dont't like pre-visualization for photos.

    I have photos in a DVD. In order to visualize them in iPhoto, must I necessarily import them? Can't I see the pictures from the media without importing? If not, is there any application with this functionality? I need an app that allows me to navigate through the photos without selecting all of them. I realy dont't like pre-visualization for photos...

    In order to visualize them in iPhoto, must I necessarily import them?
    iPhoto is a Database. Before it can work with any data it must be imported to the database, so yes it is necessry to import them.
    Can't I see the pictures from the media without importing?
    See above.
    If not, is there any application with this functionality?
    Hundreds. Any image viewer will do the job. On your Mac the Finder has QuickLook and there is the Preview app as well. Online you can download any of these:
    http://www.macupdate.com/find/mac/image%20viewer

  • Hi , unfortunately i faced with a problem that i couldent open my audio note so i thought if i delet it and transfer the application from itunse from my pc i can have my files...but all of them deleted from both application and also from wifi address... I

    Hi , unfortunately i faced with a problem that i couldent open my audio note so i thought if i delet it and transfer the application from itunse from my pc i can have my files...but all of them deleted from both application and also from wifi address... Is it any solution for recovery the filew? I missed lots of important files , plz help me
    Tnx alot

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • No Mail. I can not get or send mail from my iPhone,iCloud, or mail  on the desktop. Password is correct i can get into iCloud but not able to get mail.

    I can not get or send mail from my iPhone, iCloud, and desktop mail.  All are the same account, password is right and working. When the problem first happened I updated to a new  password.
    The Mail and the phone are telling me ( "The iCloud IMAP server “p99-imap.mail.me.com” rejected the password for user “k****n******2”}
    From the iCloud account i get a message saying  mail could not be loaded and the details. Which i have copyed below.
    Any thoughts or anyone I can ring ? This was a paid for mobile me account.
    Thanks
    Running 10.72
    ORIGIN
    server
    TYPE
    error
    BUILDNUMBER
    1FCS29.34215
    TIME
    Sun Dec 11 2011 10:49:50 GMT+0000 (GMT)        (1323600590380)
    HOST
    www.icloud.com
    USERAGENT
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7
    PRSID
    217870346
    RECENTLOGMESSAGES
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: MAIL in main()
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: -->  Request 1:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Object:sc1074:dispatch('load content')
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'load content' (no transition)
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Attempting to load 'addresses'
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Module 'addresses' is not loaded, loading now.
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Loading JavaScript file in 'addresses' -> '/applications/mail/frameworks/addresses/en-us/1FCS29/javascript.js'
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Object:sc3099:initStatechart()
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: -> entering "9 Address List Not Visible"
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: -->  Request 2:   GET to https://p03-contactsws.icloud.com:443/co/addressbook/?order=first,last&locale=en _US,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Module 'addresses' finished loading.
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Evaluating and invoking callbacks for 'addresses'.
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: SC.Module: Module 'addresses' has completed loading, invoking callbacks.
    Sun, 11 Dec 2011 10:49:22 GMT:  DEBUG: APPLICATION: Received applicationWillBecomeActive
    Sun, 11 Dec 2011 10:49:23 GMT:  WARN:  APPLICATION: Received applicationDidBecomeActive
    Sun, 11 Dec 2011 10:49:23 GMT:  DEBUG: <--  Response 2:  200  (1257ms),  headers: Cache-Control=no-cache, no-store, private, Content-Type=application/json; charset=UTF-8  body: (omitted)
    Sun, 11 Dec 2011 10:49:25 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:25 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:1
    Sun, 11 Dec 2011 10:49:25 GMT:  DEBUG: -->  Request 3:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:25 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:29 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:29 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:2
    Sun, 11 Dec 2011 10:49:29 GMT:  DEBUG: -->  Request 4:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:29 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:33 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:33 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:3
    Sun, 11 Dec 2011 10:49:33 GMT:  DEBUG: -->  Request 5:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:33 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:37 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:37 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:4
    Sun, 11 Dec 2011 10:49:37 GMT:  DEBUG: -->  Request 6:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:37 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:40 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:40 GMT:  DEBUG: Got HTTP 500 : Redirecting request: /wm/preference : Redirect count:5
    Sun, 11 Dec 2011 10:49:40 GMT:  DEBUG: -->  Request 7:   POST to https://p99-mailws.icloud.com:443/wm/preference,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 11 Dec 2011 10:49:40 GMT:  DEBUG: Request out: /wm/preference-list-->1323600562085/1
              params: {"locale":"en-us","timeZone":"Europe/Dublin"}
    Sun, 11 Dec 2011 10:49:44 GMT:  DEBUG: willReceive: Status:500, Request:/wm/preference
    Sun, 11 Dec 2011 10:49:44 GMT:  DEBUG: <--  Response 7:  500  (4248ms),  headers: Content-Type=text/html  body: (empty)
    Sun, 11 Dec 2011 10:49:44 GMT:  DEBUG: Request in: /wm/preference-list-->1323600562085/1,500,4249ms
    Sun, 11 Dec 2011 10:49:44 GMT:  DEBUG: ServerPreferencesDataSource.retrieveResponse error = -1/500/guid=serverPrefsGuid
    Sun, 11 Dec 2011 10:49:44 GMT:  ERROR: CoreMail handled error 13002 before exiting Mail

    Spent at least 40 min talking to apple support, to sort it out. luckly not at my cost. After trying lots of things and speaking to a higher grade support person I was given a temp password which did the trick. I then was able to reset that with my own password. 
    The impression i got was no one knowns  what the problem is and resetting the password at the apple end works. Not sure if you would be able to self fix.

Maybe you are looking for