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

Similar Messages

  • URGENT-How to run command in java application???

    URGENT!
    i would like to run command to invoke some applications (like invoke application using command line in DOS) in my java appication.
    Do anyone know how to do this? Thanks a lot.

    This question has been asked upteen times.
    ok the code is
    for win95
    Runtime.getRuntime().exec( "start c:\\tmp.txt" );
    for win 2000
    Runtime.getRuntime().exec( "cmd /C startc:\\tmp.txt" );
    //change the file to your desire file..
    i am not so sure about win98, sorry...

  • How to run web dynpro java application

    I am new to Web dynpro java.
       I have created sample application through NWDS. I wanna run the application in server.
       please tell me from where I have to download the server and the steps to install the server.
       I have installed sap management console, but frankly speaking don know how to proceed my next step.
       Struggling for last two days and I believe my search will come to an end.
       Thanks in advance.
    P.S: If I post in the wrong column, admin please redirect me to the right place.

    Hi Ram,
    I tried to download the Software according to your instructions. I could follow the path Installations and Upgrades -> Entry by Application Group -> SAP NetWeaver -> SAP NETWEAVER, but then the only choices left are:
    SAP NETWEAVER 04
    SAP NETWEAVER 7.0
    SAP EHP1 FOR SAP NETWEAVER 7.0
    SAP NETWEAVER CE 7.1
    SAP NETWEAVER MOBILE 7.1
    SAP NETWEAVER PI 7.1
    Please look this [Install & Configure SAP NetWeaver Composition Environment 7.1 ehp1 (Preview Version)|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b057d7e3-b89e-2b10-1e9e-c426e967f8e1]
    and [SAP NetWeaver Composition Environment 7.1|SAP NetWeaver Composition Environment 7.1]
    Hope help full!!!
    Regards
    Vijay
    Edited by: VijaySAPEP on Aug 11, 2011 11:50 PM
    Edited by: VijaySAPEP on Aug 11, 2011 11:54 PM

  • How to run D2k 32 bit Application on Windows 7 64 Bit

    Dear Friends
    How to run D2k 32 bit Application on Windows 7 64 Bit, Presently I am having a Application developed in D2k 32 Bit, and it is running smooth on Windows Visa and Windows Xp. but now OUr company are going for new Laptops having Windows 7 64 Bit.
    Is there any way to Solve this Problem, or I have to upgrade D2k , which will be a 6 month job.
    sandy

    Since Forms 6 was never certified on Vista, I will assume you don't care about using Oracle Support. If that's the case, getting Forms 6 to work on Win 7 would likey require similar steps as you took to getting it to work on Vista.
    At minimum, you would need to do the following:
    1. Start with Forms/Reports 6.0.8.11 (6i Release 2)
    2. Install the latest (last) patch (#17), bring the version to 6.0.8.26
    3. It may be necessary to relax or disable Windows UAC
    4. To run the executables, you have to right click on them and select Run As Administrator in order for them to work properly.
    THE ABOVE IS NOT A SUPPORTED CONFIGURATION
    Forms 6.x was desupported years ago. If you have not already begun to do so, you should probably be working on a migration plan in order to get you to a supported version. The latest version is 11.1.1.3, so you are far behind. All versions newer than 6.x are entirely web based. This means that you will no longer be able to use the Forms runtime on the client machines. Client machines will require an Oracle certified browser and JRE in order to run Forms. Certification information for Fusion Middleware 11 (includes Forms 11) can be found here:
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11gr1certmatrix.xls
    FMw Product information can be found here:
    http://www.oracle.com/us/products/middleware/index.html
    Forms 11 information can be found here:
    http://www.oracle.com/us/products/tools/oracle-forms-161771.html
    http://www.oracle.com/technetwork/developer-tools/forms/overview/index.html

  • BC4J and OAS with Java Application Client

    Could you show me an example about using the BC4J and OAS with Java Application client.
    The JDeveloper Help is not enough to solve this kind of problem.
    Configuration:
    Jdeveloper 3.1
    OAS 4.0.8.1
    Database 7.3.4
    null

    if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
    So the problem is likely with the java portion (krb5/bsclogin or java options)
    If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
    then enter and password/enter again
    Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
    kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
    also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
    libdefaults
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    udp_preference_limit = 1
    Regards,
    Tim

  • How to show superscript in ,java application?

    how to show superscript in ,java application? in command prompt and using JOptionPane.showMessageDialog()

    JOptionPane.showMessageDialog(null,"<html>4<sup>2</sup> = 16</html>");

  • How to call a WD JAVA application from a WD ABAP application

    Hi experts,
    Here I have two applications with me. One has been created through WebDynpro ABAP while the other one has been created through WebDynpro JAVA. Now i have to call upon the JAVA aplication from my ABAp application. In other words in need to integrate both the applications so as to have an easy navigation in between them.
    In the whole process I need to take care that the data is not lost from both ABAP or JAVA side.
    Please help me someone knows the solution.
    Regards,
    Kaustubh Maithani

    Hi,
    Usally to run WebDynpro for Java Application, we get the Application URL.
    If you want to call this WebDynpro Java Application from Webdynpro Abap, then create UI element like Link to Action or LinktoURL and give the url as WebDynpro for Java URL.
    Regards,
    Lakshmi Prasad.

  • How to send attachments using java application and outlook

    Hi ,
    I created an application in java which is as
    on the Conference Tab i can schedule a conference and with the send command on page it map all the scheduled data to outlook(with all conference details) and using outlook send option the mails are send to appropriate user.
    but now i want to modify this application such as when i use the send command from my jsp page it should attach the file that is in .vcs or .ics format for auto updation of user calender.
    can any one know how to send attachment using java application .

    Last time I checked, SMS was a service between carriers and doing SMS yourself was really tricky. Some services existed to let you do it but as I recall they wanted non-trivial money.
    However, most phone carriers provide an email-to-SMS bridge of some kind.
    So the easiest thing is just to send an email.
    That's sending from a non-phone to a phone. There's a J2ME library to send/receive SMS from/to a phone.
    However, this is from memory, and a little out of date, so I could be entirely wrong. Hope it helps anyway.

  • How can i get a java application

    how can i get a java application on my mac pro?

    I'm not sure I understand the question. If the application is a standalone applet, you download it as you would any other application or file. If the applet is embedded in a web site, just go to the appropriate web page.
    If you can provide more specifics about what it is you are trying to download/accomplish, perhaps we can be of more specific assistance.
    Regards.

  • How can I debug webdynpro java application?

    hi,
    How can I debug webdynpro java application?
    Thanks

    Check this document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
    Also check this sdn thread Re: DeBugginng The WebDynPro Application particularly shailesh kumar posting
    /padmanaban
    Edited by: Padmanaban on Sep 26, 2008 1:55 AM

  • How can i let my java application closes the other opened windows

    how can i let my java application closes the other opened windows: like any other Microsoft Internet Explorer windows ... provided that my java application is not the one i used to open those other windows.... thanks in advance

    you'll have to use JNI to access the windowAPI
    then you need a list of window handles ... I think there was a function called getWindow and in order to close them you use sendMessage .... for details check out msdn (microsoft developer network)
    somwhere I saw a tool called JUtil, which might help you getting started on accessing the win api from java
    regards
    Spieler

  • Java Application interface with MS Excel through DDE

    We have a financial application written in JAVA and have requests from users that want to interface with the application. Meaning, They would like the Java application interface with Excel. For example, if you had a C++ application, you could create a DDE link in Excel that points to the C++ application and receive the data.
    How could I do this with a Java Applictaion ? I was told that there was an application written that lets Java interface with Excel.
    Any ideas or does anyone know ?

    JNI

  • How to download .sca WAS Java files automatically with MOPZ

    Dear experts,
    following my title subject, i would like to know how to download .SCA was java files automatically with the Maintenance Optimizer in my solution manager 7.0. (transaction code DSWP or SOLUTION_MANAGER)
    Currently, i only can download .SAR & .CAR files automatically.
    Any suggesttion is welcome.
    Thank you very much in advance.
    Best regards,
    Pascal.

    Hello Markus,
    thank you for replying very fast
    i meant : with transaction code DSWP or SOLUTION_MANAGER, choose the solution, "Change Management" tab, "Maintenance Optimizer" tab, "create new maintenance transaction" button.
    In the step 2 (select files) i can choose "Calculate download files automatically" by the button "find download files" or i can choose "Fill Download Basket manually" by the button "select files for SAP Solution Manager 4.0".
    After choosing the target stack version, i can only download .SAR and .CAR files.
    How can i download .SCA files automatically? Is it possible actually?
    Thank you.
    Pascal.

  • How to find the list of applications registered with OID?

    Could some one please help me?
    how to find the list of applications registered with OID?

    Is there any table from which we would be able to see?

  • How run a JEE swing application client ?

    I'm making Jee tests, using NetBeans 6.8 and GlassFish v3.
    I have an application that has an EJB module and two interface clients (jar app-client and war web-client).
    Each client uses same ejb module.
    For test the web module, I made this:
    1) I set the client module for the project:
    - Right click on the project (JeeTest) -> Properties -> Run
    - Select JeeTest-war as client module
    2) When Run the project from NetBeans, it works fine
    3) Test the project directly in the web browser and also works fine.
    For test the swing application, I made this:
    1) I set the client module:
    - Right click on the project (JeeTest) -> Properties -> Run
    - Select JeeTest-app-client as client module
    2) Run the project from NetBeans, it works fine
    3) But, When I try test the jar file, outside NetBeans, not working
    The question:
    How test the swing application outside netbeans?
    [Here I put the project code for NetBeans|http://www.blueboxmicrosystems.com/JeeTest.zip]

    Hi ! gimbal2
    I Launched from the command prompt: java -jar jeetest-app-client.jar
    Opened the form, but when I press the button to call the ejb, returns this error:
    01/02/2010 11:05:00 PM forms.MainForm btnSayMessageActionPerformed
    GRAVE: null
    javax.naming.NoInitialContextException: Need to specify class name in environment or
    system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at forms.MainForm.btnSayMessageActionPerformed(MainForm.java:90)
    at forms.MainForm.access$000(MainForm.java:25)
    at forms.MainForm$1.actionPerformed(MainForm.java:53)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    The JeeTest-ejb module, have 2 classes:
    Message.java
    package ejb;
    import javax.ejb.Stateless;
    @Stateless
    public class Message implements MessageRemote {
        public String sayHello() {
            return "Hello, from EJB !!!";
    MessageRemote.java
    package ejb;
    import javax.ejb.Remote;
    @Remote
    public interface MessageRemote {
        String sayHello();
    }In the JeeTest-app-client, I am trying call the ejb from a Jbutton in the form, and pass the value to a JTextField, like this:
            String message="";
            try {
                Context context = new InitialContext();
                MessageRemote messageRemote = (MessageRemote) context.lookup(MessageRemote.class.getName());
                message=messageRemote.sayHello();
            } catch (NamingException ex) {
                Logger.getLogger(MainForm.class.getName()).log(Level.SEVERE, null, ex);
            this.txtMessage.setText(message);I put the code for the project HERE
    Edited by: m_ilio on 01/03/2010 03:24 AM
    Edited by: m_ilio on 01/03/2010 03:25 AM

Maybe you are looking for