True to Subject or Art?

Hello Everyone, I just wanted to get the opinions of a diverse group of photographers whose opinion I respect. ( how about that for an opening suck up? )
Recently, I have had several discussions at local art guild meetings with both photographers and traditional visual artists (Painters, sculptors, etc) regarding the use of digital manipulation in photographs.
Let me preface by stating that this discussion concerns the use of photography as an art form, not photojournalism or for documentary use.
Locally, the consensus seems to be that any manipulation or compositing of images is cheating. My feeling is that the final result is the art and there is no such thing as cheating.
I recently chaired a juried show and the juror stated When looking at digital photographs, I never know if Im being fooled or not.
It seems to me that of the many visual art disciplines, only photographers are charged with being true to the subject. If a Plein Aire painter chooses not to include an objectionable element (trashcan for example) in their paintingthat is fine. Impressionist painters can interpret, abstractionists can interpret, but apparently photographers must not.
Years ago, I would lug around a 4x5 and even occasionally an 8x10 view camera shooting primarily B&W film. Even then, I would manipulate the image using various filters during exposure, pushing or pulling the film processing, then choose paper type and contrast, dodging-burning, Potassium ferricyanide for localized bleaching, etc. This evidently was acceptable. But introduce computers and imaging software and suddenly I am charged with cheating or trying to fool the viewer.
Currently, I find myself shooting various elements digitally, or scrounging through 30 years of negs to find images that I can combine to create an entirely new image. Some are obvious composites, while some are more subtle.
What do you think? Is this cheating or somehow misleading the viewer? If so, where do you personally draw the line? Any discussion would be appreciated.
Thanks, phil

The Media is the Massage is an interesting concept and perhaps a truth but less profound even if the original mistake was not the intent of the statement which is often the truth as well.
But getting back to what makes it a photograph? My thought this is probably only important when legal or financial situation if you are working with competitions that have restriction as to how much manipulation is allowed then that could be a problem but notice that at one time there could be done for the digital or scanned image and then they wanted to know how much and now they wanted to just no what you did to be reassured you did not change a fiend posing in a composition to that of a celebrity to give it more impact subjectively.
Probably there is little that you can do to a photograph digitally or photomechanically that is different. the debate comes from the fact that it is accessible to everyone now. That i she problem and so now it is not photography because the you can do the same a she in crowd has been doing from time in memorium and so they do not like yu can do what they can do.
You do a lot of manipulation to the photos i have seen you posted and the question will always be there how manipulation is too much when doe it become a photography manipulating images to an illustrator references a photograph!
This is not really a solely technical question it is clearly a question of subjective nature.
When you ask the question about story telling then your work becomes the truth if you made the statement these are telling the facts then it becomes a lie when you say you are truthfully depicting a subject even if you manipulated the image and changed in parts of it them it is a photograph that has been retouched but represents the truth.
Now a blanked statement that someone is telling a story and there fore it is still a photograph is true but under certain circumstances it means, "what do you mean by Photograph?"
Both sides are valid.
In a museum if you look at many paintings for instance they make a clear distinction that paint is not the media.

Similar Messages

  • Exporting Flash vector art for print

    I would like to export art created in Flash as a vector
    format for print. Exporting as either AI or EPS from Flash seems to
    have many limitations: no support for masks, alpha transparency, or
    editable text with fonts embedded. Has anyone found a workflow to
    create print-ready vector art using Flash?
    I have tried many combinations of Flash, Freehand, and
    Illustrator with no success. (Freehand will open SWF files, but it
    rasterizes the vector art when exporting as either EPS or PDF).
    Working in Flash Pro 8, but from the Flash CS3 documentation
    it doesn't look like there are additional options for file export.
    Is it true that any vector art exported from Flash loses font info,
    masking, and transparency?

    Has anyone found a good solution for this? I need to export character art from Flash to use for print and consumer product items. Qualtity vectors are required.
    The "best" solution I've found so far is to "Print" as either a .PDF or .PS file, then open that file in Illustrator. It expands all the gradients, and creates very complex vectors, but it's better than the standard export to .AI function, which gives offending operator "bg" errors. Still, it is a sub-par result, and I end up having to recreate art anyway.
    (I'm using Flash CS4.)
    Dear Adobe, this should be a no-brainer ... Please introduce a true vector export feature from Flash to Illustrator that generates art we can actually use.

  • Jdev 11.1.1.5 R1 How To Get Row Data From ADF Table

    Hi everyone,
    I have an ADF Table Populated with dummy data (for now). Below the Table there is an InputText field.
    What I need to do is have the body of the message show up in the InputText field when the user clicks on a message in the inbox(Table).
    I've been trying to figure this out for quite some time now, unsuccessfully of course. Hopefully you guys can help me change that.
    I do consider myself a beginner still, so please be as clear and specific as possible.
    Thanks in advance!
    Here is the code I have for the Table/InputText and Backing Beans
    <tr>
    <td>
    <af:table value="#{TableBean.messageAll}" var="message"
    rows="5"
    inlineStyle="color:Navy; border-style:outset; border-color:Background; border-width:thick; font-size:small; text-align:center; vertical-align:middle; height:135.0px;"
    width="610" rowBandingInterval="0" id="t1"
    rowSelection="single"
    selectionListener="#{TableBean.messageSelected}"
    immediate="true" summary="Message Inbox"
    disableColumnReordering="true"
    columnSelection="none"
    columnResizing="disabled">
    <af:column sortable="false" align="center"
    id="chechboxCol" width="25"
    minimumWidth="25">
    <f:facet name="header">
    <h:selectBooleanCheckbox id="selectAll"
    onclick="selectAll();"></h:selectBooleanCheckbox>
    </f:facet>
    <h:selectBooleanCheckbox id="selectMessage"
    value="#{message.selected}"
    immediate="true"></h:selectBooleanCheckbox>
    </af:column>
    <af:column id="urgentCol" width="25" align="center"
    minimumWidth="25">
    <f:facet name="header">
    <h:outputText id="urgentHeader">
    <img src="urgent.gif" height="14"
    width="14" alt="Urgent Icon"/>
    </h:outputText>
    </f:facet>
    </af:column>
    <af:column sortable="true" headerText="From"
    align="start" id="fromCol" width="175"
    minimumWidth="175">
    <af:outputText value="#{message.from}"
    id="ot1"/>
    </af:column>
    <af:column sortable="true" headerText="Subject"
    align="start" id="subjectCol" width="175"
    minimumWidth="175">
    <af:outputText value="#{message.subject}"
    id="ot2"/>
    </af:column>
    <af:column sortable="true" headerText="Type"
    align="start" id="c5" width="100"
    minimumWidth="100">
    <af:outputText value="#{message.type}"
    id="ot3"/>
    </af:column>
    <af:column sortable="true"
    headerText="Date Received" align="start"
    id="c6" width="80" minimumWidth="80">
    <af:outputText value="#{message.date}"
    id="ot4"/>
    </af:column>
    <af:column sortable="true" headerText="Body"
    rendered="false" align="start" id="c7"
    width="100" minimumWidth="100">
    <af:outputText value="#{message.body}"
    id="ot5"/>
    </af:column>
    </af:table>
    </td>
    </tr>
    <tr>
    <td>
    <p>
    <af:commandButton text="Print" id="printButton"
    inlineStyle="font-size:x-small;"/>
    </p>
    <af:inputText binding="#{TableBean.textArea}" rows="10"
    readOnly="true" partialTriggers="t1"
    contentStyle="width:620px;"
    inlineStyle="color:Black; outline-color:Background; outline-style:outset;"
    id="it1"></af:inputText>
    </td>
    </tr>
    package Backing;
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.component.rich.output.RichOutputText;
    import java.util.List;
    import java.util.ArrayList;
    import oracle.adf.view.rich.component.rich.data.RichTable;
    import org.apache.myfaces.trinidad.event.SelectionEvent;
    public class TableBean {
    private RichInputText textArea;
    private message[] messageAll =
    new message[] { new message("Sender 1", "Author 1", "Message 1",
    "Alert", "6/21/2011",
    "This is the body 1."),
    new message("Sender 2", "Author 2", "Message 2",
    "Notification", "6/22/2011",
    "This is the body 2."),
    new message("Sender 3", "Author 3",
    "Message 3", "Broadcast", "6/23/2011",
    "This is the body 3."),
    new message("Sender 4", "Author 4",
    "Message 4", "Alert", "6/24/2011",
    "This is the body 4."),
    new message("Sender 5", "Author 5", "Message 5",
    "Notification", "6/25/2011",
    "This is the body 5."), };
    public message[] getmessageAll() {
    return messageAll;
    public void messageSelected(SelectionEvent selectionEvent) {
    textArea.setValue("Message body should go here.");
    public void setTextArea(RichInputText textArea) {
    this.textArea = textArea;
    public RichInputText getTextArea() {
    return textArea;
    public class message {
    boolean selected;
    String from;
    String to;
    String subject;
    String type;
    String date;
    String body;
    public message(String from, String to, String subject, String type,
    String date, String body) {
    this.from = from;
    this.to = to;
    this.subject = subject;
    this.type = type;
    this.date = date;
    this.body = body;
    public String getFrom() {
    return from;
    public String getTo() {
    return to;
    public String getSubject() {
    return subject;
    public String getType() {
    return type;
    public String getDate() {
    return date;
    public String getBody() {
    return body;
    }

    try this code in selection method
    RichTable object = (RichTable)selectionEvent.getSource();
    Row row = null;
    for (Object facesRowKey : object.getSelectedRowKeys()) {
    object.setRowKey(facesRowKey);
    Object o = object.getRowData();
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)o;
    row = rowData.getRow();
    }

  • How to fill color in a cell having particular string when using convertto-html

    Hello Scripters,
    I have downloaded AD health check script but I am wondering if the cell color be changed for a particular string. Like all the cells having text "Failed"..should be in red color.
    Here is the script-
    Function Getservicestatus($service, $server)
    $st = Get-service -computername $server | where-object { $_.name -eq $service }
    if($st)
    {$servicestatus= $st.status}
    else
    {$servicestatus = "Not found"}
    Return $servicestatus
    $Forest = [system.directoryservices.activedirectory.Forest]::GetCurrentForest()
    [string[]]$computername = $Forest.domains | ForEach-Object {$_.DomainControllers} | ForEach-Object {$_.Name}
    #Section -1
    $report= @()
    foreach ($server in $computername){
    $temp = "" | select server, pingstatus
    if ( Test-Connection -ComputerName $server -Count 1 -ErrorAction SilentlyContinue ) {
    $temp.pingstatus = "Pinging"
    else {
    $temp.pingstatus = "Not pinging"
    $temp.server = $server
    $report+=$temp
    $b = $report | select server, pingstatus | ConvertTo-HTML -Fragment -As Table -PreContent "<h2>Server Availability</h2>" | Out-String
    #Section - 2
    $report = @()
    foreach ($server in $computername){
    $temp = "" | select server, KDC, NtFrs, DFSR, netlogon, w32Time
    $temp.server = $server
    $temp.KDC = Getservicestatus -service "KDC" -server $server
    $temp.NtFrs = Getservicestatus -service "NtFrs" -server $server
    $temp.DFSR = Getservicestatus -service "DFSR" -server $server
    $temp.netlogon = Getservicestatus -service "netlogon" -server $server
    $temp.w32Time = Getservicestatus -service "w32Time" -server $server
    $report+=$temp
    $b+= $REPORT | select server, KDC, NtFrs, DFSR, netlogon, w32Time | ConvertTo-HTML -Fragment -As Table -PreContent "<h2>Service Status</h2>" | Out-String
    #Section - 3
    add-type -AssemblyName microsoft.visualbasic
    $strings = "microsoft.visualbasic.strings" -as [type]
    $report = @()
    foreach ($server in $computername){
    $temp = "" | select server, Netlogon, Advertising, Connectivity, Replication
    $temp.server = $server
    $svt = dcdiag /test:netlogons /s:$server
    $svt1 = dcdiag /test:Advertising /s:$server
    $svt2 = dcdiag /test:connectivity /s:$server
    $svt3 = dcdiag /test:Replications /s:$server
    if($strings::instr($svt, "passed test NetLogons")){$temp.Netlogon = "Passed"}
    else
    {$temp.Netlogon = "Failed"}
    if($strings::instr($svt1, "passed test Advertising")){$temp.Advertising = "Passed"}
    else
    {$temp.Advertising = "Failed"}
    if($strings::instr($svt2, "passed test Connectivity")){$temp.Connectivity = "Passed"}
    else
    {$temp.Connectivity = "Failed"}
    if($strings::instr($svt3, "passed test Replications")){$temp.Replication = "Passed"}
    else
    {$temp.Replication = "Failed"}
    $report+=$temp
    $b+= $REPORT | select server, Netlogon, Advertising, Connectivity, Replication | ConvertTo-HTML -Fragment -As Table -PreContent "<h2>DCDIAG Test</h2>" | Out-String
    #Section - 4
    $workfile = repadmin.exe /showrepl * /csv
    $results = ConvertFrom-Csv -InputObject $workfile | where {$_.'Number of Failures' -ge 1}
    #$results = $results | where {$_.'Number of Failures' -gt 1 }
    if ($results -ne $null ) {
    $results = $results | select "Source DSA", "Naming Context", "Destination DSA" ,"Number of Failures", "Last Failure Time", "Last Success Time", "Last Failure Status"
    $b+= $results | select "Source DSA", "Naming Context", "Destination DSA" ,"Number of Failures", "Last Failure Time", "Last Success Time", "Last Failure Status" | ConvertTo-HTML -Fragment -As Table -PreContent "<h2>Replication Status</h2>" | Out-String
    } else {
    $results = "There were no Replication Errors"
    $b+= $results | ConvertTo-HTML -Fragment -PreContent "<h2>Replication Status</h2>" | Out-String
    $head = @'
    <style>
    body { background-color:#dddddd;
    font-family:Tahoma;
    font-size:12pt; }
    td, th { border:1px Solid Black;
    border-collapse:collapse; }
    th { color:white;
    background-color:DarkGoldenRod; }
    table, tr, td, th { padding: 2px; margin: 0px }
    table { margin-left:50px; }
    </style>
    $s = ConvertTo-HTML -head $head -PostContent $b -Body "<h1>Active Directory Checklist</h1>" | Out-string
    $emailFrom = ""
    $emailTo = ""
    $smtpserver= ""
    $smtp=new-object Net.Mail.SmtpClient($smtpServer)
    $msg = new-object Net.Mail.MailMessage
    $msg.From = $emailFrom
    $msg.To.Add($emailTo)
    $msg.IsBodyHTML = $true
    $msg.subject="Active Directory Health Check Report From Dlhdc02"
    $msg.Body = $s
    $smtp.Send($msg)
    Like in the Ping Status (section - 1), I'd like all the cell having text "Not Pinging" should be in RED color.
    Also I am facing an issue in the (Section - 4). When the value of $Results is not null I am getting the desired output but when the value is null the text ""There were no Replication Errors""  is not getting displayed in
    the HTML body. Instead it comes as "*32" (32 is the number of letters in the text).
    Please help me in fixing this ....
    BR
    Himanshu
    MCTS|MCSE|MCSA:Messaging|CCNA

    Here are instructions on  ways to color cells based on content.
    http://tech-comments.blogspot.com/2012/07/powershell-dynamically-color-posh.html
    \_(ツ)_/

  • How to access another resource in Groupwise

    Could anyone tell me or direct me to a sample of some code, that shows how to access another resource in Groupwise with VB.
    The main goal is to send a appointmentsfrom another resource by accessing this resource that you have authority from own mailaccount
    or from an account I have access to.
    This so far I have come:
    Dim objApp
    Dim objAccount As Account
    Dim objDraftMsg
    objApp = CreateObject("NovellGroupWareSession")
    ' objAccount = objAccount.ObjType.egwResource
    objAccount = objApp.Login("", "") 'My own account but want to access either the account that owns the resource or from my own
    ' objAccount = objApp.objtype.egwresource("Schema")
    objDraftMsg = objAccount.WorkFolder.Messages.Add("GW.MESSAGE.APP OINTMENT")
    Dim date1 As New Date(2013, 5, 2, 8, 30, 0)
    objDraftMsg.StartDate = date1
    objDraftMsg.Duration = 1.5 / 24 ' duration
    objDraftMsg.OnCalendar = True
    objDraftMsg.Subject.PlainText = "Testar schema" ' Subject
    objDraftMsg.BodyText.PlainText = "Hlsar Giggi" ' Body
    objDraftMsg.Recipients.Add("XX")
    objDraftMsg.Send()
    Thank you un advance
    Giggi

    On 4/30/2013 1:26 PM, giggi wrote:
    >
    > Could anyone tell me or direct me to a sample of some code, that shows
    > how to access another resource in Groupwise with VB.
    >
    > The main goal is to send a appointmentsfrom another resource by
    > accessing this resource that you have authority from own mailaccount
    >
    I don't have time to write code but as I recall you have to PROXY into
    the account. There's a proxy method IIRC that returns an Account from
    which you can send mail if you were granted rights to do so.

  • Extending Resource Catalog: How to create subfolders.

    Hi,
    we are extending the webcenter spaces application as described in this document:
    http://www.oracle.com/technology/products/webcenter/pdf/owcs_r11_extend_spaces_wp.pdf
    We have succesfully extended the Resource Catalog for both the Personal Space and the Group Spaces to include a folder with our custom taskflows. Nevertheless we could not achieve to generate (non dynamic) subfolders in order to organize our tasflows based on functionality. I haven't seen if this is possible of not anywhere but we have tried with this and it didn't work.
    <?xml version="1.0" encoding="UTF-8"?>
    <catalogDefinition id="PersonalSpaceCatalog" name="Personal WebCenter Catalog"
    description="Resource Catalog definiton for Personal WebCenter"
    resourceBundle="oracle.webcenter.webcenterapp.resource.PersonalSpaceCatalogBundle"
    definitionFilter="oracle.webcenter.webcenterapp.internal.model.catalog.PersonalSpaceCatalogFilter"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog">
    <schema>
    <descriptor searchable="true" labelKey="TITLE.PROMPT_KEY"
    endUserVisible="true" shortLabelKey="TITLE.SHORT_PROMPT_KEY"
    attributeId="Title" multivalue="false"/>
    <descriptor searchable="true" labelKey="DESCRIPTION.PROMPT_KEY"
    endUserVisible="true"
    shortLabelKey="DESCRIPTION.SHORT_PROMPT_KEY"
    attributeId="Description" multivalue="false"/>
    <descriptor searchable="true" labelKey="SUBJECT.PROMPT_KEY"
    endUserVisible="true" shortLabelKey="SUBJECT.SHORT_PROMPT_KEY"
    attributeId="Subject" multivalue="true"/>
    <descriptor searchable="true" labelKey="WEBCENTER_SERVICE_ID.LABEL"
    endUserVisible="false"
    shortLabelKey="WEBCENTER_SERVICE_ID.SHORT_LABEL"
    attributeId="WEBCENTER_SERVICE_ID" multivalue="false"/>
    <descriptor searchable="false" labelKey="TOOL_TIP.LABEL"
    endUserVisible="false" shortLabelKey="TOOL_TIP.SHORT_LABEL"
    attributeId="ToolTip" multivalue="false"/>
    <descriptor searchable="false" labelKey="ICON_URI.LABEL"
    endUserVisible="false" shortLabelKey="ICON_URI.SHORT_LABEL"
    attributeId="IconURI" multivalue="false"/>
    </schema>
    <contents>
    *<!-- My Custom Task Flows Folder -->*
    <folder id="customTaskflowsFolder">
    <attributes>
    <attribute value="Custom Taskflows" attributeId="Title" isKey="true"/>
    <attribute value="A collection of custom taskflows"
    attributeId="Description" isKey="true"/>
    <attribute value="Taskflow" attributeId="Subject" isKey="true"/>
    <attribute value="custom.oracle.webcenter.ps.taskflow"
    attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/img/home_cs_ng.jpg" attributeId="IconURI"/>
    </attributes>
    <contents>
    *<!-- My SubFolder -->*
    <folder id="customNavigationTaskflowsFolder">
    <attributes>
    <attribute value="Navigation" attributeId="Title" isKey="true"/>
    <attribute value="Custom Navigation Taskflows"
    attributeId="Description" isKey="true"/>
    <attribute value="Navigation Taskflow" attributeId="Subject"
    isKey="true"/>
    <attribute value="custom.oracle.webcenter.ps.taskflow.navigation"
    attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/img/home_cs_ng.jpg" attributeId="IconURI"/>
    </attributes>
    <contents>
    <resource path="navigation-taskflow-war-1.0-SNAPSHOT.jar/ADF_TaskFlow/WEB-INF+ps-local-toolbar.xml#ps-local-toolbar"
    repository="application.classpath" id="ps-local-toolbar">
    <attributes>
    <attribute value="Local Toolbar" attributeId="Title"
    isKey="true"/>
    <attribute value="Local Toolbar" attributeId="Description"
    isKey="true"/>
    <attribute value="Local Toolbar" attributeId="Subject"
    isKey="true"/>
    <attribute value="custom.oracle.webcenter.spaces.ps.taskflow.navigation.localtoolbar"
    attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/adf/webcenter/community_qualifier.png"
    attributeId="IconURI"/>
    </attributes>
    </resource>
    </contents>
    </folder>
    *<!-- Other Taskflows -->*
    <resource path="peoplefinder-taskflow-war-1.0-SNAPSHOT.jar/ADF_TaskFlow/WEB-INF+people-finder-wide.xml#people-finder-wide"
    repository="application.classpath" id="ps-people-finder-wide">
    <attributes>
    <attribute value="People Finder (Inline results)"
    attributeId="Title" isKey="true"/>
    <attribute value="Look for people based on several attributes"
    attributeId="Description" isKey="true"/>
    <attribute value="People Finder" attributeId="Subject"
    isKey="true"/>
    <attribute value="custom.oracle.webcenter.spaces.ps.taskflow.peoplefinder.wide"
    attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/adf/webcenter/community_qualifier.png"
    attributeId="IconURI"/>
    </attributes>
    </resource>
    <resource path="profile-taskflow-war-1.0-SNAPSHOT.jar/ADF_TaskFlow/WEB-INF+profile.xml#profile"
    repository="application.classpath" id="ps-profile-taskflow">
    <attributes>
    <attribute value="Profile" attributeId="Title" isKey="true"/>
    <attribute value="Profile" attributeId="Description" isKey="true"/>
    <attribute value="Profile" attributeId="Subject" isKey="true"/>
    <attribute value="custom.oracle.webcenter.spaces.ps.taskflow.profile"
    attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/adf/webcenter/community_qualifier.png"
    attributeId="IconURI"/>
    </attributes>
    </resource>
    <resource id="ps-personal-snapshot" repository="application.classpath"
    path="personalsnapshot-taskflow-war-1.0-SNAPSHOT.jar/ADF_TaskFlow/WEB-INF+personal-snapshot.xml#personal-snapshot">
    <attributes>
    <attribute value="Personal Snapshot" attributeId="Title"
    isKey="true"/>
    <attribute value="Shows the personal snapshot"
    attributeId="Description" isKey="true"/>
    <attribute value="Personal Snapshot" attributeId="Subject"
    isKey="true"/>
    <attribute value="custom.oracle.webcenter.spaces.ps.taskflow.personalsnapshot"
    attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/adf/webcenter/community_qualifier.png"
    attributeId="IconURI"/>
    </attributes>
    </resource>
    <resource id="ps-company-info" repository="application.classpath"
    path="companyinfo-taskflow-war-1.0-SNAPSHOT.jar/ADF_TaskFlow/WEB-INF+company-info.xml#company-info">
    <attributes>
    <attribute value="Company Ingo" attributeId="Title" isKey="true"/>
    <attribute value="Shows the company info for a given user"
    attributeId="Description" isKey="true"/>
    <attribute value="Company Info" attributeId="Subject" isKey="true"/>
    <attribute value="custom.oracle.webcenter.spaces.ps.taskflow.companyinfo"
    attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/adf/webcenter/community_qualifier.png"
    attributeId="IconURI"/>
    </attributes>
    </resource>
    </contents>
    </folder>
    </contents>
    </catalogDefinition>
    Could anyone throw some light on this? Can this be done? Is there anything we may be missing in our XML?
    Many thanks.

    I'm migrating 10 years of mail from Thunderbird on a dusty Dell to my brand-new Mini. I've got tons of subfolders and filters, and I want to replicate the structure using Mail 3.0.
    No matter what I do, I can't seem to add a subfolder to the email accounts I have coming off of different servers (Yahoo, Gmail and 2 on Go Daddy.)
    The Mac help advice doesn't work -- I'm just given the options to place a new mailbox "On My Mac" or as an RSS feed.
    Any other suggestions? I'd keep T'bird, except that I heard that Mozilla's not going to continue developing it. This problem seems to be unique to Leopard. Or maybe just unique to me.

  • Content Presenter taskflow - with dynamic content ID

    Hi there,
    I am using content presenter taskflow to display HTML content on my WebCenter portal page. I have create one generic page with a content presenter taskflow to display multiple generic pages with dynamically assigning the content ID. Please find below the code snippet for more information.
    <taskFlow id="doclibcontentpresenter1"
    taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding">
    <parameters>
    <parameter id="taskFlowInstId"
    value="${'a18cff64-091c-4181-a21c-513c52cf112a'}"/>
    <parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
    <parameter id="datasource"
    value="${'UCMCon#dDocName:'}${portalCommonComponents.contentIdForDetailPage}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${''}"/>
    <parameter id="maxResults" value="${''}"/>
    </parameters>
    </taskFlow>
    In the above code snippet I have added ${portalCommonComponents.contentIdForDetailPage} which will return the Content ID dynamically. The reason why I have used this approcach is that as per the requirment there are lot of detail pages.
    Everything is working fine but sometimes it's throwing exception for load cache.
    Please suggest is there something wrong with this approach, if so suggest me some alternative solution using single Content Presenter Taskflow to display in multiple pages by assigning content ID dynamically.
    Thanks

    Hi,
    I do not have any custome folder in default navigation.
    Please find the code snippet of default navigation.
    <?xml version="1.0" encoding="US-ASCII" ?>
    <navigationDefinition description="Default Navigation"
    id="default-navigation-model"
    name="Default Navigation"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog" visible="#{true}">
    <contents xmlns="http://xmlns.oracle.com/adf/rcs/catalog">
    <url visible="#{true}" id="mNav"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTHomePage">
    <attributes>
    <attribute isKey="false" attributeId="Title" value="Main Nav"/>
    <attribute isKey="false" attributeId="Redirect" value="true"/>
    </attributes>
    <contents>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="whatwedo" url="page://KACSTWhatWeDoPage">
    <attributes>
    <attribute value="WHAT WE DO?" isKey="false" attributeId="Title"/>
    <attribute value="true" isKey="false" attributeId="Redirect"/>
    <attribute value="level-one singlenav" isKey="false"
    attributeId="StyleClass"/>
    <attribute value="WHAT WE DO?" isKey="false"
    attributeId="NavigationTitle"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.WHAT_WE_DO"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    </attributes>
    <parameters/>
    <contents>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="innovation"
    url="page://KACSTInnovationPage">
    <attributes>
    <attribute value="INNOVATION" isKey="false"
    attributeId="Title"/>
    <attribute value="innovation" isKey="false"
    attributeId="StyleClass"/>
    <attribute attributeId="Redirect" isKey="false" value="true"/>
    <attribute attributeId="ArabicTitle" value="NAV.INNOVATION"
    isKey="true"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="innovation"
    attributeId="ExternalId"/>
    </attributes>
    <contents>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="indprop"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Industrial Property" isKey="false"
    attributeId="Title"/>
    <attribute value="true" isKey="false"
    attributeId="Redirect"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.INDUSTRIAL_PROPERTY"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="industrialproperty"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    <contents/>
    </url>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="tiic"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Technology Incubator and Innovation Centers"
    isKey="false" attributeId="Title"/>
    <attribute value="true" isKey="false"
    attributeId="Redirect"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.TECHNOLOGY_INCUBATOR_INNOVATION_CENTERS"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="techincubator"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="exi"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Encouraging Excellence and Innovation"
    isKey="false" attributeId="Title"/>
    <attribute value="last" isKey="false"
    attributeId="StyleClass"/>
    <attribute isKey="false" attributeId="Redirect"
    value="true"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.ENCOURAGING_EXCELLATION_INNOVATION_CENTERS"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="encourageexcellence"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    </contents>
    </url>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="services" url="page://KACSTServicesPage">
    <attributes>
    <attribute value="SERVICES" isKey="false" attributeId="Title"/>
    <attribute value="true" isKey="false" attributeId="Redirect"/>
    <attribute value="last services" isKey="false"
    attributeId="StyleClass"/>
    <attribute attributeId="ArabicTitle" value="NAV.SERVICES"
    isKey="true"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="services"
    attributeId="ExternalId"/>
    </attributes>
    <contents>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="is"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Information Services" isKey="false"
    attributeId="Title"/>
    <attribute value="true" isKey="false"
    attributeId="Redirect"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.INFORMATION_SERVICES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute attributeId="ExternalId" isKey="false"
    value="informationservices"/>
    </attributes>
    <contents>
    <url visible="#{true}" id="ovrvw"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTUnderConstructionPage">
    <attributes>
    <attribute value="Overview" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="false" attributeId="ArabicTitle"
    value="Overview"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="servcs"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTUnderConstructionPage">
    <attributes>
    <attribute value="Services" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.SERVICES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="infrmtnresrcs"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTUnderConstructionPage">
    <attributes>
    <attribute value="Information Resources"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.INFORMATION_RESOURCES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="infrmtnsrvcsfaq"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="FAQ" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="false" attributeId="ArabicTitle"
    value="FAQ"/>
    <attribute isKey="false" value="faq"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="cntctus"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTUnderConstructionPage">
    <attributes>
    <attribute value="Contact Us" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute value="last" attributeId="StyleClass"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.CONTACT_US"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    </attributes>
    <parameters/>
    </url>
    </contents>
    </url>
    <url factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    visible="#{true}" id="ns"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="National Services" isKey="false"
    attributeId="Title"/>
    <attribute value="true" isKey="false"
    attributeId="Redirect"/>
    <attribute value="last" isKey="false"
    attributeId="StyleClass"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.NATIONAL_SERVICES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute attributeId="ExternalId" isKey="false"
    value="nationalservices"/>
    </attributes>
    <contents>
    <url visible="#{true}" id="radiation"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Radiation" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.RADIATIONS"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="radiation"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="rdtnmntrng"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Radiation Monitoring"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.RADIATION_MONITORING"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="radiationmonitoring"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="spcimages"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Space Images" attributeId="Title"
    isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.SPACE_IMAGES"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="spaceimages"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="crscntobsrvtn"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Crescent Observation"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.CRESCENT"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="crescentobservation"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="sptlinfrmtn"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Spatial Information"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.SPATIAL_INFORMATION"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false" value="spatialinformation"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    <url visible="#{true}" id="mngmntenrgycnsmptn"
    factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory"
    url="page://KACSTGenericDetailPage">
    <attributes>
    <attribute value="Management Of Energy Consumption"
    attributeId="Title" isKey="false"/>
    <attribute value="true" attributeId="Redirect"
    isKey="false"/>
    <attribute value="last" attributeId="StyleClass"
    isKey="false"/>
    <attribute isKey="true" attributeId="ArabicTitle"
    value="NAV.MANAGEMENT_OF_ENERGY_CONSUMPTION"
    resourceBundle="com.kacst.kacstportal.resourcebundle.KACSTPortalResourceBundle_ar"/>
    <attribute isKey="false"
    value="managementofenergyconsumption"
    attributeId="ExternalId"/>
    </attributes>
    <parameters/>
    </url>
    </contents>
    </url>
    </contents>
    </url>
    </contents>
    </url>
    </contents>
    </url>
    </contents>
    <schema resourceBundle="oracle.adf.rc.attribute.nls.AttributeBundle">
    <descriptor multivalue="false" shortLabelKey="TITLE.SHORT_PROMPT_KEY"
    labelKey="TITLE.PROMPT_KEY" attributeId="Title"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="ACCESS_KEY.SHORT_PROMPT_KEY"
    labelKey="ACCESS_KEY.PROMPT_KEY" attributeId="AccessKey"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="DESCRIPTION.SHORT_PROMPT_KEY"
    labelKey="DESCRIPTION.PROMPT_KEY" attributeId="Description"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="ICON_URI.SHORT_PROMPT_KEY"
    labelKey="ICON_URI.PROMPT_KEY" attributeId="IconURI"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="true" shortLabelKey="SUBJECT.SHORT_PROMPT_KEY"
    labelKey="SUBJECT.PROMPT_KEY" attributeId="Subject"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false"
    shortLabelKey="REDIRECT_FLAG.SHORT_PROMPT_KEY"
    labelKey="REDIRECT_FLAG.PROMPT_KEY" attributeId="Redirect"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="TARGET_FRAME.SHORT_PROMPT_KEY"
    labelKey="TARGET_FRAME.PROMPT_KEY" attributeId="Target"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="TOOL_TIP.SHORT_PROMPT_KEY"
    labelKey="TOOL_TIP.PROMPT_KEY" attributeId="ToolTip"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="MODIFIED.SHORT_PROMPT_KEY"
    labelKey="MODIFIED.PROMPT_KEY" attributeId="Modified"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false"
    shortLabelKey="CHANGE_FREQUENCY.SHORT_PROMPT_KEY"
    labelKey="CHANGE_FREQUENCY.PROMPT_KEY"
    attributeId="ChangeFrequency" searchable="true"
    endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="SIGNIFICANCE.SHORT_PROMPT_KEY"
    labelKey="SIGNIFICANCE.PROMPT_KEY" attributeId="Significance"
    searchable="true" endUserVisible="true"/>
    <descriptor multivalue="false" shortLabelKey="EXTERNAL_ID"
    labelKey="EXTERNAL_ID" attributeId="ExternalId"
    searchable="true" endUserVisible="true"
    resourceBundle="oracle.webcenter.navigationeditor.view.resource.NavigationEditorBundle"/>
    <descriptor multivalue="false" shortLabelKey=""
    searchable="true" attributeId="StyleClass"
    labelKey="" endUserVisible="true"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog"/>
    <descriptor multivalue="false" shortLabelKey=""
    searchable="true" attributeId="NavigationTitle"
    labelKey="" endUserVisible="true"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog"/>
    <descriptor multivalue="false" shortLabelKey=""
    searchable="true" attributeId="ArabicTitle"
    labelKey="" endUserVisible="true"
    xmlns="http://xmlns.oracle.com/adf/rcs/catalog"/>
    </schema>
    </navigationDefinition>
    Please let me know how to set the log level to FINEST in WebCenter portal, so that I will post he log for your analysis.
    Thanks

  • Custom button skin with scaleGrid 9 slice image does not appear in Design Mode

    So in a custom button skin I have a nine sliced image, and then throw that onto an MXML page. In design view, I cannot get the component to show the image that I've thrown on it. Unless I do a hack on the MXML page by adding the image in it's scaleGrid form to the page somewhere. Then it seems to act as like a preloader for the image so it actually displays. But I don't want to do this hack on every page that uses this component. Is there a work around?
    Here's the button skin:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        width.disabled="296" height.disabled="73">
    <!-- host component -->
    <fx:Metadata>
                        [HostComponent("spark.components.Button")]
                        [Embed('assets/art/shared/[email protected]', scaleGridTop=20, scaleGridBottom=85, scaleGridLeft=40, scaleGridRight=60)]
    </fx:Metadata>
    <!-- states -->
    <s:states>
                        <s:State name="disabled" />
                        <s:State name="down" />
                        <s:State name="over" />
                        <s:State name="up" />
    </s:states>
              <s:Group width="100%" height="100%" >
      <s:Image width="100%" height="100%" smooth="true" source="@Embed('assets/art/shared/[email protected]', scaleGridTop=20, scaleGridBottom=85, scaleGridLeft=40, scaleGridRight=60)"/>
    </s:Group>
    <!-- text -->
              <s:Label id="labelDisplay" left="10" right="10" top="2" bottom="2" horizontalCenter="0"
                                   maxDisplayedLines="1" textAlign="center" verticalAlign="middle" verticalCenter="1"
                                   color="#FFFFFF" >
      <s:filters>
                                  <s:DropShadowFilter distance="0" angle="90" color="0x000000" alpha="1" blurX="2" blurY="2" strength="16" quality="3" />
      </s:filters>
    </s:Label>
    </s:Skin>
    And then I throw that button into an MXML page. The image doesn't show up in design view.
    <s:Button x="330" y="94" width="134" height="57" label="Button" skinClass="features.shared.NineSliceButtonSkin" />
    This hack, fixes the button! And all other buttons that use that skin.
    <s:Image width="100%" height="100%" smooth="true" source="@Embed('assets/art/shared/[email protected]', scaleGridTop=20, scaleGridBottom=85, scaleGridLeft=40, scaleGridRight=60)"/>
    <s:Button x="330" y="94" width="134" height="57" label="Button" skinClass="features.shared.NineSliceButtonSkin" />

    Looking for an answer too!

  • Java Studio Enterprise 8 and mail.jar

    I have a problem with the mail.jar file being locked after a method is instantiated that actually sends a message (and invokes the mail.jar, activiation.jar, etc.) This is problematic because I can't redepoy an application from the Java Studio Enterprise 8 IDE to the application server without shutting down and restarting the application server. I have the latest versions as of today (7/26/2006) of the mail.jar and activation.jar archives. I've done everything I can think of to ensure that all references to java objects created as part of the mail send process are nullified and even called the System.gc() method to ask the JVM to clean things up. Still, the mail.jar is locked upon redeploy (I can tell because all other files, classes, web component, etc. are gone from the deploy directory except the mail.jar file, which is locked even from Operating System access.)
    I'm using:
    Sun Java(TM) Studio Enterprise 8 (Build 051011_2)
    IDE/1 spec-5.9.1 impl=200507031930
    Windows 2000 version 5.0 runningo n x86
    Java 1.5.0_04
    Java HotSpot(TM) Client VM 1.5.0_04-b05
    Any ideas on how to fix this locking problem with mail.jar?
        /** Send an e-mail to a user with mime file attachment(s). */
        public synchronized boolean sendMailWithMimeAttachment(String from,
                String to[], String subject, String messageText, File[] file) {
            boolean sent = false;
            java.util.Properties properties = new java.util.Properties();
            properties.put("mail.smtp.host", getSmtpHost());
            javax.mail.Session session = javax.mail.Session.getDefaultInstance(properties);
            javax.mail.internet.MimeMessage message = new javax.mail.internet.MimeMessage(session);
            javax.mail.internet.MimeMultipart mimeMultiPart = new javax.mail.internet.MimeMultipart();
            javax.mail.Transport transport = null;
            while (true) {
                try {
                    subject = formatSQLString(subject);
                    if (subject.length() <= 0) {
                        subject = "McJunkin Mail Interface";
                    message.setSubject(subject);
                    message.setSentDate(new java.util.Date());
                    from = formatSQLString(from);
                    if (from.length() <= 0) {
                        from = "[email protected]";
                    message.setFrom(new InternetAddress(from));
                    if (to == null) {
                        break;
                    String[] toArray = new String[0];
                    for (int i=0;i<to.length;i++) {
                        to[i] = formatSQLString(to);
    if (to[i].length() > 0) {
    toArray = addItemToArray(toArray, to[i]);
    if (toArray.length <= 0) {
    break;
    InternetAddress[] address = new InternetAddress[toArray.length];
    for (int i=0;i<toArray.length;i++) {
    address[i] = new InternetAddress(toArray[i]);
    message.setRecipients(javax.mail.Message.RecipientType.TO, address);
    // Create the multipart MIME message body parts.
    int partsAdded = 0;
    messageText = formatSQLString(messageText);
    if (messageText.length() > 0) {
    partsAdded++;
    MimeBodyPart mbp = new MimeBodyPart();
    mbp.setText(messageText);
    mimeMultiPart.addBodyPart(mbp);
    mbp = null;
    if (file != null) {
    for (int i=0;i<file.length;i++) {
    if (file[i].exists() && file[i].isFile()) {
    partsAdded++;
    MimeBodyPart mbp = new MimeBodyPart();
    FileDataSource fds = new FileDataSource(file[i]);
    mbp.setDataHandler(new DataHandler(fds));
    DataHandler dh = mbp.getDataHandler();
    mbp.setFileName(fds.getName());
    mimeMultiPart.addBodyPart(mbp);
    dh = null;
    fds = null;
    mbp = null;
    message.setContent(mimeMultiPart);
    message.saveChanges();
    transport = session.getTransport();
    transport.send(message);
    sent = true;
    } catch (Exception e) {
    e.printStackTrace();
    break;
    transport = null;
    mimeMultiPart = null;
    message = null;
    session = null;
    properties = null;
    javaCleanup();
    return sent;

    Huhm. Good question. I have done the following to get a good log file trace in case something is there:
    1) Stopped the server.
    2) Cleared out the server.log file (deleted it).
    3) Started the server.
    4) Deployed the application.
    5) Ran the application code such that it sends an e-mail using the Transport.send(message) code.
    6) Tried to redeploy the application (which won't because the mail.jar file is locked up).
    Here's the server.log file after all that happened....
    [#|2006-08-07T14:17:57.770-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
    [#|2006-08-07T14:17:57.790-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
    C:/JDK1.5.0_04\bin\java
    -client
    -XX:NewRatio=2
    -Xmx1g
    -Xrs
    -Dcom.sun.aas.defaultLogFile=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/logs/server.log
    -Djava.endorsed.dirs=D:/Sun/JSE8/AppServ8.1UR2/lib/endorsed
    -Djava.security.policy=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=C:/JDK1.5.0_04/jre/lib/ext;D:/Sun/JSE8/AppServ8.1UR2/domains/domain1/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.net.ssl.trustStorePassword=changeit
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=domain1
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=D:/Sun/JSE8/AppServ8.1UR2/domains/domain1
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=domain1
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=D:/Sun/JSE8/AppServ8.1UR2/config
    -Djava.library.path=C:\JDK1.5.0_04\jre\bin\client;D:\Sun\JSE8\AppServ8.1UR2\lib;D:\Sun\JSE8\AppServ8.1UR2\lib;C:\JDK1.5.0_04\bin;.;C:\WINNT\system32;C:\WINNT;D:\Sun\JSE8\AppServ8.1UR2\lib;D:\Sun\JSE8\AppServ8.1UR2\bin;D:\Sun\JSE8\AppServ8.1UR2\lib;D:\Sun\JSE8\AppServ8.1UR2\bin;D:\Sun\JSE8\AppServ8.1UR2\bin;D:\Sun\JSE8\AppServ8.1UR2\bin;C:\PROGRAM FILES\THINKPAD\UTILITIES;D:\SUN\STUDIO5_SE\APPSERVER7\BIN;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\PROGRA~1\THINKPAD\UTILITIES;E:\PFOC\RUN;C:\PROGRA~1\MQSERIES\TOOLS\C\SAMPLES\BIN;C:\PROGRA~1\MQSERIES\JAVA\BIN;C:\PROGRA~1\MQSERIES\JAVA\LIB;C:\PROGRA~1\MQSERIES\BIN;E:\PFOC\SOURCE;D:\CNT310\RUNTIME;D:\CNT310\TOOLS\UTIL;C:\LOTUS\NOTES;D:\OBJREXX;D:\OBJREXX\OODIALOG;D:\IFOR\WIN\BIN;D:\IFOR\WIN\BIN\EN_US;D:\MSTOOLS\BIN;D:\SPFPRO;D:\PROGRA~1\IBM\TRACE FACILITY;D:\IBMPCS;C:\PROGRA~1\COMMON FILES\ADAPTEC SHARED\SYSTEM;D:\PMW180\APP;D:\PROGRA~1\SYMANTEC\NORTON GHOST 2003;D:\COBOL32\EXEDLL;D:\SQLLIB\BIN;D:\SQLLIB\FUNCTION;D:\SQLLIB\SAMPLES\REPL;D:\SQLLIB\HELP;D:\IBM\IMNNQ;D:\FRNROOT;D:\FRNROOT\DLL;D:\FRNROOT\HELP;D:\Ghost2003\;C:\Program Files\IBM\Trace Facility\;D:\Program Files\IBM\Trace Facility;D:\PCOMM;D:\Sun\JSE8\AppServ8.1UR2\bin;D:\Sun\JSE8\ide\uml1\modules\DoorsIntegrationFiles\modules\bin
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    C:/JDK1.5.0_04/lib/tools.jar;D:/Sun/JSE8/AppServ8.1UR2/lib/appserv-rt.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\admin-cli.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-admin.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\dom.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jmxremote.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jmxremote_optional.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jsf-api.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jsf-impl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\rmissl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\xalan.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\xercesImpl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_ja.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_zh.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_zh_CN.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_ko.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_fr.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-assemblytool_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-rt_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\deployhelp_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee_es.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-upgrade.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-ext.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\activation.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-cmp.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-jstl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-launcher.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\commons-logging.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\j2ee-svc.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jax-qname.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jaxr-api.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jaxr-impl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jaxrpc-api.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\jaxrpc-impl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\mail.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\relaxngDatatype.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\saaj-api.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\saaj-impl.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\xsdlib.jar;D:/Sun/JSE8/AppServ8.1UR2/lib\appserv-env.jar;D:/Sun/JSE8/AppServ8.1UR2/lib/install/applications/jmsra/imqjmsra.jar;D:/Sun/JSE8/AppServ8.1UR2/imq/lib/jaxm-api.jar;D:/Sun/JSE8/AppServ8.1UR2/imq/lib/fscontext.jar;D:/Sun/JSE8/AppServ8.1UR2/lib/ant/lib/ant.jar
    com.sun.enterprise.server.PEMain
    start
    display
    native|#]
    [#|2006-08-07T14:18:04.199-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [D:\Sun\JSE8\AppServ8.1UR2\imq\bin].|#]
    [#|2006-08-07T14:18:04.209-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
    [#|2006-08-07T14:18:05.311-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
    [#|2006-08-07T14:18:06.203-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
    [#|2006-08-07T14:18:06.793-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0315: The host name L2652Q5U is shared by virtual servers server and server1, which are both associated with the same HTTP listener (http-listener-1)|#]
    [#|2006-08-07T14:18:06.843-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0304: Unsupported http-service property (text/xml) is being ignored|#]
    [#|2006-08-07T14:18:06.843-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0304: Unsupported http-service property (text/xml) is being ignored|#]
    [#|2006-08-07T14:18:07.004-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
    [#|2006-08-07T14:18:07.004-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
    [#|2006-08-07T14:18:07.024-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server1|#]
    [#|2006-08-07T14:18:09.137-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
    [#|2006-08-07T14:18:09.147-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
    [#|2006-08-07T14:18:09.157-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
    [#|2006-08-07T14:18:11.450-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
    [#|2006-08-07T14:18:17.520-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]
    [#|2006-08-07T14:18:18.882-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 74836713503064064|#]
    [#|2006-08-07T14:18:20.444-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
    [#|2006-08-07T14:18:20.995-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 74836736788594688|#]
    [#|2006-08-07T14:18:22.557-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
    [#|2006-08-07T14:18:22.557-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
    [#|2006-08-07T14:18:22.637-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
    [#|2006-08-07T14:18:22.858-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]|#]
    [#|2006-08-07T14:18:23.038-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2006-08-07T14:18:23.418-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]|#]
    [#|2006-08-07T14:18:23.428-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]|#]
    [#|2006-08-07T14:18:23.438-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
    [#|2006-08-07T14:18:23.449-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [__asadmin] at [/com_sun_web_ui]|#]
    [#|2006-08-07T14:18:23.919-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [credit] in virtual server [server1] at [/credit]|#]
    [#|2006-08-07T14:18:23.949-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [confirm] in virtual server [server1] at [/confirm]|#]
    [#|2006-08-07T14:18:23.959-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [log] in virtual server [server1] at [/log]|#]
    [#|2006-08-07T14:18:23.969-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [maps] in virtual server [server1] at [/maps]|#]
    [#|2006-08-07T14:18:23.989-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [ordinq] in virtual server [server1] at [/ordinq]|#]
    [#|2006-08-07T14:18:23.999-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [smg] in virtual server [server1] at [/smg]|#]
    [#|2006-08-07T14:18:24.019-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [menu] in virtual server [server1] at [/menu]|#]
    [#|2006-08-07T14:18:24.039-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [imaging] in virtual server [server1] at [/imaging]|#]
    [#|2006-08-07T14:18:24.049-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [scale] in virtual server [server1] at [/scale]|#]
    [#|2006-08-07T14:18:24.059-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [label] in virtual server [server1] at [/label]|#]
    [#|2006-08-07T14:18:24.079-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [doclib] in virtual server [server1] at [/doclib]|#]
    [#|2006-08-07T14:18:24.099-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [credit] in virtual server [server] at [/credit]|#]
    [#|2006-08-07T14:18:24.110-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [confirm] in virtual server [server] at [/confirm]|#]
    [#|2006-08-07T14:18:24.130-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [log] in virtual server [server] at [/log]|#]
    [#|2006-08-07T14:18:24.150-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [maps] in virtual server [server] at [/maps]|#]
    [#|2006-08-07T14:18:24.160-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [ordinq] in virtual server [server] at [/ordinq]|#]
    [#|2006-08-07T14:18:24.170-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [menu] in virtual server [server] at [/menu]|#]
    [#|2006-08-07T14:18:24.180-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [imaging] in virtual server [server] at [/imaging]|#]
    [#|2006-08-07T14:18:24.200-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [scale] in virtual server [server] at [/scale]|#]
    [#|2006-08-07T14:18:24.210-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [label] in virtual server [server] at [/label]|#]
    [#|2006-08-07T14:18:24.220-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [doclib] in virtual server [server] at [/doclib]|#]
    [#|2006-08-07T14:18:24.350-0400|INFO|sun-appserver-pe8.1_02|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]
    [#|2006-08-07T14:18:26.483-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/imaging] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> ImagingServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:27.044-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/label] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> LabelServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:29.568-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/doclib] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> DoclibServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:29.898-0400|INFO|sun-appserver-pe8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|validateJarFile(D:\Sun\JSE8\AppServ8.1UR2\domains\domain1\applications\j2ee-modules\smg\WEB-INF\lib\j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class|#]
    [#|2006-08-07T14:18:30.289-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/imaging] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> ImagingServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:30.810-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/label] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> LabelServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:34.085-0400|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0600: WebModule [/doclib] failed to deploy and has been disabled: [java.lang.IllegalArgumentException: Invalid <url-pattern> DoclibServlet in servlet mapping].|#]
    [#|2006-08-07T14:18:34.435-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 6060|#]
    [#|2006-08-07T14:18:34.465-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 6060|#]
    [#|2006-08-07T14:18:34.715-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 5050|#]
    [#|2006-08-07T14:18:34.726-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 5050|#]
    [#|2006-08-07T14:18:35.216-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1501: Here is the JMXServiceURL for the JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://l2652q5u.mcjunkin.com:8686/management/rmi-jmx-connector]. This is where the remote administrative clients should connect using the JSR 160 JMX Connectors.|#]
    [#|2006-08-07T14:18:35.216-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1502: Status of System JMX Connector: Active = [true]|#]
    [#|2006-08-07T14:18:35.306-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Application server startup complete.|#]
    [#|2006-08-07T14:20:27.395-0400|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- undeploy web/doclib]|#]
    [#|2006-08-07T14:20:27.526-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=11;|Exception during unregistration of servletstats
    java.lang.NullPointerException
         at com.sun.enterprise.admin.monitor.registry.spi.MonitoringRegistrationHelper.unregisterServletStats(MonitoringRegistrationHelper.java:502)
         at com.sun.enterprise.web.WebContainer.unregisterServletStats(WebContainer.java:2713)
         at com.sun.enterprise.web.WebContainer.disableMonitoring(WebContainer.java:2492)
         at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2069)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:198)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:262)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:920)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
         at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
         at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
         at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(ServerDeploymentTarget.java:283)
         at com.sun.enterprise.deployment.phasing.StopPhase.runPhase(StopPhase.java:126)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:409)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:444)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(ApplicationsConfigMBean.java:725)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
         at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
         at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    |#]
    [#|2006-08-07T14:20:27.536-0400|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=11;|Exception during unregistration of servletstats
    java.lang.NullPointerException
         at com.sun.enterprise.admin.monitor.registry.spi.MonitoringRegistrationHelper.unregisterServletStats(MonitoringRegistrationHelper.java:502)
         at com.sun.enterprise.web.WebContainer.unregisterServletStats(WebContainer.java:2713)
         at com.sun.enterprise.web.WebContainer.disableMonitoring(WebContainer.java:2492)
         at com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2069)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:198)
         at com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:262)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:920)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
         at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
         at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
         at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(ServerDeploymentTarget.java:283)
         at com.sun.enterprise.deployment.phasing.StopPhase.runPhase(StopPhase.java:126)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:409)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:444)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(ApplicationsConfigMBean.java:725)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

  • Problems in Sending mails using java mail

    hi all,
    heres my piece of code-
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import javax.mail.Authenticator;
    import javax.mail.PasswordAuthentication;
    public class SendEmail
         public static void main(String[] args)
    System.out.println(args.length);
              if (args.length != 6)
                   System.out.println("usage: sendmessage <to> <from> <smtphost> <true|false> <subject> <text>");
                   System.exit(1);System.out.println("jj"+args.length);
         SendEmail m=new SendEmail();
         m.SendMessage(args[0],args[1], args[2], args[3], args[4], args[5]);
    public static String SendMessage(String emailto, String emailfrom, String smtphost, String emailmultipart, String msgSubject, String msgText)
         boolean debug = false; // change to get more information
    String msgText2 = "multipart message";
    boolean sendmultipart = Boolean.valueOf(emailmultipart).booleanValue();
    // set the host
    Properties props = new Properties();
    props.put("mail.smtp.host",smtphost);
         props.put("mail.smtp.starttls.enable","true");
    props.put("mail.smtp.auth", "true");
    props.put("mail.smtp.sendpartial", "true");
    Authenticator loAuthenticator = new SMTPAuthenticator();
    System.out.println("f");
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, loAuthenticator );
    session.setDebug(debug);
    System.out.println("ff");
    //System.out.println( loAuthenticator);
    try
    // create a message
    Message msg = new MimeMessage(session);
    // set the from
    InternetAddress from = new InternetAddress(emailfrom);
    msg.setFrom(from);
    InternetAddress[] address =
    new InternetAddress(emailto)
    //InternetAddress ad=new InternetAddress(session);
    //System.out.println(ad.getLocalAddress());
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject(msgSubject);
    if(!sendmultipart)
    // send a plain text message
    msg.setContent(msgText, "text/plain");
    else
    // send a multipart message// create and fill the first message part
    MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setContent(msgText, "text/plain");
    // create and fill the second message part
    MimeBodyPart mbp2 = new MimeBodyPart();
    mbp2.setContent(msgText2, "text/plain");
    // create the Multipart and its parts to it
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp1);
    mp.addBodyPart(mbp2);
    // add the Multipart to the message
    msg.setContent(mp);
    Transport transport = session.getTransport("smtp");
         transport.connect(smtphost,"[email protected]","xyz");
    msg.saveChanges();
              //transport.sendMessage(msg,msg.getAllRecipients());
    transport.sendMessage(msg,msg.getAllRecipients());
    transport.close();     
    catch(MessagingException mex)
    mex.printStackTrace();
    return "Email sent to " + emailto;
    class SMTPAuthenticator extends Authenticator
    public PasswordAuthentication getPasswordAuthentication()
    String username = "[email protected]";
    String password = "xyz";
    return new PasswordAuthentication(username, password);
    i get the following errors-
    SmtpSendFailedException:550 Invalid Recipient
    Sometimes the mail gets send but sometimes it doesnt (while sending it to yahoo)..
    i guess there is some firewall problem..
    can somebody help me please.
    thanks

    Hello. I don't know if this will help you much but just reading the posts there might be something wrong with the information that is being sent to your SMTP host. You might make sure that the string that you are sending doesn't have extra characters attached to it or that a timeout is not occuring during the transfer of your username/password information. Sometimes the '@' gets translated into something else.
    A 550 error usually indicates that the mail server didn't recived a valid user on the system, this came into play I believe when people start abusing SMTP to SPAM a server using everything under the sun...so filters were put in place i.e. If you are not a Qualified Domain Name registered mailserver and someone has a filter in place your message will go kersplat because forwarding is no longer being allowed. Yopu might try a diffrent tactic.
    1. you might trim your strings.
    2. build strings in a connect method so that its a bit less amateur code.
    public void connect() {
            // Display connect dialog.
            ConnectDialog dialog = new ConnectDialog(this);
            dialog.show();
            // Build connection URL from connect dialog settings.
            StringBuffer connectionUrl = new StringBuffer();
            connectionUrl.append(dialog.getType() + "://");
            connectionUrl.append(dialog.getUsername() + ":");
            connectionUrl.append(dialog.getPassword() + "@");
            connectionUrl.append(dialog.getServer() + "/");3. Make absolutely certain that the SMTP server you are sending from is registered and qualified in your code. Meaning you can't use a bogus MTA(mail trasport agent) or you get bounced.
       private void sendMessage(int type, Message message) {
            // Display message dialog to get message values.
            MessageDialog dialog;
            try {
                dialog = new MessageDialog(this, type, message);
                if (!dialog.display()) {
                    // Return if dialog was cancelled.
                    return;
            } catch (Exception e) {
                showError("Unable to send message.", false);
                return;
            try {
                // Create a new message with values from dialog.
                Message newMessage = new MimeMessage(session);
                newMessage.setFrom(new InternetAddress(dialog.getFrom()));
                newMessage.setRecipient(Message.RecipientType.TO,
                        new InternetAddress(dialog.getTo()));
                newMessage.setSubject(dialog.getSubject());
                newMessage.setSentDate(new Date());
                newMessage.setText(dialog.getContent());
                // Send new message.
                Transport.send(newMessage);
            } catch (Exception e) {
                showError("Unable to send message.", false);
        }Lastly, if you are writing a SPAM client, you should go to your dos prompt and type format c: (j/k)
    now the disclaimer. The code published is not mine it was a piece of an example that I got from a brillient book by Herbert Schildt and James Holmes who I would love to be able to chat with since the work they do is absolutely perfect. You might check it out from your Local Library the ISBN is 0-07-222971-3 they have a whole section just on JavaMail.
    Well hope that gets you started in the right direction, I would read the ISO standards published for SMTP, you might get a better grip on the error codes that are bound to come up.

  • Search-mailbox phrase

    Hello 
    I'm running Exchange 2013 sp1. I need to search for  emails that contain a specific phrase, delete the emails and log the results. I have come up with two different commands, but not sure which one is better to use.
    #1 Search-Mailbox  -SearchDumpster:$true  -SearchQuery {Subject:"look document" -and sent:"11/23/2014..11/24/2014"} -deletecontent -loglevel full
    #2 Search-Mailbox -searchdumpster:$true -SearchQuery 'Subject: look document ' -DeleteContent -confirm:$false
    Bulls on Parade

    Hi,
    You can use the cmdlets below to search specified messages and delete them.
    Search-Mailbox -Identity xxx -searchdumpster:$true -SearchQuery "Subject:test" -DeleteContent -confirm:$false
    Search-Mailbox -Identity xxx -SearchDumpster:$true -SearchQuery {Subject:"test" -and sent:"11/11/2014..12/2/2014"} -TargetFolder xxx -TargetMailbox xxx -deletecontent -loglevel full
    There are some differences between them, but both of them work well. The first one doesn't specify the start date and end date. What's more, the second one specifies the logging level for the search. You can choose one according to your needs.
    What's more, here is a thread for your reference.
    Search-Mailbox
    http://technet.microsoft.com/en-us/library/dd298173(v=exchg.150).aspx
    Hope this can be helpful.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • Trouble with choices

    I'm interfaceing with a web service which has defined its schema with choices. I'm not able to alter the xsd.
    I assigned all elements but still get stuck with the empty choice elements:
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-complex-type.2.4.d: Invalid content was found starting with element 'Subject_niet_natuurlijk'. No child element is expected at this point.
    Error::cvc-complex-type.2.4.b: The content of element 'Subject_niet_natuurlijk' is not complete. One of '{"http://www.interaccess.nl/webplus/statuswfm_v2":Bin, "http://www.interaccess.nl/webplus/statuswfm_v2":Unieke_code}' is expected.
    I found a solution form Clemens here:
    http://clemensblog.blogspot.com/2006/03/bpel-miracle-of-xsdchoice-with-pre.html
    And translate it like this in my own bpel code:
    <assign name="Assign_WithWorkaround">
    <copy>
    <from expression="ora:parseEscapedXML('<Subject xmlns="http://xmlns.oracle.com/UsingChoices"><name xmlns="http://xmlns.oracle.com/UsingChoices"/></Subject>') "/>
    <to variable="MaakZaak_zaakcreatie_InputVariable" part="payload"
    query="/ns1:Zaak/ns1:Subject"/>
    </copy>
    <copy>
    <from expression="number(bpws:getVariableData('VergunningAanvraag','payload','/client:VegunningAanvraag/client:Sofinummer'))"/>
    <to variable="MaakZaak_zaakcreatie_InputVariable" part="payload"
    query="/ns1:Zaak/ns1:Subject/ns1:Subject_natuurlijk/ns1:Bsn"/>
    </copy>
    <copy>
    <from expression="1111111111"/>
    <to variable="MaakZaak_zaakcreatie_InputVariable" part="payload"
    query="/ns1:Zaak/ns1:Subject/ns1:Subject_natuurlijk/ns1:Anummer"/>
    </copy>
    </assign>
    And now i get the following error:
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>XPath query string returns zero node.
    According to BPEL4WS spec 1.1 section 14.3, The assign activity &lt;to&gt; part query should not return zero node.
    Please check the BPEL source at line number "102" and verify the &lt;to&gt; part xpath query.
    </summary>
    </part></selectionFailure>
    Plz help me out.
    By the way the version I'm using is Jdeveloper 10.1.3.3.0
    Message was edited by:
    Roelofk

    Hi Roelof,
    Since your interfacing with my webservice, I guess I should give you some pointers :-)
    When using choices it is best to initialize the variable first with a literal XML-fragment without values like below (for each element or for the entire variable at once ):
    <assign name="initZaak">
    <copy>
    <from>
    <Zaak_verantwoordelijke_mdw xmlns="http://www.interaccess.nl/webplus/statuswfm_v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Zaak_verw_mdw_id/>
    <Zaak_verw_mdw_achternaam/>
    <Zaak_verw_mdw_voorvoegsel xsi:nil="true"/>
    <Zaak_verw_mdw_roepnaam/>
    <Zaak_verw_mdw_voorletters/>
    <Zaak_verw_mdw_oeh_id/>
    <Zaak_verw_mdw_oeh_naam/>
    </Zaak_verantwoordelijke_mdw>
    </from>
    <to variable="zaakcreatie_Input" part="payload" query="/ns2:Zaak/ns2:Zaak_verantwoordelijke_mdw"/>
    </copy>
    <copy>
    <from>
    <Zaak_initiator_mdw xmlns="http://www.interaccess.nl/webplus/statuswfm_v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Zaak_initiator_mdw_id/>
    <Zaak_initiator_mdw_achternaam/>
    <Zaak_initiator_mdw_voorvoegsel xsi:nil="true"/>
    <Zaak_initiator_mdw_roepnaam/>
    <Zaak_initiator_mdw_voorletters/>
    <Zaak_initiator_mdw_oeh_id/>
    <Zaak_initiator_mdw_oeh_naam/>
    </Zaak_initiator_mdw>
    </from>
    <to variable="zaakcreatie_Input" part="payload" query="/ns2:Zaak/ns2:Zaak_initiator_mdw"/>
    </copy>
    <copy>
    <from>
    <Subject xmlns="http://www.interaccess.nl/webplus/statuswfm_v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Subject_natuurlijk>
    <Bsn/>
    <Anummer xsi:nil="true"/>
    </Subject_natuurlijk>
    </Subject>
    </from>
    <to variable="zaakcreatie_Input" part="payload" query="/ns2:Zaak/ns2:Subject"/>
    </copy>
    </assign>
    After initializing you can for example assign the values as you normaly would
    <assign name="maakZaak">
    <copy>
    <from expression="'123456789'"/>
    <to variable="zaakcreatie_Input" part="payload" query="/ns2:Zaak/ns2:Subject/ns2:Subject_natuurlijk/ns2:Anummer"/>
    </copy>
    </assign>
    You'll get something like this:
    <Zaak xmlns="http://www.interaccess.nl/webplus/statuswfm_v2">
    <Subject xmlns="http://www.interaccess.nl/webplus/statuswfm_v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Subject_natuurlijk>
    <Bsn/>
    <Anummer>123456789</Anummer>
    </Subject_natuurlijk>
    </Subject>
    <Zaak_verantwoordelijke_mdw xmlns="http://www.interaccess.nl/webplus/statuswfm_v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Zaak_verw_mdw_id/>
    <Zaak_verw_mdw_achternaam/>
    <Zaak_verw_mdw_voorvoegsel xsi:nil="true"/>
    <Zaak_verw_mdw_roepnaam/>
    <Zaak_verw_mdw_voorletters/>
    <Zaak_verw_mdw_oeh_id/>
    <Zaak_verw_mdw_oeh_naam/>
    </Zaak_verantwoordelijke_mdw>
    <Zaak_verantwoordelijke_oeh/>
    <Geen_zaak_verantwoordelijke/>
    <Zaak_initiator_mdw xmlns="http://www.interaccess.nl/webplus/statuswfm_v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Zaak_initiator_mdw_id/>
    <Zaak_initiator_mdw_achternaam/>
    <Zaak_initiator_mdw_voorvoegsel xsi:nil="true"/>
    <Zaak_initiator_mdw_roepnaam/>
    <Zaak_initiator_mdw_voorletters/>
    <Zaak_initiator_mdw_oeh_id/>
    <Zaak_initiator_mdw_oeh_naam/>
    </Zaak_initiator_mdw>
    <Zaak_initiator_oeh/>
    <Geen_zaak_initiator/>
    <Zaakidentificatie/>
    <Startdatum/>
    <Zaaktypecode/>
    <Zaaktypeomschrijving/>
    <Einddatum/>
    <Einddatumgepland/>
    <Url/>
    <Hyperlinkomschrijving/>
    <Zaakomschrijving/>
    <Kenmerk/>
    <Kenmerkbron/>
    <Resultaatcode/>
    <Resultaatomschrijving/>
    <Resultaattoelichting/>
    <Zaaktoelichting/>
    <Trefwoord/>
    <Uiterlijkeeinddatumafdoening/>
    <Oge_id/>
    </Zaak>
    HTH
    Mark
    ps. you can also ask me directly, ask Harry for my email-adress

  • ORA-20000 context error

    When I am run this query then it shows the following error
    ORA-20000 context error
    SQL is
    select * from(SELECT A.SKU,D.SKU_SRL_NO,A.TITLE,A.AUTHOR_DESC,A.PRI_CATEGORY_ID,E.CATEGORY_NAME,A.ITEM_TYPE,NVL(SCORE(0), 0) AS RANK , decode(INSTR(UPPER(SRCH_CONTXT_FLD),'THE ART OF WAR'),1,-1,INSTR(UPPER(SRCH_CONTXT_FLD),'THE ART OF WAR')) AS SRCHORDER FROM OXF_SKU_MSTR A,OXF_SKU_VEP_MSTR D,oxf_ctgy_mstr e WHERE D.SKU=A.SKU AND A.PRI_CATEGORY_ID=E.CATEGORY_ID AND (ITEM_TYPE='BK' OR ITEM_TYPE='CDR' OR ITEM_TYPE='MCT' ) AND CONTAINS (SRCH_CONTXT_FLD,'THE ART OF WAR*6|NEAR((THE ART OF WAR,THE ART OF WAR),100,true)*6|NEAR((THE,ART,OF,WAR),100,true)*4|THE * 3 | ART * 3 | OF * 3 | WAR * 3',0)>0 UNION SELECT A.SKU,D.SKU_SRL_NO,A.TITLE,A.AUTHOR_DESC,A.PRI_CATEGORY_ID,e.category_name,A.ITEM_TYPE, NVL(SCORE(0), 0) AS RANK , decode(INSTR(UPPER(SRCH_CONTXT_FLD),'THE ART OF WAR'),1,-1,INSTR(UPPER(SRCH_CONTXT_FLD),'THE ART OF WAR')) AS SRCHORDER FROM OXF_SKU_MSTR A,OXF_MUSIC_MSTR B,OXF_SKU_VEP_MSTR D,oxf_ctgy_mstr e WHERE b.SKU=A.SKU and D.SKU=A.SKU and a.pri_category_id=e.category_id AND CONTAINS (SONG,'THE ART OF WAR*6|NEAR((THE ART OF WAR,THE ART OF WAR),100,true)*6|NEAR((THE,ART,OF,WAR),100,true)*4|THE * 3 | ART * 3 | OF * 3 | WAR * 3',0)>0 ) a ORDER BY ITEM_TYPE, SRCHORDER,TITLE
    Can any body help me to solve this problem.
    Thanks in advance

    Hi,
    This may help you
    ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:2460552453360
    Trinath Somanchi
    ( http://myospages.com )

  • German umlauts into question marks

    Hi,
    The problem is that the German umlauts are converted to question marks . I create a mail message (see below). After the ship in here: Outlook 2010 can be seen, the German umlauts as question marks.
    Gesch?ftsf?hrer: ....
    RG M?nchen ....
    mailmessage obj_message
    s_mapi_connector = 'SMTP:'
    obj_message.notetext = struct_drucker.s_email_message
    obj_message.recipient[l].address = s_mapi_connector + s_email_adress
    obj_message.recipient[l].recipienttype = mailto!
    obj_message.recipient[l].name = s_email_recipient
    // Email per MAPI-Client
    obj_session = CREATE mailSession
    en_result = obj_session.mailLogon(mailNewSession!)
    en_result = obj_session.mailsend(obj_message)
    en_result = obj_session.mailLogoff()
    DESTROY obj_session
    Does anyone know a solution?
    Thank You
    André Rust

    Hi André,
    Here is my code (also tested successfully with PB12.5.2 build 5703):
    mailSession l_mailSession
    mailMessage l_mailMessage
    l_mailMessage.Recipient [1].Name = "[email protected]"
    l_mailMessage.Recipient [1].RecipientType = mailTo!
    l_mailMessage.receiptrequested=TRUE
    l_mailMessage.subject = "PB E-mail example from PB 12.6 Einflußgröße Gefäßschädigung"
    l_mailMessage.noteText = "Bla,~nbla, bla, ...~n"
    l_mailMessage.noteText += "~n"
    l_mailMessage.noteText += "Meßgröße"
    l_mailMessage.noteText += "~n"
    l_mailMessage.noteText += "Rückäußerung"
    l_mailMessage.noteText += "~n"
    l_mailMessage.noteText += "Rückstöße"
    l_mailMessage.noteText += "~n"
    l_mailMessage.noteText += "flächenmäßig"
    l_mailMessage.noteText += "~n"
    l_mailMessage.noteText += "rüstungsmäßig"
    l_mailMessage.noteText += "~n"
    l_mailMessage.noteText += "überläßt"
    l_mailMessage.noteText += "~n"
    l_mailMessage.noteText += "äußerst"
    l_mailSession = CREATE mailSession
    if l_mailSession.mailLogon () <> mailReturnSuccess! then
    MessageBox ("E-mail error!", "Login failed!", Exclamation!)
    else
    if l_mailSession.mailSend (l_mailMessage) <> mailReturnSuccess! then
    MessageBox ("E-mail error!", "Sending failed!", Exclamation!)
    else
    MessageBox ("E-mail report!", "Message sent!", Information!)
    end if
    end if
    l_mailSession.mailLogoff ()
    DESTROY l_mailSession

  • Bind two DataGrids so that a change in one will be refelected in another

    Is there a simple way to bind two DataGrids so that a change in one will be refelected in another?  I have two DataGrids.  One will be editable and the other will be used to display the information from the editable DataGrid in a confirmation section.  Is there a simple example  out there for doing this?
    Thanks,
    Lee

    I may have figured it out.  It seems to be working with:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="initComponent()"
    xmlns:views="com.views.*"
    width="100%"
    height="100%">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    private var currentIndex:int=0;
    private function initComponent():void
    refreshList(null);
    public function refreshList(event:Event):void
    this.roArtist.getArtists();
    private function getArtists_result(event:ResultEvent):void
    dgArtistList.dataProvider=event.result as ArrayCollection;
    dgArtistList.selectedIndex=currentIndex;
    dgArtistListConfirm.dataProvider=event.result as ArrayCollection;
    dgArtistListConfirm.selectedIndex=currentIndex;
    ]]>
    </mx:Script>
    <mx:RemoteObject id="roArtist"
    showBusyCursor="true"
    destination="ColdFusion"
    source="art.src.cfc.artist">
    <mx:method name="getArtists"
       result="getArtists_result(event)">
    </mx:method>
    </mx:RemoteObject>
    <mx:Label x="10"
      y="10"
      text="Entry"
      fontWeight="bold"/>
    <mx:DataGrid id="dgArtistList"
    x="10"
    y="36"
    editable="true">
    <mx:columns>
    <mx:DataGridColumn dataField="ARTISTID"
       headerText="ArtistID"
       editable="false"/>
    <mx:DataGridColumn dataField="FIRSTNAME"
       headerText="First Name"
       editable="true"/>
    <mx:DataGridColumn dataField="LASTNAME"
       headerText="Last Name"
       editable="true"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:Label x="10"
      y="210"
      text="Confirmation"
      fontWeight="bold"/>
    <mx:DataGrid id="dgArtistListConfirm"
    x="10"
    y="236" dataProvider="{ArrayCollection}">
    <mx:columns>
    <mx:DataGridColumn dataField="ARTISTID"
       headerText="ArtistID"/>
    <mx:DataGridColumn dataField="FIRSTNAME"
       headerText="First Name"/>
    <mx:DataGridColumn dataField="LASTNAME"
       headerText="Last Name"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    I need to do some testing.
    Thanks!

Maybe you are looking for