0 Replies Latest reply on May 7, 2013 6:37 AM by Sibi Varghese

    JBoss 6.1.0 Admin Console Error

    Sibi Varghese Newbie

      Hi,

       

      Am facing an issue in accessing the Admin Console after upgrading the Jboss from jboss-4.0.3SP1 to jboss-6.1.0

       

      This error occurs after logging into the console and when we try clicking on any of the links. Has anyone else come across this? please advice

       

      04:41:41,689 WARN  [org.jboss.seam.web.ExceptionFilter] handling uncaught exception: javax.servlet.ServletException: org.hibernate.validator.ClassValidator.getPotentialInvalidValues(Ljava/lang/String;Ljava/lang/Object;)[Lorg/hibernate/validator/InvalidValue;

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) [:2.0.3-]

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_21]

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_21]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_21]

              at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_21]

              at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:275) [:6.1.0.Final]

              at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273) [:6.1.0.Final]

              at java.security.AccessController.doPrivileged(Native Method) [:1.7.0_21]

              at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [:1.7.0_21]

              at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:307) [:6.1.0.Final]

              at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:167) [:6.1.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317) [:6.1.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:86) [:6.1.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:225) [:6.1.0.Final]

              at java.security.AccessController.doPrivileged(Native Method) [:1.7.0_21]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:221) [:6.1.0.Final]

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [:2.1.0.SP1]

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38) [:2.1.0.SP1]

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [:2.1.0.SP1]

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [:2.1.0.SP1]

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [:2.1.0.SP1]

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [:3.3.3.Final]

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [:3.3.3.Final]

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [:3.3.3.Final]

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [:3.3.3.Final]

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) [:2.1.0.SP1]

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) [:2.1.0.SP1]

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [:2.1.0.SP1]

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [:2.1.0.SP1]

              at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87) [:1.4.0.SP2]

              at sun.reflect.GeneratedMethodAccessor567.invoke(Unknown Source) [:1.7.0_21]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_21]

              at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_21]

              at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:275) [:6.1.0.Final]

              at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273) [:6.1.0.Final]

              at java.security.AccessController.doPrivileged(Native Method) [:1.7.0_21]

              at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [:1.7.0_21]

              at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:307) [:6.1.0.Final]

              at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:248) [:6.1.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) [:6.1.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:86) [:6.1.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:225) [:6.1.0.Final]

              at java.security.AccessController.doPrivileged(Native Method) [:1.7.0_21]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:221) [:6.1.0.Final]

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.1.0.Final]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [:6.1.0.Final]

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.1.0.Final]

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.1.0.Final]

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.1.0.Final]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159) [:6.1.0.Final]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.1.0.Final]

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.1.0.Final]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.1.0.Final]

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.1.0.Final]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.1.0.Final]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.1.0.Final]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.1.0.Final]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.1.0.Final]

              at java.lang.Thread.run(Thread.java:722) [:1.7.0_21]

      Caused by: java.lang.NoSuchMethodError: org.hibernate.validator.ClassValidator.getPotentialInvalidValues(Ljava/lang/String;Ljava/lang/Object;)[Lorg/hibernate/validator/InvalidValue;

              at org.jboss.seam.core.Validators$ValidatingResolver.setValue(Validators.java:187) [:2.1.0.SP1]

              at org.jboss.el.parser.AstPropertySuffix.setValue(AstPropertySuffix.java:73) [:1.0_02.CR2]

              at org.jboss.el.parser.AstValue.setValue(AstValue.java:84) [:1.0_02.CR2]

              at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249) [:1.0_02.CR2]

              at org.jboss.seam.core.Validators.validate(Validators.java:132) [:2.1.0.SP1]

              at org.jboss.seam.navigation.Param.validateConvertedValue(Param.java:239) [:2.1.0.SP1]

              at org.jboss.seam.navigation.Pages.convertAndValidateStringValuesInPageContext(Pages.java:821) [:2.1.0.SP1]

              at org.jboss.seam.navigation.Pages.postRestore(Pages.java:453) [:2.1.0.SP1]

              at org.jboss.seam.jsf.SeamPhaseListener.postRestorePage(SeamPhaseListener.java:546) [:2.1.0.SP1]

              at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:392) [:2.1.0.SP1]

              at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:228) [:2.1.0.SP1]

              at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194) [:2.1.0.SP1]

              at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:185) [:2.0.3-]

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:103) [:2.0.3-]

              at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107) [:2.0.3-]

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-]

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-]

              ... 63 more

       

       

      04:41:41,698 WARN  [org.jboss.seam.web.ExceptionFilter] exception root cause

      04:41:41,698 WARN  [org.jboss.seam.web.ExceptionFilter] running exception handlers

       

       

       

      *********************************************************************************************************************************************

      I have found the solution for this problem

       

      It was an issue with compatability with the Hibernate Jars deployed along with application and the jars available in Jboss

      When the appropriate version of the hibernate-validator.jar was included in the application jar library, the issue was resolved

       

      http://jaitechwriteups.blogspot.in/2008/08/how-to-upgrade-hibernate-in-jboss.html

       

      Message was edited by: Sibi Varghese