Exception thrown by servlet Faces Servlet in WAS ND 6.1.0.13

Hi,<br>
I'm using WebSphere Application Server Network Deployment (WAS ND) v. 6.1.0.13.<br><br>
I'm getting this error when I try to launch my application:<br><br>
[1/24/08 11:41:44:100 WET] 0000003c ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet Faces Servlet: java.lang.NullPointerException<br>
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)<br>
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:190)<br>
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:317)<br>
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:346)<br>
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)<br>
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)<br>
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)<br>
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)<br>
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)<br>
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br>
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)<br>
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:556)<br>
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:606)<br>
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)<br>
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)<br>
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)<br>
<br><br><br>
After doing a search I tried this following steps:<br>
� Delete the entry in web.xml:<br>
<listener><br>
<listener-class><br>
com.sun.faces.config.ConfigureListener<br>
</listener-class><br>
</listener><br><br>
� Update my log4j version<br><br>
� Delete the commons-logging.jar from WEB-INF directory<br>
These are the jar files included in WEB-INF directory:<br>
commons-beanutils.jar<br>
commons-collections.jar<br>
commons-digester.jar<br>
commons-javaflow-20060411.jar<br>
commons-logging.jar<br>
FglConnectorClient.jar<br>
itext-1.4.2.jar<br>
jasperreports-1.2.3.jar<br>
jcommon-1.0.0.jar<br>
jfreechart-1.0.1.jar<br>
jsf-api.jar<br>
jsf-ibm.jar<br>
jsf-impl.jar<br>
jstl.jar<br>
log4j-1.2.14.jar<br>
standard.jar<br>
struts.jar<br>
<br><br>
<br>
None of the suggestions worked.<br><br>
Then I tried to deploy my application in another WAS ND 6.1.0.13 and it worked!!! <br>
What can I do so solve this problem in my WAS ND 6.1.0.13? What could be the problem?<br><br>
Thanks,<br>
Nuno

Did you find a solution to this problem
please help
Thanks & Regards
Nasir

Similar Messages

  • Cannot process an HTTP request to servlet [Faces Servlet] in [wcb] web application

    Hi All
    l am working on a Wcem 3.0 with Trex with ERP and WAS 7.3.
    When I logon to http://<host>:<port>/wcb/index.html url I am able to see wcbuilder_erp & wcbuilder_erp_ume application ids.
    But suddenly I am getting The website cannot display the page error message when I access the above mentioned URL.
    When I verify the developer log trace it showing as 500 Internal sever error issue.[EXCEPTION] java.lang.VerifyError: Bad return type
    In defaultTrace.trc file it is showing as Cannot process an HTTP request to servlet [Faces Servlet] in [wcb] web application exception.
    09 10 18:08:56:098#+0530#Error#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#
    com.sap.ASJ.web.000137#WEC-APP-BF#sap.com/wec~comm~wcb~leanapp#C0000A229CA7094A0000000000001188#2392750000000004#sap.com/wec~comm~wcb~leanapp#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##CFAFBF4C38E411E4B4750000002482AE#ffbcbcdd38e611e49d020000002482ae#ffbcbcdd38e611e49d020000002482ae#0#Thread[HTTP Worker [@455349581],5,Dedicated_Application_Thread]#Plain##
    Cannot process an HTTP request to servlet [Faces Servlet] in [wcb] web application.
    [EXCEPTION] java.lang.VerifyError: Bad return type
    Exception Details:
    Location: com/sap/wec/tc/core/runtime/jsf/resource/WecExternalContextFactory.getExternalContext(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljavax/faces/context/ExternalContext; @17: areturn
    Reason: Type 'com/sap/wec/tc/core/runtime/jsf/resource/WecExternalContext' (current frame, stack[0]) is not assignable to 'javax/faces/context/ExternalContext' (from method signature)
    Current Frame:
        locals: { 'com/sap/wec/tc/core/runtime/jsf/resource/WecExternalContextFactory', 'java/lang/Object', 'java/lang/Object', 'java/lang/Object' }
        stack: { 'com/sap/wec/tc/core/runtime/jsf/resource/WecExternalContext' }
      Bytecode:
        0000000: bb00 0359 2ab6 0004 2b2c 2db6 0005 b700
        0000010: 06b0                                
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2446)
        at java.lang.Class.getConstructor0(Class.java:2756)
        at java.lang.Class.getConstructor(Class.java:1693)
    Any help?
    Regards
    Rami Reddy

    Hi Steffen,
    Thanks for promt response.
    But when I checked with Basis team as of now there are not yet configured TREX, only WCEM components has been configured in WAS 7.3. When they are configuring WCEM components HTTPS protocol not configured.
    But for past 2 weeks I am able to see the below screen using http://<host>:<port>/wcb/index.html url.
    But now I am getting The website cannot display the page error.
    Please clarify me if anything is wrong from my side. And also pl let us know which configurations I have to check for fixing the issue.
    Regards,
    Rami Reddy

  • Servlet Faces Servlet is currently unavailable

    Hi,
    I get the following error when deploying my webapp to Tomcat 4.0:
    [Thu Dec 18 12:03:16 EST 2003] stdout: StandardWrapper[DeployApp:Faces Servlet]: Marking servlet Faces Servlet as unavailable
    [Thu Dec 18 12:03:16 EST 2003] stdout: StandardContext[DeployApp]: Servlet /BULDeployApp threw load() exception: javax.servlet.ServletException: Wrapper cannot find servlet class javax.faces.webapp.FacesServlet or a class it depends on
    [Thu Dec 18 12:03:16 EST 2003] stdout: javax.servlet.ServletException: Wrapper cannot find servlet class javax.faces.webapp.FacesServlet or a class it depends on
    The jsf-ri.jar is copied in $tomcat_home/common/lib (to solve the ConfigListener error) and following libraries are a part of web-inf/lib:
    commons-beanutils.jar, commons-collections.jar, commons-digester.jar, commons-logging.jar, jsf-api.jar, jstl.jar, standard.jar.
    Please help.

    The jsf-ri.jar is copied in $tomcat_home/common/lib
    (to solve the ConfigListener error) and following
    libraries are a part of web-inf/lib:
    commons-beanutils.jar, commons-collections.jar,
    commons-digester.jar, commons-logging.jar,
    jsf-api.jar, jstl.jar, standard.jar.
    If you copy jsf-ri.jar into common/lib, you should copy all of the others as well (and remove them from your web application). However, you should also know that if you are really using Tomcat 4.0.x there are several class loader problems that will make it virtually impossible for this to run correctly. I would strongly recommend updating to Tomcat 5.0.16 (recently released stable implementation of Servlet 2.4 and JSP 2.0).
    It's also possible to get the beta release of JSF to work on Tomcat 4.1.29 (see the release notes for details) but you will need to be sure you're using JSTL 1.0 instead of 1.1.
    >
    Please help.Craig

  • WLS8.1 & JSF 1.0 Final: "Faces Servlet" failed to preload

    Ok, this i what I've done. Modified the samples proprties file so everythings gets build without problems with the 1.0.x taglib.
    <copy todir="${build}/${example}/WEB-INF/lib" file="${jstl.jar}"/>
    <copy todir="${build}/${example}/WEB-INF/lib" file="${standard.jar}"/>
    <copy todir="${build}/${example}/WEB-INF/lib" file="/jakarta-taglibs-standard-1.0.5/lib/jaxen-full.jar"/>
    <copy todir="${build}/${example}/WEB-INF/lib" file="/jakarta-taglibs-standard-1.0.5/lib/saxpath.jar"/>
    The jst.jar, standard.jar also point to /jakarta-taglibs-standard-1.0.5/lib
    I updated the web.xml for the listener
    <listener>
         <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>     
    ant the web.cml validated against http://java.sun.com/dtd/web-app_2_3.dtd
    If I deploy the cardemo I see:
    <5/03/2004 10:28:30 PM CET> <Error> <HTTP> <BEA-101216> <Servlet: "Faces Servlet" failed to preload on startup in Web application: "jsf-cardemo".
    javax.servlet.ServletException
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    >
    5/03/2004 22:28:32 com.sun.faces.config.rules.NavigationRuleRule end
    WARNING: [NavigationRuleRule]{faces-config/navigation-rule} Merge(/confirmChoices.jsp)
    What am I still missing here? I really want to start using JSF!
    Regards,
    Peter

    I believe I have found the issue to the problem. The issue seems to be Weblogic is not respecting part of the Servlet 2.3 spec. It states that all ServletContextListener implementations should be called before the Servlet's init method is called. Tomcat respects this and that's why JSF works when deployed in Tomcat. Weblogic 8.1 calls this instance AFTER the Servlet's init's methods are called. This results in a NullPointerException being thrown.
         You can see how the ordering changes between Weblogic and Tomcat for yourself by editing the log4j.properties file and add the following:
    log4j.category.com.sun.faces.config = DEBUG, config log4j.additivity.com.sun.faces.config=false
    log4j.appender.config = org.apache.log4j.ConsoleAppender log4j.appender.config.layout = org.apache.log4j.PatternLayout log4j.appender.config.layout.ConversionPattern = ...
         Deploy the example application to both Weblogic and Tomcat and observe the order.
         I've developed a work around for this issue. Weblogic seems to respect the <load-on-startup> element in the web.xml file. I have written a Servlet which manually loads the ServletContextListener for JSF. The code below:
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import javax.faces.FactoryFinder;
    import javax.faces.lifecycle.LifecycleFactory;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletContextEvent;
    import javax.servlet.ServletContextListener;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    public class WeblogicHackServlet extends HttpServlet {
    public static final String CONFIGURE_LISTENER_KEY = "CONFIGURE_LISTENER"; public static final transient Log logger = LogFactory.getLog(WeblogicHackServlet.class);
    public void init(ServletConfig servletConfig) throws ServletException {
    LifecycleFactory factory =(LifecycleFactory)      
    FactoryFinder.getFactory(FactoryFinder.LIFECYCLE_FACTORY);
    if (factory != null)
    return;
    String className = servletConfig.getInitParameter(CONFIGURE_LISTENER_KEY);
    if (className == null) {
    logger.fatal("Did not find the init parameter " + CONFIGURE_LISTENER_KEY);
    return;
    try {
    Class aClass = Class.forName(className);
    ServletContextListener listener = (ServletContextListener)
                   aClass.newInstance();
    listener.contextInitialized(
         new ServletContextEvent(servletConfig.getServletContext()));
    } catch (Exception e) {
    logger.fatal("The ConfigureListener could not be triggered", e);
         The web.xml file also needs to be changed to the following:
    <servlet>
    <servlet-name>WeblogicHackServlet</servlet-name>
    <servlet-class>WeblogicHackServlet</servlet-class>
    <init-param>
    <param-name>CONFIGURE_LISTENER</param-name>
    <param-value>com.sun.faces.config.ConfigureListener</param-value>
    </init-param>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 2 </load-on-startup>
    </servlet>
    This causes JSF to load properly. Hopefully, BEA can resolve this issue so my hack can be removed.
    Thanks,
    Louis Calisi
    Applications Architect

  • Exception while deploying a faces application in JBoss

    Hi All,
    I have made a sample faces application and deploying it in jboss-5.0.0.GA. I am getting the following exception while deploying :
    +11:22:55,897 ERROR [[jsfapplication]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener+
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.sun.faces.lifecycle.LifecycleFactoryImpl
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
    at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:75)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
    at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
    at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
    at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
    at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
    at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
    at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
    at $Proxy36.start(Unknown Source)
    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
    at org.jboss.system.ServiceController.start(ServiceController.java:460)
    at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
    at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
    at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
    at org.jboss.Main.boot(Main.java:209)
    at org.jboss.Main$1.run(Main.java:547)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: com.sun.faces.lifecycle.LifecycleFactoryImpl
    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:93)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
    at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:203)
    +... 60 more+
    +11:22:56,069 ERROR [StandardContext] Error listenerStart+
    +11:22:56,069 ERROR [StandardContext] Context [jsfapplication] startup failed due to previous errors+
    +11:22:56,100 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/jsfapplication state=Create mode=Manual requiredState=Installed+
    org.jboss.deployers.spi.DeploymentException: URL file:/D:/jboss-5.0.0.GA/server/default/tmp/deploy/jsfapplication14405-exp.war/ deployment failed
    Please do let me know the solution for it
    Thanks.

    r035198x wrote:
    You most likely have more than one version of JSF on your classpath.
    Check if you JBoss already has one and you are providing another.I have removed both the jars namely : jsf-api.jar and jsf-impl.jar from the lib folder of my .war file.
    The error was gone. But I have aother error which is nagging me now.
    +13:21:58,346 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception+
    java.util.MissingResourceException: Can't find bundle for base name message, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
    at com.sun.faces.taglib.jsf_core.LoadBundleTag.doStartTag(LoadBundleTag.java:164)
    at org.apache.jsp.jsp.inputname_jsp._jspx_meth_f_005floadBundle_005f0(inputname_jsp.java:119)
    at org.apache.jsp.jsp.inputname_jsp._jspService(inputname_jsp.java:80)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
    at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:468)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:696)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:667)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:57)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:595)
    +13:21:58,486 ERROR [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /jsp/inputname.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@183890e]+
    +13:21:58,502 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception+
    java.util.MissingResourceException: Can't find bundle for base name message, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
    To resolve this error I had introduced those 2 jars in the lib folder which I have removed now.
    Please do let me know the resolution for this error.
    Thanks

  • Exception thrown from servlet function

    Hi,
    I have a servlet "main.java" which connects to a database and displays a table. The table contains a check box in front of each table row. It has three buttons at the bottom "add" modify" "delete". When the user clicks on some check boxes and clicks on "delete" button how can i know in the script delete.java that these are the check boxes that have been checked or selected. I tried to do in the following way
                           String[] checkedBoxes = new String[100];
                           checkedBoxes = req.getParameterValues("sel");where sel is the name of the checkboxes
    but I am getting the following error:
    [21/Aug/2001:10:36:54] failure ( 1118): Internal error: exception thrown from the servlet service function (uri=/servlet/delete.class):java.lang.NullPointerException, Stack: java.lang.NullPointerException
    Any help would be appreciated.
    Thanks

    Does every checkbox have the same name, i.e. "sel".
    In this case you're dealing with a checkbox group. Similar to a select-style dropdown or radio button group.
    I know I've had problems with dropdowns in Netscape where the select parameter was not being passed at all, so I'd get null values. I got around this by having the form submission re-assign the value from the select list to a hidden variable and then getting the value from the request.getParameter("hiddenFieldName") instead of the "dropdownFieldName".
    You could try to name each checkbox individually using an appended ID, such as sel1, sel2, etc. and then have these parameters picked up using a loop construct, request.getParameter("sel" + i) -- you may want to pass some value back that would also indicate how many total checkboxes you had so you could determine how many iterations of the loop to go through.
    On the form side, you could probably set the checkboxes up using a similar looping mechanism so that you wouldn't have to explicitly write each checkbox name.
    If this is in fact similar to the Netscape issue I was having with dropdowns, I'd be interested to hear if it'll work in IE.
    I got a bit off-topic, but hope it helps.

  • Exception thrown from the servlet service function (uri=/servlet/auth)

    iam getting foll. error when i try logging in to iDA -
    [28/Mar/2005:15:39:38] failure (12538): Internal error: exception thrown from the servlet service function (uri=/servlet/auth): java.lang.NullPointerException, Stack: java.lang.NullPointerException
    at netscape.nda.servlet.NDAAuth.execute(NDAAuth.java:306)
    at netscape.nda.servlet.NDAServlet.doPost(NDAServlet.java:117)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
    at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)
    we're using iplanet messaging server 5.2 with iDA.
    we have two webservers one on each nodes where messaging services are running in cluster.
    the webmail is running fine.
    the webservers are running fine without errors.
    i tried shifting mesaging services on to both nodes, but the error persists.
    can any one pl. help me ??

    Hi,
    I hope below link will help you.
    http://knowledgebase.iplanet.com/ikb/kb/articles/4761.html
    Thanks,
    Daks.

  • Internal error: exception thrown from the servlet service function

    when i invoke the servlet in unix iplanet server i got the error
    Kindly let me get the solution .i am in 11th hour.
    [06/Jan/2006:09:30:28] info (10646): Internal Info: loading servlet
    /servlet/Ipl
    XmlServlet
    [06/Jan/2006:09:30:28] info (10646): /servlet/IplXmlServlet: init
    [06/Jan/2006:09:30:28] failure (10646): Internal error: exception thrown
    from the servlet service function (uri=/servlet/IplXmlServlet/):
    java.lang.NullPointerException, stack: java.lang.NullPointerException
    at IplXmlReqHandler.generateRsp(IplXmlReqHandler.java:452)
    at IplXmlReqHandler.processRequest(IplXmlReqHandler.java:168)
    at IplXmlServlet.processRequest(IplXmlServlet.java:219)
    at IplXmlServlet.doGet(IplXmlServlet.java:184)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:701)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
    at
    com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRun
    ner.java:513)
    Thanking you
    brindasanth

    you are in the wrong forum for this kind of question/product,
    goto:
    http://swforum.sun.com/jive/forum.jspa?forumID=16
    (in case you don't like "goto" - look at it like a "forward" :-) )
    additionally don't forget to mention
    - OS version
    - WebServer version + SP
    - .. the more the better
    rgds.
    /u

  • Internal error: exception thrown from the servlet service function (uri=/servlet/auth)

    I am getting the follow error in my webserver error log very offen. I am running iPlanet Delegated Administrator 4.5 and iPlanet WebServer 4.1 SP5. Sometimes I have to stop and start the web server because users can no longer authenticate to Delegated Admin. Does anyone know what this means.
    Internal error: exception thrown from the servlet service function (uri=/servlet/auth): javax.servlet.ServletException, Stack: javax.servlet.ServletException
    at netscape.nda.servlet.NDAAuth.execute(NDAAuth.java, Compiled Code)
    at netscape.nda.servlet.NDAServlet.doPost(NDAServlet.java, Compiled Code)
    at netscape.nda.servlet.NDAServlet.doGet(NDAServlet.java, Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java, Compiled Code)"

    Hi,
    I hope below link will help you.
    http://knowledgebase.iplanet.com/ikb/kb/articles/4761.html
    Thanks,
    Daks.

  • Internal error: exception thrown from the servlet service function (uri=/login))

    I have done an install of iPlanet Portal Server on a Solaris 8 machine and when I try to access the main Page I get:
    [26/Apr/2002:16:15:27] failure (21872): Internal error: exception thrown from the servlet service function
    (uri=/login): java.lang.NullPointerException, stack: java.lang.NullPointerException
    at com.iplanet.portalserver.auth.service.AuthD.isClientDetectionEnabled(AuthD.java:520)
    at com.iplanet.portalserver.auth.service.AuthD.getClientType(AuthD.java:532)
    at com.iplanet.portalserver.auth.service.AuthRequest.<init>(AuthRequest.java:102)
    at com.iplanet.portalserver.auth.service.AuthRequest.getAuthRequest(AuthRequest.java:177)
    at com.iplanet.portalserver.auth.service.LoginServlet.doGetPost(Compiled Code)
    at com.iplanet.portalserver.auth.service.LoginServlet.doGet(LoginServlet.java:990)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:701)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:507)
    , root cause:
    Suggestions? I have sucessfully installed IPS before, but I cannot figure out the cause of this error.
    Mike

    Looks like a patch conflict ..
    Check /var/sadm/patch and see
    if this patch 108875-07 is present, if you have a later patch than that then you might run into the above problem ..

  • Did not realize  init() exception thrown by servlet FacesServlet

    Dear Programmers
    I have written a little application using JSF. It works fine on my machine (I use WSAD) but when I deploy it to the server I get the exception:
    [08:47:55:656 IST 06/10/05] 39b61791 ServletInstan E SRVE0100E: Did not realize init() exception thrown by servlet FacesServlet: javax.servlet.ServletException
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:99)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
         at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:870)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
         at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1272)
         at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:277)
         at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:400)
         at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:218)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1004)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:485)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(Unknown Source)
         at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(Unknown Source)
         at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(Unknown Source)
         at javax.management.modelmbean.RequiredModelMBean.invoke(Unknown Source)
         at com.tivoli.jmx.GenericMBeanSupport.invoke(Unknown Source)
         at com.tivoli.jmx.MBeanAccess.invoke(Unknown Source)
         at com.tivoli.jmx.MBeanServerImpl.invoke(Unknown Source)
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:658)
         at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:141)
         at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.perform(ApplicationDeploymentCollectionAction.java:315)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    What does it mean???
    How can I solve the problem?

    Cross-post
    http://forum.java.sun.com/thread.jspa?threadID=683318&tstart=0

  • Javax.servlet.ServletException: Servlet execution threw an exception

    Hi guys...
    I got an error message after I click a button on my page. Before my action class called, servlet throw an exception.
    this is the error message from my eclipse console.
    15:31:31,062 INFO  [STDOUT] javax.servlet.ServletException: Servlet execution threw an exception
    15:31:31,062 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
    15:31:31,062 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at roll.mov.j2ee.common.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:167)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at roll.mov.j2ee.common.filters.PersistFilter.doFilter(PersistenceFilter.java:160)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
    15:31:31,156 INFO  [STDOUT]      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    15:31:31,156 INFO  [STDOUT]      at java.lang.Thread.run(Thread.java:595)
    15:31:31,156 ERROR [PersistFilter] Exception object caught by servlet persist filter.
    15:31:31,171 ERROR [[action]] Servlet.service() for servlet action threw exception
    roll.mov.j2ee.common.exceptions.RollMovException: Error caught
    begin nested exception:
    javax.servlet.ServletException: Servlet execution threw an exception
    end nested exception:
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at roll.mov.j2ee.common.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:167)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at roll.mov.j2ee.common.filters.PersistenceFilter.doFilter(PersistenceFilter.java:160)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
         at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Note:
    - roll.mov.j2ee.common.exceptions.RollMovException is my custom exception.
    - roll.mov.j2ee.common.filters.AuthenticationFilter, implement javax.servlet.Filter
    - roll.mov.j2ee.common.filters.PersistFilter, implement javax.servlet.Filter
    this persistFilter work as proxy hibernate filterFrom my experience, Normally the root cause will be display in the exception. but this error message doesn't provide any information about what's wrong with my code.
    Anyone have an idea?
    Thanks in advamce
    pdt

    Thanks for replying gimbal2.
    in that line, " AuthenticationFilter.java:167" i called the
    filterChain.doFilter(request, response);where filterChain is object of javax.servlet.FilterChain
    I run my jboss with debug mode and i got abit more information about the error.
    the error message:
    2006-07-20 12:56:48,437 WARN  [org.apache.struts.action.RequestProcessor] Unhandled Exception thrown: class java.lang.NullPointerException
    2006-07-20 12:56:48,437 INFO  [STDOUT] ServletException thrown
    2006-07-20 12:56:48,437 INFO  [STDOUT] javax.servlet.ServletException
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2006-07-20 12:56:48,437 INFO  [STDOUT]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    15:31:31,062 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
    15:31:31,062 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at roll.mov.j2ee.common.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:167)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at roll.mov.j2ee.common.filters.PersistFilter.doFilter(PersistenceFilter.java:160)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
    15:31:31,156 INFO  [STDOUT]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    15:31:31,156 INFO  [STDOUT]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
    15:31:31,156 INFO  [STDOUT]      at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
    15:31:31,156 INFO  [STDOUT]      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    15:31:31,156 INFO  [STDOUT]      at java.lang.Thread.run(Thread.java:595)
    15:31:31,156 ERROR [PersistFilter] Exception object caught by servlet persist filter.
    15:31:31,171 ERROR [[action]] Servlet.service() for servlet action threw exception
    roll.mov.j2ee.common.exceptions.RollMovException: Error caught
    begin nested exception:
    javax.servlet.ServletException: Servlet execution threw an exception
    end nested exception:
    javax.servlet.ServletException: Servlet execution threw an exception
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at roll.mov.j2ee.common.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:167)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at roll.mov.j2ee.common.filters.PersistenceFilter.doFilter(PersistenceFilter.java:160)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
         at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)I check in docjar.com, seems like the the line in requestprocessor.java that thrown this exception is
    return (handler.execute(exception, config, mapping, form, request, response));     where handler is org.apache.struts.action.ExceptionHandler
    any idea guys..
    Thanks in advance
    pdt

  • Faces Servlet no getting called when accessing JSF portlet

    Hi,
    I have a JSF web application and I am exposing the functionality of this JSF web application using native Weblogic Portal JSF portlets. I have configured this JSF web application as a simple producer and I am consuming these portlets in my portal using WSRP.
    I have written a custom FacesServlet and configured it in the web.xml of the producer web application. When I access the pages in the producer web app like a normal web app, I see that my faces servlet is being called but when I consume these pages via the JSF portlet and view the portlets in the portal then the Faces servlet is not being called.
    Is this normal behavior or is WSRP causing this problem or am I missing something. Your help is greatly appreciated.
    Regards,
    Hitesh

    Hi Hitesh,
    What I was asking you to give a try was, configure the standard faces servlet for example if you are using JSF RI
    the configuration will look like
        <servlet>
            <servlet-name>FacesServlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>100</load-on-startup>
        </servlet>I am not very sure whether this can solve the problem.
    Thanks
    Sreeram
    Edited by sreeram.jonnalagadda at 06/10/2008 4:46 AM

  • SharePoint Server 2013 Upgrade failure after Updating SP1 + Nov10 CU " Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown"

    After Successfully having SharePoint Server 2013 Farm Installation on 2 Servers AD + Central Admin Application server, OS: win server 2008 R2 Ent SP1.
    I set up the configuration for SharePoint app and Workflow Manager to work properly on the Den environment,  the time for SP1 running has come and after downloading the Service pack 1 of SharePoint server 2013 and completing the wizard, I run the SharePoint
    2013 Configuration Wizard after installing SharePoint 2013 SP1, and the wizard failed on step 2 with the Error from the Log file as showing below,
    "Task upgradebootstrap has failed with an unknown exception 
    01/04/2015 00:43:30  11  ERR                  Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: Exception of type 'Microsoft.SharePoint.Upgrade.SPUpgradeException' was thrown.
       at Microsoft.SharePoint.Upgrade.SPManager.BootStrap(Guid sessionId, SPUpgradeOperationFlags flags)
       at Microsoft.SharePoint.PostSetupConfiguration.UpgradeBootstrapTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()"
    Also I was not able to create websites like before, and the creating of new site is failed with error message :
    "Failed to call GetTypes on assembly Microsoft.Office.TranslationServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Method not found: 'Microsoft.Office.Web.Common.ProcessImageInfo"
    Is there any solution to my problem with SP1 of SharePoint Server 2013, I don't think that SP1 should generate such bugs in a stable environment.
    Basel Badr ,SharePoint Specialist ,MCAD ,MCTS.

    Hi Basel,
    What edition of SharePoint do you have and what patch did you attempt to install?
    If you are on SharePoint 2013 Enterprise, please make sure you are installing Service Pack 1 for SharePoint Server:
    http://www.microsoft.com/en-us/download/details.aspx?id=42544
    If you are on SharePoint 2013 Foundation, please make sure you are installing  Service Pack 1 for SharePoint Foundation :
    http://www.microsoft.com/en-us/download/details.aspx?id=42548
    For more information, you can refer to the thread:
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/ba9656e9-837e-4261-b164-b5bdfe8adce3/why-does-machine-translation-fail-when-i-do-not-use-it?forum=sharepointgeneral
    http://sharepoint.stackexchange.com/questions/84284/failed-to-call-gettypes-on-assembly-microsoft-office-translationservices
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Use of filter to JSF faces servlet

    Hi
    I have a JSF application which is secured by a custom security framework (similar to SITE MINDER). The security framework after authentication passes the authenticated user name within a in-memory session cookie.
    The entire user information like his group and access restrictions (field / UI compoonent level) resides in the application database
    I have used a filter to JSF Faces servlet to retrieve the user information from the database and storing in session.
    Is this use of filter a good approach?

    I would fetch such information only once and store it in a simple session scoped bean after a successful login, but I am weird for wanting to do things in a simple way.
    A filter can work to validate if the user is still "logged in" (IE. his/her session didn't expire), but since this is JSF you could also use a phase listener for such a purpose.

Maybe you are looking for

  • Issue with sequence.currval in INSERT ALL...

    Hi Gurus, I am having an issue with using sequence.currval in INSERT ALL with WHEN clause.Please check following example Let say I have 4 tables 1) SOURCE_PARENT PARENT_ID ======== 10 20 2) SOURCE_CHILD PARENT_ID CHILD_ID ========= ======== 10     1

  • Gaussian blur problem separating backgound, foreground

    I want to blur the background of sports photos (still too much in focus even with lens wide open). I put the key player(s) on one layer and the background on another, then apply a Gaussian blur, which gives me a white line where background meets fore

  • Thunar: incorrect sort order

    Hello, everyone. Guys, maybe any of you encountered with that problem in Thunar... especially if you use cyrillic letters in file or folder names. I have the latest version of Thunar (1.4.0) installed, and it turns out it incorrectly sorts contents o

  • 10.6.2 stop automator

    right after 10.6.2 installed, all the automator shortcuts in the keyboard system preference went missing. even creating a new service from automator also doesn't work anymore. I can open automator just fine, but the service or workflow I created just

  • Satellite L40-A - display problems

    Lcd problem i think pls help.. got pictures tnx