aspose file tools*
The moose likes JBoss/WildFly and the fly likes how to create Environment Entries in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "how to create Environment Entries in jboss" Watch "how to create Environment Entries in jboss" New topic
Author

how to create Environment Entries in jboss

qcom
Greenhorn

Joined: Jul 03, 2001
Posts: 4
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

Joined: Jul 20, 2005
Posts: 9324
    
109

Do you have a web application? If yes, then you could add those entries to the web.xml file of the application.


[My Blog] [JavaRanch Journal]
qcom
Greenhorn

Joined: Jul 03, 2001
Posts: 4
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

Joined: Jan 10, 2002
Posts: 60057
    
  65

"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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: how to create Environment Entries in jboss
 
Similar Threads
Getting "Lookup Error Name comp/env/mail not found in context "java:"." error
value for Context.PROVIDER_URL
How do you access [env-entry] values in web.xml from Java code?
JBoss JNDI question - very basic
getInitParameter with a MessageDrivenBean