JSP Module Install
1. Check the version of Java
Kuipernet runs on WAS with Java EE 6 or later
root@Ast:~# java -version java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
If you are using Java EE 5 Version, please request it separately. Java EE 5 Version
has some functional limitations..
2. Check the path of web.xml
- You must apply Kuipernet filters to all the WEB-INF / web.xml target files in the source directory
vi /home/tomcat/webapps/ROOT/WEB-INF/web.xml vi /home/tomcat/webapps/admin/WEB-INF/web.xml ....
3. Modify web.xml
- Back up the orginal web.xml.
root@Ast:~# cp web.xml web.xml.org
Modify web.xml of WAS being used. Enter the contents of kuipernet filter at the top.
<filter> <filter-name>kuipernet</filter-name> <filter-class>com.kpn.module.load.KPNPlugIn</filter-class> </filter> <filter-mapping> <filter-name>kuipernet</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
4. Upload WAS lib file
- Upload kuipernet jar file on the WAS lib folder.
ex) /home/tomcat/lib
root@Ast:~# ls -ltr
total
-rw-r-----. 1 root root 4467 Feb 5 2016 kpn-module1.0.1.jar
-rw-r-----. 1 root root 4467 Feb 5 2016 kpnpg1.0.1.jar
....
...
5. Stop WAS
- Stop WAS for applying jar files and modifying web.xml for a while.
- In case of jeus
root@Ast:~# jdown
- In case of tomcat
root@Ast:~# /home/tomcat/bin/shutdown.sh
- In case of jeus
6. Restart WAS
- If all settings are complete, WAS should be restarted.
- In case of jeus
root@Ast:~# jboot
- In case of tomcat
root@Ast:~# /home/tomcat/bin/startup.sh
- In case of jeus
7. checklist
- Check if web service works properly.
- Check if the upload on the web service is proper
- Check that the images within the web service are displayed correctly.
- you can proceed to remove in the reverse order of the installation procedure.