Create EAR in JDeveloper to deploy on Oracle AS 10g

I have a J2EE project with EJBs and JSPs. I am using JDEVELOPER as my IDE. I need to deploy my application on ORACLE 10G APP SERVER.
I need to create an EAR file consisting of my EJBs and JSPs to deploy the appln.
When i go into Deployment Profiles in JDeveloper and try to create an EAR file, it does create the EAR file but the contents of the file are only 2-3 xml files, there is nothing else in it.
I am wondering how on earth do i need to create my EAR package so that i can deploy on Oracle APP Server.
This is actually very urgent... so i would really really appreciate and thank you if someone could help me out....
Thank you very much in advance

OK. Here is how I do that:
Say I have two projects named "web" and "model":
- Create a WAR deployment profile in the "web" project called web.deploy
- Create a EJB JAR deployment profile in the "model" project called model.deploy
- Create a new project called packing
- Open the project properties
- Select the "Dependencies" and select the projects "web" and "model"
- Create an EAR profile called app.deploy
- Right click on the app.deploy and select the "Properties..." entry from the context menu to open the "EAR Deployment Properties Dialog"
- Select the "Application Assembly"
- Tick the check boxes for "web.deploy" and "model.deploy"
- Now test the creation of the EAR by selecting "Deploy to EAR file" from the context menu.
- You can check the contents by using: jar tvf app.ear
- This will give you an output like this:
META-INF/application.xml
web.war
model.jar
To modify the application.xml and even include orion-application.xml, you can create them with the Deployment Descriptor wizards.
HTH,
--olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Create an EAR in JDeveloper to deploy on Oracle AS 10g

    I have a J2EE project with EJBs and JSPs. I am using JDEVELOPER as my IDE. I need to deploy my application on ORACLE 10G APP SERVER.
    I need to create an EAR file consisting of my EJBs and JSPs to deploy the appln.
    When i go into Deployment Profiles in JDeveloper and try to create an EAR file, it does create the EAR file but the contents of the file are only 2-3 xml files, there is nothing else in it.
    I am wondering how on earth do i need to create my EAR package so that i can deploy on Oracle APP Server.
    This is actually very urgent... so i would really really appreciate and thank you if someone could help me out....
    Thank you very much in advance

    See thread Re: Create EAR in JDeveloper to deploy on Oracle AS 10g

  • Problems with deploy in Oracle AS 10g

    Hi people,
    We developed a system that we need to install on my client’s Oracle Application Server 10g, but I haven't the OAS here in my company and I can't test it on my client. In my application, I access the data source by two ways: one way by the Hibernate, editing the application’s "hibernate.cfg.xml" file and the other way access by JDBC directly.
    In hibernate.cfg.xml, I edit the property of "hibernate.connection.datasource" by this way (my application name's is "GCS"):
    <property name="hibernate.connection.datasource">java/gcs</property>
    By JDBC, I get the connection by this way:
    protected Connection getConnection() throws DAOException {
    Context initContext;
    try {
    initContext = new InitialContext();
    DataSource ds = (DataSource)initContext.lookup
    ("java/gcs");
    return ds.getConnection();
    } catch (Throwable e) {
    throw new DAOException(e);
    In Oracle AS, I created a data source with the name and the JNDI location "java/gcs" and in the "Data Source Class" field I wrote "com.evermind.sql.DriverManagerDataSource".
    With this configuration the OAS did the deploy successfully. So I started the application and the system started to process the mapping of the Hibernate classes' (I could see this by the log).
    The problem is when I access the system deployed, appeared a window in my browser like those directory permission window that ask by username and password. This is very strange. Apparently, I have no access to the directory of my application... I try to put the username and password of the Windows, of the database user, of the OAS administrator... but nothing happens.
    Somebody knows what is this window? Why it appears? Where I configure this in the OAS?
    Thank's
    Rodison Ferreira
    [email protected]
    skype: rodison
    msn: [email protected]

    Hi,
    Here's the Oracle Forms 10g Deployment Guide
    http://download-east.oracle.com/docs/cd/B14099_11/web.1012/b14032/toc.htm
    HTH,
    Jim

  • Error deploy to Oracle AS 10g 10.1.2.0.2 with JDev 10.1.3.0.3 EA

    error message :
    java.lang.UnsupportedClassVersionError
    kr/company/biz/pojo/BoardBiz (Unsupported major.minor version 49.0). kr/company/biz/pojo/BoardBiz (Unsupported major.minor version 49.0)

    I think I have the same problem. I create a war file in JDevelop 10.1.3 EA. I can successfully deploy it to OAS 10.1.2. However, I got the following message when I try to run the jspx page.
    500 Internal Server Error
    javax.faces.el.EvaluationException: java.lang.UnsupportedClassVersionError: org/sjc/laws/view/beans/LoginMB (Unsupported major.minor version 49.0)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)     at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:386)     at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1009)     at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1036)     at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:749)     at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)     at oracle.adf.view.faces.webapp.UIXComponentTag.doStartTag(UIXComponentTag.java:85)     at Login.jspService(_Login.java:236)     [SRC:/Login.jspx:14]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:363)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:332)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:192)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)Caused by: java.lang.UnsupportedClassVersionError: org/sjc/laws/view/beans/LoginMB (Unsupported major.minor version 49.0)     at java.lang.ClassLoader.defineClass0(Native Method)     at java.lang.ClassLoader.defineClass(ClassLoader.java:537)     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1170)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].naming.ContextClassLoader.findClass(ContextClassLoader.java:406)     at java.lang.ClassLoader.loadClass(ClassLoader.java:289)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:154)     at java.lang.ClassLoader.loadClass(ClassLoader.java:235)     at java.beans.Beans.instantiate(Beans.java:187)     at java.beans.Beans.instantiate(Beans.java:48)     at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:203)     at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)     at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)     at oracle.adfinternal.view.faces.el.AdfFacesVariableResolver.resolveVariable(AdfFacesVariableResolver.java:40)     at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)     at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)     at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)     ... 36 more
    It looks like that the OAS 10.1.2 does not line Managed bean that I created. Everything is fine with I run the application inside JDeveloper 10.1.3.
    Any idea what the solution is?
    Thanks,
    Jack

  • Error while creating Ear File for project Containing (WAR+MAR) in jdev

    hi,
    I am trying to deploy my adf application containing MDS customization.While creating EAR from application properties--->deploy--->deploye to EAR i am getting following error.
    Wrote MAR file to C:\JDeveloper\mywork\MDSApp\deploy\AutoGeneratedMar.mar
    [04:40:07 PM] Wrote Web Application Module to C:\JDeveloper\mywork\MDSApp\ViewController\deploy\MDSApp_ViewController_webapp1.war
    *[04:40:07 PM] Warning: Some of the customization documents under '/' are packaged as part of WAR. This metadata cannot be accessed from WAR using MDS.*
    *[04:40:07 PM] Info: Namespace '/xliffbundles' is mapped to deploy-target metadata-store-usage 'MAR_TargetRepos' in adf-config.xml but no metadata from the namespace is included in the MAR*.
    [04:40:07 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\MDSApp\deploy\MDSApp_application1.ear
    [04:40:07 PM] Elapsed time for deployment: 4 seconds
    [04:40:07 PM] ---- Deployment finished. ----
    my adf-config.xml is as below
    <?xml version="1.0" encoding="windows-1252" ?>
    <adf-config xmlns="http://xmlns.oracle.com/adf/config"
    xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
    xmlns:sec="http://xmlns.oracle.com/adf/security/config">
    <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
    <adf-property name="adfAppUID" value="MDSApp-3718"/>
    </adf:adf-properties-child>
    <sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
    <CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
    credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
    <sec:JaasSecurityContext initialContextFactoryClass="oracle.adf.share.security.JAASInitialContextFactory"
    jaasProviderClass="oracle.adf.share.security.providers.jps.JpsSecurityContext"
    authorizationEnforce="true"
    authenticationRequire="true"/>
    </sec:adf-security-child>
    <adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
    <mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
    <cust-config>
    <match path="/">
    <customization-class name="oracle.model.mycompany.SiteCC"/>
    <customization-class name="oracle.adf.share.config.UserCC"/>
    </match>
    </cust-config>
    <persistence-config>
    <metadata-namespaces>
    <namespace path="/xliffbundles" metadata-store-usage="MAR_TargetRepos"/>
    </metadata-namespaces>
    <metadata-store-usages >
    <metadata-store-usage id="MAR_TargetRepos" deploy-target="true">
    <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
    <property name="jndi-datasource" value="jdbc/mds/DEV_MDS"/>
    <property name="partition-name" value="part1"/>
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    </mds-config>
    </adf-mds-config>
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/config">
    <taglib-config>
    <taglib uri="http://xmlns.oracle.com/adf/faces/rich">
    <tag name="column">
    <attribute name="displayIndex">
    <persist-changes>true</persist-changes>
    </attribute>
    <attribute name="frozen">
    <persist-changes>true</persist-changes>
    </attribute>
    <attribute name="noWrap">
    <persist-changes>true</persist-changes>
    </attribute>
    <attribute name="selected">
    <persist-changes>true</persist-changes>
    </attribute>
    <attribute name="visible">
    <persist-changes>true</persist-changes>
    </attribute>
    <attribute name="width">
    <persist-changes>true</persist-changes>
    </attribute>
    </tag>
    <tag name="showDetailHeader">
    <attribute name="disclosed">
    <persist-changes>true</persist-changes>
    </attribute>
    </tag>
    <tag name="panelSplitter">
    <attribute name="collapsed">
    <persist-changes>true</persist-changes>
    </attribute>
    <attribute name="splitterPosition">
    <persist-changes>true</persist-changes>
    </attribute>
    </tag>
    </taglib>
    </taglib-config>
    <persistent-change-manager>
    <persistent-change-manager-class>oracle.adf.view.rich.change.MDSDocumentChangeManager</persistent-change-manager-class>
    </persistent-change-manager>
    </adf-faces-config>
    </adf-config>

    hi frank,
    If you have any idea plz reply...We r stucked with metadat-namespace path attribute.

  • Need ant script to compile, package, and deploy to Oracle AS 10.3.1

    I have a test app with ADF faces/jsf for front-end and EJB 3.0 Session Facade/Entity beans for back-end. The project structure/layout is similar to the SRDEMO app in JDeveloper. I was able to compile, package, and deploy within JDeveloper 10g to Oracle AS 10g successfully. Is there a sample ant script to compile, package, and deploy to Oracle AS 10g that I can run from command line? The build.xml that came with SRDEMO only do the compilation, not packaging and deployment. I was able to modify the SRDEMO's build.xml to compile my test app though. I still need the script to package and deploy it.
    Thanks,

    Hi,
    How are you referring to the class path. I have created my custom build file and I refer like this.
    <path id="classpath">
      <pathelement location="${oracle.home}/lib/aia.jar"/>
      <pathelement location="${oracle.common.home}/modules/org.apache.commons.logging_1.0.4.jar"/>
    </path> oracle.home is the location where my aia.jar resides.
    In the compile-classes target I have
    <!--Target for Class path details -->
    <target name="compile-classes">
      <mkdir dir="${sca-inf.classes.dir}"/>
      <javac destdir="${sca-inf.classes.dir}"   classpathref="classpath"
             debug="on"                         nowarn="${javac.nowarn}"
             deprecation="${javac.deprecation}" encoding="Cp1252"
             source="1.6"                       target="1.6">
        <src path="${src.dir}"/>
      </javac> 
    </target> Regards,
    Neeraj Sehgal

  • Deploying Toplink to Oracle AS 10g 10.1.2

    We are deploying our application developed in JDeveloper 10.1.3.3.0 and which includes TopLink, ADF Faces. What setups/libraries are specifically required to deploy to Oracle AS 10g 10.1.2
    Thanks in advance
    Raam

    We are deploying our application developed in JDeveloper 10.1.3.3.0 and which includes TopLink, ADF Faces. What setups/libraries are specifically required to deploy to Oracle AS 10g 10.1.2
    Thanks in advance
    Raam

  • How to create .ear file in JDeveloper 10g

    Hi, I am new to Jdeveloper. I am using JDeveloper 10g. I have created one project abc.jws under which there are five .jpr folders(DTO.jpr,persistence.jpr,service.jpr,util.jpr,ViewController.jpr). I want to create .ear file for the whole project so that it can be directly put in the production environment. When I right click on the abc.jws and select New, the EAR option under deployment profiles is disabled. I would highly appreciate if someone can help me on this.
    Thanks.

    Hi Rexy,
    See if the steps given in [this link|http://download.oracle.com/otndocs/tech/ias/portal/files/RG/OBE/deployToAppServer/lesson_Deployment.htm#t3s3] helps
    Sireesha

  • Entity EJB deployment on Oracle through JDeveloper 3.2

    I have a project which is using Oracle 9iAS as the for the web server. There were intial plans to use the 8i database within the 9iAS machine as the place where the EJBs would be stored. There was a comment from the Oracle support people that the EJBs would be better off stored on the backend. We are trying to do the same.
    We have experienced mainly two problems
    1) While trying to deploy the container managed beans through JDeveloper, just after creating the deployment profile, an error ORA - 00904 comes up. (no columns). Then there is a prompt to install BC4J. On doing that the error comes up again and while it goes further, it says 'Exhausted ResultSet'. But the BMP entity beans are working OK.
    2) We had a bug report from the Oracle people on entity bean support through JDeveloper on non-NT machines. But we have been trying to deploy beans on the Solaris DB using JDeveloper and we keep getting 'peer socket disconnected errors'. I'll try the workaround which was suggestesd by the Oracle people to solve the problem and get back on this.
    I don't know how Oracle will measure up to the performance when EJBs are running. But the problems mentioned above would have to be solved first.
    Can anyone help out?
    Thanks in advance.
    Aby Philip

    I can't resist a comment here. Oracle folks seem to always recommend putting the EJBs in back-end database. How many real-world enterprise-scale applications (i.e., one's that would need EJBs at all) have a non-shared back-end database? And in those cases, who in their right mind would accept running application code in the back-end database? I guess Oracle just hasn't really bought in to the concept of multi-tiered applications. The whole reason for separating the business logic tier from the EIS tier is to insulate the EIS services from the demands of the business logic code.
    So from that perspective, I would highly recommend running an 8.1.7 instance in your middle tier to house your EJBs. Then you can hook up to your EIS tier either with database links, or (for better performance) by caching data in the EJB database from the EIS tier.
    As for your specific issues, I can't help with the first. On issue 2, I am installing the 8.1.7.1 patch set today and I'll let you know if it fixes the JDeveloper --> Solaris deployment problem.
    John H.

  • Need build.xml to create Ear file using Ant in jdeveloper 11g??

    Hi all,
    I think Jdeveloper use ANT to create Ear file and how to get build.xml from Jdeveloper.
    1) I have created ADF Fusion web Application having separte Model and View Controller.
    2) Now when I select View Controller project and then i create New ant-> Build.xml i get the required build.xml which can be used to create war file for my View Controller project.
    3) Similarly when I select Model project and then i create New ant-> Build.xml i get the required build.xml which can be used to create Jarfile for my Model project.
    4) If I select my application and then i click deploy... I'm able to create my ear file having both war file for View Controller and Jar File for Model.
    5) But I dont know how to get built.xml file which will create ear file having both View Controller and Model in it.
    Thanks a lot....

    However note the generated Ant script includes unnecessary targets. See the following blog post: http://one-size-doesnt-fit-all.blogspot.com/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
    CM.

  • Oracle AS 10g + JDeveloper 11g TP4 deploying error

    Hi All
    When i deploy my sample application on Oracle AS 10g i have such deployment error:
    [07.08.2008 19:36:31] Application Deployer for SampleApp STARTS.
    [07.08.2008 19:36:31] Copy the archive to C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\applications\SampleApp.ear
    [07.08.2008 19:36:31] Initialize C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\applications\SampleApp.ear begins...
    [07.08.2008 19:36:31] Unpacking SampleApp.ear
    [07.08.2008 19:36:32] Done unpacking SampleApp.ear
    [07.08.2008 19:36:32] Unpacking web.war
    [07.08.2008 19:36:34] Done unpacking web.war
    [07.08.2008 19:36:34] Initialize C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\home\applications\SampleApp.ear ends...
    [07.08.2008 19:36:34] Starting application : SampleApp
    [07.08.2008 19:36:34] Initializing ClassLoader(s)
    [07.08.2008 19:36:34] Initializing EJB container
    [07.08.2008 19:36:34] Loading connector(s)
    [07.08.2008 19:36:34] Starting up resource adapters
    [07.08.2008 19:36:34] Initializing EJB sessions
    [07.08.2008 19:36:34] Committing ClassLoader(s)
    [07.08.2008 19:36:34] Initialize web begins...
    [07.08.2008 19:36:34] Initialize web ends...
    [07.08.2008 19:36:34] Started application : SampleApp
    [07.08.2008 19:36:34] Binding web application(s) to site default-web-site begins...
    [07.08.2008 19:36:34] Binding web web-module for application SampleApp to site default-web-site under context root SampleApplication
    [07.08.2008 19:36:37] Operation failed with error: Error instantiate servlet classes
    I use JDeveloper 11g TP4 with Oracle ADF Faces, deploy to standalone Oracle AS 10g server
    Please help to solve my trouble )

    Anton,
    As is documented in the release notes and in numerous posts on the 11g forum (perhaps you meant to search there), this is not supported.
    John

  • Are JDev autogenerated paths needed to create ear, war and jar files ?

    Hi
    We want to create ear, war and jar files from Ant build script generated from JDeveloper 11.1.1.7.
    We also like to use ojdeploy with it.
    In the process of creating build.xml files from projects, we see these paths.
    We also have standalone Weblogic installed with ADF runtime 11.1.1.7
    Questions:
    1- Do we need these path ids to generate ear, jar, war files properly and then deploy the ear to our standalone Weblogic so that our webapp can run ok ?
    2- Why are they generated, if they are not needed
    From research, it appears that we don't need these paths except to keep ant targets of init, compile, exec etc with ojdeploy.
    3- Is that true ?
    We are afraid that because no paths are listed in the build.xml, then when we deploy the ear app, it cant use the ADF runtime on the standalone WLS.
    Thanks in advance for answering.
    Sincerely
    eg of paths generated below:
      <path id="library.SOA.Designtime"/>
      <path id="library.SOA.Runtime"/>
      <path id="library.BPEL.Runtime"/>
      <path id="library.Mediator.Runtime"/>
      <path id="library.MDS.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
      </path>
      <path id="library.BC4J.Service.Runtime">
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.adf.model_11.1.1/adfbcsvc-share.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/commonj.sdo_2.1.0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.webservices_11.1.1/wsclient.jar"/>
        <pathelement location="{oracle.middleware}/oracle_common/modules/oracle.web-common_11.1.1.jar"/>
      </path>
      <path id="library.TopLink">
        <pathelement location="{oracle.middleware}/modules/com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar"/>
        <pathelement location="{oracle.middleware}/modules/org.eclipse.persistence_1.1.0.0_2-1.jar"/>
        <pathelement location="{oracle.middleware}/modules/com.bea.core.antlr.runtime_2.7.7.jar"/>
        <pathelement location="{oracle.middleware}/modules/javax.persistence_1.0.0.0_2-0-0.jar"/>
      </path>
      <path id="library.Oracle.Rules"/>
      <path id="classpath">
        <path refid="library.SOA.Designtime"/>
        <path refid="library.SOA.Runtime"/>
        <path refid="library.BPEL.Runtime"/>
        <path refid="library.Mediator.Runtime"/>
        <path refid="library.MDS.Runtime"/>
        <path refid="library.BC4J.Service.Runtime"/>
        <path refid="library.TopLink"/>
        <path refid="library.Oracle.Rules"/>
      </path>

    There are two different things here. Using ant to build the class files and then building an ear from the class files and other resources.
    The building part needs the libraries if you use javac as compiler. Building an ear file only needs the path to the jar files which are packed into the ear.
    In this sense you need the pages you see in the build.xml.
    Then Jdev offers another way: ojdeploy. This tool is a Jdev without a gui.
    You can use this tool and build the classes for each project of a workspace and to build build war and ear file. This is just like you click the rebuild button for each project and then the deploy the projects and application. If you use this approach you don't need the generated path ids as the whole build process is done inside Jdev as it's done on your developer pc.
    Timo

  • Develop in JDev 10.1.3.5, test and deploy to Oracle Weblogic 11g

    Hi,
    I have run into some important issues when trying to migrate my Jdev 10.1.3.5 applications to JDev 11g for deployment to the latest Oracle Weblogic Application server version, see threads:
    Thread: migration problems ADF/ Struts 10.1.3 -> 11.1.1.3
    migration problems ADF/ Struts 10.1.3 -> 11.1.1.3
    Thread: ADF/Swing/JClient application migration problem from 10.1.3.5 to 11.1.1.3
    Re: ADF/Swing/JClient application migration problem from 10.1.3.5 to 11.1.1.3
    - so using JDev 10.1.3.5 with deployment to Oracle Weblogic 11g is a must for us.
    Questions:
    1) Is there a way to use Oracle WEBLOGIC 10.3 for debugging inside JDev 10.1.3.5?
    2) Can I develop with JDev 10.1.3.5 + JDK 1.5 and create an ear to deploy to Oracle WEBLOGIC 10.3 Application server with JDK 1.6 64bits?
    3) Which version of ADF should I install on Oracle WEBLOGIC 10.3 to run my 10.1.3.5 application?
    Your help will be appreciated
    Fred

    Is there a way to use Oracle WEBLOGIC 10.3 for debugging inside JDev 10.1.3.5?While you can't replace the embedded OC4J - you can use an external WLS server and do remote debugging on it. http://www.oracle.com/technetwork/developer-tools/jdev/remotedebugwls-086628.html
    From inside JDeveloper you can also deploy directly to the WLS server.
    Can I develop with JDev 10.1.3.5 + JDK 1.5 and create an ear to deploy to Oracle WEBLOGIC 10.3 Application server with JDK 1.6 64bits?Yes you can. Note that so far we haven't officially certified ADF 10.1.3 on WLS 10.3 - but from various customers and testings we think it works ok. We might certify this combination in the future.
    Follow these steps to get the deployment working:
    http://www.oracle.com/technetwork/developer-tools/jdev/deployingwls-091640.html
    Which version of ADF should I install on Oracle WEBLOGIC 10.3 to run my 10.1.3.5 application?You always install the version of ADF that matches the one your application was developed and compiled with.

  • Deployment to Oracle App server 10.1.2

    Hi All,
    I have developed a application using ADF BC, Jsf and Oracle 10g database using Jdev 10.1.3
    Application is on my local laptop tested using local embedded server. I have linked the applcation in Oracle portal server as follows:
    <iframe
    src="http://129.217.159.23:4395/GeminiLogin-ViewController-context-root/faces/login.jsp"
    width="980"
    height="500"
    frameborder="0">
    </iframe>
    I am going to view this application in Oracle portal.
    I want to achieve two tasks:
    1> What are the steps to deploy this application in App server 10.1.2 ?? (What could be potential hurdles now since I am moving from embedded server to Full fledge app server ?/
    2> And, once deployed, How do I reference the application from my portal ?? Still use the IFRAME and src url shown above ??
    thanks,
    pp

    Hi,
    Inorder to deploy in Oracle Portal server you have to do the following.
    1. Create a .deploy file using the web.xml in your JDeveloper.
    2. After creating select the .deploy file and create an .ear file.
    3. In the Oracle Portal server try to deploy in OC4J_Portal component in the Middle tier.
    4. Access the URL for the index.jsp page.
    5. Register the provider in the oracle portal server using the URL.
    6. Then you can include the jsp you have developed into your portal page as portlets.
    Regards,
    Vijay.B

  • Issue in Creating  EAR File Using ANT in ADF 11g of Jdeveloper11g IDE

    Hi
    Rookie to this ADF 11g Framework and during the exploring of ADF 11g gone through ADF essentials in OTN and i did sample application of ANT build script and in the ADF Essentials of Ant i came across creating build.xml,build.properties and finally creating WAR file and currently i want to create EAR file so that EAR file can be deployed to my oracle Weblogic server.But ADF Essentials of ANT is totally confined to build.xml,build.properties,WAR file only ! Can any one suggest me the template build.xml of EAR file of any Sample Application so that i can come across what are the patterns,jars,excluded names,included names of EAR .
    Thanks In Advance,
    Regards
    RK

    RK,
    There are a few options. If I were doing this today, I'd just use ojdeploy (and the ojdeploy ANT task) to create the EAR file with a minimum of fuss (refer to the JDeveloper docs for more information).
    If you wanted to create an EAR file using the same technique that I used in the ADF Development Essentials article, just follow the same techniques - create an EAR file using JDeveloper and unzip it to discover the structure of what it should look like.
    Best,
    John

Maybe you are looking for

  • WBS element in Material Document List Report

    Hi Guru,      I have a problem about WBS element which is not show up any data in Material Document List (MB51) movement type 281 and 281 Q event I add WBS in the document.  Anyone know how can i config or do anything to let the system show up, pleas

  • Can't backup device to iCloud after updating to iOS 8.1

    I've never had an issue with backing up any of my devices to iCloud, however yesterday I updated to iOS 8.1 OTA. When I tried to back up last night, it says I'm out of storage space. Nothing has changed though. Anyone have any ideas as to what's goin

  • Capturing navigation event

    Hi Im using webdynpro to create a help application/iview. The help should be page sensitive for example, if i have iview1 and the help iview on a page, the user chooses to navigate to page 2 of iview1 using those navigation buttons of an iview, then

  • PSE 9 polygonal lasso jumps and auto-closes the loop

    ok so i'll be trying to select something with the polygonal lasso and after about a second, the program will jump, something will appear at the bottom of the screen for a matter of milliseconds, and my tool will have looped shut. this is making it im

  • Trying to install Airport and I get an error message

    Trying to install Airport Exress and I get a message "Airport can't be installed on this disk. The version of Mac OS X on this volume is not supported." what does this mean?