• 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
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Problem generating _iiopClient.jar

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an application where an EJB exposes its remote interface to the web application. The web application can ONLY call this EJB from the ejb application, no other. All other EJBs are accessed locally from this EJB (Business Delegate pattern).

The problem is that normal Java casting fails for the home object returned by the JNDI context lookup. So I am using PortableRemoteObject.narrow() and it predictably fails with the message that _iiopClient.jar is required on the classpath.

So, on OEM, I enabled IIOP for the target server instance by checking all three following options:

Generate IIOP Client Stubs when Compiling EJBs
IIOP Wrapper Code Debug Mode
Keep Generated IIOP Source Code

Now I am deploying the application, but the iiopClient.jar is nowhere to be seen. Please tell me what I am doing wrong; or what alternatives do I have to get this application working.

I am using Oracle AS 10.1.3

TIA.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

Make sure before deploying that in your deployment plan the flag is on. Otherwise all you'll end up with is a number of _iiopClient.jar in the module folders (for each ejb-module) within application-deployments folder.

RB
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic