You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Alan Cabrera (JIRA)" <de...@geronimo.apache.org> on 2004/12/31 02:54:38 UTC

[jira] Created: (GERONIMO-536) New mail GBean

New mail GBean
--------------

         Key: GERONIMO-536
         URL: http://issues.apache.org/jira/browse/GERONIMO-536
     Project: Apache Geronimo
        Type: Improvement
  Components: mail  
    Reporter: Alan Cabrera
 Assigned to: Alan Cabrera 


The current GBean just takes a single properties object for configuration.

We should extend the mail GBean to have exposed attributes for common properties (host, username, ...) so they can be managed more easily.  Ideally we should also have some knowledge of the available transports and allow those to be configured. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Closed: (GERONIMO-536) New mail GBean

Posted by toby cabot <to...@caboteria.org>.
Not sure if it's related to this fix but on my machine (Debian Sid,
Java 1.4.2_06) the mail tests are failing.  Is there some
configuration that I need to do?

Testsuite: org.apache.geronimo.mail.MailGBeanTest
Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 1.713 sec

Testcase: testProperties(org.apache.geronimo.mail.MailGBeanTest):	Caused an ERROR
Unknown protocol for test
javax.mail.NoSuchProviderException: Unknown protocol for test
	at javax.mail.Session.getStore(Session.java:148)
	at javax.mail.Session.getStore(Session.java:129)
	at org.apache.geronimo.mail.MailGBeanTest.testProperties(MailGBeanTest.java:61)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
	at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
	at com.werken.werkz.Goal.fire(Goal.java:639)
	at com.werken.werkz.Goal.attain(Goal.java:575)
	at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
	at com.werken.werkz.Goal.attain(Goal.java:573)
	at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
	at com.werken.werkz.Goal.attain(Goal.java:573)
	at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
	at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
	at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
	at com.werken.werkz.Goal.fire(Goal.java:639)
	at com.werken.werkz.Goal.attain(Goal.java:575)
	at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
	at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
	at org.apache.maven.cli.App.doMain(App.java:486)
	at org.apache.maven.cli.App.main(App.java:1215)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.werken.forehead.Forehead.run(Forehead.java:551)
	at com.werken.forehead.Forehead.main(Forehead.java:581)

Thanks,
Toby

[jira] Closed: (GERONIMO-536) New mail GBean

Posted by "Alan Cabrera (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-536?page=history ]
     
Alan Cabrera closed GERONIMO-536:
---------------------------------

    Resolution: Fixed

> New mail GBean
> --------------
>
>          Key: GERONIMO-536
>          URL: http://issues.apache.org/jira/browse/GERONIMO-536
>      Project: Apache Geronimo
>         Type: Improvement
>   Components: mail
>     Reporter: Alan Cabrera
>     Assignee: Alan Cabrera

>
> The current GBean just takes a single properties object for configuration.
> We should extend the mail GBean to have exposed attributes for common properties (host, username, ...) so they can be managed more easily.  Ideally we should also have some knowledge of the available transports and allow those to be configured. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira