Problem when calling the JSP Page from Website. - Websphere

This is a discussion on Problem when calling the JSP Page from Website. - Websphere ; Dear, Iam getting problem when iam requesting the JSP pages in my webstie(this problem is getting now only but this website iam using since last 5 years with this WS Application server only). 1. error Servlet Error: : java.lang.NullPointerException at ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Problem when calling the JSP Page from Website.

  1. Problem when calling the JSP Page from Website.

    Dear,



    Iam getting problem when iam requesting the JSP pages in my webstie(this problem is getting now only but this website iam using since last 5 years with this WS Application server only).



    1. error



    Servlet Error: : java.lang.NullPointerException

    at _default_jsp_5._jspService(_default_jsp_5.java:94)

    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)

    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)

    at org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:301)

    at org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:445)

    at org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:579)

    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)

    at com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)

    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)

    at com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)

    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)

    at com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)

    at com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)

    at com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)

    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:665)

    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:331)

    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:117)

    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:124)

    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:218)

    at com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)

    at com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)

    at com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:125)

    at com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)

    at com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)

    at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:323)

    at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:252)

    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 37)


    2. error



    SRVE0026E: Servlet Error-http://JSP 1.1 Processor: com.ibm.servlet.engine.webapp.WebAppErrorReport: Class javax/servlet/ServletConfig violates loader constraints: definition mismatch between parent and child loaders

    at com.ibm.servlet.engine.webapp.WebAppDispatcherResp onse.sendError(WebAppDispatcherResponse.java:85)

    at org.apache.jasper.runtime.JspServlet.unknownExcept ion(JspServlet.java:482)

    at org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:587)

    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)

    at com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)

    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)

    at com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)

    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)

    at com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)

    at com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)

    at com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)

    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:665)

    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:331)

    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:117)

    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:124)

    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:218)

    at com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)

    at com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:122)

    at com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)

    at com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)

    at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:323)

    at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:252)

    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 37)


    these 2 errors iam getting .... ok.



    One more thing in that same folder html page are working but when i call JSP pages then only iam getting error one of the above.


    Plz give me reply back ..ASAP.



    Thanks,

    Vighneshwar.


  2. Re: Problem when calling the JSP Page from Website.

    ideaboy2005@yahoo.co.in wrote:
    > Dear,
    >
    > Iam getting problem when iam requesting the JSP pages in my webstie(this problem is getting now only but this website iam using since last 5 years with this WS Application server only).
    >
    > 1. error
    >
    > Servlet Error: : java.lang.NullPointerException
    >
    >

    [snip]
    > 2. error
    >
    > SRVE0026E: Servlet Error-http://JSP 1.1 Processor: com.ibm.servlet.engine.webapp.WebAppErrorReport: Class javax/servlet/ServletConfig violates loader constraints: definition mismatch between parent and child loaders
    >
    >

    [snip]
    > these 2 errors iam getting .... ok.
    >
    > One more thing in that same folder html page are working but when i call JSP pages then only iam getting error one of the above.
    >
    > Plz give me reply back ..ASAP.
    >
    > Thanks,
    > Vighneshwar.
    >

    I'd guess you have a J2EE jar somewhere in your EAR or WAR.

    Ken

+ Reply to Thread