I am learning EJB and in the first step of deployment i am facing problems . I am working on weblogic 5.1. I have a simple EJB that does some simple calculation.
I have placed the Bean class,home interface and remote interface in a package called "demobean".
Then i created a temp folder called "EJB1" where i placed the demobean directory. I also created the META-INF folder containing the ejb-jar & weblogic-ejb-jar. xml files.
I create the jar using "jar cf currency.jar demobean META-INF" .So "currency.jar" is my final jar.
I then open the currency.jar file in the deploytool. It does the first stage processing, but when i attempt to generate the container classes , the deploytool utility stops responding.
I am running weblogic on 64 MB Ram system. Has my problem got to do with the less Ram ? On the same m/c my collegue was able to deploy a EJB however.
Also can any one suggest me an alternate way to generate the container classes.
Thanx ,
Rajesh
-
EJB Deployment problem (5 messages)
- Posted by: Rajesh Hegde
- Posted on: December 19 2000 20:18 EST
Threaded Messages (5)
- EJB Deployment problem by amol anvekar on December 20 2000 05:53 EST
- EJB Deployment problem by Lalitha Sundaram on December 23 2000 18:26 EST
- EJB Deployment problem by Ramakrishna Srinivasan on December 25 2000 06:18 EST
- EJB Deployment problem by Lalitha Sundaram on December 23 2000 18:26 EST
- Ejb deployment by sarath chand on June 23 2004 04:46 EDT
- Ejb deployment by Amit L on June 23 2004 06:01 EDT
-
EJB Deployment problem[ Go to top ]
- Posted by: amol anvekar
- Posted on: December 20 2000 05:53 EST
- in response to Rajesh Hegde
try generating the container classes using ejbc from the command prompt, which comes along with weblogic. -
EJB Deployment problem[ Go to top ]
- Posted by: Lalitha Sundaram
- Posted on: December 23 2000 18:26 EST
- in response to amol anvekar
do u get any error in the console of ejbdeployer?
-
EJB Deployment problem[ Go to top ]
- Posted by: Ramakrishna Srinivasan
- Posted on: December 25 2000 06:18 EST
- in response to Lalitha Sundaram
META-INF should be in the Root directory..
Supposing c:/xxx/bean contains your bean classes then
META-INF should be at c:/xxx.
The jar command should be ...
jar cv0f bean/*.class META-INF. -
Ejb deployment[ Go to top ]
- Posted by: sarath chand
- Posted on: June 23 2004 04:46 EDT
- in response to Rajesh Hegde
I am learning EJB i don't know how to deploy the bean.somebody help me.i am using tomcat server.is it possible with it. -
Ejb deployment[ Go to top ]
- Posted by: Amit L
- Posted on: June 23 2004 06:01 EDT
- in response to sarath chand
I am learning EJB i don't know how to deploy the bean.somebody help me.i am using tomcat server.is it possible with it.
Hello,
You can not deploy an EJB on Tomcat server. For deploying EJB u need a application server like weblogic,Websphere,JBoss etc. Tomcat is a servlet container (web server). Please check the tomcat site as well , you will come to know about the tomcat server.
Thanks
Amit