Re: How to configure Ant in adf application using Jdeveloper 11.1.2.3.0?

Hi all

I use jdev 11.1.2.3.0.

Any can help me how to configure Ant in adf application using Jdeveloper 11.1.2.3.0?

With respect,

satishkumarN

HI Sissi,

Your question is not able to understand. I guess you are looking for building project using ant for deployment.

Please find the links below

Construction projects with Ant

Use of Maven in JDeveloper 11.1.2: asked to build ADF with Maven using Ant ojdeploy

One size does not fit all: using ojdeploy and Ant to create pots of ADF library

Thank you

Nitesh

Tags: Java

Similar Questions

  • How to generate the file for ADF Application using Jenkins CI ear

    JDeveloper: 11.1.2.1.0

    Hi all

    We use the continuous Integrator tool Jenkins to deploy the Source code for the ADF in various environments such as UAT/Prod etc. I have never used Jenkins to build the ear file and got the same basic questions about its use. Can someone with me how to use this tool.

    1. as far as I know, Jenkins supports scripts ant, but what I need to do any thing added in the Jenkins case, in support of controls ojdeploy

    2. all the documents that I can refer to stages of deployment using Jenkins

    3. If I need to deploy it to multiple environments, what I need to make any changes in the Jenkins case or a job is enough and properties file will take care of it

    4. I want Jenkins system to read the code of source code control server (we use p4)

    Thank you

    Delighted Nuka.

    Look for ojdeploy coating in an Ant script, then call your script by Jenkins/Hudson Ant as a recurring task.  This blog previous messages of talks to the technique of ojdeploy-Ant:

    One size does not fit all: using ojdeploy and Ant to create pots of ADF library

    From your point of view development, get the ojdeploy-Ant scripts first work in JDeveloper, then expand to be called by Jenkins/Hudson.  You will need to install JDeveloper on the build server for this to work, so why you may need to adjust the Ant scripts for your construction engine, JDev configuration may be different on your build of your the desktop configuration server (although ideally you should standardize the JDev on your PCs of dev configuration and build server in my humble OPINION).

    CM.

  • "404" error when running ADF Applications using Weblogic / OAM / Webtier

    Hi Experts,

    Our organization works on the implementation of Weblogic 10.3.5 on HP - UX 11.31 / PA RISC hardware.

    All is well enough to work, but we met a particular hurdle and I hope I can get some advice from people here in the forums.

    We have virtual hosts within the Weblogic web layer for different areas. We also have Oracle Access Manager configured to protect some web resources (to force the user to authenticate to access the page). Each virtual host is configured to use the https protocol, and we have SSL certificates installed.

    The problem arises when trying to deploy an ADF application for weblogic, then run it through one of these virtual servers. We want these applications to use https only. Mod_wl_ohs has also been configured to forward requests to the web layer weblogic.

    App deploys fine, and when you try to access the app, we are redirected to a login page by OAM, which is what we want. However, when the application starts to run, it seems that ADF is adding to the URL query parameters, and when he does this, redirecting to https, which causes a 404 error. If you manually add the 's' on the URL, the application loads and works very well.

    For example:
    Say the url of our application is
    https://foo.mydomain.com/MyApp/faces/search
    Navigate to this url redirects to the login page. After the connection, we headed over to something like this (the actual settings vary):
    http://foo.mydomain.com/MyApp/faces/search?_afrLoop=7078069345015890 & _afrWindowMode = 0 & _adf. CTRL-State = yvpch8hdh_4
    .. which returns a 404 error.
    If put us the 's' on the url, it works as expected.

    Why is this happening? Why is redirect to the login page staying is not in https?

    To facilitate debugging, we created a very simple jsp page that was not developed using ADF, and deployed in a similar way, and he remained in https after redirection from the login page.

    Is this a specific problem ADF? Is something that needs to be configured in the ear file deployment of JDeveloper?

    Any advice would be much appreciated...

    Published by: corn on September 18, 2012 09:43

    Hello

    It seems that you use any porxy between the two.

    Please activate weblogicplugin activated under

    Server--> --> configuration--> advance.

    Enable this option and try to restart the server again.

    Kind regards
    Kal

  • How to configure the DNG Converter application to download images on computer?

    Greetings to everyone,

    Reading this thread, I realized that in order to get my EOS 5 d mk2 CR2 images in CS3 I should convert CR2 files using the DNG Converter. It's all good for me.

    In this thread, there is information we can actually deal with DNG Converter as the application to download images from the camera - and so 'on the fly' convert the files - but how to set DNG Converter to do this for CR2 files? I use OS X v 10.5.6.

    Thank you very much

    Philippe

    Through the preferences in the application of Capture of Image from Apple, you can set DNG to launch when you connect the camera or a card reader:

  • How to configure my router 700 minutes using a Macbook?

    I can't configure my MN-700 router to my macbook. How can I make this cd is not able to run on the computer.

    Hello cassiusmatthews,

    You run Windows on your Mac or you run the operating system provided with the Mac (OSX)?

    I suggest that to contact Apple to help configure your Macbook computer on a wireless network:
  • How to bind RichTextbox of ADF / Data Control Jdeveloper 11g R1

    Hello

    Can you please help me to link RichTextbox of ADF / Data Control in Jdeveloper.

    I am able to bind to inputText, button. But impossible to find for Richtextbox.

    Thank you

    Swathi

    GoTo pagedef and add the attribute binding in the bindings section

    Steps-

    Click the Green more icon--> to select in the generic links section attribute values--> click Ok--> select data source, and the attribute and then click Ok

    Then select on the RichTextEditor page editor and write in the value property that's how - #{bindings. AttributeName.inputValue}


    Ashish

  • Transaction management in the ADF Application using Dynamic Shell

    Hi all

    I use Jdev 12.1.2. We have an application built using design pattern of Shell of dynamic user interface where each workflow in the application will open in a separate tab. So my question here relates by using transaction management in the workflow.

    I read in many places where we are asked to avoid always using "start new Transaction" as it would open multiple connection. But I also vaguely remember reading that best practices to use in an application built using by using Dynamic user interface Shell, is to have isolated Datacontrol with always start new Transaction.

    So could indicate the recommended approach for impact Shell of the user interface and the performance of the approach?

    Note: We have just a data control in our application.

    Thanks in advance.

    Hello

    the transaction is not defined by the shell of the dynamic tab but the workflow. The shell of the dynamic tab displays only the workflow at a glance. If you plan to display a single feed task several times as tabs in a dynamic tab shell, each indicating a different set of data, then you use "isolate" scope of data control or "adaptive databinding (https://blogs.oracle.com/groundside/entry/towards_ultra_reusability_for_adf). If you are using remote data controls then - if you use ADF BC - each instance of the workflow (in shell dynamic tab tab) creates its own connection to the base and the transaction. Workflow transaction parameters are passed to it.

    So use case issues: If you only display a single instance of a workflow tasks at once in a tab of the shell of the dynamic tab so that you can use the scope of shared control (default) data without doing anything. I however you must show the same workflow multiple times then reach isolated from control data or link Adaptive is the implementation, you should go for. The first option - data control isolated - is expensive because it creates additional database connections. There if its use cases.

    Frank

  • Dell inspiron 3521 (i5), how to configure Radeon video card laptop use as main graphics card?

    Hello guys.

    IM using Dell inspiron 3521 (version i5 to 1.7 ghz, Radeon HD 7670 M / Intel HD Graphics 4000, 6 GB of ram)

    I don't want to use the Intel HD video card at all, because the quality of the texture is so low. I would like to know, how to set up the main video card?

    Its possible?

    Thank you

    The 'main' video chip is the Intel one - it's the only one who has a connection to your display board.  The AMD GPU is a co-processor - it can be used (chosen from the AMD Catalyst Control Panel) for the applications you want to use it.

    It CAN be made the default GPU - GPU from Intel's wired for this role.  By design, all of the video data through the Intel GPU (which is part of the central unit of system processing).

  • How to configure the service objective for use minimization?

    Hi all

    I worked on a minimization problem (for more details, see this post).  I figured out how to run an unconstrained minimization, but can not quite understand why my thread objective function remains broken.  Here is a screenshot:

    Any ideas?

    I understand not under this main VI of the example, a subroutine that performs the minimization and a subroutine that is called when the minimization.  As it seems that I am limited to 3 accessories, I will add some sample data to the first answer I will generate.

    Thank you very much

    RipRock

    Hi all

    I just thought of it.  For those who may be confused, as well, the answer is: follow the directions!  RTFM!  In other words, if you use the template provided to the function of labview\vi.lib\gmath\NumericalOptimization\ucno_objective template.vit, rather than recreate the code in the example, it works.

    Sorry for these positions - and thank you for your attention,

    RipRock

  • How to configure VPN remote access to use a specific Interface and the road

    I add a second external connection to an existing system on a 5510 ASA ASA V8.2 with 6.4 AMPS

    I added the new WAN using another interface (newwan).

    The intention is to bring more internet traffic on the new road/interface (newwan), but keep our existing VPN using the old interface (outside).

    I used the ASDM GUI to make changes and most of it works.

    That is to say. The default route goes via (newwan)

    Coming out of a VPN using a site to character the way previous (out) as they now have static routes to achieve this.

    The only problem is that remote incomming VPN access Anyconnect do not work.

    I put the default static route to use the new interface (newwan) and the default tunnel road be (outside), but that's the point is will not...

    I can either ping external IP address from an external location.

    It seems that the external interface doesn't send traffic to the - external interface (or at least that's where I think the problem lies). How can I force responses to remote VPN entering IPS unknown traffic to go back on the external interface?

    The only change I have to do to make it work again on the external interface is to make the default static route to use external interface. Calling all internet traffic to the (external connection) original

    Pointers appreciated.

    William

    William,

    As it is right now that you will not use the same interface you have road to terminate remote access unless you know their IP addresses by default.

    In one of the designs that I saw that we did something like that.

    (ISP cloud) - edge router - ASA.

    The edge router, you can make PAT within the interface for incoming traffic on port udp/500 and UDP/4500 (you may need to add exceptions to your L2L static) of the router. It's dirty, I would not say, it is recommended, but apparently it worked.

    On routers, this kind of situation is easily solved using VRF-lite with crypto.

    M.

  • How to configure file compare preference of using Guiffy

    I used Guiffy file comparison operations and that you have configured Dreamweaver CS4 preferences sice, but preference has gone far and nothing that I do work. When I try to make a comparison with the remote server I get full file activity, but no result.

    Thank you!

    The answer for anyone else interested is guiffyCL.command

  • How to configure Oracle Financials R12 to use https

    Hello world
    We currently use http to access our Oracle Financials R12 and want to use the https protocol. I'm trying to find the Metalink document which describes what is involved to achieve this goal, but did not have much luck.
    Thanks colin

    PL see MOS Doc 376700.1 (SSL in Oracle E-Business Suite Release 12 activation)

    HTH
    Srini

  • Could not test 12 c Application using Apache Jmeter 2.13 ADF

    @Hi I'm testing 12.1.3.0.0 Application using Apache Jmeter 2.13 Adf. I am trying to achieve using extractors of regular Expression for the following variables.

    Name:Variables of the ADF
    Name of the variable:afrLoop
    Name of the variable:afrWindowId
    Name of the variable:jsessionId
    Name of the variable:ADF. Control state
    Name of the variable:javax.faces.ViewState

    but I'm not getting viewStateExpiredException error wheres the same approach works fine for ADF 11 g R2 Applications.

    Please suggest a solution.

    Please also suggest that is it possible to load test a Adf Application using Apache Jmeter 12.1.3.0.0 2.13

    Also suggest some other test tool that is best suited to load and Stress Test of load Adf Application 12.1.3.0.0.

    Thanks in advance.

    Oracle Application Testing Suite works out-of-the-box.

  • How to configure NTP between Virtual Machines without using Vsphere Client

    I have a group of 8 virtual servers of 5.5 ESXi without an Internet connection. There are virtual machines on each of these 8 virtual servers.

    I did one of these 5.5 virtual ESXi host a NTP server by editing the file /etc/ntp.conf with below configuration and

    started the ntpd daemon. He began to take the time to its local clock, here's the output of ntpq Pei

    IP server 10.108.190.14

    ip address of the client 10.108.190.15

    Server /etc/ntp.conf

    > > driftfile/var/lib/ntp/drift

    > > server 127.127.1.0 maxpoll 4

    > > fondant 127.127.1.0 stratum 10

    | ntpq Pei

    |   refid distance st t when poll reach delay offset jitter

    | ==============================================================
    | * LOCAL (0). LIUX. 10 l 2 64 377 0.000 0.000 0.001

    Then I edited the file /etc/ntp.conf on customers with below configuration but the customer would not synchronize with the server. He

    wouldn t get response from the server. Here is the output of ntpq Pei

    Customer /etc/ntp.conf

    > > driftfile/var/lib/ntp/drift

    > > server 10.108.190.14 iburst

    | ntpq Pei

    |      refid distance st t when poll reach delay offset jitter

    | ==================================================================
    | 10.108.190.14 INIT. 16 u

    Now, when I configure NPT Client/Server on virtual machines through the Configuration Option under Option Configuration time

    in Vsphere Client everything works fine and the client and the server to synchronize with each other. I checked the file /etc/ntp.conf on both the client

    and the server and it has a couple of restrict 127.0.0.1 and restrict the lines added by default kod nomodify etc.

    So why NPT Server featured when enabled via Vsphere Client works very well, but it does not work when it is configured manually

    in the virtual servers directly.

    I was connected to a vCenter Server Appliance through the VSphere Client and enabled the synchronization of time of the NPT.

    I really need to know how to configure the NTP server without using the Vsphere Client so that I can automate the

    task by writing a python script that would connect to each virtual server and NTP Client/Server configuration.

    Any help in this issue deeply appreciated!

    Thank you!

    You can configure the ntp server without using viclient.

    Take a look @ http://kb.vmware.com/selfservice/documentLinkInt.do?micrositeID=&popup=true&languageId=&externalID=1003063

    Hope this helps

    -Assane

  • Rich web application with JDeveloper 11 g Release 2 (11.1.2.2.0) and MySQL

    Hello.

    I am trying to create a rich web application using JDeveloper 11 g Release 2 (11.1.2.2.0) and the MySQL database. I followed this tutorial:

    http://docs.Oracle.com/CD/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_1.html

    In step 2: strengthen the Business Services, I create a new database of my MYSQL database connection, I test and it's ok, the connection is successful.

    But when I try to create the Build Business Services, following the 6 to 19 points, JDeveloper will only create the objects in view. Any entity object appears in the AppModule.

    When I run the AppModule, I have the following error:

    (oracle.jbo.common.ampool.ApplicationPoolException) Houston-30003: Application pool sporting.model.AppModuleLocal is unable to retrieve an application module because of the following exception:
    -Level 1: retail - 0
    com.mysql.jdbc.JDBC4Connection (java.lang.ClassCastException) cannot be cast to oracle.jdbc.OracleConnection

    oracle.jbo.jbotester.ErrorHandler$ ExceptionWrapper: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:96)
    at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:89)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:456)
    Caused by: oracle.jbo.common.ampool.ApplicationPoolException: Houston-30003: Application pool sporting.model.AppModuleLocal is unable to retrieve an application module because of the following exception:
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2556)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    Caused by: java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    ... 12 more
    # # 0 in detail
    Houston-30003: Application pool sporting.model.AppModuleLocal is unable to retrieve an application module because of the following exception:
    java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)

    -Level 1: retail - 0
    Houston-30003: Application pool sporting.model.AppModuleLocal is unable to retrieve an application module because of the following exception:
    java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)

    -Level 2: detail - 0
    java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)


    Please, you know what happens. How can I fix this error?

    Thanks in advance.

    When using MySQL, you must configure the business components ADF for use "SQL92" SQL flavor instead of 'Oracle' SQL flavor. He's seen your stack trace that you use 'Oracle' SQL flavor (because the OracleSQLBuilderImpl class is used instead of the class of BaseSQLBuilderImpl). The OracleSQLBuilderImpl class (which is used internally when the SQL flavor is 'Oracle') uses the features of Oracle DB connections and it assummes an Oracle DB connection (so he throws the connection to OracleConnection, causing the exception).

    Dimitar

Maybe you are looking for