[Javaemailserver-user] FW: JES and DNS
Brought to you by:
edaugherty,
mfg8876
|
From: <jav...@li...> - 2011-06-21 17:06:25
|
From: Ben...@su...
To: and...@ho...
Date: Wed, 18 May 2011 17:58:44 +1000
Subject: FW: JES and DNS
Hi andreas
Just forwardin this to yourself as well because I wasn’t shure if the mailing ,list was active yet.
Cheers
Ben
From: SULLIVAN, Ben
Sent: Wednesday, 18 May 2011 5:56 PM
To: 'jav...@li...'
Subject: JES and DNS
Hi guys
I need JES to run as a lightweight local email server that I can use to perform isolated acceptance testing. So the test emails are generated programmatically on the same machine as JES is running on (i.e. my development virtual machine
running on my dev workstation). So I don’t really need DNS. I am using the latest version of JES.
I am seeing the stack trace below because my VM hostname (WIN-JF8SCLDOHTG) is not setup by our corporate DNS. Is DNS mandatory now? It’s been a while since I used JES but I don’t remember having to worry about DNS before. I simply need
to be able to send test emails to JES and have my test subject suck these emails off the POP3 mailbox. The email generating software, JES and the test subject all run on the same machine – so DNS is really surplus to requirement for me.
If there’s no way around this, can anyone recommend some alternative POP3 implementations that might be more suitable for my needs?
Thanks
Ben
2011-05-18 17:26:13,035 - [main] Mail - JES Starting Up...
DNSJavaNameService: Unexpected error.
java.net.UnknownHostException: WIN-JF8SCLDOHTG
at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameSer
vice.java:147)
at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:9
7)
at $Proxy0.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressFromNameService(Unknown Source)
at java.net.InetAddress.getLocalHost(Unknown Source)
at javax.crypto.SunJCE_b.j(DashoA13*..)
at javax.crypto.SunJCE_b.d(DashoA13*..)
at javax.crypto.SunJCE_b.c(DashoA13*..)
at javax.crypto.SunJCE_b$1.run(DashoA13*..)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.SunJCE_b.<clinit>(DashoA13*..)
at javax.crypto.Cipher.getInstance(DashoA13*..)
at javax.crypto.SealedObject.unseal(DashoA13*..)
at javax.crypto.SealedObject.getObject(DashoA13*..)
at com.ericdaugherty.mail.server.configuration.ConfigurationManager.load
Passwords(ConfigurationManager.java:1502)
at com.ericdaugherty.mail.server.configuration.ConfigurationManager.load
Properties(ConfigurationManager.java:1468)
at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init
ialize(ConfigurationManager.java:475)
at com.ericdaugherty.mail.server.Mail.init(Mail.java:133)
at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:334)
at com.ericdaugherty.mail.server.Mail.main(Mail.java:461)
DNSJavaNameService: Unexpected error.
java.net.UnknownHostException: WIN-JF8SCLDOHTG
at org.xbill.DNS.spi.DNSJavaNameService.lookupAllHostAddr(DNSJavaNameSer
vice.java:147)
at org.xbill.DNS.spi.DNSJavaNameService.invoke(DNSJavaNameService.java:9
7)
at $Proxy0.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressFromNameService(Unknown Source)
at java.net.InetAddress.getLocalHost(Unknown Source)
at sun.security.provider.SeedGenerator$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.provider.SeedGenerator.getSystemEntropy(Unknown Source)
at sun.security.provider.SecureRandom.engineNextBytes(Unknown Source)
at java.security.SecureRandom.nextBytes(Unknown Source)
at java.security.SecureRandom.next(Unknown Source)
at java.util.Random.nextInt(Unknown Source)
at org.xbill.DNS.UDPClient$1.run(UDPClient.java:38)
at java.lang.Thread.run(Unknown Source)
2011-05-18 17:26:15,384 - [SMTP] ServiceListener - Could not create ServiceListe
ner on address: localhost port: 25
Exception in thread "SMTP" java.lang.RuntimeException: Address already in use: J
VM_Bind
at com.ericdaugherty.mail.server.services.general.ServiceListener.run(Se
rviceListener.java:178)
at java.lang.Thread.run(Unknown Source)
Ben Sullivan
Software Quality Engineer, Enterprise Applications
Suncorp Business Services
Level 30, Brisbane Square, Brisbane, Australia
Ext 52928
07 31352928
This e-mail is sent by Suncorp Group Limited ABN 66 145 290 124 or one of its related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended
recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments
from your system.
|