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

conflict between weblogic 5.1 ejb and welogic 6.0 ejb

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ..
i have two weblogic servers insatalled on two differnet machines.i have deploye some ejb on weblogic 5.1 and some ejb on
weblogic 6.0. i want to use both ejb from some third machine using client program. for that i need to have put the weblogic.jar file on third machine.my problem is which weblogic.jar is put in classpath of my third machine , i mean weblogic.jar of 6.0 or 5.1;whether i can use both??
please help me out
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


my problem is which weblogic.jar is put in classpath of my third machine , i mean weblogic.jar of 6.0 or 5.1;whether i can use both??


I think you have a serious problem here.
You will be able to put only one of the files in the classpath. Even if you put both in the classpath only the first file will be referenced. My reasoning is that both contain files with a similar package structure and the file that you put first will be accessed and not the later file.
The only solution is to just go ahead and try putting the 6.0 version in the classpath and see if everything goes well.
But the jar file for 6.0 may not be backward compatible (dont know for sure) so there may be a chance that you application will crash some day on one particular operation.

------------------

Mahindrakar
IBM Application Server & Developer Forum Moderator

Consultant - Zensar Technologies ,Pune India.
SCJP2, SCJD2 & SCJEA (Part I)
 
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"amitagrawal",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks,
George
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic