0 Replies Latest reply on Oct 5, 2004 7:52 PM by robin bajaj

    Problem porting dukebank application to jboss 4.0

    robin bajaj Newbie

      hi
      I am trying to port Dukebank application written Sun A.S to jboss 4.0
      and following all the instructions provided in "GEtting Started Documentation" provided for Jboss 4.0


      ENVIRONMENT DETAILS:
      I have configured myEclipse with jboss 4.0 Final
      on windows XP professional(SP2) using Java[TM] 2 Platform
      jdk version(build 1.4.2_05-b04)

      Hi i am doing everything rite till deployment
      deployement gives the folowing successfull deployement message .

      12:17:11,819 INFO [EARDeployer] Init J2EE application: file:/E:/jboss4/server/default/deploy/JBossDukesBank.ear
      12:17:13,501 INFO [EjbModule] Deploying CustomerBean
      12:17:13,541 INFO [EjbModule] Deploying AccountBean
      12:17:13,571 INFO [EjbModule] Deploying TxBean
      12:17:13,581 INFO [EjbModule] Deploying AccountControllerBean
      12:17:13,671 INFO [EjbModule] Deploying CustomerControllerBean
      12:17:13,681 INFO [EjbModule] Deploying TxControllerBean
      12:17:14,332 INFO [EJBDeployer] Deployed: file:/E:/jboss4/server/default/tmp/de
      ploy/tmp29023JBossDukesBank.ear-contents/bank-ejb.jar
      12:17:14,573 INFO [TomcatDeployer] deploy, ctxPath=/bank, warUrl=file:/E:/jboss
      4/server/default/tmp/deploy/tmp29023JBossDukesBank.ear-contents/web-client-exp.w
      ar/
      12:17:14,833 INFO [EARDeployer] Started J2EE application: file:/E:/jboss4/serve
      r/default/deploy/JBossDukesBank.ear
      
      


      But When i open the following link in the browser ::


      http://localhost:8080/bank/main
      



      the appserver window starts throwing the following messages ::


      
      12:18:02,692 ERROR [Engine] ApplicationDispatcher[/bank] Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: /logon2.jsp(1,1) The absolute uri: http://jav
      a.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files de
      ployed with this application
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH
      andler.java:39)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.j
      ava:409)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.j
      ava:90)
       at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java
      :339)
       at org.apache.jasper.compiler.Parser.addInclude(Parser.java:390)
       at org.apache.jasper.compiler.Parser.parse(Parser.java:123)
       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:810)
       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:704)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
      tionDispatcher.java:474)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
      ispatcher.java:409)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
      patcher.java:312)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(Form
      Authenticator.java:220)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:504)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:169)
       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:118)
       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)
      12:18:02,872 WARN [FormAuthenticator] Unexpected error forwarding to login page
      
      org.apache.jasper.JasperException: /logon2.jsp(1,1) The absolute uri: http://jav
      a.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files de
      ployed with this application
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH
      andler.java:39)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.j
      ava:409)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.j
      ava:90)
       at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java
      :339)
       at org.apache.jasper.compiler.Parser.addInclude(Parser.java:390)
       at org.apache.jasper.compiler.Parser.parse(Parser.java:123)
       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:810)
       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:704)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
      tionDispatcher.java:474)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
      ispatcher.java:409)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
      patcher.java:312)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(Form
      Authenticator.java:220)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:504)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:169)
       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:118)
       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)
      
      




      Then when i refresh the page in the browser ::
      the following set of exceptions keeps getting thrown over n over
      everytime i refresh the page ::

      any helpful pointers will be greatly appreciated.


      12:28:07,251 WARN [FormAuthenticator] Unexpected error forwarding to login page
      
      org.apache.jasper.JasperException: /logon2.jsp(1,1) The absolute uri: http://jav
      a.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files de
      ployed with this application
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH
      andler.java:39)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.j
      ava:409)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.j
      ava:90)
       at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java
      :339)
       at org.apache.jasper.compiler.Parser.addInclude(Parser.java:390)
       at org.apache.jasper.compiler.Parser.parse(Parser.java:123)
       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:810)
       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:704)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
      tionDispatcher.java:474)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
      ispatcher.java:409)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
      patcher.java:312)
       at org.apache.catalina.authenticator.FormAuthenticator.authenticate(Form
      Authenticator.java:220)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
      torBase.java:504)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
      eContext.java:102)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:169)
       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:118)
       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)



      P.S
      i apologize ,i couldnt avoid this cross posting.
      i have posted this query in the "getting started documentation" forum as well but nobody seems to be working on the same level .having gone through the queries posted here , i am sure users here can better answer my question.
      Its really important for me to know how does dukebank application gets ported on jboss 4.0 to see the actual worth of this Application server.
      Thanks a lot in advance.