View Single Post
  #1 (permalink)  
Old December 12th, 2007, 08:02
Kristof Stevens Kristof Stevens is offline
Junior Member
 
Join Date: May 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Kristof Stevens is on a distinguished road
org.apache.jasper.JasperException

We installed following fix/patch to improve performance opening huge vessel shipments. :

OTM v5.5 - Updating third party jar files for improved UI performance

Per development these changes only need to be done on the webserver

Shutdown Tomcat and Apache

Download the following
file

http://purl.org/net/flavio/download/....2-patched.jar

It will come down as a .zip file. Do not unzip the file, save the file and rename it at
the same time to standard.jar

Go to the < otm home >/glog/gc3webapp/WEB-INF/lib directory and rename standard.jar to
standard.org

Copy the new standard.jar file to the directory listed above.

Go to the Go to the < otm home >/glog/gc3webapp/WEB-INF/lib/3rdparty directory and
rename standard.jar to standard.org

Copy the new standard.jar file to the directory listed above.

Download the following file:

http://www.ibiblio.org/maven/saxpath...th-1.0-FCS.jar

It will come down as a .zip file. Do not unzip the file, save the file and rename it at
the same time to saxpath.jar


Go to the < otm home >/glog/gc3webapp/WEB-INF/lib/3rdparty directory

Copy the saxpath.jar file to the directory listed above.

Download the following file

http://www.ibiblio.org/maven/jaxen/j...0-FCS-full.jar


It will come down as a .zip file. Do not unzip the file, save the file and rename it at
the same time to jaxen-full.jar

Go to the < otm home >/glog/gc3webapp/WEB-INF/lib/3rdparty directory

Copy the jaxen-full.jar file to the directory listed above.

Go back to the < otm home > and set the group, owner and permissions using chmod and chown if needed.

This fix was in Production on HP-UX for months, now we moved to Linux and getting following errormessage
:

Error Exception org.apache.jasper.JasperException: Exception in JSP on Shipmentscreens, Orderscreens etc...And we had to rollback.

As workaround I stopped the webserver, cleaned out /opt/otm/gc3v55_prod1/tomcat/work/Catalina directory and started up the webserver. It solved the issue, but after a couple of minutes, the JasperException is coming back ....

[TP-Processor22]
2007-12-12 09:23:30.049 0 Error Exception org.apache.jasper.JasperException: Exception in JSP: /jsp/Shipment/SHIPMENT/Header.jspx:405
402: </x:if>
403: <gc3:gridSection label="label.ReferenceNumbers" tableId="table_shipment_refnum_grid">
404: <gc3:grid childElementName="shipment_refnum" clientGrid="true" edit="true" masterElementName="shipment_refnums" name="shipment_refnum_grid" queryName="glog.server.query.shipment.ShipmentRefn umQuery" xpath="shipment/shipment_refnums/shipment_refnum" label="label.Reference_Numbers">
405: <gc3:gridFields compareXPath="shipment_refnum_qual/xid">
406: <gc3:gridRow>
407: <gc3:gridColumn body="true" header="true">
408: <gc3:fieldText label="label.ReferenceNumber" max="150" name="shipment_refnum/value" grid="shipment_refnum_grid"/>

Stacktrace:
org.apache.jasper.JasperException: Exception in JSP: /jsp/Shipment/SHIPMENT/Header.jspx:405
402: </x:if>
403: <gc3:gridSection label="label.ReferenceNumbers" tableId="table_shipment_refnum_grid">
404: <gc3:grid childElementName="shipment_refnum" clientGrid="true" edit="true" masterElementName="shipment_refnums" name="shipment_refnum_grid" queryName="glog.server.query.shipment.ShipmentRefn umQuery" xpath="shipment/shipment_refnums/shipment_refnum" label="label.Reference_Numbers">
405: <gc3:gridFields compareXPath="shipment_refnum_qual/xid">
406: <gc3:gridRow>
407: <gc3:gridColumn body="true" header="true">
408: <gc3:fieldText label="label.ReferenceNumber" max="150" name="shipment_refnum/value" grid="shipment_refnum_grid"/>

Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:504)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:39
at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:301)
at glog.webserver.util.AbstractServletProducer.forwar dRequest(AbstractServletProducer.java:227)
at glog.webserver.util.AbstractServletProducer.dispat chDisplay(AbstractServletProducer.java:20
at glog.webserver.util.AbstractServletProducer.proces s(AbstractServletProducer.java:105)
at glog.webserver.util.BaseServlet.service(BaseServle t.java:591)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at glog.webserver.screenlayout.ClientSessionTracker.d oFilter(ClientSessionTracker.java:54)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at glog.webserver.util.SetCharacterEncodingFilter.doF ilter(SetCharacterEncodingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:17
[TP-Processor21]
Reply With Quote