I.DeploymentWebProject
1. Package the project file, such Jdan. War File, put Tomcat Installation Directory Webapps Lower (/Apache-Tomcat-6.0.14/webapps /) .
2. terminal window, go to /Apache-Tomcat-6.0.14/bin/, RUN startup. sh , start the service
3.Modify configuration fileConfig. properties:
/Apache-Tomcat-6.0.14/webapps/jmam32/WEB-INF/classes/CONF/config. Properties
4. restart Tomcat service: in the terminal window /Apache-Tomcat-6.0.14/bin/ RUN shutdown. sh and startup. sh
5. disable RedHat default firewall, system -- > Management -- > Security Level and firewall , disable the firewall.
II.IsFirefoxSpecifyJRE
1. In rhel5, the default value is firefox1.5 and too old... MeDownload the latest versionFirefox3.0.4And install
2. In the terminal window, enter Firefox Installation path, enter the link command Firefox Specify JRE (/usr/Java/ Is Java Path ) :
Ln-S/usr/Java/jdk1.5.0 _ 16/JRE/plugin/i386/ns7/libjavaplugin_oji.so./plugins/libjavaplugin_oji.So
(Note thatRoot).
3.Check: OpenFirefoxIn the address bar, enterAbout: plugins,You can see that the installation is complete.JREEnvironment.
3..SetAppletPermission:
The system requires the client Applet and the execution permission.
Find File/Usr/Java/jdk1.5.0 _ 16/JRE/lib/security/Java. Policy
Add the following sentence:
Permission java. Security. allpermission;