• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

NO UTIL FILES FOR DEPLOYMENT

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i wanna deploy the ejb with command
java weblogic.ejb.utils.ddcreator ....
i do not have ddcreator in my utils director.
how to deploy in such case??
 
Saloon Keeper
Posts: 25483
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that went out with WLS Version 4. WLS 5 and higher use the EJB1.1 deployment scheme (XML).
 
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Once you have created the home and remote interfaces and the Enterprise JavaBeans bean itself you have to create the Deployment Descriptor.
The role of the deployment descriptor is to allow the bean deployer to customize many of the properties of the bean prior to deployment. The deployment descriptor is described in the Enterprise JavaBeans Specification as an instance of either javax.ejb.deployment.SessionDescriptor or javax.ejb.deployment.EntityDescriptor
The BEA Weblogic server implementation offers both command line and GUI deployment tools. So to deploy the Enterprise JavaBean using the command line tools, issue the following commands:
java weblogic.ejb.utils.DDCreator -dir ejb/demo ejb/demo/DeploymentDescriptor.txt
This will create DemoBeanDD.ser in the ejb/demo directory.
 
Sanjay Deshpande
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thnx tim , parmeete,
But i am clue less.
As tim said wls has no ddcreator since 5.0 .I have wls 6.1
How to deploy in 6.1?
I have .xml files in the folder: mydomain/applications/defaultwebapp_myserver
WHEN I CREATE JAR FILE FOR EJB IN THIS THE SERVER CRASHES.
ANY CLUES AS TO WHY THIS MUST BE HAPPENING.AND HOW AT ALL TO DEPLOY EJB IN 6.1?
 
Tim Holloway
Saloon Keeper
Posts: 25483
180
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your jar file must contain a META-INF directory, within which are contained the general deployment file named ejb-jar.xml, as well as any server-specific deployment info. WebLogic has 2 - cmp-rdbms-jar.xml (CMP beans only) and another WLS-specific file whose name I forget.
Take a look at the example EJBs that came with WebLogic and look at the online EJB docs on BEA's website - they're pretty decent.
You must also have run the ejbc (ejb compiler) program to generate the WLS support classes for your jar.
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic