• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create Environment Entries in jboss

 
qcom
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to create an Environment Entries in jboss, so I create a file name em.xml ,and put it under deploy directory, but the error message said Incompletely deployed packages. the contents in xml file is below



<env-entry>
The maximum number of tax exemptions allowed
<env-entry-name>maxExemptions</env-entry-name>
<env-entry-type>java.lang.Integer</env-entry-type>
<env-entry-value>15</env-entry-value>
</env-entry>



anybody knows how to set the Environment Entries in the jboss without ejb descripter?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a web application? If yes, then you could add those entries to the web.xml file of the application.
 
qcom
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Jaikiran,
thank you, there is no web application . in Tommcat , I can set the enviorment entry in server.xml, but in Jboss I don't know where to set it.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"qcom",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic