Welcome to the latest addition to our newsletter the Hotline Question of the Month. Every month, our product specialists will answer your questions in this new feature column. Send your hotline question to: support@mrc-productivity.com!
Question: I tried to create a PDF report, but I got an error message. What should I do?
Answer:The error message
Bad mojo:java.net.UnknownHostException:localhost sounds confusing, but actually points to some missing values in your TCP/IP configuration. To correct this, we need to review the default TCP/IP settings.
First, go to "Configure TCP/IP" menu by typing CFGTCP on command line. From there, we'll first choose option one, "Work with TCP/IP interfaces." Make sure you have a line with the description "LOOPBACK" that looks like this:
Internet Subnet Line Line
Address Mask Description Type
127.0.0.1 255.0.0.0 *LOOPBACK *NONE
Now, return to the Configure TCP/IP menu and selection option ten, "Work with TCP/IP host table entries." Make sure you have a LOOPBACK host name entry like this one:
Internet Host
Address Name
127.0.0.1 LOOPBACK
LOCALHOST
After making these changes, just recompile your application and your PDF report will be created.
Have a hotline question of your own? Send an e-mail to support@mrc-productivity.com and let our product specialists help you!