× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



[ Converted text/html to text/plain ]
Hi All,

I have just installed the WebSphere Application Server 3.5.4, with its  FixPack
and the Administrative console runs nice and easy (and I think I have made a
correct database configuration).
However java error messages appear when I try to run the samples. For example,
even though I can load the beginning page:
/WSsamples/index.html">http://<mysystem>/WSsamples/index.html[1] I cannot
correctly load correctly any of the examples provided by this page eg. the
Page hit Count sample. The corresponding jsp page is loaded so I get

"This page has been requested "   at the beginning

and "times" in the end so in-between a number should have appeared. A Message:
java.lang.NullPointerException is shown instead (the full message following).
Does anybidy have any idea why does this happen?

Thanks,
Nick.


Error 500

An error has occured while processing request: 
http://<mysystem>/WebSphereSamples/Counter/CounterServletOutputPage.jsp

Message: java.lang.NullPointerException

Target Servlet: WebSphereSamples.Counter.CounterServlet
StackTrace:

------------------------------------------------------------------------------
Root Error-1: java.lang.NullPointerException
com.ibm.servlet.engine.webapp.WebAppErrorReport:
java.lang.NullPointerException
     java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:94)

com/ibm/servlet/engine/webapp/WebAppDispatcherResponse.sendError(ILjava/lang/String;)V+38
(WebAppDispatcherResponse.java:102)

com/ibm/servlet/PageListServlet.handleError(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/Object;)V+89
(PageListServlet.java:798)

com/ibm/webtools/runtime/StudioPervasiveServlet.handleError(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/Object;)V+19
(StudioPervasiveServlet.java:94)

WebSphereSamples/Counter/CounterServlet.performTask(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(CounterServlet.java:42)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+32
(HttpServlet.java:740)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25
(HttpServlet.java:853)

com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+21
(ServletManager.java:644)

com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+46
(StrictLifecycleServlet.java:160)

com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent;)V+186
(ServletManager.java:371)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+1242
(WebAppRequestDispatcher.java:666)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+443
(WebAppRequestDispatcher.java:257)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.include(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+1
(WebAppRequestDispatcher.java:165)
     org/apache/jasper/runtime/PageContextImpl.include(Ljava/lang/String;)V+29
(PageContextImpl.java:373)

_Counter_2F_CounterServletOutputPage_2E_jsp_jsp_1._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0
(_Counter_2F_CounterServletOutputPage_2E_jsp_jsp_1.java:97)

com/sun/jsp/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+134
(HttpJspBase.java:175)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25
(HttpServlet.java:853)

com/sun/jsp/runtime/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+361
(JspServlet.java:263)

com/sun/jsp/runtime/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;)V+186
(JspServlet.java:926)

com/sun/jsp/runtime/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+187
(JspServlet.java:835)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25
(HttpServlet.java:853)

com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+21
(ServletManager.java:644)

com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+46
(StrictLifecycleServlet.java:160)

com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent;)V+186
(ServletManager.java:371)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+1242
(WebAppRequestDispatcher.java:666)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+443
(WebAppRequestDispatcher.java:257)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+236
(WebAppRequestDispatcher.java:154)

com/ibm/servlet/engine/srt/WebAppInvoker.doForward(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+174
(WebAppInvoker.java:105)

com/ibm/servlet/engine/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Object;)V+130
(WebAppInvoker.java:214)

com/ibm/servlet/engine/invocation/CachedInvocation.handleInvocation(Ljava/lang/Object;)V+25
(CachedInvocation.java:67)

com/ibm/servlet/engine/invocation/CacheableInvocationContext.invoke(Ljava/lang/Object;)V+87
(CacheableInvocationContext.java:106)

com/ibm/servlet/engine/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/servlet/engine/srp/ISRPConnection;)V+867
(ServletRequestProcessor.java:160)

com/ibm/servlet/engine/oselistener/OSEListenerDispatcher.service(Lcom/ibm/servlet/engine/oselistener/api/IOSEConnection;)V+95
(OSEListener.java:300)

com/ibm/servlet/engine/oselistener/SQEventListenerImp$ServiceRunnable.run()V+155
(SQEventListenerImp.java:230)

com/ibm/servlet/engine/oselistener/SQEventListenerImp.notifySQEvent(Lcom/ibm/servlet/engine/oselistener/api/ISQEvent;)V+184
(SQEventListenerImp.java:104)

com/ibm/servlet/engine/oselistener/serverqueue/SQEventSource.notifyEvent(Lcom/ibm/servlet/engine/oselistener/api/SQEventImp;)V+40
(SQEventSource.java:216)

com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.notifyService()V+116
(SQWrapperEventSource.java:354)

com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.run()V+124
(SQWrapperEventSource.java:221)

com/ibm/servlet/engine/oselistener/outofproc/OutOfProcThread$CtlRunnable.run()V+104
(OutOfProcThread.java:248)
     java/lang/Thread.run()V+11 (Thread.java:479)




------------------------------------------------------------------------------
Internet access plans that fit your lifestyle -- join MSN. Click Here[2]

===References:===
  1. http://<mysystem>/WSsamples/index.html
  2. http://g.msn.com/8HMDEN/2018



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.