jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes ejb.jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb.jar file" Watch "ejb.jar file" New topic

ejb.jar file

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 614
what are the possible reasons that the ejbc compiler is not able to find one of the bean class...
i am getting an error where it says that

weblogic.xml.process.xmlprocessingexception could not locate bean with ejb name "PersistentManager" in ejb-jar.xml file..
thanks in advance.
Mahesh Kulkarni
Ranch Hand

Joined: Jul 05, 2001
Posts: 62
Hi Trupti,
Check the ejb.jar file for proper name of the home,remote,bean classes.I they are ok while deploying you need to give the password while deploying the bean on WEBLOGIC 5.1. At command prompt you have to pass coomend as follows.
(Before passing the command please run the weblogic/setenv file.Make sure that you have set environment variables in setenv file)
java weblogic.deploy deploy weblogic anyname fullpathofyour deployable jar file(for eg:c:\weblogic\myserver\deployable jar file).
anyname=anyname you can give for your deployment.
weblogic=password on my m/c(check it in properties file of weblogic).
I hope this will solve your problem.
You can also write directly in properties file of weblogic installation.This looks something like as follows.
weblogic.ejb.deploy = \
I agree. Here's the link: http://aspose.com/file-tools
subject: ejb.jar file
It's not a secret anymore!