• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling EJB 2.0 of websphere application server 6.1 from EJB 2.0 websphere application server 8.5

 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

In project there is requirement where we need to call EJB deployed on remote machine on WebSphere application server 6.1 from EJB application deployed on local machine on WebSphere application server 8.1.
Calling flow is as follow,


When calling remote EJB WAS 6.1 from WAS 8.5, call succeed & return to EJB WAS 8.1 with expected result, when flow came to the return statement of EJB WAS 8.1 InvocationTargetException is being thrown, stack trace is as follows,
when I commented call to remote EJB WAS 6.1 then it works fine, ever though in below stack trace there is no InvocationTargetException but it is thrown underneath.

I do not understand call to EJB WAS 6.1 is success but why throwing exception while returning from EJB WAS 8.5 to service locator?



Please help me to understand issue...Thanks in advance.
 
Dieter Quickfend
Bartender
Posts: 543
4
Java Netbeans IDE Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try turning on trace for both servers - I suspect it's either a resource issue or a security issue. are you passing parameters to the call, and if so, are they Serializable? Does your resource support two-phase commit? Are you using global security? if so, is "Transaction Service > Enable protocol security" turned off in the admin console?
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks Dieter for reply you are right it is a security issue. fix by doing bellow setting on admin console of servers.
we have been able to fix issue by unchecking checkbox of "Enable administrative security" from both server 6.1& 8.5.

Admin console --> Security tab(left menu) --> Global Security -->disable "Enable administrative security" check box from "Administrative security" section.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic