This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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.

    Bookmark Topic Watch Topic
  • New Topic