Red Hat APPLICATION SERVER - JONAS Manual page 220

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

212
Attribute
Description
javac
Java compiler to use. If omitted, it defaults to the value of
build.compiler
javacopts
Options to pass to the Java compiler.
protocols
Comma-separated list of protocols (chosen within jrmp, iiop,
cmi) for which stubs should be generated. Default is
rmicopts
Options to pass to the rmi compiler.
verbose
Indicates whether or not to use -verbose switch. If omitted, it
defaults to
additionalargs
Add additional args to GenIC.
keep generic
true
retained. If omitted, it defaults to
suffix
String value appended to the JAR filename when creating each
JAR. If omitted, it defaults to
nogenic
If this attribute is set to
on the EJB JAR. Use this if you prefer to run GenIC at
deployment time. If omitted, it defaults to
mappernames
List of JORM mapper names, separated by commas, used for
CMP2.0 to indicate for which mappers the container classes
should be generated.
jvmopts
Additional args to pass to the GenIC JVM.
As noted above, the jonas element supports additional
Note
To avoid
java.lang.OutOfMemoryError
memory usage.
27.1.1. ejbjar Example
This example shows
This example requires the naming standard to be used for the deployment descriptors. Using this
format creates a EJB JAR file for each variation of
descriptor directory.
ejbjar srcdir="${build.classes}"
descriptordir="${descriptor.dir}"
jonas destdir="${deploymentjars.dir}"
jonasroot="${jonas.root}" orb="RMI"/
include name="**/*.xml"/
exclude name="**/jonas-*.xml"/
support dir="${build.classes}"
include name="**/*.class"/
/support
/ejbjar
property.
.
false
if the generic JAR file used as input to GenIC must be
being used to generate deployment jars using a JOnAS EJB container.
ejbjar
Chapter 27. Ant EJB Tasks: Using EJB-JAR
.
false
.
.jar
, JOnAS's GenIC will not be run
true
false
classpath
, you can use the element
*-jar.xml
Required
No
No
No
.
jrmp
No
No
No
No
No
No
.
No
No
nested elements.
to change the default
jvmopts
that is located in the deployment

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APPLICATION SERVER - JONAS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Application server

Table of Contents