Hi, there,
First, as a new stripes user, I bought the book written by Freddy Daoud: it is
excellent and very helpful.
Secondly, it seems to me that there is a problem with stripes.tld when deploy a
stripes application onto weblogic server 9.2. Is this a known bug or some extra
configuration is needed? Has anybody successfully deploy similar stripes
application onto weblogic 9.2 or related without any trouble?
I can successfully deploy the "stripes-examples" (from stripes web stie) onto
weblogic application server 9.2, and can see the first page well. However when
I click in any one of the link on the first page, such as "Bugzooky", the
following problem occurs:
16:44:53,399 WARN DefaultExceptionHandler:151 - Unhandled exception caught by
the Stripes default exception handler.javax.servlet.ServletException: Failed to
compile JSP /bugzooky/Login.jspLogin.jsp:1:18: Error in "taglibs.jsp" at line
7: The qualifier of this name isa package, which cannot contain fields.<%@
include file="/bugzooky/taglibs.jsp" %>
^---------------------^Login.jsp:1:18: Error in "taglibs.jsp" at line 7:
Expression expected (found '?' instead)<%@ include file="/bugzooky/taglibs.jsp"
%> ^---------------------^Login.jsp:1:18: Error in
"taglibs.jsp" at line 7: Expression expected (found '>' instead)<%@ include
file="/bugzooky/taglibs.jsp" %>
^---------------------^Login.jsp:1:18: Error in "taglibs.jsp" at line 7:
Expression expected (found '.' instead)<%@ include file="/bugzooky/taglibs.jsp"
%> ^---------------------^Login.jsp:1:18: Error in
"taglibs.jsp" at line 7: Syntax error: expected ) (found 'class' instead)<%@
include file="/bugzooky/taglibs.jsp" %>
^---------------------^Login.jsp:1:18: Error in "taglibs.jsp" at line 7: Syntax
error: expected <identifier> (found '}' instead)<%@ include
file="/bugzooky/taglibs.jsp" %>
^---------------------^Login.jsp:1:18: Error in "taglibs.jsp" at line 7:
Expression expected (found ')' instead)<%@ include file="/bugzooky/taglibs.jsp"
%> ^---------------------^Login.jsp:1:18: Error in
"taglibs.jsp" at line 7: Syntax error near ';'<%@ include
file="/bugzooky/taglibs.jsp" %> ^---------------------^
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at
net.sourceforge.stripes.examples.bugzooky.SecurityFilter.doFilter(SecurityFilter.java:49)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:246)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at
weblogic.work.ExecuteThread.run(ExecuteThread.java:181)<Oct 23, 2008 4:44:53 PM
EDT> <Error> <HTTP> <BEA-101017> <[EMAIL PROTECTED] - appName:
'stripes-examples', name: 'stripes-examples.war', context-path:
'/stripes-examples'] Root cause of
ServletException.weblogic.servlet.jsp.CompilationException: Failed to compile
JSP /bugzooky/Login.jspLogin.jsp:1:18: Error in "taglibs.jsp" at line 7: The
qualifier of this name isa package, which cannot contain fields.<%@ include
file="/bugzooky/taglibs.jsp" %>
^---------------------^Login.jsp:1:18: Error in "taglibs.jsp" at line 7:
Expression expected (found '?' instead)<%@ include file="/bugzooky/taglibs.jsp"
%> ^---------------------^Login.jsp:1:18: Error in
"taglibs.jsp" at line 7: Expression expected (found '>' instead)<%@ include
file="/bugzooky/taglibs.jsp" %>
^---------------------^Login.jsp:1:18: Error in "taglibs.jsp" at line 7:
Expression expected (found '.' instead)<%@ include file="/bugzooky/taglibs.jsp"
%> ^---------------------^Login.jsp:1:18: Error in
"taglibs.jsp" at line 7: Syntax error: expected ) (found 'class' instead)<%@
include file="/bugzooky/taglibs.jsp" %>
^---------------------^Login.jsp:1:18: Error in "taglibs.jsp" at line 7: Syntax
error: expected <identifier> (found '}' instead)<%@ include
file="/bugzooky/taglibs.jsp" %>
^---------------------^Login.jsp:1:18: Error in "taglibs.jsp" at line 7:
Expression expected (found ')' instead)<%@ include file="/bugzooky/taglibs.jsp"
%> ^---------------------^Login.jsp:1:18: Error in
"taglibs.jsp" at line 7: Syntax error near ';'<%@ include
file="/bugzooky/taglibs.jsp" %> ^---------------------^
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:294)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200) at
weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164) at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
at
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
Truncated. see log file for complete stacktrace>
The same problem exists when I try to put my own stripes project onto the same
server. It is very clear that the problem originates from stripes.tld (if I
take away this tld, such a complain will go away).
My weblogic 9.2 has been working perfectly with multiple applications for
several years now. JDK version is jdk150_06.
I would appreciate it very much if anybody can give me some advice/comments on
this issue.
regards,
Lu
_________________________________________________________________
Store, manage and share up to 5GB with Windows Live SkyDrive.
http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_102008-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users