About BC4J on Tomcat..-_-

Hi..Everyone..
i have a BC4J JSP project.and use Tomcat 4.1.19.
How to set my tomcat to run BC4J project?? /_\
i look
"Deploying Web Applications to Apache Tomcat"
http://download-west.oracle.com/otn_hosted_doc/jdeveloper/904preview/packaging_deploying/dep_p_gwebappstomcat.html
but have error:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] javac: invalid flag: C:\Program
[javac] Usage: javac
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath Specify where to find user class files
[javac] -sourcepath Specify where to find input source files
[javac] -bootclasspath Override location of bootstrap class files
[javac] -extdirs Override location of installed extensions
[javac] -d Specify where to place generated class files
[javac] -encoding Specify character encoding used by source files
[javac] -source Provide source compatibility with specified release
[javac] -target Generate class files for specific VM version
[javac] -help Print a synopsis of standard options
     at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
     at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
     at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:345)
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:357)
     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:628)
     at java.lang.Thread.run(Thread.java:536)
Apache Tomcat/4.1.19

Install your JDK into a directory w/o spaces (i.e. C:\JDK1.3) and then set your JAVA_HOME to it. Looks like the space in the path to javac.exe is causing problems here.
Rob

Similar Messages

  • Deploying BC4J on Tomcat, linux

    Hello;
    What is involved in deploying a web application with BC4J objects on a Tomcat server? (Let's not worry about getting
    data web beans and their pretty HTML output to work - just getting the OrderEntry ApplicationModule up and running and accessing the ViewObjectImpl objects autogenerated by JDev's wizard would be fine.)
    I have copied a bunch of JDeveloper's library zips and opened them in my Tomcat WEB-INF/classes directory; that should be fine. Where do I need to store the XML descriptions of various table beans and ViewObjects? What about initial [module].properties? Anything else I should worry about?
    //ebu

    I had to put the property files into a directory that was referenced in $CLASSPATH at startup. Otherwise it did not seem to find any of them.
    Regards
    Yngvi
    null

  • BC4J with Tomcat

    Hello People,
    I am trying to deploy a simple application with Oracle BC4J (created with the JDeveloper wizards) in Tomcat. I am using JDK 1.4.1, Win2k and Tomcat 4.1.24 and Tomcat 5.02.
    I had followed all steps that are on this page:
    http://download-west.oracle.com/otn_hosted_doc/jdeveloper/904preview/packaging_deploying/dep_p_gwebappstomcat.html
    But I get 2 problems:
    In tomcat 4.1.24 the error message is:
    Error Message: Only one of the two parameters target or targetParam should be defined.
    And in Tomcat 5.02 the error message is:
    Error Message: Unable to compile class for JSP
    Any help will be welcome.
    []s
    Pablo

    Again: Anyone?
    Hello People,
    I am trying to deploy a simple application with Oracle
    BC4J (created with the JDeveloper wizards) in Tomcat.
    I am using JDK 1.4.1, Win2k and Tomcat 4.1.24 and
    Tomcat 5.02.
    I had followed all steps that are on this page:
    http://download-west.oracle.com/otn_hosted_doc/jdevelop
    r/904preview/packaging_deploying/dep_p_gwebappstomcat.h
    ml
    But I get 2 problems:
    In tomcat 4.1.24 the error message is:
    Error Message: Only one of the two parameters target
    or targetParam should be defined.
    And in Tomcat 5.02 the error message is:
    Error Message: Unable to compile class for JSP
    Any help will be welcome.
    []s
    Pablo

  • About BC4j and java stored procedure

    Is it possible create a java stored procedure using BC4j and deploy to Oracle9iR2 VM?
    If it is possible, how about the performance compare to PL/SQL stored procedure?

    In 9.0.3.3 it will be possible again. The ability to deploy a BC4J-based, local-mode Java Stored Procedure was broken in 9.0.3 before this upcoming maintenance release.
    PL/SQL will almost surely be faster if you are talking about just doing basic DML type of operations, when compared to Java stored procedures.

  • Getting error when deploying BC4J on tomcat

    Hello
    I am new to BC4J trying to explore it and during that i am getting error constantly when deploying the Components+JSPs on Tomcat 4.1.24 as bellow
    org.apache.jasper.JasperException: Only one of the two parameters target or targetParam should be defined.
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:398)
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:70)
         at org.apache.jsp.AccidentView1_Browse_jsp._jspx_meth_jbo_DataScroller_0(AccidentView1_Browse_jsp.java:186)
         at org.apache.jsp.AccidentView1_Browse_jsp._jspService(AccidentView1_Browse_jsp.java:122)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    ----- Root Cause -----
    oracle.jbo.JboException: Only one of the two parameters target or targetParam should be defined.
         at oracle.jbo.html.jsp.datatags.UrlEventTag.doStartTag(UrlEventTag.java:95)
         at org.apache.jsp.DataScrollerComponent_jsp._jspx_meth_jbo_UrlEvent_2(DataScrollerComponent_jsp.java:230)
         at org.apache.jsp.DataScrollerComponent_jsp._jspService(DataScrollerComponent_jsp.java:158)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:398)
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:70)
         at org.apache.jsp.AccidentView1_Browse_jsp._jspx_meth_jbo_DataScroller_0(AccidentView1_Browse_jsp.java:186)
         at org.apache.jsp.AccidentView1_Browse_jsp._jspService(AccidentView1_Browse_jsp.java:122)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    2003-09-29 11:33:37 Include Error
    org.apache.jasper.JasperException: Only one of the two parameters target or targetParam should be defined.
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:398)
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:70)
         at org.apache.jsp.AccidentView1_Browse_jsp._jspx_meth_jbo_DataScroller_0(AccidentView1_Browse_jsp.java:186)
         at org.apache.jsp.AccidentView1_Browse_jsp._jspService(AccidentView1_Browse_jsp.java:122)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    ----- Root Cause -----
    oracle.jbo.JboException: Only one of the two parameters target or targetParam should be defined.
         at oracle.jbo.html.jsp.datatags.UrlEventTag.doStartTag(UrlEventTag.java:95)
         at org.apache.jsp.DataScrollerComponent_jsp._jspx_meth_jbo_UrlEvent_2(DataScrollerComponent_jsp.java:230)
         at org.apache.jsp.DataScrollerComponent_jsp._jspService(DataScrollerComponent_jsp.java:158)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:398)
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:70)
         at org.apache.jsp.AccidentView1_Browse_jsp._jspx_meth_jbo_DataScroller_0(AccidentView1_Browse_jsp.java:186)
         at org.apache.jsp.AccidentView1_Browse_jsp._jspService(AccidentView1_Browse_jsp.java:122)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)
    Please guid me how to solve this

    Did you use installer?

  • BC4J using Tomcat DataSource: ClassCast Exception

    Hi
    need help with this problem:
    i have deployed a bc4j module to tomcat.
    the module is confgured to use an excisting datasource within the servlets context.
    everything works fine, like
    o ApplicationModule is created (using the correct Datasource on Tomcat)
    o a ViewObject is looked up by name
    but here it starts to get messy:
    executing the a query on the ViewObject leads to a ClassCast Exception (see below)
    One additional remark:
    The same code works fine, when using a Connection instead of a DataSource.
    But this is J2EE, so why not use a DataSource ?
    Thanks for any ideas
    Volker
    java.lang.ClassCastException: org.apache.commons.dbcp.DelegatingPreparedStatement
         at oracle.jbo.server.OracleSQLBuilderImpl.doStatementSetRowPrefetch(OracleSQLBuilderImpl.java:976)
         at oracle.jbo.server.DBTransactionImpl.createPreparedStatement(DBTransactionImpl.java:3346)
         at oracle.jbo.server.DBTransactionImpl2.createPreparedStatement(DBTransactionImpl2.java:425)
         at oracle.jbo.server.DBTransactionImpl.createReUsePreparedStatement(DBTransactionImpl.java:4173)
         at oracle.jbo.server.ViewObjectImpl.getPreparedStatement(ViewObjectImpl.java:7750)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:586)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:547)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3422)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:663)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:769)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:706)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3363)
         at de.mtag.demo.server.Demo.start(Demo.java:88)

    I know it´s been a long time since you've posted this question. But did you resolve this problem ? I'm having the exact same situation here.
    Any help would be good.
    Thanks a lot,
    John

  • Wrong at bc4j and tomcat

    hi!
    i deploy my bc4j web application to the tomcat
    when i test my web page , i get there is no variable like belown
    Generated servlet error:
    E:\Tomcat\work\localhost\webapp2\stlist$jsp.java:95: interface javax.servlet.jsp.tagext.BodyTag undefined variable EVAL_BODY_BUFFEREDB
    if (_jspx_eval_jbo_ApplicationModule_0 == avax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
    what i do for resolving the matter.
    thanks!
    ^

    I had to switch the classes12.jar file that I was using with Tomcat to the one that came packaged with JDeveloper. Thanks for the quick reponse though.

  • Question about blazeds turnkey, tomcat and directory structure

    hi. this question is pretty basic...been reading sujit reddy g's blog on installing/setting up blazeds.
    in one article he creates a samplewebapps directory in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\samplewebapps and copies the blazeds WEB-INF/lib into that directory and the configuration files in the flex folder across as well...http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/
    in another article on invoking java methods from flex he configures the remote-config.xml file directly in the blazeds\WEB-INF\flex folder....http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-fle x/
    wasn't sure why in the first example he copied the files and folders to the samplewebapps directory while in the second example he just configured the files within the blazeds directory...thanx...(i'm a newbie at server side development)

    I'll take a stab at it. The key thing to realize is the BlazeDS code is ADDED on
    to the appserver. E.g. for Tomcat/WebLogic/et al one adds the reference in the web.xml file in WEB-INF.
    So, what is that add-on?
    1. Executable files. These are jar files and typically stuck into WEB-INF/lib
    2. Configuration files. flex/services-config.xml is specified in web.xml. It refers to the other config files in WEB-INF/flex
    So, the config in web.xml tells Tomcat (and its forked commercial products) to load up the Flex jars and run some classes. By standard, the "run some classes" follows the servlet lifecycle and runs specific methods in the class when the servlet is loaded, called, destroyed. So, Flex jars have a class which implements the servlet interface.
    Incidentally, you may also see references to log4j, Spring, and other frameworks in the web.xml as well. They do the same sort of stuff. So, Tomcat does the passing of the HTTP packets and stages them into Java classes and the hooked in frameworks do add their own behaviours to the setup.
    HTH,
    TimJowers
    P.S> Also note in Flex when you setup the project properties for a Flex Project then you need to match up your URL and "context" to what you have on your server. In his exampe, the "samples" context may have already been setup so easier to use. What is a "context"? The idea is to have more than one webapp running on an appserver. In Tomcat, its basically just the subdirectory under "webapps". That directory name becomes part of the URL. E.g. webapps/samples -> http://localhost:8080/samples  or webapps/mytest -> http://localhost:8080/mytest

  • Identity of the conversion about lunix and tomcat

    I lunix mainframe systems to open a certain account privileges cloud
    In the account to install tomcat 6.0 and the deployment of the WEB project
    Function mainly through the network tasks can be directly delivered to the mainframe servers,
    And the results of the implementation of the return of the mandate.
    But when ordinary users the task of delivery, and then view the task in the circumstances under lunix (with qstat command)
    USER is the task of cloud,
    What we need now is the cloud into the names of ordinary users to run (for each delivery task of landing the person's name)
    TOMCAT heard seems to be solved, but I did not find a solution, or the entrance!
    Edited by: duzhiming on 2009-4-15 ??8:21

    Sorry but you have the wrong forum.
    Regards,
    ka

  • About  lunix and tomcat  identity of the conversion

    我在大型机 lunix系统下 开了个有一定权限的账户
    在账户下 有 tomcat 6.0 并且部署了WEB项目
    主要是功能是 通过网络可以直接投递任务到大型机
    并且执行返回任务结果。
    但是当注册普通用户投递的任务 在lunix下进程里面都是以我的 USER 来跑的(这个USER后 命令是java ),
    而且查看任务情况 qstat 也是用我的用户名
    不知道tomcat或是jboss能不能 转换下权限
    把名字改成 每次登陆投递任务的人的名字
    I lunix mainframe systems to open a certain account privileges
       In the accounts under tomcat 6.0 and the deployment of the WEB project
       Function mainly through the network tasks can be directly delivered to the mainframe
       And the results of the implementation of the return of the mandate.
    But when ordinary users registered in the task of delivery lunix which are under the process of the USER to my running (after the USER command is java),
         Qstat and view the tasks is to use my user name
             Jboss or tomcat do not know can be converted under the authority
               Every time the name changed to drop landing task name

    Sorry but you have the wrong forum.
    Regards,
    ka

  • Quesiton about HttpSessionListener in Tomcat 5.0.25

    Hi there
    I have the following class implementing HttpSessionListener:
    package com.mycompany;
    import javax.servlet.http.HttpSession;
    import javax.servlet.http.HttpSessionEvent;
    import javax.servlet.http.HttpSessionListener;
    public class MyListener implements HttpSessionListener
    public void sessionCreated(HttpSessionEvent event)
    HttpSession session = event.getSession();
    System.out.println("Session was created for id="+session.getId());
    public void sessionDestroyed(HttpSessionEvent event)
    HttpSession session = event.getSession();
    System.out.println("Session was destroyed for id="+session.getId());
    The class is deployed in web.xml as:
    <listener>
    <listener-class>com.mycompany.MyListener</listener-class>
    </listener>
    Now, if I start Tomcat and access my application, I can see the message indicating that the session was created. If I keep sending requests, the message does not appear since the session has been created. (so far, so good)
    If I close the browser and open it again to access my application, I can see the message that another session was created. Subsequent requests do not show the message. (so far, so good)
    The problem comes here:
    1. you start tomcat
    2. you open the browser and send the request to the server (you see the message, so the listener is called)
    3. you shut down tomcat
    4. you start tomcat again (previous session is obviously invalid)
    5. you refresh the screen in the browser (the browser sends the cookie with the old session id)
    6. The application generates the response and a new session is created, HOWEVER the message is NOT displayed (meaning that the listener was not called).
    Please note that in all cases a proper session is created/used, but in my test, the listener is not being called if the browser sends a session that is not valid to the server (or at least, that is what it appears....)
    The specification (Servlet2-4, Nov 24th-2003, pg 276) says that sessionCreated is called when a session WAS created. If I have a new HttpSession, I should get a call to the listener... right?
    I am currently using: WindowsXP, jdk 1.4.2_04, Tomcat 5.0.25
    I'm probably doing something wrong but I cannot figure out what it is. Any help/suggestions/comments are appreciated.
    Thanks in advance
    Leo.

    Are you sure that a new session is being created in step 6? Tomcat can be configured to persist sessions between restarts. Maybe check getCreationTime() on the session?
    --Jon                                                                                                                                                                                                                                                                                                                                                               

  • BC4J under TOMCAT 403 Insert/Update probs

    Hi,
    My JSP application works fine in JDeveloper 9i (9.0.2). Deployed under Tomcat 4.0.3 everything is ok too except when I try to update/insert records.
    I get
    Class oracle/jbo/AttributeDef violates loader constraints
    The problem seems to be in the SetAttribute datatags in the Row component when updating/inserting.
    Anyone had teh same prob? What lib/jar whatever am I missing?
    All help will be very much appreciated
    Thnx
    Eric

    Problem solved. I copied all the jar's which should be (according the JDev help) in the lib directory under Tomcat home to the application specific WEB-INF/lib directory.
    Regards
    Eric

  • Help for documentation about  jsp and tomcat

    Hello
    This is realy very urgent for me!!Does anuone can help me.
    There is my problem .I nead books (hypperlink) for jsp or tomcat.
    who made it why and how does it looks.I am writeing documenation for my project and i have to finish it very soon.I found some tutorials btu it is noy enough if you know for something better i would be vry gratefull.
    By

    Hi,
    I agree, the basic documentation at the jakarta site is good, but needs a little polishing/updating.
    Use google to do a search, and wade through loads of stuff before coming up with the answers, or this site is pretty good too!!!!!
    Unfortunately, all the answers are not always forthcoming until you know which questions to ask (or the relevant words to enter into a search engine).
    best
    kev

  • Queries about BC4J

    HI,
    Im new to bc4j. I have certain questions related to it.
    1. Where do bc4j fit in a distributed architecture, like for ex: does it replace Entity beans and forms the persistence layer.
    2. Why do you make use of bc4j as session beans. Can I have an J2EE architecture where a session bean accesses a bc4j component and this component handles all the database persistence. If yes, can u provide a link to a document which explains how to access a bc4j component.
    3. When i use bc4j, will i get completely locked with Oracle9iAS and cannot migrate to some other server.
    Thanx and regards,

    Thanx for the reply....
    I have a few existing JSPs which directly talk to the database.
    Now I want it to be made into a distributed architecture containing EJBs.
    So the flow must be like JSP -> Session beans -> BC4J component -> Database.
    So in this case do i require to develop new JSPs using JDeveloper option (JSP for Business Components).
    Thanx and regards,

  • Question about BC4J data tags, Oracle sessions and Locking!

    Hi ,
    I have seen numerous examples of JSPs using data tags and in all the examples the data tag for the application module has the "username" and "password" harcoded in it.
    My questions are:
    1) For a stateful application should we be including the username and password in every JSP page. I personally believe that we should not.
    2) If we have a username and password in every JSP page will it not start a new ORACLE user session and if so will it not cause locking problems?
    3) If we don't hard code the username and password in every JSP page, will it reuse the same ORACLE session ?
    4) How do we avoid locking problems when we use data tags?
    5)I can understand the inclusion of username and password in every JSP page if it is a stateless application but again Is there a way we can avoid hardcoding the username and password in every single page?
    I would appreciate if some one can let me know if any of my assumptions are incorrect.
    JDeveloper Team/Juan any advice?

    The username and password are optional. They can be provided via the connections.properties file. The multple entries for username and password don't mean that separate connection are made. The first time the ApplicationModule tag is encountered, your application instance is created. If you are running in reserved mode (look at your releasePageResources tag) the application instance is kept until your Http session times out. If you are running in Stateful or Stateless mode, you application instance is returned to the application pool and retrieved the next time you need an instance. Please refer to the application pool documentation and to the source in oracle\jbo\common\ampool provided in jbohtmlsrc.zip.

Maybe you are looking for

  • I just want my new Nano.

    Ok, question, when? I pre-ordered, no date for shipment. I'm missing my muzic!

  • Video aplication won't open and I try turning of my ipad and it won't work now matter wath!!

    Why?

  • Poor result using Compressor

    I need help. I use a Sony camera (HDR CX560) bought in US with NTSC as standard. I live in Europe and would like to burn a DVD for my Blue-Ray player showing it on my PAL TV. The footage is 1080i, 1920x1080, 29,97 fps. I have tried several different

  • Webservice sender and Receiver. Pls advice urgent

    Hi All, My Scenario System A (WebService) -- XI -- System B (WebService) Pls let me know 1. What does it mean by WebService needs WebServer? 2. For System A (WebService) -- XI     Do I require WebServer to be installed at System A or XI? 3. For XI --

  • Issue with Cropping

    Hi All - I have a bit of an issue with Photoshop CS6 in the cloud.   When running the crop tool on a basic image, it seems that it goes to "Processing" and simply stays there for some time.   The image is not very high res and the computer is brand n