Hi Solomon,
 IMHO HTTP Status 500 is one of those error codes that just makes life interesting .

W3C describes it as: 'The server encountered an unexpected condition which prevented it from fulfilling the request'.

While Wikipedia says: 'A generic error message, given when no more specific message is suitable'.

Simply put the Java application server or container has no idea what's causing the error. But looking further into your error below I found out that it could be caused by a session timeout during the filling of the form. Try doing it again keeping this in mind and see if it works.

KR,
Loki
 
"Excellent people exceed expectations".



From: Solomon Mburu <solo.mburu@gmail.com>
To: Skunkworks <skunkworks@lists.my.co.ke>
Sent: Tuesday, May 12, 2009 9:25:33 AM
Subject: [Skunkworks] KRA Website what is it generating to?

I tried filling KRA PIN Certificate this morning and the results, (apache Tomcat/6.0.18) came back as follows on https://mapato1.kra.go.ke/itms/TRE/request_inscription/request_inscription_filter.faces:

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: /TRE/request_inscription/request_inscription_filter.facesNo saved view state could be found for the view identifier: /TRE/request_inscription/request_inscription_filter.faces
javax.faces.webapp._ErrorPageWriter.throwException(_ErrorPageWriter.java:546)
javax.faces.webapp.FacesServlet.handleLifecycleException(FacesServlet.java:266)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:160)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
ke.go.kra.itms.framework.security.AuthorizationFilter.doFilter(AuthorizationFilter.java:86)
ke.go.kra.itms.framework.audit.BackEndLoginFilter.doFilter(BackEndLoginFilter.java:48)

root cause

javax.faces.application.ViewExpiredException: /TRE/request_inscription/request_inscription_filter.facesNo saved view state could be found for the view identifier: /TRE/request_inscription/request_inscription_filter.faces
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:88)
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
org.apache.myfaces.custom.ppr.PPRLifecycleWrapper.execute(PPRLifecycleWrapper.java:68)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:151)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
ke.go.kra.itms.framework.security.AuthorizationFilter.doFilter(AuthorizationFilter.java:86)
ke.go.kra.itms.framework.audit.BackEndLoginFilter.doFilter(BackEndLoginFilter.java:48)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.


Apache Tomcat/6.0.18



Solomon Mburu


--
Man is a gregarious animal and enjoys agreement as cows will graze all the same way to the side of a hill!