1 Reply Latest reply on Jun 25, 2004 12:48 PM by vold

    Blank screen at BankApp

    vold Newbie

      Hello,

      I have an other problem with the BankApp where all the other topics can't help.
      I installed the App as described in the tutorial with no errors. When I try to enter the application with 'http://localhost:8080/bank/main' I only get a blank screen and the server logs the messages below. In the jmx-console I can start the DatabaseManager without problems.

      18:33:46,408 ERROR [Engine] ApplicationDispatcher[/bank] Servlet.service() for s
      ervlet jsp threw exception
      java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Lj
      ava/lang/String;ZLjava/lang/String;ZZ)V
      at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibr
      aryInfoImpl.java:568)
      at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibrar
      yInfoImpl.java:401)
      at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfo
      Impl.java:248)
      at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoIm
      pl.java:162)
      at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:41
      8)
      at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
      at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
      at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
      at org.apache.jasper.compiler.ParserController.doParse(ParserController.
      java:220)
      at org.apache.jasper.compiler.ParserController.parse(ParserController.ja
      va:101)
      at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
      .java:511)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
      .java:295)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
      92)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:157)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
      atcher.java:703)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
      tionDispatcher.java:463)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
      ispatcher.java:398)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
      patcher.java:312)
      at com.sun.ebank.web.Dispatcher.doGet(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:157)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
      atcher.java:703)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
      tionDispatcher.java:463)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
      ispatcher.java:398)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
      patcher.java:312)
      at org.apache.catalina.authenticator.FormAuthenticator.authenticate(Form
      Authenticator.java:214)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:504)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:117)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
      0)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ssConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
      :577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:683)
      at java.lang.Thread.run(Thread.java:534)
      18:33:46,428 INFO [STDOUT] javax.servlet.ServletException: javax.servlet.jsp.ta
      gext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V
      18:33:46,428 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.service(
      JspServlet.java:244)
      18:33:46,428 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpSe
      rvlet.java:853)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterCha
      in.internalDoFilter(ApplicationFilterChain.java:237)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterCha
      in.doFilter(ApplicationFilterChain.java:157)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatche
      r.invoke(ApplicationDispatcher.java:703)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatche
      r.processRequest(ApplicationDispatcher.java:463)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatche
      r.doForward(ApplicationDispatcher.java:398)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatche
      r.forward(ApplicationDispatcher.java:312)
      18:33:46,428 INFO [STDOUT] at com.sun.ebank.web.Dispatcher.doGet(Unknown So
      urce)
      18:33:46,428 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpSe
      rvlet.java:740)
      18:33:46,428 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpSe
      rvlet.java:853)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterCha
      in.internalDoFilter(ApplicationFilterChain.java:237)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterCha
      in.doFilter(ApplicationFilterChain.java:157)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatche
      r.invoke(ApplicationDispatcher.java:703)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatche
      r.processRequest(ApplicationDispatcher.java:463)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatche
      r.doForward(ApplicationDispatcher.java:398)
      18:33:46,428 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatche
      r.forward(ApplicationDispatcher.java:312)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.authenticator.FormAuthent
      icator.authenticate(FormAuthenticator.java:214)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.authenticator.Authenticat
      orBase.invoke(AuthenticatorBase.java:504)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext
      .invokeNext(StandardValveContext.java:102)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.inv
      oke(StandardPipeline.java:520)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.in
      voke(StandardHostValve.java:137)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext
      .invokeNext(StandardValveContext.java:104)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.i
      nvoke(ErrorReportValve.java:117)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext
      .invokeNext(StandardValveContext.java:102)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.inv
      oke(StandardPipeline.java:520)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.
      invoke(StandardEngineValve.java:109)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext
      .invokeNext(StandardValveContext.java:104)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.inv
      oke(StandardPipeline.java:520)
      18:33:46,438 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.invoke
      (ContainerBase.java:929)
      18:33:46,438 INFO [STDOUT] at org.apache.coyote.tomcat5.CoyoteAdapter.servi
      ce(CoyoteAdapter.java:160)
      18:33:46,438 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.proc
      ess(Http11Processor.java:799)
      18:33:46,438 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http1
      1ConnectionHandler.processConnection(Http11Protocol.java:705)
      18:33:46,438 INFO [STDOUT] at org.apache.tomcat.util.net.TcpWorkerThread.ru
      nIt(PoolTcpEndpoint.java:577)
      18:33:46,438 INFO [STDOUT] at org.apache.tomcat.util.threads.ThreadPool$Con
      trolRunnable.run(ThreadPool.java:683)
      18:33:46,438 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)

      Thanks for your help
      v

        • 1. Re: Blank screen at BankApp
          vold Newbie

          an addition to the problem above:

          when I try to run the standalone client it starts without problems, but when I try to create a new customer the server logs:

          18:40:51,770 INFO [STDOUT] Debug: CustomerControllerBean ejbCreate
          18:40:51,910 INFO [STDOUT] Debug: CustomerControllerBean leaving
          18:40:52,120 INFO [STDOUT] Debug: AccountControllerBean ejbCreate
          18:42:45,924 INFO [STDOUT] Debug: CustomerControllerBean createCustomer
          18:42:45,924 INFO [STDOUT] Debug: CustomerControllerBean makeConnection
          18:42:45,924 INFO [STDOUT] Debug: CustomerControllerBean releaseConnection
          18:42:45,924 ERROR [LogInterceptor] RuntimeException:
          java.lang.NullPointerException
          at com.sun.ebank.ejb.customer.CustomerControllerBean.releaseConnection(U
          nknown Source)
          at com.sun.ebank.ejb.customer.CustomerControllerBean.createCustomer(Unkn
          own Source)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
          java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
          sorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(St
          atefulSessionContainer.java:949)
          at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
          java:120)
          at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
          ke(CachedConnectionInterceptor.java:185)
          at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(State
          fulSessionInstanceInterceptor.java:273)
          at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
          rceptor.java:84)
          at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
          torCMT.java:315)
          at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
          48)
          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
          at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
          ryFinderInterceptor.java:122)
          at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSession
          Container.java:416)
          at org.jboss.ejb.Container.invoke(Container.java:723)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
          java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
          sorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
          java:60)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
          java:185)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
          at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:
          360)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
          java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
          sorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
          at sun.rmi.transport.Transport$1.run(Transport.java:148)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
          60)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
          .java:701)
          at java.lang.Thread.run(Thread.java:534)