How to deploy ADF-BC (SDO) with ANT

I have an ADF-BC exposed as an webserivce. I can deploy it via JDeveloper, but how do I deploy it with ANT. Does anyone has an ANT script example, based on ADF-BC
Marc
http://orasoa.blogspot.com

I am using JDev 11g (ps1). The link you mentioned, is about deploying artifacts to the MDS. I want to deploy and ADFBC exposed as an webservice , (aka SDO object) to the server via ANT.
Marc

Similar Messages

  • How to deploy or extract component with WDA extension in portal

    hi masters
            how to deploy or extract component with WDA extension in portal?
    thanks and reagrds
    johny

    do you want to integrate WDA in portal?
    just create an WDA iview
    Thanks
    Bala Duvvuri

  • Problems deploying ear file created with ant build script

    Hi All,
    I'm using Jdeveloper 11G and Weblogic 10.3. When I build my application and run it within Jdeveloper, it works fine. However, we have a requirement to run ANT build script and create a deployable .ear file that can be manually deployed to any Weblogic Server.
    I created my ant build script and it compiles/builds fine - the .ear file looks good. However, when I attempt to deploy it, it fails with
    javax.faces.webapp.FacesServlet for servlet Faces Servlet could not be loaded because the requested class was not found in the classpath .
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet.
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         Truncated. see log file for complete stacktrace
    >
    <Nov 2, 2011 2:43:43 PM MDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1320266599219' for task '3'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "Faces Servlet" failed to preload on startup in Web application: "###"
    I am not sure how to tell weblogic where to find the classes needed. I have a pretty huge classpath used when compiling - should I be putting the classpath in the manifest (?) - I don't think I should need to include the .jar files manually in the .ear file - since all the libraries should already be available in weblogic - or is that a misconception?
    Please help!!

    I answered my own question -
    I had to manually add the following to the WEB-INF/lib to get the error to go away:
    ${ORACLE_HOME}/modules/javax.jsf_1.1.0.0_1-2.jar and
    ${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar and
    ${ORACLE_HOME}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jstl_1.2.0.1.jar
    that solved my problem. However, I think it'd be great if I could somehow just specify (in the weblogic-application.xml maybe?) that my application is using the above modules without having to copy the jar files into my WEB-INF/lib - any suggestions?
    Thanks

  • How to deploy ADF applications in Oracle apps

    Hi,
    I just gone thru demos on ADF rich client applications using jdeveloper 11g.My doubt is how to deploy and use these from oracle apps.Is ADF supported in R12.If yes then could anybody provide me steps to deploy code at unix file system and how to create form functions for accessing jspx pages?
    I know that in OAF, we can deploy server components at $OA_java and PG.xml files using xml importer and we can create form functions for PG.xml files.Similarly what are the steps to deploy and access ADF applications thru oracle apps.
    Thanks,
    ashok

    ADF Rich Client Components need a newer server than the one that comes with Apps R12.
    So what you'll need to do is have a separate WebLogic 10.3 server where you deploy the ADF Rich Client Applications.
    You can call them from your Apps by customizing your current apps and adding a button or link that just calls the URL where your ADF apps are.

  • How to Deploy ADF Pages in Oracle APPS R12.1.3

    Hi,
    Every One
    How can i deploy adf pages in oracle apps R12.13
    Thanks & Regards
    Venkat

    hi shay shmeltzer,
    one year back iam worked in oaf(oracle application frame work) ,
    in oaf we are using oc4j server so some oaf pages alredy in apps we want to some chages on the page(client req)so we can done using oaf(we can get the page using some 3rd pard tool like puttytool and chage it using JDEV and put into the apps using same puttytool)likely it's is it possiable in adf?
    Edited by: user13092208 on Dec 22, 2010 8:47 PM

  • How to deploy OA-Framework files with ACMP 4.0 into $OA_JAVA?

    Hello All,
    this time I need your help. I am trying to package an OA-Framework patch with some custom objects in it. I have also AM.xml and VO.xml files as usual.
    When I choose the default xml file type within Customization Manager Package definition, I am getting this file deployed to XX_TOP. The other type alternatives are not relevant for OAF at all.
    How to deploy to $OA_JAVA?
    Has someone solved this topic already?
    Kr, Volker

    Hi Junaid,
    It would be helpful to others trying to do the same if you would post the error messages you are getting here. Then we can work through it so others can see the resolution.
    If the dep guide does not work for you then I'm sure the JSF team would like to know that too and make sure to update it so that it will work better for others in the future.

  • Building the ADF 11g project with ANT or MAVEN

    I want to automate the build process of my project using ant or maven. Is there already some build scripts for ant / maven. which can compile and package it using the structure which JDeveloper follows?

    Anthony,
    You probably can. However, since I wrote the original article, I have changed my way of thinking on this; at the time I wrote the article, ojdeploy was not working - now it is. Installing JDev on a build machine takes a bit of space, but it's not a big deal; it doesn't require a license or anything. If I were doing this today, there is no way I would consider anything but ojdeploy for doing the build - it guarantees that what I set up in JDev is what gets built. The one thing that could make me change my mind is if and when JDeveloper gets fully-baked Maven support, including keeping a POM in synch with any libraries added to a project, but that's neither here today nor a certainty, since Oracle hasn't made any specific announcements that I am aware of about the direction of Maven support in JDev.
    We did have a discussion about this on the [url http://groups.google.com/group/adf-methodology/browse_thread/thread/52f7aab00d201b4c/bec6e076a7c82520?lnk=gst&q=ojdeploy#bec6e076a7c82520]ADF Enterprise Methodology Group a while back, and I recall quite a discussion in the forums as well about ojdeploy vs ANT/Maven. I used to be more of a "purist" mindset (i.e. don't make me install an IDE on the build server), but if you like, don't think of it as an IDE in this function - it doesn't require a user to operate it, it's just another build tool that you'd install on the server. That build tool can be integrated with ANT using the ojdeploy tasks.
    John

  • How to deploy the native dll with the applet package by Sun Java Plugin

    I have an applet which use some native methods. I have written code for the native dll, but I don't know how to deploy the DLL with the applet jar file for Sun Java Plugin. What parameter do i should pass to System.loadLibrary()? I think the solution should don't care which browser used by the end client. How to do it? How to deal with the applet security problem?
    Thank for any comment!

    I have a similar problem.
    Trying to use the javax.comm package requires that the user have the win32com.dll located on their machine.
    I have solved the problem by using a signed applet that allows me to write the dll to the clients machine and then run the code but ideally I would like to run the code without writing the dll to the users machine...i.e. I want to load the dll directly through the applet in the same way the class files are loaded forthe applet are loaded without copying them to the clients machine. After trying everything I have come to the conclusion that it is NOT possible. The calls loadLibrary and load both require that the dll reside on the clients machine. If anyone has had a different experience please rebut this.
    Rob

  • How to start Bea 9 asynchronously with Ant?

    Unfortunately the whole text is condensed because of a forum bug. I hope, you still read it.
    With Bea 8 it was possible to start the Bea application server asynchronously with Ant.
    But I couldn't start <b>Bea 9</b> asynchronously with Ant. I get this error:
    <pre>
    spawn does not allow attributes related to input, output, error, result
    spawn also does not allow timeout
    finally, spawn is not compatible with a nested I/O <redirector>
    </pre>
    This is my Ant target:
    <pre>
    <target name="start_weblogic" description="Start Bea Weblogic asynchronously">
    <exec executable="C:\bea\user_projects\domains\FooBar\bin\startWebLogic.cmd"
    dir="C:\bea\user_projects\domains\FooBar"
    failonerror="true"
    spawn="true" />
    </target>
    </pre>
    Why doesn't it work? What Ant script I need to start Bea 9 application server <b>asynchrously</b>?
    I need this for our Daily Build. In the middle of the automatical building process the application server needs to be started <b>automatically</b>.

    If you close Firefox while in full screen mode then Firefox should reopen in full screen mode the next time.
    That choice is saved in the localstore.rdf file in the profile folder.
    *http://kb.mozillazine.org/localstore.rdf

  • How to deploy Visual Studio 2012 with SCCM 2012

    Hi All,
    Does anyone know how can I deploy Visual Studio 2012 withc SCCM 2012(step by step).
    Best regards
    Nick

    Hi,
    It worked for me,
    http://fearthemonkey.co.uk/how-to-deploy-visual-studio-2012-using-configuration-manager-2012-and-the-application-method/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • How to deploy ADF page into Oracle Applications

    Hi Guys,
    Is there anyway for deploying ADF pages into Oracle Applications.
    Please share some links or information if you have any.
    Appreciate your help !!
    Thanks,
    VJ

    You cannot run your ADF application  on the EBS web-server. You need to run it on weblogic or glassfish or tomcat. But you can call your page from the EBS. For this, just define proper "Function" in EBS that calls a jsp page. If you need to pass information from EBS to your application like USER_ID, you can in "Function" -> "Parameters" use $PROFILE$.USER_ID to get the connected user id.
       You can also research AppsDataSource that you can define in weblogic , but it is more difficult

  • How to deploy ADF Application

    Based on my understanding it looks like ADF components are tightly coupled with Database Tables.
    In this case how do i deploy an application from DEV -- > QA -- STAGING --> PROD
    With less modification, Do we have any document that will explain the deployment procedure.
    Thanks

    The easiest way to do this would probably be to set up a JDBC datasource on each application server. The JDBC datasources should have the same name and JNDI location on all three app servers, but should each contain different connection information (one to your DEV database, one to TEST, and one to PROD).
    Then, you can configure your application to use JDBC datasources:
    1. Right-click you application module and select Configurations.
    2. Edit the configuration you want to use (if you don't have multiple configs, editing the default one is probably fine).
    3. Change the Connection Type to JDBC Datasource, and enter your datasource's "location" property.
    Note that, if you do this, you won't be able to run the application in JDev unless you also set up a datasource in your embedded server. That's a more complicated procedure, but I think there's a how-to document on it somewhere on OTN.

  • How to use ADF Query search with EJB 3.0

    Hi,
    In ADF guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#CIHIJABA
    The steps to create query search with ADF Business Components says:
    "+From the Data Controls panel, select the data collection and expand the Named Criteria node to display a list of named view criteria.+"
    But with EJB, I'm not able to find Named Criteria node. Can we use ADF query search component with EJB? If yes, can you please show me some example, tutorial etc.?
    Thanks
    BJ

    For EJBs you'll need to implement the query model on your own.
    An example of how the model should look like is in the ADF Faces components demo.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    Code here:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • How to deploy a war file with no descriptors in WLS - quick question

    Hi All
    How do we deploy a war file, which doesnt have weblogic.xml nor web.xml in it ?
    We have these xml files.
    1- How do we include these xml files ? any command line to do that ?
    2- Which is an easier approach to deploy a war file
    a) include these xml files into the war and then deploy with WLS using weblogic.Deployer or
    b) explode the war and then copy these xml files to its WEB-INF ?
    Is there an example we could use to follow to deploy our war file ?
    Thanks

    Puthanampatti, thanks for responding.
    What is the complete command line to deploy the war to a managed server, not Admin Server ?
    Our thinking is to deploy an exploded war directory but copy the descriptor files first.
    What do you think ?

  • How to deploy adf page in oracle apps R12

    Hi,
    we are design one ADF page, i want to deploy that page in oracle apps R12.
    am total new this adf, could you please tell me any body
    how to register in apps adf webpage
    thank and regards
    rkrao.
    Edited by: Rama Krishna Rao on Dec 27, 2010 4:12 AM
    Edited by: Ramu on Apr 9, 2013 12:48 AM

    hi shay shmeltzer,
    one year back iam worked in oaf(oracle application frame work) ,
    in oaf we are using oc4j server so some oaf pages alredy in apps we want to some chages on the page(client req)so we can done using oaf(we can get the page using some 3rd pard tool like puttytool and chage it using JDEV and put into the apps using same puttytool)likely it's is it possiable in adf?
    Edited by: user13092208 on Dec 22, 2010 8:47 PM

Maybe you are looking for

  • When closing Firefox windows, I would like a warning before the last window closes. The about:config settings do nothing. There is a warning for multiple tabs..

    When closing Firefox windows, I would like a warning before the last window closes. The about:config settings do nothing. There is a warning for multiple tabs... why not for the last window? I do not use tabs... just windows... I have a mouse button

  • How do I put photos in an album and remove them from the camera roll?

    I would like to be able to move photos into an album and remove them from the camera roll. Is this possible? I take many photos of mundane things that I simply want to remember, such as serial number of products. I would like to save these photos for

  • Conversion of FMB to XML problem

    Forms [32 Bit] Version 9.0.4.0.19 (Production) I am in the middle of a conversion project where we are converting fmb files to xml, making the required changes to the xml files using a conversion program, and then converting them back to fmb. When co

  • Export table as insert stops short

    I'm trying to export a table as insert statements however after 2436s rows the SQL Developer stops generating statements, and after quite a while the progress bar closes. The final insert is never completed, and seems to die in slightly different pla

  • Blowout in Red

    When opening a RAW file in the RAW converter, the on initial screen any areas overexposed to all white, blowout, whatever the term now show as red. This is EXTREMELY annoying. I can get the blown out areas shown when setting exposure and don't want t