The JBoss tab enables you to modify configuration settings specific to JBoss J2EE Application Server.
The JBoss tab
To run JBoss from a CD/DVD meda, DWebPro has to copy all the JBoss files from the read-only media into a writable directory on the user filesystem. This can be achieved using the settings of the File Copy section.
You can download a preconfigured package for JBoss support in the Add-On Packages topic.
The fields in http.ini specific to
the JBoss section are shown below:
[JBoss] ; JBoss Engine settings Start=1 JavaHome=##DWEBPRO_PATH##\engine\jdk JavaOpts= BaseDir=##DWEBPRO_PATH##\engine\jboss ShutDownCustomParams=-S
StartupCustomParams= ; Network settings Port=8080 ; Startup / Shutdown settings RunLocally=1 ShowShutDownTimeOutMessage=1
ShutDownTimeout=30000
ShowStartupTimeOutMessage=1
StartupTimeout=30000
ShowLog=1 ShutDownOnExit=1 ; File Copy settings CopyDataToHardDisk=0 DestinationDir=##DWEBPRO_TEMP##\jboss ShowCopyProgressWindow=1 AskUserForCopy=0 AskUserForCopyDefaultButton=Yes Overwrite=0 AskUserForOverwrite=0 AskUserForOverwriteDefaultButton=Yes ClearOnShutDown=0 AskUserForClearOnShutDown=0 AskUserForClearOnShutDownDefaultButton=Yes ; Interactice Install settings UseInteractiveInstall=0 SpaceNeeded=1048576
JBoss Engine settings
Start JBoss
Start
Start
JBoss specifies whether JBoss is started upon start up of
DWebPro
Accepted values: 0, 1
Java Home
JavaHome
Java
Home specifies the path that will be used to set the
JAVA_HOME environment variable. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Java Options
JavaOpts
Java
Options specifies the path that will be used to set the
JAVA_OPTS environment variable. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Base Directory
BaseDir
Base
Directory specifies the base path to the directory where the
JBoss engine resides. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Startup Params
StartupCustomParams
Startup
Params specifies additional parameters to be passed to the
bin\run.bat JBoss script for starting
the application server.Accepted values: string
Shutdown Params
ShutDownCustomParams
Shutdown
Params specifies additional parameters to be passed to the
bin\shutdown.bat JBoss script for
closing the application server.Accepted values: string
Network settings
Port
Port
The JBoss behavior (ports, settings,
...) depends on its own configuration files. The Port configuration field specifies on which port
one of the socket servers of JBoss will listen on. This setting
will be used by DWebPro only to verify when the
application server is successfully started.
Accepted values: integer
Startup / Shutdown settings
Run Locally
RunLocally
When you use JBoss from CD/DVD,
DWebPro automatically copies all the files to the user's file
system to enable JBoss to work correctly. Select the Run Locally option to avoid this copy process.
Note that you may safely select the Run
Locally option only when you run DWebPro from a hard drive
or other writable media. It can be useful to select the
Run Locally option during the
development phase.
Accepted values: 0, 1
Show Startup Timeout Message
ShowStartupTimeOutMessage
Show Startup
Timeout Message specifies whether DWebPro prompts the user
whether to wait for JBoss to complete its startup
initialization.
Accepted values: 0, 1
Startup Timeout
StartupTimeOut
Startup
Timeout specifies the timeout allowed, in milliseconds, for
JBoss to startup. DWebPro waits the amount of time specified here
before continuing the initialization process. If the Show Startup Timeout Message option is selected,
DWebPro prompts the user whether to wait for JBoss to complete its
startup initialization.
Accepted values: integer
Show Shutdown Timeout Message
ShowShutDownTimeOutMessage
Show Shutdown
Timeout Message specifies whether DWebPro prompts the user
prior to closing JBoss.
Accepted values: 0, 1
Shutdown Timeout
ShutDownTimeout
Shutdown
Timeout specifies the timeout, in milliseconds, before JBoss
is forced to close.
Accepted values: integer
Show JBoss Logs (startup/shutdown)
ShowLog
Show JBoss
Logs (startup/shutdown) specifies whether DWebPro displays
the JBoss startup/shutdown messages. Using this option is helpful
during development.
Accepted values: 0, 1
Shutdown on Exit
ShutDownOnExit
Shutdown on
Exit specifies whether JBoss is closed on DWebPro
shutdown.
Accepted values: 0, 1
File Copy settings
Copy Data to Hard Disk (from data directory
to destination directory)
CopyDataToHardDisk
Copy Data to
Hard Disk specifies whether the JBoss files are copied to
the user's hard drive.
Accepted values: 0, 1
Destination Directory
DestinationDir
Destination
Directory specifies the path of the directory to which the
JBoss files will be copied. Refer to the DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Show Copy Progress Window
ShowCopyProgressWindow
Show Copy
Progress Window specifies whether the progress window
displays during file copy routines.
Accepted values: 0, 1
Ask user for copy
AskUserForCopy
Ask user for
copy specifies whether DWebPro prompts the user to confirm
the copy of the files into the destination directory.
Accepted values: 0, 1
Default Button
AskUserForCopyDefaultButton
Default
Button specifies the default button on the confirmation form
for files copy.
Accepted values: Yes, No
Overwrite
Overwrite
Overwrite specifies whether the files copied to
the user's hard drive are overwritten.
Accepted values: 0, 1
Ask User for Overwrite
AskUserForOverwrite
Ask User for
Overwrite specifies whether DWebPro prompts the user to
confirm the copy of the files if the destination directory already
exists.
Accepted values: 0, 1
Default Button
AskUserForOverwriteDefaultButton
Default
Button specifies the default button on the confirmation form
for files copy.
Accepted values: Yes, No
Clear on Shutdown
ClearOnShutdown
Clear on
Shutdown specifies whether DWebPro deletes the files copied
to the user's file system prior to closing.
Accepted values: 0, 1
Ask User for Clear on Shutdown
AskUserForClearOnShutDown
Ask User
Clear on Shutdown specifies whether DWebPro prompts the user
to confirm the deletions of the files in the destination directory
prior to closing.
Accepted values: 0, 1
Default Button
AskUserForOverwriteDefaultButton
Default
Button specifies the default button on the confirmation form
for files deletion.
Accepted values: Yes, No
Interactive Install settings
Use Interactive Install
UseInteractiveInstall
Use
Interactive Install specifies whether DWebPro uses the
Interactive Installation procedure. Refer to the Interactive Install Workflow
topic for more information.
Accepted values: 0, 1
Space Needed
SpaceNeeded
Space
Needed specifies the needed space for the copy. Use the
drop-down box to the right of this field to specify the units of
space desired. This option is relevant only when using the
Use Interactive Install option.
Refer to the Interactive Install Workflow
topic for more information.
Accepted values: integer


