Opened 9 years ago
Closed 9 years ago
#1090 closed defect (fixed)
Embedded Jetty needs addon to support JSP for SECORE
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.2 |
Component: | secore | Version: | development |
Keywords: | jetty, embedded, | Cc: | Dimitar Misev |
Complexity: | Medium |
Description
problem is localhost:8080/def/browse.jsp or even index.jsp could not display (reason embedded Jetty 7 do not support JSP by default, return error 500 - JSP do not support). I've known this for time but could not found out solution for embedded Jetty 7 which use Java JDK 1.6 (even standard Jetty 7 needs to download JSP support libraries and run as argument but cannot do the same way with embedded Jetty).
After lot of time to find a way (as it is out-date version but supported from Java 1.6 instead of Java 1.8 like Jetty 9.3) , I try with my solution:
+ Download org.apache.jasper.jar and extract org.apache directory.
+ Download org-apache-commons-logging.jar and extract org directory. (Logging Factory)
+ Download com.spingsource.org.apache.coomons.el-1.0.0.jar and extract org directory (ExpressionEvaluatorImpl).
Put all of these files into jetty/org/apache and jar -cvf jetty.jar . to create jetty supported JSP.
And now user can update SECORE database with def/browse.jsp or view some links in def/index.jsp.
I will not open a thread with code review, if you want to test please download in attachment.
Attachments (1)
Change History (6)
by , 9 years ago
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
with this jar I can test the JSP functionalities with ticket http://www.rasdaman.org/ticket/1093 without error so I'd suggest you "OK" .
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
close as patch has been accepted.
Jetty with addon to support JSP on SECORE