need help i n migrating tomcat to oracle application server

Discussion in 'Java' started by pravar, Feb 21, 2004.

  1. pravar

    pravar Guest

    Hi

    I have a problem in migrating from tomcat to oracle AS . what happens
    when i ry to run the application i get the exception below.I checked
    the code
    v.add((HttpServlet) pageContext.getPage()); the exception is raised on
    this line i checked the imported files i found import
    org.apache.catalina.* . Will this import will give effect on
    deployment? But i read tomcat apache code is perfectly compatible with
    OAS .... Can some body help me ....

    500 Internal Server Error
    java.lang.ClassCastException: _produceReports at
    forms.SelectListTag.getSelectList(SelectListTag.java:195) at
    forms.SelectListTag.doStartTag(SelectListTag.java:122) at
    _produceReports._jspService(_produceReports.java:87)
    [SRC:/produceReports.jsp:33] at com.orionserver[Oracle9iAS (9.0.3.1.0)
    Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at
    oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:476)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:390) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
    com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:566)
    at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at servletsBase.Navigator.doRequest(Navigator.java:157) at
    servletsBase.Navigator.doGet(Navigator.java:71) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
    com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:566)
    at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:166) at
    com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:72) at
    EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:513)
    pravar, Feb 21, 2004
    #1
    1. Advertising

  2. pravar

    Berlin Brown Guest

    pravar wrote:
    > Hi
    >
    > I have a problem in migrating from tomcat to oracle AS . what happens
    > when i ry to run the application i get the exception below.I checked
    > the code
    > v.add((HttpServlet) pageContext.getPage()); the exception is raised on
    > this line i checked the imported files i found import
    > org.apache.catalina.* . Will this import will give effect on
    > deployment? But i read tomcat apache code is perfectly compatible with
    > OAS .... Can some body help me ....
    >
    > 500 Internal Server Error
    > java.lang.ClassCastException: _produceReports at
    > forms.SelectListTag.getSelectList(SelectListTag.java:195) at
    > forms.SelectListTag.doStartTag(SelectListTag.java:122) at
    > _produceReports._jspService(_produceReports.java:87)
    > [SRC:/produceReports.jsp:33] at com.orionserver[Oracle9iAS (9.0.3.1.0)
    > Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    > at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at
    > oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:476)
    > at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:390) at
    > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
    > com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    > at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    > at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:566)
    > at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    > at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    > at servletsBase.Navigator.doRequest(Navigator.java:157) at
    > servletsBase.Navigator.doGet(Navigator.java:71) at
    > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
    > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
    > com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    > at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    > at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:566)
    > at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    > at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    > at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:166) at
    > com.evermind[Oracle9iAS (9.0.3.1.0) Containers for
    > J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:72) at
    > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    > at java.lang.Thread.run(Thread.java:513)


    We lost another one to the Oracle J2EE, no!!!!!!!!!!!!!
    Berlin Brown, Feb 22, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kermit Piper

    Migrating a webapp on Tomcat to JBoss

    Kermit Piper, Feb 23, 2006, in forum: Java
    Replies:
    3
    Views:
    7,199
    bika.chainsingh
    Jun 13, 2012
  2. clue
    Replies:
    0
    Views:
    297
  3. Adhik
    Replies:
    1
    Views:
    226
    Manohar Kamath [MVP]
    Sep 5, 2003
  4. Feyruz
    Replies:
    4
    Views:
    2,121
    Sherm Pendley
    Oct 14, 2005
  5. Replies:
    56
    Views:
    678
    alex23
    Dec 27, 2012
Loading...

Share This Page