Kbase 18595: CM considerations for deploying EJB with Apptivity30 on NT
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/02/1998 |
|
CM considerations for deploying EJB with Apptivity30 on NT
DRAFT COPY - Currently under review and edit.
The debug window of the Apptivity developer shows
how the component manager is started when running in a New
Server. In that case also the mode. If the application is
deployed it is usually using an existing server. The existing
server needs to pre load the EJB as well what means in that
case changing the start option of the component manager. By
default this option is not provided for the component manager
since the Apptivity installation procedure cannot know yet
what Enterprise Java Beans the application wants use. The
property to specify for the component manager is :
apptivity.ejb.preload=<path><bean jar name>
There are two different ways of giving that property to the
Component manager at startup :
1. Using a properties file
2. Using a command line property
Because it is also necessary to add a path to the used bean
the current NT limit for shortcut command lines will be
reached quite soon. To go around that limit use a .bat file
to start the component manager The examples below shows how
the contents of cm.bat for starting the component
manager for the UseIncrementer demo deployed to host pcrwe2
may look like :
"D:\Apptivity30\Java\bin\java.exe" -nojit -Dapptivity.properties.file=
cm.prop -Dapptivity.ejb.preload="D:\Apptivity30\Gallery\EJBIncrementer.container.jar;"
-ms8m -classpath D:\Apptivity30\Gallery\EJB\Incrementer.jar;
D:\Apptivity30\Gallery\EJB\Incrementer.container.jar;.;
D:\Apptivity30;D:\Apptivity30\Java\lib\classes.zip;D:\Apptivity30OrbixWeb;D:\Apptivity30\Javax\lib\jsdk.jar;D:\Apptivity30Gallery\Beans\swingall.jar;" progress.apptivity.cmanager.ComponentMana
ger
The cm.prop in that case :
apptivity.naming.host=pcrwe2
apptivity.cmanager.host=pcrwe2
Note the different syntax considering MS-Windows style for
the property if it is given through a property file
cm.prop to the component manager :
apptivity.naming.host=pcrwe2
apptivity.cmanager.host=pcrwe2
apptivity.ejb.preload=D:\\Apptivity30\\Gallery\\EJB\Incrementer.container.jar;
Reference to written documentation : Apptivity30 Deployment_Guide.pdf
Kbase-Entry : 18479
DISCLAIMER
The origins of this information may be internal or external to
Progress Software Corporation. Progress Software Corporation makes all
reasonable efforts to verify this information. However, the
information provided in this document is for your information only.
Progress Software Corporation makes no explicit or implied claims to
the validity of this information.
Any trademarks referenced in this document are the property of their
respective owners. Consult your product manuals for complete trademark
information.
Copyright 1998 Progress Software Corporation, Inc.
All Rights Reserved.