The Java Bridge tab provides status information about the Java servers connected to the network. The information displayed in the Java Status page, shows information about a selected server.
To access the Java Bridge tab go to Integration | Java Bridge.
The active buttons on the Java Status page are:
Stop - Shuts down the Java Bridge daemon.
Start/Restart - Restarts the Java Bridge daemon.
Refresh - Refreshes the page for the selected server.
Help - Opens the Online Help for the Platform Java Bridge.
OS Compatibility Note:
- Windows all supported versions should use the service manager to Start and Stop services (Start/Stop options in the Tab will not be available).
- FreeBSD - The Java Bridge is currently not available.
The Java Status page includes information about:
Java Environment - The Java Environment includes the Java Version, Java Vendor, OS Name, OS Version, Class Path and Java Home
Bridge Statistics - Bridge Statistics information includes the Number of connections and Requests.
Number of connections - The accumulated number of processes holding a connection to the Java Bridge server (the full amount).
Number of Requests - The number of 'worker threads' available for processing requests to the Java server.
Note:
The Java Bridge requires that you have SUN’s JRE 1.4 or later or IBM's Java 1.4.2 or later installed on your computer. While installing Platform you were prompted to direct the installer to the JRE’s location. Therefore, you should already have JRE installed. If you did not choose to setup the Java Bridge in the installation process you can do so after the installation using the Setup Tool (from UNIX, Linux and Mac: <install_dir>/bin/setup_tool.sh from i5/OS: GO ZENDPLAT/ZPMENU from Windows: Start | Programs | Zend Platform | Setup Tool).
More information about JRE’s and the latest updates can be obtained from SUN Microsystems’s website: http://java.sun.com.
|
|
|
|
|
To view the Java Status Page for a selected server:
Select Server to Configure
|
|
|
|

Java Status Page
Note:
Statistical information is gathered on the Java server. Therefore, even after restarting the Web server, the statistics are maintained. This naturally does not apply to restarting the Java server, which will restart the statistics collection from zero.
Using the command buttons provided on the Java Bridge user interface, you can stop the Java Bridge, start the Java Bridge, or refresh the Status Information shown on-screen, for the selected server.
|
|
|
|
|
To stop the Java Bridge:
|
|
|
|
Zend Platform’s Java module has two configuration parameters:
zend.javamw.threads - Specifies how many worker threads the server is using; allowing this number of concurrent requests to be executed. The default value is 20.
zend.javamw.port - Specifies the TCP port on which the server is listening. The default value is 10001.
Example Script
The following example is the shell script for running JavaMW (this script should be customized when necessary):
export CLASSPATH=$CLASSPATH:`pwd`/javamw.jar
java -Dzend.javamw.threads=20 -Dzend.javamw.port=10001 com.zend.javamw.JavaServer
Note:
Add other entries into CLASSPATH if you use non-standard Java packages.
PHP Configuration
The PHP module uses the following configuration directives:
java.server_port - Specifies the TCP port on which the server is listening. The default value is 10001.
Note:
This must be the same as zend.javamw.port for the server.
Java.ints_are_longs - converts PHP’s integer to Java’s java.lang.Long. By default and if this option is off, the PHP’s integers are converted to java.lang.Integer.
|
|
|
|
|
Related Links: |
|
|
|