This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Client App socketType failure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Client App socketType failure" Watch "Client App socketType failure" New topic

Client App socketType failure

Kevin Cloutier

Joined: Jul 07, 2008
Posts: 4

I am attempting to create my first EJB3 client application and I am running into a strange issue. I run Glassfish on http://localhost:8080 with an admin at http:/localhost:4848 (the server is also accessible through with admin of but I am receiving a socketType failure error when running the client which references the internal IP address provided by my router.

Here is what I do:

This is the error (internal ip changed of course!) I was hoping this would be as simple as passing a "host" and "port" parameter when starting the app, but appclient doesn't seem to accept these. Any thoughts? Is the hostname just a "red herring"?

[ July 07, 2008: Message edited by: Kevin Cloutier ]
Kevin Cloutier

Joined: Jul 07, 2008
Posts: 4
OK, looks like I may have figured this error out. My interfaces were incorrect... will post back the solution when I know for sure...
I agree. Here's the link:
subject: Client App socketType failure
jQuery in Action, 3rd edition