IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
     Home      Products      Services & solutions      Support & downloads      My account     
  IBM Wikis > PHP: Zend for i5/OS > ... > 06-00-00 Chapter 6. Java Bridge support > 06-02-00 Java Bridge configuration
PHP: Zend for i5/OS Log In | Sign Up   View a printable version of the current page.
06-02-00 Java Bridge configuration
Added by admin, last edited by admin on Mar 01, 2007  (view change)
Labels: 
(None)

Show/Hide Navigation Tree
Navigation Tree

TOC Previous Next

Java Bridge configuration

To use the Java Bridge functionality, some additional configuration is required.

Important: The Java Bridge functionality is available only if the Zend Platform for i5/OS product is installed. It is not contained in Zend Core for i5/OS.

Main configuration file: javamw.rc

The main configuration file for the Java Bridge support is as follows:
/usr/local/Zend/Platform/bin/javamw.rc

Restriction: Do not attempt to edit this file using a PC-based editor such as Notepad. This will corrupt the file. We recommend that you use the i5/OS editor (EDTF).

The main change you will likely have to make to this file is to add entries to the Java classpath. For example, we added the IBM Toolbox for Java as follows:
...
CLASSPATH=$BINDIR/javamw.jar:/jt400/jt400.jar:$CLASSPATH
...

Java Bridge status

After you have installed both Zend Core for i5/OS and Zend Platform for i5/OS successfully, you can verify that the support is active by accessing the following URL in a browser:

http://MYSERVER:89/Zend Platform/server/index.php?frame=java

Figure 6-1 shows an example of the page that opens.

Figure 6-1 Java Bridge status page

From this screen we can see that our classpath change in fact worked.

We can stop and restart the Java Bridge support from this screen. You can also perform these actions from an i5/OS PASE terminal with the following commands (first change into the correct directory with cd /usr/local/Zend/Platform).
Start *bin/javamw.rc star*t
Stop bin/javamw.rc stop
Restart bin/javamw.rc restart
Status bin/javamw.rc status

TOC Previous Next

Top 5 contributors
to this page
UserEdits
admin 2
The postings on this site solely reflect the personal views of the authors and do not necessarily represent the views, positions, strategies or opinions of IBM or IBM management.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006)
    About IBM Privacy Contact