The moose likes BEA/Weblogic and the fly likes conflict between weblogic 5.1 ejb and welogic 6.0 ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "conflict between weblogic 5.1 ejb and welogic 6.0 ejb" Watch "conflict between weblogic 5.1 ejb and welogic 6.0 ejb" New topic
Author

conflict between weblogic 5.1 ejb and welogic 6.0 ejb

amitagrawal
Greenhorn

Joined: Sep 07, 2001
Posts: 1
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
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1825

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)
George Brown
Ranch Hand

Joined: Sep 26, 2000
Posts: 919
"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
 
 
subject: conflict between weblogic 5.1 ejb and welogic 6.0 ejb
 
Threads others viewed
Entity Bean's Local interface with weblogic 6.0
Local and LocalHome
which jar file for classpath ?
How to make clsuter Ware EJB in weblogic 6.0
Here is the complete JBoss Config. for EJB
developer file tools