Mail Plugin Error

I’m having an issue with the mail plugin. Everything had been working fine up until we moved over to 6.

When running through my dev client I can send an email without any issues, however when running from the server it has stopped working.

This is the message that it returns…

“RemoteException occured in server thread; nested exception is:
java.rmi.UnmarshalException: unrecognized method hash: method not supported by remote object; unrecognized method hash: method not supported by remote object”

I have tried looking through the code but since everything works on my debug client I can’t track down what is going on. Looking through the logs I didn’t see anything but I wasn’t exactly sure where to start my search.

Thanks,
Bryant

You should have a stackTrace of that exception in your servoy_log.txt file, shouldn’t you?

Yes I had looked at the log but I must not have scrolled all the way down because I now see the exception. Here is what is says…

2011-10-03 16:07:49,981 ERROR [RMI TCP Connection(1)-129.102.6.68] com.servoy.j2db.util.Debug - SMTPSend Exception reading response
javax.mail.MessagingException: Exception reading response;
  nested exception is:
	java.net.SocketTimeoutException: Read timed out
	at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2153)
	at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:1186)
	at javax.mail.Transport.send0(Transport.java:197)
	at javax.mail.Transport.send(Transport.java:124)
	at com.servoy.extensions.plugins.mail.MailServer.sendMail(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(Unknown Source)
	at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:110)
	at java.io.BufferedInputStream.fill(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:89)
	at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2131)
	... 18 more