• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: wotaskd fails with java.net.UnknownHostException
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wotaskd fails with java.net.UnknownHostException


  • Subject: Re: wotaskd fails with java.net.UnknownHostException
  • From: Chuck Hill <email@hidden>
  • Date: Sat, 09 Apr 2011 10:05:58 -0700

Adding -DWOHost=localhost (or the cannonical name of that machine) to the launch args.

Chuck


On Apr 9, 2011, at 12:39 AM, Gennady Kushnir wrote:

> Hello list.
> I was asked to help setting up deployment on Linux system. It is not
> my first linux deployment, so I do know main steps and some possible
> errors. But this time it is something new for me.
> I can not even start wotaskd. When running from terminal it fails with
>
> [2011-4-9 10:46:41 MSD] <main> A fatal exception occurred:
> <WOApplication>: Cannot be initialized.
> [2011-4-9 10:46:41 MSD] <main>
> com.webobjects.foundation.NSForwardException
> [java.lang.reflect.InvocationTargetException] null:<WOApplication>:
> Cannot be initialized.
> 	at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:918)
> 	at Application.<init>(Application.java:112)
> .........
> Caused by: java.lang.reflect.InvocationTargetException
> .........
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 	at com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:614)
> 	at com.webobjects.appserver.WOApplication.adaptorWithName(WOApplication.java:1316)
> 	at com.webobjects.appserver.WOApplication._initAdaptors(WOApplication.java:1386)
> 	at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:802)
> .........
> Caused by: java.net.UnknownHostException: NET-DIST.school19.xeno.ru:
> NET-DIST.school19.xeno.ru
> 	at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
> 	at com.webobjects.appserver._private.WOClassicAdaptor.<init>(WOClassicAdaptor.java:93)
> 	... 23 more
>
> I have explored all WO configuration files I could remember , but I
> did not find aforementioned hostname there.
> Where did wotaskd get that hostname? Why does it need one? And is it
> possible to override in somewhere?
>
> Gennady Kushnir
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: wotaskd fails with java.net.UnknownHostException
      • From: Gennady Kushnir <email@hidden>
References: 
 >wotaskd fails with java.net.UnknownHostException (From: Gennady Kushnir <email@hidden>)

  • Prev by Date: wotaskd fails with java.net.UnknownHostException
  • Next by Date: responseForComponentWithName() and session
  • Previous by thread: wotaskd fails with java.net.UnknownHostException
  • Next by thread: Re: wotaskd fails with java.net.UnknownHostException
  • Index(es):
    • Date
    • Thread