Installation guide
78
Pramati Server 3.5 Administration Guide
<property name="default-mdb-max-pool-size" value="1000" />
<property name="default-low-activity-interval" value="60" />
<property name="default-session-timeout" value="1000" />
<property name="smart-code-generation" value="true" />
</service>
Enabling embedded Message Server in a Standalone Server
For enabling embedded Message Server for a Standalone Server follow the general instructions as
given above for creating a Standalone Server. Add the following:
<service name="JMSService" enabled="true"
class-name="com.pramati.jms.server.PramatiMessageService">
<config-file>jms-config.xml</config-file>
<requires always="NamingService,ResourceService"
if-enabled="TransactionService" />
</service>
If it is not already present in your server-config.xml file. By default the standalone server is
configured to start embedded Message Server service on services framework startup.
enabled="true" lets the server start the Message Server Service. For an embedded Message Server,
both EJB and Web container can be enabled in
server-config.xml.
<service name="WebContainer" enabled="true"
class-name="com.pramati.web.WebServer">
service name="EJBContainer" enabled="true"
class-name="com.pramati.ejb.EJBContainer">
Restricting services in a Standalone J2EE Server
Based on the Pramati services framework, the services can be disabled or enabled. The services
include the core containers (Web and EJB) and other services such as Resource and Transactions. A
Standalone J2EE Server by default has both Web and EJB Container services enabled:
<service name="WebContainer" enabled="true"
class-name="com.pramati.web.WebServer">
<service name="EJBContainer" enabled="true"
class-name="com.pramati.ejb.EJBContainer">
For a Web only J2EE Server, enable the Web Container Service and disable the EJB Service.
<service name="WebContainer" enabled="true"
class-name="com.pramati.web.WebServer">
<service name="EJBContainer" enabled="false"
class-name="com.pramati.ejb.EJBContainer">
For an EJB only J2EE Server, enable the Web Container Service and disable the EJB and Message
Server Services.
<service name="WebContainer" enabled="false"