• Post Reply Bookmark Topic Watch Topic
  • New Topic

conflict between weblogic 5.1 ejb and welogic 6.0 ejb  RSS feed

 
amitagrawal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • 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)
 
George Brown
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!