Jeff,
A few weeks ago I was also looking into getting GeoServer to deploy on WebLogic 8.1. Before being sidetracked by another task, I believe that I ran into the same problem that you are seeing. Basically what I think was happening was that WebLogic’s JSP compiler was having trouble parsing the syntax in a few of GeoServer’s JSP pages. Specifically it appeared to happen when attribute values were being constructed inside of JSP tags.
The syntax was in the format of the following (from actionator.jsp)
<% }
else {
%>
<html:link style=“action”
forward=“<%= forward %>”
titleKey=“<%= forward+”.short" %>“>
<bean:message key=”<%= forward+“.label” %>"/>
</html:link>
<% }
%>
To fix the problem, I moved the initialization of these strings outside of the JSP tags. This resulted in the following syntax.
<% }
else {
String forwardShort = forward+“.short”;
String forwardLabel = forward+“.label”;
%>
<html:link style=“action”
forward=“<%= forward %>”
titleKey=“<%= forwardShort %>”>
<bean:message key=“<%= forwardLabel %>”/>
</html:link>
<% }
%>
I made similar changes to the following pages, which appear to be the only ones that encountered this problem. (Note: I’ve tested the changes with Tomcat and Jetty and it seems to work with those servers as well).
WEB-INF/pages/actionator.jsp
WEB-INF/pages/locator.jsp
WEB-INF/pages/menuator.jsp
I suspect that there may be a way to configure WebLogic’s servlet container so that it doesn’t encounter this problem, but I wasn’t able to find it when I looked.
After getting past this issue, I noticed some strange behavior with the application repeatedly asking for me to login to access the configuration pages even though I already had logged in. I suspect that this may have something to do with WebLogic’s session/security management. I was looking into this issue when I got sidetracked and was planning on posting the mods when/if I got everything working. If you don’t experience a similar problem or find a solution to it, I would be interested in hearing about it.
-Matt
Jeff Gao gao.jeff@anonymised.com wrote:
hi -
I deployed geoserver.war to weblogic8.1 and tried to access by http://localhost/geoserv, I got the following error:
Parsing of JSP File ‘/WEB-INF/pages/actionator.jsp’ failed:
/WEB-INF/pages/actionator.jsp(39): Non-matching extension tags //[ null; Line: 39]
probably occurred due to an error in /WEB-INF/pages/actionator.jsp line 39:
%>
Please help.
Jeff Gao
Yahoo! Mail
Use Photomail to share photos without annoying attachments.