Meaningless Drivel is fun!
The moose likes BEA/Weblogic and the fly likes war can't find local ejb  - Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "war can Watch "war can New topic

war can't find local ejb -

Max Tomlinson
Ranch Hand

Joined: Jul 17, 2001
Posts: 365

Can someone please set me straight re: local ejbs and Weblogic? In particular ejb-links:

I�m getting the following error when I try to start my server:

[weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'epaymentEJB/weblogic-epaymentEJB.jar#EpaymentEJB' declared in the ejb-ref or ejb-local-ref 'EpaymentEJB' in the application module 'weblogic-brazil.war' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct.]


<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN' ''>


<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "">



In my wls server, the ejb is deployed successfully in:


I�m building with ant, deploying the war and ejb in my config.xml (not an ear)

Many thanks!
I agree. Here's the link:
subject: war can't find local ejb -
It's not a secret anymore!