• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

J2ee application client not working!!!!

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In out project we are planning to use j2ee application client because of the advantages it has.We are using a thick java client which communicates to the websphere server using rmi/iiop.
I tried using the J2ee application client using the samples provided byt IBM.(was 5.0).From the machine in which websphere is installed launchclient.bat works fine.But from a remote machine it is not working.
what could be the reason?
somebody please help me...
Regards,
kiran.
 
author
Posts: 3902
10
Redhat Quarkus Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds to me like you're probably not providing a provider URL of the remote box for your JNDI lookups...
The default is "localhost:900" but if WebSphere is NOT running on the local host then it obviously won't be able to connect to it there...
Kyle
 
Kiran Kumar P
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for ur reply Kyle..
In the setupclient.bat which is called by launchclient.bat,i have given the target machine name where websphere is running..
The example i tried is the one which comes with j2ee application client 5.0.When i ran launchclient.bat this is the exception i got...
--------------------------------------------------
The server may not be setup correctly.
com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.Root exception is javax.naming.CommunicationException: A communication failure occurred while attempting to obtain an initial context using the provider url: "corbaloc:iiop:10.236.183.120:2809". Make sure that the host and port information is c
orrect 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 configuration. Root exception is org.omg.CORBA.COMM_FAILURE: WRITE_ERROR_SEND_1 minor
code: 49421050 completed: No at com.ibm.ws.orbimpl.transport.HTTPOutputStream.write(HTTPOutputStream.java:162) at com.ibm.rmi.iiop.IIOPOutputStream.writeTo(IIOPOutputStream.java:282)
--------------------------------------------------
Websphere 5.0 application server is running on the target machine..
Thanx and Regards,
Kiran.
 
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic