• 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
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

How to configure client to run ejb

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am wroking with weblogic 5.0
I could build and deploy beans in the server.
now I am running the client but giving the following error.
javax.naming.CommunicationException: Can't find SerialContextProvider
at com.sun.enterprise.naming.SerialContext.getProvider(../../src/share/com/sun/enterprise/naming/SerialContext.java:65)
at com.sun.enterprise.naming.SerialContext.lookup(../../src/share/com/sun/enterprise/naming/SerialContext.java:134)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at HelloClient.main(HelloClient.java:14)
(I could do it with j2ee. In case of J2ee it creates client.jar thru deploy tool what would be in case of welogic 5.0)
1. Do I need to configure any thing else to run the client.
2.How to compile the client file and configure?
3. shall I have to set any classpath

Thanking u in advance
Saradhi
[ February 22, 2002: Message edited by: pardha saradhi ]
[ February 22, 2002: Message edited by: pardha saradhi ]
[ February 22, 2002: Message edited by: pardha saradhi ]
[ February 22, 2002: Message edited by: pardha saradhi ]
 
pardha saradhi
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help needed
Thanking youe
Saradhi
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's move this to the WebLogic forum.
 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am getting communication exception in the lookup methods as given below:
ng Exception is occured: javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed: 'Incompatible version:Incompatible versions - this server:6.1.0.0 client:5.1.0]]
I am using weblogic Server6.1 and the lookup method is as follows:
Hashtable ht= new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,"t3://localhost:7001");
jndiContext=new InitialContext(ht);
}catch(NamingException ne)
{
System.out.println("Naming Exception is occured: " + ne);
}
__________________________________________________
The Server be installed in my system only.
Please give solution for this.
Thanks in advance,
M.S.Raman
 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am getting communication exception in the lookup methods as given below:
Naming Exception is occured: Exception is occured: javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed: 'Incompatible version:Incompatible versions - this server:6.1.0.0 client:5.1.0]]
I am using weblogic Server6.1 and the lookup method is as follows:
Hashtable ht= new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,"t3://localhost:7001");
jndiContext=new InitialContext(ht);
}catch(NamingException ne)
{
System.out.println("Naming Exception is occured: " + ne);
}
__________________________________________________
The Server be installed in my system only.
Please give solution for this.
Thanks in advance,
M.S.Raman
 
Tomorrow is the first day of the new metric calendar. Comfort me tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic