• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Install in WAS console

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When installing an ear file in console, select "Generate Default Bindings" option and "Specific bindings file" a xml file which can include jndi names rather than using default names and etc., can complete most specific configuration automatically.(environment: was 6.0)
sample xml file:
<?xml version="1.0"?>
< !DOCTYPE dfltbndngs SYSTEM "dfltbndngs.dtd">
<dfltbndngs>
<module-bindings>
<ejb-jar-binding>
<jar-name>ejb_test.jar</jar-name>
<ejb-bindings>
<ejb-binding>
<ejb-name>TestEJB</ejb-name>
<jndi-name>ejb/TestEJB</jndi-name>
</ejb-binding>
...
</ejb-binding>
</ejb-jar-binding>

<war-binding>
<jar-name>test.war</jar-name>
<ejb-ref-bindings>
<ejb-ref-binding>
<ejb-ref-name>TestEJB</ejb-ref-name>
<jndi-name>ejb/TestEJB</jndi-name>
</ejb-ref-binding>
</ejb-ref-bindings>
<virtual-host>default_host</virtual-host>
</war-binding>
</module-bindings>
</dfltbndngs>

However, for the two step "Map modules to servers" and "Map JCA resource references to resources", it seems they can not be set in that xml file, is there any relevant configuration file can specify or they can only be set manually in console? (pls get dfltbndngs.dtd from was folder for reference)
 
Mike Sever
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sample xml file:
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic