Problem:
When you try to access from Mapviewer Admin page (http://server:port/mapviewer/faces/admin/admin.jspx) to Manage Tiles. Manage Mapviewer -> Manage Tile Layers, then select one and press "View Map/Manage Files" you receive an "Internal Server Error" page.
At the server log file you can see the error:
admin_mcs_view_map.jspx:1:1: Needed class "javax/servlet/jsp/jstl/core/IndexedValueExpression" is not found when methods of "org.apache.myfaces.trinidadinternal.taglib.ForEachTag" are accessed.
Solution:
If you deployed the mapviewer.ear, you will find the files inside the weblogic server that you choose to target.
/xxxxx/mapviewer_domain/servers/MapviewerServer/tmp/_WL_user/mapviewer/xxxxx/war/WEB-INF/lib
You must replace the jstl.jar file with the glassfish.jstl_1.2.0.0.1.jar file that came with jsf 1.2.9 (glassfish.jsf_1.0.0.0_1-2-15.jar).
Can copy it from MW_HOME/oracle_common/modules/oracle.jsf_1.2.9 if you installed JRF.
JP
4 comments:
Doesn't work :(
Do you have to rename glassfish.jstl_1.2.0.0.1.jar to jstl.jar at the destination location?
I tried both original name and renamed, but still no luck. I restarted mapviewer and weblogic server...nothing.
Hi Catalin,
You don't need to rename the file.
I just renamed the jstl.jar to
jstl.jar.bak and copy the glassfish.jstl_1.2.0.0.1.jar to the WEB-INF/lib directory and started working, because this jar contains the missing class.
I hope you can solve it.
JP
It worked... and solved (one of) my problem(s)!
Thank you! :-)
- Paolo
Post a Comment