users@glassfish.java.net

verifier - How to fix these errors

From: <glassfish_at_javadesktop.org>
Date: Wed, 20 Jun 2007 12:05:10 PDT

---------------------------
          STATIC VERIFICATION RESULTS
          ---------------------------

        
         ----------------------------------
         NUMBER OF FAILURES/WARNINGS/ERRORS
         ----------------------------------
         # of Failures : 4
         # of Warnings : 0
         # of Errors : 0

          -----------------------------
          RESULTS FOR EJB-RELATED TESTS
          -----------------------------
        
         --------------
         FAILED TESTS :
         --------------
        
         Test Name : tests.persistence.DefaultProviderVerification
         Test Assertion : Test validity of EJB 3.0 persistence unit. This test tests validity using a portable persistence provider. Please refer to EJB 3.0 Persistence API Specification for further information.
         Test Description : For [ CI#CIS_UserEJB.jar#cis ]
Exception [TOPLINK-0] (Oracle TopLink Essentials - 2.0 (Build b51-rc (06/15/2007))): oracle.toplink.essentials.exceptions.IntegrityException

Descriptor Exceptions:

---------------------------------------------------------



Exception [TOPLINK-60] (Oracle TopLink Essentials - 2.0 (Build b51-rc (06/15/2007))): oracle.toplink.essentials.exceptions.DescriptorException

Exception Description: The method [_toplink_setusers_vh] or [_toplink_getusers_vh] is not defined in the object [com.stryker.cmf.users.Groups].

Internal Exception: java.lang.NoSuchMethodException: com.stryker.cmf.users.Groups._toplink_getusers_vh()

Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[users]

Descriptor: RelationalDescriptor(com.stryker.cmf.users.Groups --> [DatabaseTable(public.groups)])



Runtime Exceptions:

---------------------------------------------------------



java.lang.NullPointerException




          -----------------------------
          RESULTS FOR WEB-RELATED TESTS
          -----------------------------
        
         --------------
         FAILED TESTS :
         --------------
        
         Test Name : tests.web.FormLoginPage
         Test Assertion : Web form-login-page value defines the location in the Web application where the page to be used for login can be found. Please refer to Java Servlet 2.5 Specification Section #SRV.13.4 for further information.
         Test Description : For [ CI#CIWeb.war ]
Error: The form-login-page [ system/login.faces ] value does not define the location in the Web application [ ] where the page to be used for login can be found.

         Test Name : tests.web.FormErrorPage
         Test Assertion : Web form-error-page value defines the location in the Web application where the error page that is displayed when login is not successful can be found. Please refer to Java Servlet 2.5 Specification Section #SRV.13.3 for further information.
         Test Description : For [ CI#CIWeb.war ]
Error: The form-error-page [ system/denied.faces ] value does not define the location in Web application [ ] where the error page that is displayed when login is not successful can be found.

         Test Name : tests.web.runtime.ASSecurityRoleMapping
         Test Assertion : security-role-mapping entries are specified correctly.
         Test Description : For [ CI#CIWeb.war ]
FAILED [AS-WEB security-role-mapping] : role-name [ users ] is not valid. It is either empty or not defined in web.xml.
FAILED [AS-WEB security-role-mapping] : role-name [ admin ] is not valid. It is either empty or not defined in web.xml.
FAILED [AS-WEB security-role-mapping] : role-name [ users ] is not valid. It is either empty or not defined in web.xml.
FAILED [AS-WEB security-role-mapping] : role-name [ admin ] is not valid. It is either empty or not defined in web.xml.

        
          ----------------------------------
          END OF STATIC VERIFICATION RESULTS
          ----------------------------------
[Message sent by forum member 'amattas' (amattas)]

http://forums.java.net/jive/thread.jspa?messageID=223150