JAVA application packaged as an EAR

we are upgrading our system to Oracle 12i and we have a custom java application that access the Oracle API. As part of this upgrade we have to deploy our JAVA application packaged as an EAR file to OC4J that comes with Oracle EBS. All we need is sequence of steps/ some document that will help us deploy our JAVA application(EAR file) to OC4J server.
1. Can we create another instance of OC4j in Oracle 12i(12.1.3)?
2. Will there be any integrity issue if we deploy ear file to Oacore/Forms/OAFM oc4j instance integrated with R12? or Do we need to create a new instance?
3. I was told by the support engineer that there is no EM console for oc4j integrated with R12, so is there any script provided by oracle to do any ear deployment?

1. Can we create another instance of OC4j in Oracle 12i(12.1.3)?
2. Will there be any integrity issue if we deploy ear file to Oacore/Forms/OAFM oc4j instance integrated with R12? or Do we need to create a new instance?I do not think it is supported -- Please log a SR to confirm with Oracle support.
3. I was told by the support engineer that there is no EM console for oc4j integrated with R12, so is there any script provided by oracle to do any ear deployment?Please see (Deploying a New Forms .ear File in Oracle Applications Release 12 [ID 397174.1]).
Thanks,
Hussein

Similar Messages

  • How to call a java application in a jar which is in a war file of a ear ?

    So sorry to cross post, but no response in other topics.....
    Please help!
    I have a Ear file which contains a war file.
    xx.ear/META-INF
    xx.ear/YY.war
    and the YY.war has the following structure:
    YY.war/META-INF
    YY.war/WEB-INF
    YY.war/WEB-INF/classes
    YY.war/WEB-INF/classes/com/
    YY.war/WEB-INF/classes/com/mycompany/
    YY.war/WEB-INF/classes/com/mycompany/MyClass.class
    MyClass.class is a java application which has a main method.
    how can I call this MyClass applicaiton from the xx.ear??
    java -???? com.mycompany.MyClass ??
    Please help because I have a Unix cron job need to access this class externally outside AppServer. Thx!!

    an ear file is a standard jar with a different extension. You may
    be able to get away with just adding a manifest file to it that
    specifies the main class (make it an executable jar with a different
    extension).
    I don't know if this will handle the nested war file though. It may.
    matfud

  • How to run ear file in java application server

    i want how to run .ear file in java application server
    1. i m created ear file
    2. i m created jar file (bean,home,remote)
    3.i m created war file(in the form of jsp)
    but till now i couldnt run ear file
    how to run
    please hel me

    You must create :
    1.Jar file
    2.War file
    And then put them into an ear file
    Exemple : myapp.ear contains
    myappEJB.jar
    myappWEB.war
    META-INF/application.xml
    and application.xml looks like this :
    <application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
                            http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
        <display-name>myapp</display-name>
        <description>Demo application</description>
        <module>
            <ejb>myappEJB.jar</ejb>
        </module>
        <module>
          <web>
             <web-uri>myappWAR.war</web-uri>
             <context-root>/myapp</context-root>
          </web>
        </module>
    </application>Good luck

  • How to run a pure java application client with ear deployed on 9ias

    Hello all,
    We want to run a pure java application client which is packed with target bean in the same ear file. In the application-client.xml we refer to some EJBs.
    We deployed the ear file which contains ejb jar module and application client module to oracle 9ias 904 through enterprise manager on unix. The jndi.properties we used looks like this
    java.naming.factory.initial=com.evermind.server.rmi.ApplciationClientInitialContextFactory
    java.naming.provider.url=opmn:ormi://opmn_host:opmn_port:oc4j_instance_name/application_name
    java.naming.security.principal=test
    java.naming.security.credentials=test
    Is there anybody knows how to run such an application client? Do we need to provide such a jndi.properties or not at all?
    Thanks,
    9ias user

    Refer OpenEJB User - Oracle ADF Essential and TomEE+
    Also refer Bug in tomee 1.5.2. Fixed in 1.6.
    https://issues.apache.org/jira/browse/TOMEE-756

  • How to use  third party package in java application

    hi, i am a student , new to java world can any of u tell me how to import third party package in our java application.
    i want to know how CLI is done in java.
    i am going thru this link http://www.codezoo.com/pub/component/5574
    not able to get anything.
    please please help me

    There are two steps -
    1. Import the classes you need from the package(s) using the Java import statement in your classes that need access to them.
    2. include the 3rd part code (one or more .jar files and/or root directories holding the code's package tree and .class files) to your javac and java class path and optionaly to the class path found in your .jar's manifest file.

  • How to deploy EAR on CE server using Java Support Package Manager

    Hello,
    I am using CE server where I want to deploy EAR file by using JSPM. I run this program in Drive:\usr\sap\CE1\J00\j2ee\JSPM\go.bat
    I have also put the EAR file into the inbox folder Drive:\usr\sap\CE1\SYS\EPS\in but still It does not show me any file to proceed further for deployment.
    Does any one has idea?
    Regards,
    NK

    Hi,
    The Java Support Package Manager is not able to deploy a single .ear file.
    If the *.EAR file is placed inside an SCA (Software Component Archive) then JSPM is able to deploy it.
    You have to create a .SCA from an .EAR file
    SAP note 1223957 contains an attachment (nwpacktool.zip) which can be used to create a .SCA file from the .EAR file.
    Gerd

  • SOAP and Java within an Application Package

    We are doing an integration with Oracle Content Server. We have successfully checked in reports by sending a SOAP with attachments message in the application package PSRF_REPORT_CREATE calling custom Java methods.
    All is well, until we try and receive the SOAP response, in which nothing happens. After we call the checkin.SendMessage (our java method to checkin a report), we use the following generic PeopleCode insert statement just to test if the next line of the code is executing...
    SQLExec("INSERT INTO UCM_CHECKINLOG VALUES (1234, 'test')");
    This does not update our database, and it looks as if it is not even executing. We have also tried logging to a test file, but this fails to run as well. If it is directly after our soap request, why would it not run? Is there something we need to do to tell the system to wait for the response before commencing?
    Any help would be much appreciated.

    Just to make sure I understand the question... You customized the PSRF_REPORT_CREATE.CreateReport PeopleCode by adding some Java (JavaObject, etc). Is checkin your custom Java object with SendMessage being a method of that object? Are you using a Java SOAP client, like Axis2, to communicate with the Oracle Content Server or are you using Integration Broker? Again, just to verify, you are calling a Java method called "SendMessage." You can tell this is executing because you can see changes in your Oracle Content Server. However, as far as you can tell, no statements after that statement are executing. Is this correct?

  • Sort order in Java application (oc4j container) -- ear file deployment

    I have a Java application deploy in Oracle OC4J container (EAR file).
    In my Java application (jsp), I have a SQL statement who return data but the
    sort order is wrong. The letters "é" and all characters with accents
    appears at the end of the result.
    I tried many things to change the sort order (NLS parameters in database
    and OAS10g parameter files).
    When I use SQL*plus on database server, that's working.
    The sort order is wrong when I use the java application.
    Somebody can tell me what and where is the NLS parameters to change ?
    Thanks
    Robin

    Robin,
    I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
    Maybe you should try the Globalization Support forum?
    Good Luck,
    Avi.

  • How to use " toFront() " method in java application and in which package or

    How to use " toFront() " method in java application and in which package or class having this toFront() method.if anybody know pl. send example.

    The API documentation has a link at the top of every page that says "Index". If you follow that and look for toFront(), you will find it exists in java.awt.Window and javax.swing.JInternalFrame.
    To use it in a Java application, create an object x of either of those two classes and write "x.toFront();".

  • Packaging dll files in java application

    Hi all,
    I am working on an application where I use some dll files from my java application. Now I would like to package the application so that end users can easily install and use them. the Java application is currently packaged as a jar file. How to i package the dll files? Where should I copy these files to on a target system.
    I tried packaging my application and installing it. But I get the following error: "Exception in thread "main" java.lang.UnsatisfiedLinkError". How do I resolve this error.
    Thanks for advance,
    Abdel

    Make sure that the dll files is in the library path.
    VM option example:
    -Djava.library.path=.\dll

  • Package & Deploy java application

    is any application exists that can package java applications+jdk so that coud be installed in other computers?

    You can search the web for installers or tools to generate exe files.
    You can also look at Java Web Start, a nice deployment strategy:
    http://java.sun.com/products/javawebstart/overview.html
    -Alexis

  • Packaging and Delpoying Java Application

    I have a java application that i want to package and deploy. I have used JSmooth to wrap my jar file into an exe file. However I was wondering if there are any applications that could be used to install this program like other installers do (ask path, create shortcut, etc).

    There are several packages available that let you create an installer which lets the customer select where to install your app, creates a native executable to launch your java app, adds desktop icons, menus, etc.
    Here's a list of some of apps available:
    http://www.javalobby.org/articles/java2exe/#setup

  • Packaging java application

    I don't know whether this is an appropriate place to post my question or not. I have built a java application. Now, I have to package the application. I can easily package it using Advanced Installer which is based on microsoft installer. My million dollar question is, what would or should I use to package my application that is a java-based packaging application?? i.e. it will install my application in any platform just as my application will run in any platform. Does that make sense???
    Namrata

    http://www.google.com/search?num=100&hl=en&lr=lang_en&c2coff=1&q=%22java-based+installer%22&btnG=Search
    You need to answer the "should" question yourself. How much money do you have to spend, etc., etc.

  • How to convert .ear file of webdynpro for java application to webdynpro pro

    Hi All,
    I have a .ear file which belongs one web dynpro for java application.
    I do have other information about the same.
    I need to convert it into a web dynpro project and use it in NWDS to make changes.
    How can I do it? I could not find any solution on SDN.. I hope I get here...
    Thanks and Regards,
    Aditya Deshapnde
    Edited by: Aditya Deshpande on Nov 23, 2010 1:55 PM

    Hi Friend,
    This is almost not possible even if you have Java Decompiler -- WD has a lot compile(design)-time only artifacts that are not exist in generated EAR.
    Hope this is help full for u.
    Regards
    Vijay Kalluri

  • How to package Java application in a setup file?

    I wish to package my application in a setup file. On double clicking the icon of setup file, the installation of the application may begin. I like to include modified JVM, Acrobat Reader along with class files of the application (packaged in a JAR file) in the setup file, i.e., I want to spare users from the headach of downloading before installing the JVM or Acrobat Reader, etc.
    Things like this have been done in commercial products such as Dreamweaver.
    I have no idea right now how this can be done, but I have to work on this. Any hint, suggestion, direction, advise would be highly appreciated.

    This is a simple free program which will allow you to package your JVM etc with all your other files and it'll give you a small exe file which will invoke the VM and start your app. It only works on windows btw.
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/marner_java_launcher.htm
    After you've set up the program all you need to do is download one the many shareware install programs from download.com. They're normally really easy to use, you just tell them the dir/s you want to package, which files, usually the exe, to add a shortcut to. It will then build a setup exe file for you.

Maybe you are looking for