• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Sample application client error

Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When i tried to run a sample application client that comes with websphere application server 5.0 application client, i got the following exception:
Running BasicCalculatorClient from the TechnologySamples.ear
file with parameters: add 1 2
IBM WebSphere Application Server, Release 5.0
J2EE Application Client Tool
Copyright IBM Corp., 1997-2002
WSCL0012I: Processing command line arguments.
WSCL0013I: Initializing the J2EE Application Client Environment.
WSCL0035I: Initialization of the J2EE Application Client Environment has complet
WSCL0014I: Invoking the Application Client class com.ibm.websphere.samples.techn
--Creating InitialContext... Done.
--Looking-up Home... Unable to initialize the BasicCalculatorClient object.
The server may not be setup correctly.
com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred wh
ile the JNDI NamingManager was processing a javax.naming.Reference object. Root
exception is javax.naming.ServiceUnavailableException: A communication failure
occurred while attempting to obtain an initial context using the provider url: "
corbaloc:iiop:". Make sure that the host and port information
is correct and that the server identified by the provider url is a running name
server. If no port number is specified, the default port number 2809 is used.
Other possible causes include the network environment or workstation network con
figuration. Root exception is org.omg.CORBA.INTERNAL: In TransportBase.getHostI
PAddress, InetAddress.getByName(tdl06c06.cts.com) threw an UnknownHostException
minor code: 4942F5B6 completed: Maybe
at com.ibm.CORBA.transport.TransportBase.getHostIPAddress(TransportBase.
It worked fine when i tried it from a machine which has websphere 5 server installed...but when i tried it from a different machine it threw this exception.can somebody help me??
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic