How to run Jar application in DRM?

Hi All,
How to run the jar file using SD method of DRM. I have tomcat 4.0 server. In web.xml, mime type of drc, dcf specified. Jad Application contains the jar url as MIDlet-Jar-URL: http://localhost:8080/contentTest/RightsSample.drc. While loading jad Application into the mobile device(I'm testing using SDK 6230i) it shows as "Invalid Application". How to handle this?? Could you anyone help me
thanx in advance

Pang,
guess that you want to start client side programs from Forms on the Web. There is a sample on OTN (host bean) that allow you to acces sthe client and start executables.
Frank

Similar Messages

  • How to download Personal Java and how to run the application

    Hi,
    From java.sun.com, which file has to be downloaded for develpoing the application in personal java.
    How to run an application in peraonal java?
    If you give me the steps it will be more helpful to me.
    I couldn't find the samples for personal java anywhere?
    If you give me links for basic samples with source code such as hello world and small games, it will be more helpful to me.
    All of my doubts are very basic one.
    Please help me.
    Thanks in advance.
    Regards,
    Nagaraj.

    Sun has a beta implementation available for download (http://developer.java.sun.com/developer/earlyAccess/personaljava/) which will allow you to run Personal Java on a MIPS/SH3/StrongARM or XScale device running WindowsCE 2.0 or greater. You can also download the Personal Java Emulation environment (http://java.sun.com/products/personaljava/pj-emulation.html) which will allow you to develop and run personal java applications in a Windows or Solaris environment.
    Most JDK1.1.8 compliant applications will run on Personal Java, so a Hello World program would look like the regular.
    public static void main(String[] args) {
    System.out.println("Hello World");
    System.exit(0);
    You can also purchase a full blown commercial implementation of Personal Java for PocketPC at handango.com. Do a search on Insignia Jeode for Dell. You can use this on any PocketPC/XScale pda.
    To run a Personal Java program on Pocket PC. Deploy your jar to the Device and create a shortcut similar to this:
    50#"\program files\Java\bin\pjava.exe" -setcwd "\program files\Java\pjtest" -classpath "\program files\Java\pjtest\pjtest.jar" -file "pjtest.testmain.class"
    The number is arbitrary, but the paths need to point to the directory where you installed Personal java and your jar/application respectively.

  • How to run the application in weblogic

    Hello!
    I have deployed 1 application in Apache Tomcat , it is working fine. Now i want to deploy same application in Weblogic Server. I have already installed "Weblogic 9.1". Now i dont know how to do and what to do next.
    I also dont know where to copy that application folder in weblogic, and how to run & deploy the application?
    I have stuck over here.
    Please if anybody knows how to run the application in weblogic, plz let me know.
    I need your help.
    Thank you.

    hi,
    have you gone through [this link.|http://e-docs.bea.com/wls/docs92/index.html]. i think it may help.

  • How to run others application in Oracle Forms on the web version?

    How to run others application in Oracle Forms on the web version?

    Pang,
    guess that you want to start client side programs from Forms on the Web. There is a sample on OTN (host bean) that allow you to acces sthe client and start executables.
    Frank

  • How to run .jar on linux & how to create .jar file using java?

    hi, may i know how to run .jar on linux & how to create .jar file using java? Can u provide the steps on doing it.
    thanks in advance.

    Look at the manual page for jar:
    # man jar
    Also you can run them by doing:
    # java -jar Prog.jar

  • How to run windows application programs in mac book pro, how to run windows application programs in mac book pro

    how to run windows application programs in mac book pro, how to run windows application programs in mac book pro

    Install Windows..either by Boot Camp or via virtual machine from VMWare, Parallels or Virtual Box

  • How to run ipad applications in mac

    how to run ipad applications in mac i ahve downloaded the application in macbook air . But i do not know how to run?

    It can't be done. iPads use iOS as the operating system. Macs use OS X as the operating system. iOS apps don't run on Macs and OS X apps don't run on iPads.
    That's why if there is an app that has been developed for both platforms, you have to buy them separately; iOS apps from the iTunes App Store and Mac apps from the Mac App Store.

  • How to run desktop application

    Hi! I've programmed for years JSP, Servlets and Applets, but never a desktop application, so... my problem is that I don't have any idea on how to run it. I mean, of course I know how to run some application in my own desktop (java applicationname) but my doubt is, what I need to install in the client desktop or how must I do my package in order to run without the need for installing the SDK. Because, as I known, the "java.exe" comes with SDK, and of course, I don't think that I need to install de entire SDK in all my clients desktops in order to run my application.
    Any help will be very appreciated!

    You should give them the Java Runtime Environment. You will find a java.exe there too. E.g.
    C:\Program Files\Java\jre1.5.0_02
    The principle problems you will have to consider are:
    1.) How easy, and often, will you have to update your program? You might need to consider something like Java Webstart, for example.
    2.) What are the security considerations? If you need access to a database you will have difficulty keeping passwords secure. You may want to obfiscate code, for example.
    3.) If the applications are communicating with a central resource how will you deal with simultaneous usage. Coming from a web application background this is nothing new to you I guess but you may want to consider a J2EE application server, for example.
    4.) You need to consider whether you stick with what you know and develop an intranet approach to internal applications.

  • How to run composite application

    Dear all,
    I developed one composite application in ce 7.1 ehp 1 version.I deployed that application.can any one let me know how to run that
    application.
    regards
    ravi

    Hi Ravi,
    Take a look at the following links:
    - [Quick Start tutorial|http://help.sap.com/saphelp_nwce10/helpdata/en/45/055d394c09048ae10000000a155369/frameset.htm]
    - [Modeling Composite Views with Visual Composer |http://help.sap.com/saphelp_nwce10/helpdata/en/45/04134e8a5741dee10000000a1553f6/content.htm]
    - [SAP NetWeaver Visual Composer FAQ|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00b9ba6d-1291-2a10-208d-bd27544e7939]
    I think the "Quick Start tutorial" -> "Creating the Basic Model" -> section 13 can answer your question.
    Regards,
    Udi
    Edited by: Udi Cohen on Aug 19, 2009 10:14 AM

  • How to run an application i created in java without using eclipse

    Im familiar with running an application i create thru command prompt or eclipse, how do i create a file to run on any computer with java so i can double click the file and my application runs. C# automatically does this, do i need to do an extra step to the jar file?

    Hi,
    You need to make an executable JAR file. There are a few ways you can do this but since you are using Eclipse you can follow this tutorial.
    [http://www.fsl.cs.sunysb.edu/~dquigley/cse219/index.php?it=eclipse&tt=jar&pf=y]
    The most important part is the manifest file, if you have dependencies on other JAR files they will need to be specified along with the
    main method to call to start you program. You can do this via the Eclipse Wizard.
    It will be in your interests to read this tutorial also
    [http://java.sun.com/docs/books/tutorial/deployment/jar/]

  • How to run an application on windows mobile 6 device ?

    Hi everybody,
    How can you run an application on a windows mobile 6 device with the new SDK 3.0 ?
    Can you launch a MIDLET like any other program ? or running your MIDLET on windows mobile 6 is only for testing while you are developing.
    When you finished your MIDLET, can you copy the jar file to the mobile device with windows mobile 6 and to run it anytime ?
    Thank you.

    Its simply a matter of opinion, but I'm 3-months-in, developing for WM5 + WM6 and the only usable solution I've found that has the correct look and feel on Windows Mobile as well as JSR support is IBM's J9.
    It's not free, but I searched high and low, and it's the only product that I was happy with.
    Here's a [screenshot of it running my application on WM6 emulator|http://3.bp.blogspot.com/_9hmP3Ho0t14/S7eDTXfkE9I/AAAAAAAAAa0/ISZ-HohZQDs/s1600/wm6.png] .
    Here's a [quick article I wrote for it.|http://fatbuttlarry.blogspot.com/search?updated-max=2010-02-16T11%3A34%3A00-08%3A00&max-results=7] Remember, it's NOT free. Pricing is very fair, but you'll have to license it to use and distribute it.
    -Tres

  • How to run Java application involving DOM3 in a command shell?

    Dear all,
    I am currently in a testing phase on my Java implementation (in JBuilder 2005) utilizing DOM3(built 2 .jar files from Ant via CVS thanks to dmbdmb). It seems working properly. To experiment its capability of handling big size files, it is essential to do a bit testing by running the application in a command shell (got 'OutOfMemoryError: Java heap size' when run it in JBuilder), something like:
    Java -Xmx256m MainHowever it gives out another error of
    java.lang.NoSuchMethodError: org.w3c.dom.Node.setUserData(Ljava/lang/String;
    Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;All fine in JBuilder because I configured its 'required libraries' and added up the 2 DOM3 .jar files. Now how should I do to make them working in a command line? I already added the paths of these 2 .jar files to CLASSPATH and also tried to put a copy of them under the same directory as 'Main'. Unfortunately the 'NoSuchMethodError' is not going away...
    Thanks to any help

    I managed to include these 2 DOM3 jar files into a jar file, xml.jar, together with all other class files. (I put a copy of these 2 DOM3 .jar files and the JDBC connector file, mysql-connector-java-2.0.14-bin.jar into the same folder as with other class files, then run something in the command line like:
    D:\>jar cmf manifest.mf xml.jar xmltree/*   //xmltree is the folder/also the package nameThe resulting xml.jar can use the included 2 DOM3 jar files, however another JDBC error occurs when attempting getting a connection to MySQL( details also on http://forum.java.sun.com/thread.jspa?threadID=642812 ). Why do these jar files behave differently, as 2 DOM3 files do well in the xml.jar, whilst the JDBC connector jar does not like it?
    Another anomaly is that, though they work well by double clicking xml.jar, the 2 DOM3 jar files still do nothing if executing the jar from a command line as follows:
    D:\>java -jar xml.jar      //it still throws out NoSuchMethodError
    Why the DOM3 jar files also behave differently depending on how the xml.jar is invoked??
    Really cannot work it out & thus need your kind help!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to run ejb application OC4J J2EE Container

    Hi all,
    I unable run ejb applications in OC4J J2EE Container.
    I have configure following files.
    in config directory
    Server.xml
    I have .ear file if configured in server.xml. this .ear copied into home/application directory
    I have create following deployment discriptor file.
    in META-INF for ejb.
    ejb-jar.xml
    application.xml
    I have specify all ejb classes details in ejb-jar.xml
    Please help me .How to run ejbs with jsp and application client.Which files shall i configure.
    Thnaks,

    Hi all,
    I unable run ejb applications in OC4J J2EE Container.
    I have configure following files.
    in config directory
    Server.xml
    I have .ear file if configured in server.xml. this .ear copied into home/application directory
    I have create following deployment discriptor file.
    in META-INF for ejb.
    ejb-jar.xml
    application.xml
    I have specify all ejb classes details in ejb-jar.xml
    Please help me .How to run ejbs with jsp and application client.Which files shall i configure.
    Thnaks,

  • How to run a application client in jboss?

    Hi guys i'm new to EJB and may have some qns to ask.
    I have create ejb java files, compile and package it as jar. Next i also create the .jsp pages and package it as war. I package the war and jar together with the xml files for deployment. The file works.
    Now i create a java file as an application client along with the application-client.xml file. Next i jar both the class and xml files together.
    Now , how am i going to run the client class file to produce the results since its jar up. I using jboss 4.0 to run the application.
    thanks
    Regards ChongMing

    Your J2SE client code should simply look up the required EJB homes using JNDI, and use the client interface to execute the EJB code. The example interfaces ejb.interfaces.SimpleHome and ejb.interfaces.Simple need to be packaged into the client JAR and placed in the classpath of test.java
    Example:
    import javax.ejb.EJBException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import ejb.interfaces.SimpleHome;
    import ejb.interfaces.Simple;
    public class test {
        public static void main(String[] args) {
            try {
                 InitialContext ctx = new InitialContext();
                 SimpleHome home = PortableRemoteObject.narrow(ctx.lookup("ejb/Simple"), SimpleHome.class);
                 Simple simple = home.create(); // or findByPrimaryKey(), etc.
                 simple.aMethod();
            } catch (NamingException ne) {
                // unable to look up SimpleHome
            } catch (EJBException ejbe) {
               // generic EJBException, maybe something went wrong with Simple?
            } catch (ClassCastException cce) {
               // SimpleHome was of the wrong type
    }I may have screwed up the JNDI lookup, as I might not be getting the context correctly, but I usually don't call EJB code from the command line. If I'm wrong, the only thing that will change is that ctx will have to be initialized differently. The rest should work the same.
    Brian

  • How to run two applications from same application server

    hi,
    i am working on oracle application server 10g , is it possible to run 2 applications from one application server by using different url ? but same report server name .
    if i can do so plz tell me how ?
    regards

    hi,
    offcourse,you can do this you.you can deploy n no of applications on a single application server.
    and even you can run all the reports on a single report server
    to the below location.
    $ORACLE_HOME/forms/server
    create a new enviroment file(for eg fd.env) using the default.env as follows and make the following FORM_PATH and REPORTS_PATH changes in the fd.env
    FORMS_PATH=/oraApp/Ora_bi/forms:/oraApp/backup_29_11_2010_0.12/fd/pll:/oraApp/backup_29_11_2010_0.12/fd/forms
    REPORTS_PATH=/oraApp/backup_29_11_2010_0.12/fd/reports
    similarily create another env file (eg appr.env) and make the above changes in it.
    Now make the following changes in formsweb.cfg
    for example:
    [xyz]
    envFile=appr.env(env file name)
    form=xyz.fmx(your start form)
    lookandfeel=oracle
    separateFrame=false
    userid=appraisal/[email protected]
    splashscreen=NO
    logo=NO
    background=NO
    color=automatic
    render=yes
    archive=frmall.jar
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,ofasIcons.jar,icons.jar,OfasPrint.jar,newicons.jar(these jar file are the images files of your applications..needs to be stored in $ORACLE_HOME/forms/java.
    imagebase=codebase
    term=frmpcweb.res
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    WebUtilArchive=frmwebutil.jar,jacob.jar
    [fd]
    envFile=fd.env
    form=fd.fmx
    lookandfeel=oracle
    separateFrame=true
    userid=fdmmfsl/fdmmfsl@mmfdlive
    splashscreen=NO
    logo=NO
    background=NO
    color=automatic
    render=yes
    archive=frmall.jar
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,icons.jar
    imagebase=codebase
    term=frmpcweb.res
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljini.htm
    This depends on your application which your deploying
    now for about accessing the seperate application then
    use as follows
    1st application
    http://ip address:7778/forms/frmservlet?config=xyz
    2nd application
    http://ip address:7778/forms/frmservlet?config=fd
    you can even deploy 2 war files on one application server...and you can even make these 2 war files to access the same report server
    If you require any other help then do let me know
    Regards
    Fabian D'souza

Maybe you are looking for

  • Ni teststand 3.5 numeric limits properties

    Hello! I have a test step with the numerical limits -0.3 and 0.5. Sometimes the DMM 4 wires measures 0.50007 for example and the test result is FAIL.I don't need this precision. I want to take into consideration only 2 digits after the comma, in orde

  • Multiple HANA systems connection for Smart Business Fiori Apps

    Hi Experts, I could configure and run standard Fiori apps through launchpad and able to configure all type of Fiori apps through web dispature and single HANA system1 [retail] As per the recommendation from SAP, we have separate HANA system2 for fina

  • Updating  data

    Hi , 137/234 Tob 13% Che 98.5F Crt 10*6 Rad How could i Update the above data in a field to get values as below 137/234 13% 98.5F 10*6 Thanks for the help

  • Aperture 3- Calls Master image version 2 ????

    Downloaded the trial of Aperture 3. Started playing around with it and noticed that the master image is being called version 2 and the actual adjusted version is not even labeled as a version. If I create multiple other versions of the image they are

  • TS3297 only part of the song will play

    Only 1.5 minutes of a 7 minute downloaded song will play.  How can this be fixed?