You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2007/08/23 17:54:30 UTC

[jira] Created: (CXF-936) HTTPConduit requires geronimo-mail, cannot use Sun's mail jar

HTTPConduit requires geronimo-mail, cannot use Sun's mail jar
-------------------------------------------------------------

                 Key: CXF-936
                 URL: https://issues.apache.org/jira/browse/CXF-936
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 2.0.1
            Reporter: Daniel Kulp
            Priority: Critical
             Fix For: 2.0.2



The HTTPConduit directly imports:
import org.apache.geronimo.mail.util.StringBufferOutputStream;

which means we HAVE to have geronimo mail and cannot work with the Sun mail jar.   That needs to be fixed.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-936) HTTPConduit requires geronimo-mail, cannot use Sun's mail jar

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glen Mazza updated CXF-936:
---------------------------

    Attachment: BAOSPatch.txt

> HTTPConduit requires geronimo-mail, cannot use Sun's mail jar
> -------------------------------------------------------------
>
>                 Key: CXF-936
>                 URL: https://issues.apache.org/jira/browse/CXF-936
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.0.2
>
>         Attachments: BAOSPatch.txt
>
>
> The HTTPConduit directly imports:
> import org.apache.geronimo.mail.util.StringBufferOutputStream;
> which means we HAVE to have geronimo mail and cannot work with the Sun mail jar.   That needs to be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-936) HTTPConduit requires geronimo-mail, cannot use Sun's mail jar

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523062 ] 

Glen Mazza commented on CXF-936:
--------------------------------

This is a small class[1], and since it is owned by Apache, we can incorporate this into our own source code if needed.  

Nonetheless, I switched from this class to the ByteArrayOutputStream[2] in HTTPConduit.  Only issue is I did not know the optimal default size to initialize the BAOS with--the default of 32 seems to be too small for a message--I took 1024 instead--it can be adjusted if it is thought to be too big or too small.  Also, I have not tested my changes here, as I have not researched how to work with this class.

[1] http://tinyurl.com/3asl8g
[2] http://java.sun.com/j2se/1.4.2/docs/api/java/io/ByteArrayOutputStream.html


> HTTPConduit requires geronimo-mail, cannot use Sun's mail jar
> -------------------------------------------------------------
>
>                 Key: CXF-936
>                 URL: https://issues.apache.org/jira/browse/CXF-936
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.0.2
>
>         Attachments: BAOSPatch.txt
>
>
> The HTTPConduit directly imports:
> import org.apache.geronimo.mail.util.StringBufferOutputStream;
> which means we HAVE to have geronimo mail and cannot work with the Sun mail jar.   That needs to be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-936) HTTPConduit requires geronimo-mail, cannot use Sun's mail jar

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-936.
-----------------------------

    Resolution: Fixed

> HTTPConduit requires geronimo-mail, cannot use Sun's mail jar
> -------------------------------------------------------------
>
>                 Key: CXF-936
>                 URL: https://issues.apache.org/jira/browse/CXF-936
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.0.2
>
>         Attachments: BAOSPatch.txt
>
>
> The HTTPConduit directly imports:
> import org.apache.geronimo.mail.util.StringBufferOutputStream;
> which means we HAVE to have geronimo mail and cannot work with the Sun mail jar.   That needs to be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CXF-936) HTTPConduit requires geronimo-mail, cannot use Sun's mail jar

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp closed CXF-936.
---------------------------


> HTTPConduit requires geronimo-mail, cannot use Sun's mail jar
> -------------------------------------------------------------
>
>                 Key: CXF-936
>                 URL: https://issues.apache.org/jira/browse/CXF-936
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.0.2
>
>         Attachments: BAOSPatch.txt
>
>
> The HTTPConduit directly imports:
> import org.apache.geronimo.mail.util.StringBufferOutputStream;
> which means we HAVE to have geronimo mail and cannot work with the Sun mail jar.   That needs to be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-936) HTTPConduit requires geronimo-mail, cannot use Sun's mail jar

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-936:
-------------------------------

    Assignee: Daniel Kulp

> HTTPConduit requires geronimo-mail, cannot use Sun's mail jar
> -------------------------------------------------------------
>
>                 Key: CXF-936
>                 URL: https://issues.apache.org/jira/browse/CXF-936
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0.1
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.0.2
>
>         Attachments: BAOSPatch.txt
>
>
> The HTTPConduit directly imports:
> import org.apache.geronimo.mail.util.StringBufferOutputStream;
> which means we HAVE to have geronimo mail and cannot work with the Sun mail jar.   That needs to be fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.