Hi Prasad, Are you sure it is when org.jaggeryjs.hostobjects.stream_0.9.0.SNAPSHOT-10252013.jar is in classpath not org.jaggeryjs.hostobjects.email_0.9.0.SNAPSHOT-*10252013.jar *?
Because we have came across the same exception [1] with email host object in class path and fixed in jaggery master, but not in the version ( 0.9.0.SNAPSHOT-10252013) that you use. I have also written blog post [2] on how the issue is solved explaining it's causes. [1] https://wso2.org/jira/browse/UES-466 [2] http://tanyamadurapperuma.blogspot.com/2014/01/struggling-with-nosuchproviderexception.html Thanks, Tanya On Mon, Nov 3, 2014 at 9:21 AM, Prasad Tissera <pras...@wso2.com> wrote: > When org.jaggeryjs.hostobjects.stream_0.9.0.SNAPSHOT-10252013.jar is in > the classpath email transport give the following exception. > > org.apache.axis2.AxisFault: Error generating mail message > Caused by: javax.mail.NoSuchProviderException: smtp > at javax.mail.Session.getService(Session.java:782) > at javax.mail.Session.getTransport(Session.java:708) > at javax.mail.Session.getTransport(Session.java:651) > at javax.mail.Session.getTransport(Session.java:631) > at javax.mail.Session.getTransport(Session.java:686) > at javax.mail.Transport.send0(Transport.java:166) > at javax.mail.Transport.send(Transport.java:98) > at > org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:489) > ... 16 more > > This version is the default packed in is 5.0.0. What is the recommended > way of fixing this ? We will also need to change this dependency in 5.1.0. > > Regards, > Prasad. > > > > -- > Prasad Tissera > Software Engineer. > Mobile : +94777223444 > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Tanya Madurapperuma Software Engineer, WSO2 Inc. : wso2.com Mobile : +94718184439 Blog : http://tanyamadurapperuma.blogspot.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev