![Red Hat Application Server Скачать руководство пользователя страница 237](http://html.mh-extra.com/html/red-hat/application-server/application-server_manual_1427406237.webp)
Chapter 30.
JOnAS Versions Migration Guide
This section describes how to migrate from JOnAS 3.3.x to JOnAS 4.1.
30.1. JOnAS 3.3.x to Red Hat Application Server 1.0
Applications developed for JOnAS 3.3.x do not require changes; however, they should be rede-
ployed (GenIC). See Chapter 15
Application Deployment and Installation Guide
for details. The main
changes occur within the JOnAS configuration files; you should port your customizations to the new
JOnAS 4.1 configuration files, especially for the ones mentioned below.
30.1.1. Configuration Changes
The two most visible configuration changes are the following:
•
HTTP port numbers have moved from the 8000 range to the 9000 range. For example, the JOnAS
server index page with default configuration on a given host is now http://localhost:9000/index.jsp
•
The three RMI communication protocols,
jrmp
,
jeremie
, and
iiop
can now be used simultane-
ously; the incompatibility between
Jeremie
and
rmi/iiop
and the "ant installiiop" step has been
suppressed. Because of this, the "ant install" phase (in JONAS_ROOT) is no longer required.
Configuration files with significant changes:
•
conf/server.xml
is a customized Tomcat 5 configuration file, while in JOnAS 3.3.x it was a
Tomcat 4 configuration file. Also, package names of JOnAS-related security files have changed;
for example
org.objectweb.jonas.security.realm.web.catalina50.JACC
replaces
org.objectweb.jonas.security.realm.JRealmCatalina41
. The JAAS classname realm
is
org.objectweb.jonas.security.realm.web.catalina50.JAAS
.
•
conf/jetty5.xml
replaces
conf/jetty.xml
.
In
the
web-jetty.xml
files
(in
war
), the package name of the Realm class has changed. For example,
org.objectweb.jonas.security.realm.web.jetty50.Standard
replaces
org.objectweb.jonas.security.realm.JRealmJetty42
class. The JAAS classname
realm is
org.objectweb.jonas.security.realm.web.jetty50.JAAS
.
•
conf/jonas.properties
: has many changes
•
Some properties for web services
•
Some package names have changed (such as for the Web JOnAS service)
•
The XML validation is activated by default for EJBs
•
New properties for the service “
db
” (by default it uses HSQL as the Java database).
•
conf/joram-admin.cfg
is a new configuration file used for specifying the creation of JMS-
administered objects when using the JORAM connector (J2EE CA 1.5 JMS resource adapter). The
default file corresponds to the default-administered objects created when using the JOnAS JMS
service.
Содержание Application Server
Страница 1: ...Red Hat Application Server JOnAS User Guide ...
Страница 8: ......
Страница 22: ...14 Chapter 1 Java Open Application Server JOnAS a J2EE Platform ...
Страница 58: ...50 Chapter 3 JOnAS Configuration ...
Страница 66: ...58 Chapter 5 JOnAS Class Loader Hierarchy ...
Страница 78: ...70 Chapter 6 JOnAS Command Reference ...
Страница 80: ......
Страница 86: ...78 Chapter 7 Developing Session Beans ...
Страница 136: ...128 Chapter 9 Developing Message Driven Beans ...
Страница 142: ...134 Chapter 10 Defining the Deployment Descriptor ...
Страница 148: ...140 Chapter 11 Transactional Behavior of EJB Applications ...
Страница 158: ...150 Chapter 14 EJB Packaging ...
Страница 162: ...154 Chapter 15 Application Deployment and Installation Guide ...
Страница 164: ......
Страница 176: ...168 Chapter 18 WAR Packaging ...
Страница 178: ......
Страница 184: ...176 Chapter 20 Defining the Client Deployment Descriptor ...
Страница 186: ...178 Chapter 21 Client Packaging ...
Страница 188: ......
Страница 192: ...184 Chapter 23 EAR Packaging ...
Страница 194: ......
Страница 200: ...192 Chapter 24 JOnAS Services ...
Страница 204: ...196 Chapter 25 JOnAS and the Connector Architecture ...
Страница 222: ...214 Chapter 27 Ant EJB Tasks Using EJB JAR ...
Страница 234: ...226 Chapter 29 Web Services with JOnAS ...
Страница 236: ......
Страница 260: ...252 Chapter 34 How to use Axis in JOnAS ...
Страница 270: ...262 Chapter 36 Web Service Interoperability between JOnAS and BEA WebLogic ...
Страница 296: ......