ADF applicatiopn on Apache Tomcat server

Hi all
Iam intersted to know that can we deploy My ADF(genric applicaion) application containing task flows on my apache tomacat server .
Thanks in advance
Bipin

Hi sammera
i have add that dll in bin directory and also followed the steps in that link
still iam getting the exception
SEVERE: Error configuring application listener of class oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack
java.lang.ClassNotFoundException: oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4148)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:563)
     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1397)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
     at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1500)
     at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:252)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Thread.java:619)
Jul 15, 2011 4:45:20 PM org.apache.catalina.core.StandardContext listenerStartEdited by: Bipin Patil on Jul 15, 2011 4:38 AM

Similar Messages

  • Problem connecting oracle database to jsp pages using Apache Tomcat server 8.0

    Well...I tried too many things..googled so many times..but still could not find solution to my problem.
    I use windows 8 Enterprise Edition(if this has to do something with the problem)
    Oracle 11.2.0
    Apache Tomcat server 8.0
    JDK 1.7
    My oracle is installed in the D: drive and tomcat in c:. i copied the ojdbc6.jar file from oracle to lib directory of tomcat server.
    Then i set  CLASSPATH in environment variables as "C:\Program Files\Apache Software Foundation\Tomcat 8.0\lib\ojdbc6.jar" in system variables
    My path variable is set as "C:\Program Files\Java\jdk1.7.0_02\bin".
    My program is as follows in notepad:
    <%@ page import="java.sql.*" %>
    <html>
    <body>
    <%
    Connection conn;
    Statement st;
    ResultSet rs;
    try{
    new oracle.jdbc.driver.OracleDriver();
    String dbURL="jdbc:odbc:oracle:thin:@localhost:1521:XE";
    String userId="system";
    String pwd="moon";
    conn=DriverManager.getConnection(dbURL,userId,pwd);
    st=conn.createStatement();
    rs= st.executeQuery("SELECT * FROM login");
    while(rs.next())
    System.out.println(rs.getString(1)+""+rs.getString(2));
    catch(Exception e){}
    %>
    </body>
    </html>
    I get too many errors then
    eroors
    org.apache.jasper.JasperException: An exception occurred processing JSP page /page2.jsp at line 14
    11: String userId="system";
    12: String pwd="moon";
    13:
    14: conn=DriverManager.getConnection(dbURL,userId,pwd);
    15: st=conn.createStatement();
    16:
    17: rs= st.executeQuery("SELECT * FROM login");
    Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    root cause
    javax.servlet.ServletException: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:905)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:834)
         org.apache.jsp.page2_jsp._jspService(page2_jsp.java:102)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
         org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    Nothing solved this problem.

    >> Nothing solved this problem.
    Can't fix a problem 'till an actual problem is identified.
    >> ODBC Driver Manager ... Data source name not found
    That appears to be ODBC drivers looking for a DSN (Data Set Name). If it wants a DSN, the DSN has to be specified in the code, and the DSN has to be configured in the windows host ODBC applet. So that is at least two squirrels to get in the right tree before moving forward. A ...host:...[port:]SID|service name are some of the bits needed in a jdbc connect string, and that is in no way related to DSNs. A Whole Different Animal. If it wants a DSN that might be what needs to go in the URL bit.
    And ODBC setups can be confusing, especially if an x64 OS is in the mix- if that is the case there are two different ODBC configuration applets, one for x64 the other for x86, and if one gets as far as talking to an actual database it might toss an architecture error. Only way to fix that "problem" is *delete* the ODBC DSN and then run the correct (maybe the x86) ODBC config utility, and set up the DSN. Again.

  • Problem in configuring Apache Tomcat Server

    Hi, I am facing problem in configuring Apache Tomcat server. I have downloaded its version 4.1.18 from the Internet. After unzipping and installing it, I have enabled the Root Context, enabled the Invoker Servlet, haven't changed the port to 80 from default 8080, have turned on the Servlet Reloading, have set the Java_Home variable in autoexec.bat, and have changed the DOS memory setting to 4096.
    Also, the concerned lines in my autoexec.bat file look like this:
    path c:\windows;c:\windows\command;c:\jdk1.2;c:\jsdk2.0;
    c:\JavaWebServer2.0;c:\jakarta-tomcat-4.1.18
    set java_home=c:\jdk1.2
    set tomcat_home-c:\jakarta-tomcat-4.1.18
    set classpath=.;c:\ServDevel;.;c:\jakarta-tomcat-4.1.18\common\lib\servlet.jar;.;c:\jsdk2.0\lib\servlet.jar;.;
    Still, after having done all this, when I start the server using startup.bat (which happens without any problems) and type in http://localhost:8080/ on the browser to test the server, nothing happens. It doesn't show me the Tomcat Welcome screen. I get an error page saying "This page is not available". Why? Where am I going wrong?
    Sushant

    1) Try http://127.0.0.1:8080
    2) set tomcat_home-c:\jakarta-tomcat-4.1.18
    Is the minus-sign after tomcat_home also in the autoexec.bat?
    Replace it with an equals-sign
    3) When you run startup.bat, is a new command window opened and are the following three lines displayed at the end? It should stay open, otherwise something is wrong (unless running as a service).
    INFO: Initializing Coyote HTTP/1.1 on port 8080
    Starting service Tomcat-Standalone
    Apache Tomcat/4.1.18

  • Deploying ADF Application to Apache Tomcat

    I am using Jdeveloper 11.1.2.2.0 and Tomcat 8.0.8 .
    while deploying ADF application,I am getting following exceptions:
    18-Jun-2014 10:24:10.432 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MDPT]]
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
            at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
            at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: Ljavax/faces/application/ProjectStage
            at java.lang.Class.getDeclaredFields0(Native Method)
            at java.lang.Class.privateGetDeclaredFields(Unknown Source)
            at java.lang.Class.getDeclaredFields(Unknown Source)
            at org.apache.catalina.util.Introspection.getDeclaredFields(Introspectio
    n.java:106)
            at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(Web
    AnnotationSet.java:261)
            at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAn
    notations(WebAnnotationSet.java:140)
            at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotatio
    ns(WebAnnotationSet.java:66)
            at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfi
    g(ContextConfig.java:332)
            at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfi
    g.java:771)
            at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
    g.java:303)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:117)
            at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
    se.java:90)
            at org.apache.catalina.core.StandardContext.startInternal(StandardContex
    t.java:5069)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
            ... 11 more
    Caused by: java.lang.ClassNotFoundException: javax.faces.application.ProjectStag
    e
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 25 more
    18-Jun-2014 10:24:10.460 SEVERE [localhost-startStop-1] org.apache.catalina.star
    tup.HostConfig.deployWAR Error deploying web application archive C:\apache-tomca
    t\apache-tomcat-8.0.8\webapps\MDPT.war
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.cata
    lina.LifecycleException: Failed to start component [StandardEngine[Catalina].Sta
    ndardHost[localhost].StandardContext[/MDPT]]
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:727)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:70
    0)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
            at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
            at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
    1704)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    please help me to solve this issue

    have you included jsf jar files?
    Running ADF Essentials in Tomcat
    http://technology.amis.nl/2014/01/03/deploy-oracle-adf-essentials-web-application-on-tomcat/

  • IBM WebSphere Studio and Apache Tomcat Server

    Hi all of you , my question is Can I add Apache TomCat web server to my IBM WebSphere Dev. Studio 5.0. ? If it's so, How can I do ? If you hurry up,I'll be really appreciated.
    Thanks in advance.
    Ergin

    When I do an add server from WSAD 5.1.2 I see the option of Tomcat 3.2, 4.0 & 4.1. I don't know if 5.0 has them.
    You can always run tomcat outside of WSAD and point it at your webapp root in WSAD. Doesn't provide all the nice integration but works OK.
    -- Frank

  • Problem while starting Apache Tomcat Server (Ports already in use)...

    Hi,
    I am using an Eclipse IDE for web service Client creation.. Also I have used Apache Tomcat5.5 Server inorder to run the application*...*
    While starting Tomcat Server, I am getting an error that the port numbers are already in use.
    So, I have changed the port numbers in the Server.xml file.
    But, still it is throwing the same error , even though the port numbers are not in use.
    Can any one please provide some suitable solution for this ASAP....
    I need very urgent and so please provide some solution..
    Thanks in Advance,
    roopa

    Hey...
    Did u start restarting your machine after you changed the ports..
    Is your tomcat server running perfectly after you changed the port number...
    I had a similar prob.. But i jus reinstalled both and gave different port numbers while re-installling.
    Jus give it it a try.. The ports need to be refreshed.. So try rebooting yr machine first !
    All the best !

  • Is apache server different than apache-tomcat server

    is apache server different than apache-tomcat server

    If you mean the apache web server, then, yes it's different from tomcat.
    Tomcat can be used to serve up static HTML, but it's primarily intended as a JSP and servlet container.
    If you're just using it for learning or to run a small, personal website, then just tomcat will be sufficient for both the static stuff and the JSPs & servlets.
    For bigger, heavier traffic sites, the tomcat people recommend using a separate web server (e.g. apache web server) for the static content. Since that's what these servers are made for, they do it better (faster? more robustly?) than tomcat.

  • SetAttribute in JSP page and Apache tomcat server

    Hello all gurus: I have created a JSP using JDeveloper. It works fine within the web server installed with JDeveloper, but when I upload the application to apache tomocat server, it does not seem to work correctly.
    I am using setAttribute property of the session object, to save data. Listed below is a section of the code. Not sure if it is a cookie issue or what.
    <%
    int i_count = 0;
    if(session.getAttribute("create_user_first_time") == "") {
    session.setAttribute("create_user_first_time","FIRSTTIME");
    else {
    System.out.println("SECOND TIME DUDE.");
    System.out.println(request.getParameter("username").toString().trim());
    i_count = createuser (
    request.getParameter("username").toString().trim(),
    request.getParameter("password").toString().trim(),
    request.getParameter("Email").toString().trim(),
    request.getParameter("DOB").toString().trim(),
    request.getParameter("securityQ").toString().trim(),
    request.getParameter("securityA").toString().trim(),
    request.getParameter("Phone").toString().trim()
    System.out.println("after create user");
    System.out.println("i_count="+i_count);
    if (i_count == 3) {
    session.setAttribute("err_msg_create_user", "USER ALREADY EXISTS!");
    System.out.println("err_msg_create_user: USER ALREADY EXISTS!");
    else {
    session.setAttribute("err_msg_create_user", "Congratulations " + request.getParameter("username").toString().trim() + "!!Please proceed to login at the following URL: <a href=Login.jsp target='_blank'> Login </a>");
    System.out.println("CONGRATULATIONS!");
    %>

    Abder-Rahman wrote:
    I noticed the problem.The "Hello.jsp" file was still in "Notepad" format.Huh? What is it, the "Notepad" format?
    Do you mean that it is saved as hello.jsp.txt? Just rename the file then.
    It might be helpful to disable the setting "hide extensions for known file types" in the Windows Explorer options.

  • APACHE Tomcat server startup problem

    When i'm trying to start Apache from Eclipse IDE, then accessing http://localhost:8080 , i got a Error 404 - The requested resource not available.
    why is this?
    when i'm starting from command line, everything it's ok, it's displaying the welcome screen
    please help
    Thanks

    If you want to access the Tomcat root, then you need to let eclipse take over the full control of Tomcat. Doubleclick the Tomcat instance in the Servers dialogue, under the 'Server Locations' choose 'Use Tomcat installation' instead of the default 'Use workspace metadata'.

  • Sun Role Manager v5.0.3 performance tuning on Apache Tomcat server

    hello everyone,
    We currently have SRM v4.1 in production running on Tomcat. This has major performance issues. A single page for app owner certfication takes approx 10 minutes to load. The current version is now being upgraded to 5.0.3 on Tomcat 6. Are there any new features/configurations available in SRM 5.0.3 for better performance (on tomcat)? Has anyone tried optimizing the performance of v5? Any server settings I need to look at? Any pointers will be highly helpful.

    Where's your database for this located? On the same server or another server? It is more likely the database than Glassfish being the weak and slow link here unless badly tuned GC is taking up all the CPU cycles.

  • How to protect an application running on Apache Tomcat app server with OAM 11gR2

    Gurus,
    We have an Apache Tomcat based application named "ABCD" here at client site that we want OAM 11gR2 PS1 to integrate with for SSO purposes. I have successfully configured OHS to reverse proxy requests to Apache Tomcat server whenever somebody tries to access the application URL but still, I am getting the application login page once I have successfully authenticated on OAM SSO login page. The Tomcat based application is authenticating users against a "UserDatabase realm".
    I know in terms of weblogic application, there is an OAM identity asserter provider which then populates the User Principal for the java environment with the authenticated OAM user. But there is no such OAM identity provider for Tomcat.
    So my question is, is there an provider (or Tomcat equivalent) which will entrust authentication to a header, that could be used to populate the Java User Principal from the OAM_REMOTE_USER header? Is the weblogic equivalent of authentication providers present in tomcat as well? Are those called valves?
    Please advise to the earliest.
    Thanks !!

    Aakash,
    I did follow the 4 steps that you mentioned to me. Out of the 4 that you had mentioned, I already had the webgate in place on OHS server and I was already passing the remote_user http header in oam policy as action.
    As part of Step #2: Install mod_jk plugin on OHS server that you mentioned
    1.) I downloaded the tomcat connector - tomcat-connectors-1.2.37-src
    2.) I had to run ./configure,make, make install on my OHS server which runs on RHEL 6. It created the mod_jk.so file. I pasted it in the needed folder.
    3.) I then created the httpd.conf file and workers.properties file as said in the connector docs.
    4.) Restarted OHS.
    As part of Step #3: Configure tomcat's ajp connector that you mentioned and I went through all the links pasted below but didn't find actually what needs to be in place to configure tomcat's ajp connector. I do see in the server.xml of tomcat app server that the ajp 1.3 protocol is supported:
    http://tomcat.apache.org/tomcat-4.0-doc/config/ajp.html
    http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s8
    http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html
    http://www.mulesoft.com/understanding-tomcat-connectors
    <!-- A "Connector" represents an endpoint by which requests are received
             and responses are returned. Documentation at :
             Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
             Java AJP  Connector: /docs/config/ajp.html
             APR (HTTP/AJP) Connector: /docs/apr.html
             Define a non-SSL HTTP/1.1 Connector on port 8080
        -->
        <Connector port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
    Do we need to disable the HTTP protocol in Tomcat and keep only AJP connector enabled? If yes, how to do that?
    I am trying to connect to the application from OHS server like so I am using the http protocal right? How should I use the ajp protocol to connect to tomcat application? 
    http://ohs-host:ohs-port/abcd
    Thanks !!!!!

  • Possible to connect remotely to Apache TomCat JSP application server

    Hi, I've just installed an Apache TomCat server and locally playing around with some JSP and Servlets.
    I have an website which is hosted remotely by an hosting company.However they do not provide JSP/Servlets server as an service.
    I want to know is it possible to add some code or something which connects to my JSP/Servlet TomCat server remotely. So, allowing me to add JSP code or Servlets to say my index.html at my website host location which then connects from their to my TomCat server JVM and spit the goods back out at my website location.
    Is this possible? seems quite awkard?

    You are certainly not in an ideal situation. While you could use AJAX, and a library like DWR to send requests between the hosted website and whatever JSP/Servlet engine you have available, the resulting application will likely be slower and less reliable than if you hosted it all in the same place. Realistically, you won't save yourself any effort by doing it this way. Application hosting is a lot more resource-intensive than hosting static content, and even more so due to the amount of abuse that goes on in the wild Internet.
    While you've solved the problem temporarily, your JSP/Servlet engine is still vulnerable to DoS-based attacks once it's determined where your AJAX servlets reside. The only long-term solution is to go with a provider that has proper JSP hosting that is known to have good security.
    Brian

  • Exception:org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

    Hi All,
    i am using jdev version 11.1.1.5.0
    and deployed my Adf application on Apache Tomcat 6.0.
    in my use case i have created simple adf application using adf business component. create a vo based on eo and drag-drop on jspx page.
    i have created JNDI data source in Apache server using edit context.xml file and add following line-
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"  accessToUnderlyingConnectionAllowed="true" />
    3.using same data source in my adf applicatioin as -
      right click on AM --> Configuration-->edit-->select connection type jdbc datasource  -->java:/comp/env/jdbc/TestDB  
    4. after that i have deployed my application on apace server but when i have running application i have got following error-
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    i have goggling and find  following solution-
    oracle.jdbc.driver.OracleConnection delConn = (oracle.jdbc.driver.OracleConnection) ((org.apache.tomcat.dbcp.dbcp.DelegatingConnection)c_stmt.getConnection()).getDelegate();
    but my problem is that i'm using Adf Business Component so where i set following type casting.
    Is there any method on ADF BC which handle JNDI Data source setting or any other way to do this.
    thanks in Advance
    Manish

    Hi dvohra21,
    thanks for reply.
    i don't understand where i go to set accessToUnderlyingConnectionAllowed =true
    i have already set this property on context.xml file
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"  accessToUnderlyingConnectionAllowed="true" />
    any other place where i set this propery
    please elaborate this steps how to Configuree DBCP

  • Integration  Of Standalone Tomcat Server to JDeveloper 11gR2

    Please tell me how to add & start using external standalone apache tomcat server 7.0.32 with JDeveloper IDE 11gR2.

    For only Tomcat 7 is certified
    http://www.oracle.com/technetwork/developer-tools/jdev/jdev11gr2-cert-405181.html#Application_Servers
    Also in case you want to deploy a ADF app on Tomcat 6.x this should help -
    https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
    Edited by: Sudipto Desmukh on Oct 29, 2012 5:25 PM

  • Tomcat server

    Hi i am new to JAVA..
    To practice JDBC concepts i have installed ORACLE 9i in my machine..
    later to practice on Servlets i have installed TOMCAT server 5.0 ...
    But the problem is with ORACLE 9i only oracle Http Server was installed in my machine..So after installing Apache tomcat server...when i run http://localhost:8080...
    I am getting Oracle Http server....
    Now there are two servers running on my machine one that came with the ORACLE 9i and one that i installed with apache....
    How to disable the Apache tomcat server that has got installed in my machine...??????
    please help me out from this..........

    If you need to know how to do this then I believe that you should edit the server.xml file in tomcat\conf. The part you are looking for is the http connector tag.
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
        <Connector port="8080" maxHttpHeaderSize="8192"
                   maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                   enableLookups="false" redirectPort="8443" acceptCount="100"
                   connectionTimeout="20000" disableUploadTimeout="true" />
        <!-- Note : To disable connection timeouts, set connectionTimeout value
         to 0 -->

Maybe you are looking for

  • SQL Worksheet unaccessible for keyboard

    Hi, I have SQL Developer on Ubuntu 8.10 Platform      1.6.0_10 Oracle IDE     1.5.4.59.40 Versioning Support     1.5.4.59.40 Sometimes I'm unable to type in SQL Worksheet area, mouse actions work good (like copy, paste, cut). Does somebody know how t

  • Scheduling dashboard or flash file

    Hello expert,          I want to design a WEBI report including multiple tables and a line chart. I want to implement this line chart in xcelsius , and combine it with WEBI in dashboard builder or I can directly develop this report wholly in XCELSIUS

  • Event Adapter

    Hi, Am using WLI2.1 te develop my adapter. When one is defining Application Views, one can define different connection parameters, say for DBMS adapter, 2 application views can connect to 2 separate databases. Now, if I define 2 events, 1 each in eac

  • Add Customer fields to Shopping Cart Wizard - Not showing on one screen

    Hi, I have added 3 custom fields to the SRM portal (5.0), by adding these fields to structures INCL_EEW_PD_ITEM_CSF & INCL_EEW_PD_ITEM_CSF_SC, as described in OSS Note 672960. On the Shopping Cart Wizard, these custom fields appear in the default set

  • Zfield is not apearing in the batch input session ( Customer Master Record)

    Hello, We have added one Z field in the customer master record (sales are tab). But this Z table not appear in the Batch Input session(SM35). My user want to update this field for all the customers at once, but this Z field not appearing even in MASS