Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Connection Failure issue with AdviceBean Chapter 1

Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am facing an issue while running I have used source code from head first website and followed the deployment steps line by line in chapter 1. The issue is I recieve the following error:

WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: localhost; port: 3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at Source)
at Source)
at<init>(Unknown Source)
at<init>(Unknown Source)
at Source)
at Source)
at Source)
at Source)
at org.omg.CORBA.portable.ObjectImpl._is_a(
at org.omg.CosNaming.NamingContextHelper.narrow(
at com.sun.enterprise.naming.SerialContext.narrowProvider(
at com.sun.enterprise.naming.SerialContext.getProvider(
at com.sun.enterprise.naming.SerialContext.lookup(
at javax.naming.InitialContext.lookup(
at AdviceClient.go(
at AdviceClient.main(
Caused by: java.lang.RuntimeException: Connection refused
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(
... 14 more
Caused by: Connection refused
at Method)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(
... 14 more

I think there is some port number issue for iiop. It says 3700. But j2ee is running on 1050. Is this port number issue or am I messing up something in my code? First chapter has really taken a toll on me......Looking forward to some help.

Not looking good. I think this might be the end. Wait! Is that a tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic