aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes tried to run the weblogic server 5.1 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 » Java » EJB and other Java EE Technologies
Bookmark "tried to run the weblogic server 5.1" Watch "tried to run the weblogic server 5.1" New topic
Author

tried to run the weblogic server 5.1

milan doshi
Ranch Hand

Joined: Nov 03, 2000
Posts: 43
hello !
I am using j2sdkee1.2.1 for all classes used in EJB.. and get compiled the HomeInterface RemoteInterface and other classes.
firstly ,i make the jar file of all the classes and facing problem during my deployment through WEBLOGICSERVER 5.1
I am using EJB by Tom Valesky and not able to do a single example stuck at chapter 3 step 7(ie making jar) and step 8 (deployment of jar)cause they are explaining about WebLogicXpress server which i am unable to down load .
Can any body help me to do the example by using WEBlogic server 5.1 and j2sdkee1.2.1 on window 98 ...basically the deployment step along with classpath.
Thank you in advance
sandeep
ps:milan if you receive answer then forward to sandeepjam@hotmail.com
Venkat Ammisetty
Ranch Hand

Joined: Nov 25, 2000
Posts: 42
Hi
I am using WebLogic5.1 and Windows98.I hope these steps will help you.
Youhave created jar file Ok!
There exits 2 or 3 xml file(META-INF folder) in you weblogic server dependes on you bean Session or Entity.
(1) Get the copy of these files and change the calssfile names in side xml file according your example.
In file ejb-jar.xml
ex: <home>yourhomeclassfilename</home>
<bean>yourbeanclassfilename></bean> etc.,
(2)In weblogic-ejb-jar.xml give JDNI name,according your client program.
(3)use the command
ejbc jarfilename.jar -d d:\weblogic\myserver
(this command creates jar for weblogic and directs that to myserver subdirectory of weblogic.
(4)GO to server property file of your weblogic server which is avilable at utility folder of your weblogic server.
In that file goto deployer properties,mention your jar file name.
Save it.and
(5) start the server.

I hope you will do it.
Best of luck
Bye
Venkat

Venkat Ammisetty
Andrei Naouman
Greenhorn

Joined: Nov 30, 2000
Posts: 8
You can use graphical(GUI) depoyment tool shipped with WL S 5.1
If you can not open your jar-file probably your mistake is within the deployment descriptor, or the way you organize your jar-file.
If you can open jar-file then use test for EJB-compliance. It may show you some problems.
If everithing just okay then create container and deploy it....
Good luck.
tiru
Greenhorn

Joined: Jul 12, 2001
Posts: 1
hello milan dhosi
follow these steps for the development of ejb using weblogic 5.1
and j2sdk
1.set the classpath and path for j2sdk and weblogic as follows
set classpath=c:\weblogic\classes;c:\weblogic\lib\weblogicaux.jar;c:\weblogic\myserver;c:\weblogic\license;c:\weblogic\classes\boot;c:\jdk1.3\lib\tools.jar;%classpath%;

set path=c:\weblogic\bin;c:\jdk1.3\bin;%path%;
2.after writing the code follow these steps
1.javac -d . *.java
2.java weblogic.ejb.utils.DDConverter -d META-INF DeploymenetDescriptor.txt
3.jar -cvf somename.jar META-INF package name where ur files have been compiled
4.java weblogic.ejbc above jarfilename c:\weblogic\classes\samejarfilename
make sure thtat ur weblogic's edit server properities is set to
the above jarfile name ie go to ejb demo properties and then set it at ejb deploy
shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
hi,
i am having problem using DDCreator . its giving NoClassDefFound Error weblogic/ejb/utils/DDCreator. my classpath is properly set.
i dont have any ejb sub folder in weblogic folder.
whatz the problem....
shanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tried to run the weblogic server 5.1
 
Similar Threads
Installation Problems with j2sdkee1.2.1
Installation problems with J2sdkee1.2.1
basic ejb problem
problem while deploying
how to run EJB