• 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
WOHost and JavaClient
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOHost and JavaClient


  • Subject: WOHost and JavaClient
  • From: David Avendasora <email@hidden>
  • Date: Wed, 15 Oct 2008 09:57:35 -0400

Hi all,

This is one for the record, just incase future-self or other Java Client developers (ha, ha, I know) run into this problem.

If you define the -WOHost launch parameter in WOLips, your client application will not be able to connect to the server.

If you try to launch using the Client Launch Script, the client will begin to open, but then simply die with no explanation or error in the console.

If you launch it using WebStart, then you will get the following exception reported by Java WebStart:

com.webobjects.foundation.NSForwardException for java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.<init>(Socket.java:367)
at java.net.Socket.<init>(Socket.java:209)
at com.webobjects.foundation.NSSocketUtilities $SocketThread.run(NSSocketUtilities.java:190)


If you simply remove -WOHost from the list of WO launch parameters or simply uncheck it, then the client application will launch either way without problem.

Dave
_______________________________________________
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


  • Prev by Date: Re: NSCoding
  • Next by Date: Re: ZHTML WebObject problem
  • Previous by thread: Re: ZHTML WebObject problem
  • Next by thread: Converting my App to Wonder
  • Index(es):
    • Date
    • Thread