This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Deployment problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Deployment problem" Watch "Deployment problem" New topic
Author

Deployment problem

srinivas ramanujam
Greenhorn

Joined: Mar 31, 2003
Posts: 4
Hi,
I have HelloWorld stateless session example with Hello, HelloHome, HelloBean and HelloClient classes.
I have written and compiled the above classes and placed in the follwing directory structure
My directory structure is
HelloWorld
classes
META-INF
*.classes
Then using following command I created a temp jar
jar cf tmp.jar *
and then final jar using
java weblogic.ejbc -keepgenerated tmp.jar HelloWorld.jar
Now where shall I place this final HelloWorld.jar in the Weblogic server.
I have Weblogic server 7.0. and what else I have to do to run this example(Am I CORRECT upto this)
PLEASE do not give me a link to BEA documentation site.
Thanks and Regards
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2771
    
  10

Usually, you will go into the WebLogic console, and click on EJB under Deployments. Choose Install a new EJB, and browse for your jar file. On the other hand, in certain cases, you can autodeploy the jar by putting it into the applications subdirectory of your domain.
srinivas ramanujam
Greenhorn

Joined: Mar 31, 2003
Posts: 4
Thanks Greg!
 
Consider Paul's rocket mass heater.
 
subject: Deployment problem
 
Similar Threads
Here is the complete JBoss Config. for EJB
ant file not running
packaging up Swing application into Jar file for distribution
Jar file in jar file
Manifest/.jar Trouble