Re: GWT and java mail api
Did you ever get this fixed I have a similar problem. I have an OSGi application that is sending mail fine from the command line. How ever the bundle that loads a GWT interface throws an exception sending mail -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and java mail api
thank you, I'll try... On 2 Feb, 14:42, "Martin D'Aloia" wrote: > I think this is not GWT related topic (wrong group), but to try to help you > if doesn't find the library is because you don't have them in classpath... > check these items: > > - Remove all Google AppEngine related jars > > - If you use Java SE 6 then you only have to > downloadhttp://java.sun.com/products/javamail/downloads/index.htmland include > the > necessary jars (see the README) (if you use > Maven:http://download.java.net/maven/2/javax/mail/mail/) > > - If you don't use Java SE 6 you also > needhttp://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloa... > > On Tue, Feb 2, 2010 at 6:04 AM, loucat wrote: > > I removed it from the classpath but I couldn't use java mail api (it > > didn't find the library), now I'm ever more confused :( > > I've tried to use again the Google App Engine but now it says it's > > impossible > > > On 31 Gen, 12:34, jocke eriksson wrote: > > > Remove appengine-api-1.0-sdk-1.2.6.jar from class path if you do not use > > it. > > > > 2010/1/31 loucat > > > > > Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I > > > > don't want to use it... > > > > So I don't know if this is the right place to ask help but my mail > > > > method works outside GWT and doesn't work inside a GWT project... > > > > I don't know maybe the thing I'm trying to do can't be done in GWT > > > > hosted mode... > > > > > On 30 Gen, 21:48, Cristian Nicanor Babula > > > > wrote: > > > > > You want your application to run on appengine? If not, please make > > sure > > > > > to disable appengine integration for your project. > > > > > > On 1/30/2010 8:16 PM, Jeff Schnitzer wrote: > > > > > > > You should try the AppEngine mailing list. Your problem is > > unrelated > > > > to GWT. > > > > > > > Jeff > > > > > > > On Sat, Jan 30, 2010 at 8:14 AM, loucat wrote: > > > > > > >> Hi everybody! > > > > > > >> I'm trying to send a mail through an RPC call. > > > > > >> The server method uses Java mail api. > > > > > >> I used tha same method in different project and I'm able to send > > the > > > > > >> email both using Junit or Tomcat... but when I use it in my GWT > > > > > >> project, even if the RPC call gives the result "onSuccess", I have > > > > > >> this exception: > > > > > > >> -- > > > > > >> Loading META-INF/javamail.providers from jar:file:/C:/documenti/ > > > > > >> workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0- > > > > > >> sdk-1.2.6.jar!/META-INF/javamail.providers > > > > > >> DEBUG: loading new provider protocol=gm, > > > > > >> className=com.google.appengine.api.mail.stdimpl.GMTransport, > > > > > >> vendor=null, version=null > > > > > >> javax.mail.NoSuchProviderException: Unable to locate provider for > > > > > >> protocol: smtp > > > - > > > > > > >> I'm using GWT 1.7.1 without the AppEngine... > > > > > > >> do I have to include something or fix something? > > > > > >> Thanks... > > > > > > >> -- > > > > > >> You received this message because you are subscribed to the Google > > > > Groups "Google Web Toolkit" group. > > > > > >> To post to this group, send email to > > > > google-web-tool...@googlegroups.com. > > > > > >> To unsubscribe from this group, send email to > > > > google-web-toolkit+unsubscr...@googlegroups.com > > > > > > > . > > > > > >> For more options, visit this group athttp:// > > > > groups.google.com/group/google-web-toolkit?hl=en. > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "Google Web Toolkit" group. > > > > To post to this group, send email to > > google-web-tool...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > google-web-toolkit+unsubscr...@googlegroups.com > > > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and java mail api
I think this is not GWT related topic (wrong group), but to try to help you if doesn't find the library is because you don't have them in classpath... check these items: - Remove all Google AppEngine related jars - If you use Java SE 6 then you only have to download http://java.sun.com/products/javamail/downloads/index.html and include the necessary jars (see the README) (if you use Maven: http://download.java.net/maven/2/javax/mail/mail/ ) - If you don't use Java SE 6 you also need http://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloads/index.html On Tue, Feb 2, 2010 at 6:04 AM, loucat wrote: > I removed it from the classpath but I couldn't use java mail api (it > didn't find the library), now I'm ever more confused :( > I've tried to use again the Google App Engine but now it says it's > impossible > > On 31 Gen, 12:34, jocke eriksson wrote: > > Remove appengine-api-1.0-sdk-1.2.6.jar from class path if you do not use > it. > > > > 2010/1/31 loucat > > > > > Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I > > > don't want to use it... > > > So I don't know if this is the right place to ask help but my mail > > > method works outside GWT and doesn't work inside a GWT project... > > > I don't know maybe the thing I'm trying to do can't be done in GWT > > > hosted mode... > > > > > On 30 Gen, 21:48, Cristian Nicanor Babula > > > wrote: > > > > You want your application to run on appengine? If not, please make > sure > > > > to disable appengine integration for your project. > > > > > > On 1/30/2010 8:16 PM, Jeff Schnitzer wrote: > > > > > > > You should try the AppEngine mailing list. Your problem is > unrelated > > > to GWT. > > > > > > > Jeff > > > > > > > On Sat, Jan 30, 2010 at 8:14 AM, loucat wrote: > > > > > > >> Hi everybody! > > > > > > >> I'm trying to send a mail through an RPC call. > > > > >> The server method uses Java mail api. > > > > >> I used tha same method in different project and I'm able to send > the > > > > >> email both using Junit or Tomcat... but when I use it in my GWT > > > > >> project, even if the RPC call gives the result "onSuccess", I have > > > > >> this exception: > > > > > > >> -- > > > > >> Loading META-INF/javamail.providers from jar:file:/C:/documenti/ > > > > >> workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0- > > > > >> sdk-1.2.6.jar!/META-INF/javamail.providers > > > > >> DEBUG: loading new provider protocol=gm, > > > > >> className=com.google.appengine.api.mail.stdimpl.GMTransport, > > > > >> vendor=null, version=null > > > > >> javax.mail.NoSuchProviderException: Unable to locate provider for > > > > >> protocol: smtp > > > > > > - > > > > > > >> I'm using GWT 1.7.1 without the AppEngine... > > > > > > >> do I have to include something or fix something? > > > > >> Thanks... > > > > > > >> -- > > > > >> You received this message because you are subscribed to the Google > > > Groups "Google Web Toolkit" group. > > > > >> To post to this group, send email to > > > google-web-tool...@googlegroups.com. > > > > >> To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com > > > > > > . > > > > >> For more options, visit this group athttp:// > > > groups.google.com/group/google-web-toolkit?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to > google-web-tool...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com > > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and java mail api
I removed it from the classpath but I couldn't use java mail api (it didn't find the library), now I'm ever more confused :( I've tried to use again the Google App Engine but now it says it's impossible On 31 Gen, 12:34, jocke eriksson wrote: > Remove appengine-api-1.0-sdk-1.2.6.jar from class path if you do not use it. > > 2010/1/31 loucat > > > Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I > > don't want to use it... > > So I don't know if this is the right place to ask help but my mail > > method works outside GWT and doesn't work inside a GWT project... > > I don't know maybe the thing I'm trying to do can't be done in GWT > > hosted mode... > > > On 30 Gen, 21:48, Cristian Nicanor Babula > > wrote: > > > You want your application to run on appengine? If not, please make sure > > > to disable appengine integration for your project. > > > > On 1/30/2010 8:16 PM, Jeff Schnitzer wrote: > > > > > You should try the AppEngine mailing list. Your problem is unrelated > > to GWT. > > > > > Jeff > > > > > On Sat, Jan 30, 2010 at 8:14 AM, loucat wrote: > > > > >> Hi everybody! > > > > >> I'm trying to send a mail through an RPC call. > > > >> The server method uses Java mail api. > > > >> I used tha same method in different project and I'm able to send the > > > >> email both using Junit or Tomcat... but when I use it in my GWT > > > >> project, even if the RPC call gives the result "onSuccess", I have > > > >> this exception: > > > > >> -- > > > >> Loading META-INF/javamail.providers from jar:file:/C:/documenti/ > > > >> workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0- > > > >> sdk-1.2.6.jar!/META-INF/javamail.providers > > > >> DEBUG: loading new provider protocol=gm, > > > >> className=com.google.appengine.api.mail.stdimpl.GMTransport, > > > >> vendor=null, version=null > > > >> javax.mail.NoSuchProviderException: Unable to locate provider for > > > >> protocol: smtp > > > - > > > > >> I'm using GWT 1.7.1 without the AppEngine... > > > > >> do I have to include something or fix something? > > > >> Thanks... > > > > >> -- > > > >> You received this message because you are subscribed to the Google > > Groups "Google Web Toolkit" group. > > > >> To post to this group, send email to > > google-web-tool...@googlegroups.com. > > > >> To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com > > . > > > >> For more options, visit this group athttp:// > > groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and java mail api
Remove appengine-api-1.0-sdk-1.2.6.jar from class path if you do not use it. 2010/1/31 loucat > Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I > don't want to use it... > So I don't know if this is the right place to ask help but my mail > method works outside GWT and doesn't work inside a GWT project... > I don't know maybe the thing I'm trying to do can't be done in GWT > hosted mode... > > > On 30 Gen, 21:48, Cristian Nicanor Babula > wrote: > > You want your application to run on appengine? If not, please make sure > > to disable appengine integration for your project. > > > > On 1/30/2010 8:16 PM, Jeff Schnitzer wrote: > > > > > You should try the AppEngine mailing list. Your problem is unrelated > to GWT. > > > > > Jeff > > > > > On Sat, Jan 30, 2010 at 8:14 AM, loucat wrote: > > > > >> Hi everybody! > > > > >> I'm trying to send a mail through an RPC call. > > >> The server method uses Java mail api. > > >> I used tha same method in different project and I'm able to send the > > >> email both using Junit or Tomcat... but when I use it in my GWT > > >> project, even if the RPC call gives the result "onSuccess", I have > > >> this exception: > > > > >> -- > > >> Loading META-INF/javamail.providers from jar:file:/C:/documenti/ > > >> workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0- > > >> sdk-1.2.6.jar!/META-INF/javamail.providers > > >> DEBUG: loading new provider protocol=gm, > > >> className=com.google.appengine.api.mail.stdimpl.GMTransport, > > >> vendor=null, version=null > > >> javax.mail.NoSuchProviderException: Unable to locate provider for > > >> protocol: smtp > > >> > - > > > > >> I'm using GWT 1.7.1 without the AppEngine... > > > > >> do I have to include something or fix something? > > >> Thanks... > > > > >> -- > > >> You received this message because you are subscribed to the Google > Groups "Google Web Toolkit" group. > > >> To post to this group, send email to > google-web-tool...@googlegroups.com. > > >> To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > > >> For more options, visit this group athttp:// > groups.google.com/group/google-web-toolkit?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and java mail api
Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I don't want to use it... So I don't know if this is the right place to ask help but my mail method works outside GWT and doesn't work inside a GWT project... I don't know maybe the thing I'm trying to do can't be done in GWT hosted mode... On 30 Gen, 21:48, Cristian Nicanor Babula wrote: > You want your application to run on appengine? If not, please make sure > to disable appengine integration for your project. > > On 1/30/2010 8:16 PM, Jeff Schnitzer wrote: > > > You should try the AppEngine mailing list. Your problem is unrelated to > > GWT. > > > Jeff > > > On Sat, Jan 30, 2010 at 8:14 AM, loucat wrote: > > >> Hi everybody! > > >> I'm trying to send a mail through an RPC call. > >> The server method uses Java mail api. > >> I used tha same method in different project and I'm able to send the > >> email both using Junit or Tomcat... but when I use it in my GWT > >> project, even if the RPC call gives the result "onSuccess", I have > >> this exception: > > >> -- > >> Loading META-INF/javamail.providers from jar:file:/C:/documenti/ > >> workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0- > >> sdk-1.2.6.jar!/META-INF/javamail.providers > >> DEBUG: loading new provider protocol=gm, > >> className=com.google.appengine.api.mail.stdimpl.GMTransport, > >> vendor=null, version=null > >> javax.mail.NoSuchProviderException: Unable to locate provider for > >> protocol: smtp > >> - > > >> I'm using GWT 1.7.1 without the AppEngine... > > >> do I have to include something or fix something? > >> Thanks... > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Google Web Toolkit" group. > >> To post to this group, send email to google-web-tool...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> google-web-toolkit+unsubscr...@googlegroups.com. > >> For more options, visit this group > >> athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and java mail api
You want your application to run on appengine? If not, please make sure to disable appengine integration for your project. On 1/30/2010 8:16 PM, Jeff Schnitzer wrote: You should try the AppEngine mailing list. Your problem is unrelated to GWT. Jeff On Sat, Jan 30, 2010 at 8:14 AM, loucat wrote: Hi everybody! I'm trying to send a mail through an RPC call. The server method uses Java mail api. I used tha same method in different project and I'm able to send the email both using Junit or Tomcat... but when I use it in my GWT project, even if the RPC call gives the result "onSuccess", I have this exception: -- Loading META-INF/javamail.providers from jar:file:/C:/documenti/ workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0- sdk-1.2.6.jar!/META-INF/javamail.providers DEBUG: loading new provider protocol=gm, className=com.google.appengine.api.mail.stdimpl.GMTransport, vendor=null, version=null javax.mail.NoSuchProviderException: Unable to locate provider for protocol: smtp - I'm using GWT 1.7.1 without the AppEngine... do I have to include something or fix something? Thanks... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and java mail api
You should try the AppEngine mailing list. Your problem is unrelated to GWT. Jeff On Sat, Jan 30, 2010 at 8:14 AM, loucat wrote: > Hi everybody! > > I'm trying to send a mail through an RPC call. > The server method uses Java mail api. > I used tha same method in different project and I'm able to send the > email both using Junit or Tomcat... but when I use it in my GWT > project, even if the RPC call gives the result "onSuccess", I have > this exception: > > -- > Loading META-INF/javamail.providers from jar:file:/C:/documenti/ > workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0- > sdk-1.2.6.jar!/META-INF/javamail.providers > DEBUG: loading new provider protocol=gm, > className=com.google.appengine.api.mail.stdimpl.GMTransport, > vendor=null, version=null > javax.mail.NoSuchProviderException: Unable to locate provider for > protocol: smtp > - > > I'm using GWT 1.7.1 without the AppEngine... > > do I have to include something or fix something? > Thanks... > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.