It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Getting Error:- Chapter 3 of EJB 3 in action using glassfish server 2.1
Error in connecting client application with EJB deployed in JBOSS
accessing glassfish EJB through external client
Question About Simple EJB Application..
Using stand alone client appication