incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske" <harry.met...@gmail.com>
Subject reference to MockServletContext in WebContainerAuthorizer in trunk
Date Sat, 09 Aug 2008 17:20:57 GMT
Hi,

while deploying 2.7.0-alpha-8 on a Glassfish server with the verifier
enabled during the deployment, I get the following failure :

................
     --------------
     FAILED TESTS :
     --------------

     Test Name : tests.web.WebArchiveClassesLoadable
     Test Assertion : All classes in this Web Archive are loadable excluding
classes used in JSPs. The test AllJSPsMustBeCompilable takes care of
reporting non portable errors in JSP classes.   Please refer to J2EE 1.4
Specification Section #8.1.2   for further information.
     Test Description : For [
/home/metskem/glassfish/domains/domain1/applications/j2ee-modules/JSPWiki ]

Failed to find following classes:
[
    net.sourceforge.stripes.mock.MockServletContext
]

referenced in the following call stack :

    at com.ecyrd.jspwiki.auth.authorize.WebContainerAuthorizer
    at com.ecyrd.jspwiki.auth.AuthenticationManager
    at com.ecyrd.jspwiki.WikiSession
    at com.ecyrd.jspwiki.auth.AuthorizationManager
    at com.ecyrd.jspwiki.WikiEngine
    at com.ecyrd.jspwiki.dav.WikiDavProvider
    at com.ecyrd.jspwiki.dav.WikiRootProvider
    at com.ecyrd.jspwiki.dav.WikiDavServlet


Please either bundle the above mentioned classes in the application or use
optional packaging support for them.


          ----------------------------------
          END OF STATIC VERIFICATION RESULTS
          ----------------------------------

The following statement is causing this error :

           if ( url == null && m_engine.getServletContext() instanceof
MockServletContext )

The MockServletContext class is available in the stripes-1.5-RC1.jar.
While this jar is in the workspace, it is not copied to the lib directory
during build.
Should this reference be removed or should the stripes jar be included ?

regards,
Harry

-- 
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message