• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

set init params in ejb-jar.xml in wlogic7.0..???

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can anybody tell me how to set Initialisation parameters
in ejb-jar.xml in weblogic7.0 as i used in weblogic5.1
<env-entry>
<name>URL
<type>java.lang.String
<value>jdbc dbc:mydsn
</env-entry>
and retrived in my bean as
String url = initcontext.lookup
("java:comp/env/URL").toString();
it worked fine but if i edit ejb-jar.xml for setting
<env-entry> its saying thats not defined in dtd file
becuase ejb-jar.xml is created by the tool itself in
weblogic7.0
thanx..
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
no need set init parameters in weblogic7.0. by default it sets when u deploy the bean. it won't takes even if u change the ejb-jar.xml file and it shows the error in DTD.
bye
k-2mail
 
I'm doing laundry! Look how clean this tiny ad is:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic