• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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: 3892
5
  • 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.
 
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic