Re: Unknown Host Exception
Re: Unknown Host Exception
- Subject: Re: Unknown Host Exception
- From: Chuck Hill <email@hidden>
- Date: Wed, 25 Jun 2003 22:50:15 -0700
Take a look at java.net.InetAddress
Chuck
At 02:53 AM 26/06/2003 +0000, Riaz Lalehzari wrote:
>Thanks Chuck, I found out it was a DNS problem.
>BUT I would like to know how to use java.net directly for debugging in the
>future to save time.
>
>Regards,
>Riaz
>
>"The earth is but one country and mankind its citizens" - Baha'i Faith
>
>---------------------------------------------------------------------------
----------------------------
>>From: Chuck Hill <email@hidden>
>>To: "Riaz Lalehzari" <email@hidden>,email@hidden
>>Subject: Re: Unknown Host Exception
>>Date: Wed, 25 Jun 2003 18:43:48 -0700
>>
>>Why not use java.net directly to see if you can figure out if it can or why
>>it can't see the host. This might just be a java / network issue with
>>nothing to do with WO. At least a straight Java test would prove it one
>>way or the other.
>>
>>
>>Chuck
>>
>>
>> >Hello All,
>> >
>> >At the moment I've run out of ideas for solving this. When I run my
>>program
>> >on the development computer, the e-mails work and I don't get any errors
>>but
>> >when I deploy it I get the error below. I've tried setting the mailhost
>>from
>> >Application.java, from JavaMonitor, from the method I send the e-mail,
>>and
>> >also the command line. The program is deployed on a different network but
>>we
>> >have always been using the same smtp host name without problems and I can
>> >even ping it from the deployment machine. I noticed this from when I
>> >upgraded to 5.2. Does 5.2 do anything differently with e-mails?
>> >
>> >Error:
>> >
>> ><com.webobjects.appserver._private.WOComponentRequestHandler>: Exception
>> >occurred while handling request:
>> >com.webobjects.foundation.NSForwardException
>>[java.net.UnknownHostException]
>> >mailhost
>> >
>> >Riaz
>> >
>> >_________________________________________________________________
>> >Hot chart ringtones and polyphonics. Go to
>>
>http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=174&refer
>>ral=Hotmail_taglines_plain&URL=http://ninemsn.com.au/mobilemania/default.asp
>> >_______________________________________________
>> >webobjects-dev mailing list | email@hidden
>> >Help/Unsubscribe/Archives:
>>http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>> >Do not post admin requests to the list. They will be ignored.
>> >
>>
>>--
>>
>>Chuck Hill email@hidden
>>Global Village Consulting Inc. http://www.global-village.net
>
>_________________________________________________________________
>Hot chart ringtones and polyphonics. Go to
>http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=174&refer
ral=Hotmail_taglines_plain&URL=http://ninemsn.com.au/mobilemania/default.asp
>
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.