• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tried to run the weblogic server 5.1

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic