• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
manju latha
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • 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..
 
subrahmanyam naidu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!