Probably it is just my ignorance. I startet JBmail and tried the mxLookup() 
method in the jboss.mail:name=SMTPSender,type=MailServices MBean with a domain 
that I can lookup from command line via 'nslookup do.main mx'.

The result is 
Caused by: java.lang.RuntimeException: Could not resolve DNS lookup
  |         at 
org.jboss.mail.smtp.sender.SMTPSender.performMXLookup(SMTPSender.java
  | :170)
  |         at 
org.jboss.mail.smtp.sender.SMTPSender.mxLookup(SMTPSender.java:123)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:324)
  |         at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  |         ... 44 more
  | Caused by: java.net.SocketTimeoutException: Receive timed out
  |         at java.net.PlainDatagramSocketImpl.receive(Native Method)
  |         at java.net.DatagramSocket.receive(DatagramSocket.java:711)
  |         at org.xbill.DNS.SimpleResolver.readUDP(SimpleResolver.java:126)
  |         at org.xbill.DNS.SimpleResolver.send(SimpleResolver.java:261)
  |         at 
org.xbill.DNS.ExtendedResolver$Resolution.start(ExtendedResolver.java
  | :83)
  |         at org.xbill.DNS.ExtendedResolver.send(ExtendedResolver.java:345)
  |         at 
org.jboss.mail.smtp.sender.SMTPSender.performMXLookup(SMTPSender.java
  | :168)

When writing "using the default route .." you mean that you add the 
ip-default-gateway as dns server? From past experience this is very often not 
true in professional environements.

  Heiko



P.S.: In the installer at the point to choose the jboss -config could read the 
directory JBHome/server/ and display the found configurations in a drop down 
list. This reduces the possibility of typos.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860343#3860343

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860343


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to