How to customize automatically generated jnlp file

hi !
i am using sun application server 9.0.
i have written an application client, and deployed it to the server.
when i start the client via web-start, the application cannot load all classes, because there are some jars missing.
my question: is there a way to customize the jnlp file generated by the server.
especially to add some additional jars / extension packages ?
thanks
wolfgang

JNLP will not allow Java Web Start to set arbitrary properties w/o knowing them to be secure.
The built in list of known secure properties dosn't include this one.
On a given client machine you can set a property in the deployment.properties file to allow this property in ther jnlp file:
(in 1.5, or 1.4.2): deployment.javaws.secure.properties=java.net.preferIPv4Stack
This will only help you out for the given client machine
One way you might work around this is to create a small Extension Installer that adds this line to the clients deployment.properties file., but you'll have to sign the extension installer.
/Dietz

Similar Messages

  • If I want to set -Xbootclasspath , how to do it in jnlp file

    if I want to set -Xbootclasspath to let jvm know my classpath, how to do it in jnlp file. or have other way to do it.

    If I want to orb, (now I am using openOrb) , I had to
    let jvm load Orb which I want to use. Did you put those Orb classes into jars and list them in the jnlp file of your Web Start app?
    Regards,
    Marc

  • How I can automatically generate purchase orders in SRM?

    Hi Gurus,
    When I create a Shopping Cart (SC), in "Source of Supply" tab I can select a contract as source of supply.
    How I can automatically generate a purchase order (PO) with contract data (vendor, price, etc.)?  So that the operational purchaser does not have to enter the system to generate the PO.
    In ERP (ECC 6.0) exists ME59N transaction, is there something similar in SRM?
    The system is:
    Component software: SRM_SERVER
    Release: 700
    Level: 0008
    Support package: SAPKIBKV08
    Thanks in advance and best regards,
    Alonso Valenzuela

    Hi,
    Like ME59, there is no option available to create a PO automatically in SRM. If you want you can achieve this in 3 ways.
    1. Creating SC Via CATALOGS ( In this case after approval PO will be created directly and most of the cases PO will be transferred to ECC i.e in SRM that will be in ordered status.
    2. You can select the sourcing relevant indication as 'Never Carried out' (Here if you created a SC without source of supply then all such SC's will be converted into Save status PO's.
    3. Do the modification in DOC_CHECK_BADI to force all SC converting to PO.
    However in Case 2 & 3, still buyer's team manual intervention will be more, then need to update the PO with source of supply.
    Regards,
    Govardhan.

  • How can I automatically create the files with serie-name?

    Hello, Everyone,
    I have a question again.
    How can I automatically create the file with a serie-filename?
    e.g. I have a program, it will repeat 5 times, and every time it will create a bmp-file, and I want to let this program automatically save these 5 files with a Serie-filename like File001.bmp, File002.bmp, .... File005.bmp.
    How can I do it?`
    Thanks a lot.
    Regarts,
    Johnny

    Hi Deepu,
    one more comment
    The format code should be "%04d" to get leading zeros and have filenames with same length...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to Automatically generate .XSL file of XML file ???

    Hello Everyone,
    I have UI which provide the facility to create own format by using drag and drop utility. I have also xml file which contains the data. Now task is how to automatically generate the .xsl file of the dynamically designed format for the data stored in xml form.
    If you have any idea about the solution of the above problem.
    I will thankful for any help regarding this…
    Thanks
    B. Kumar

    XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents. .xsl is the extension of the XSL file.Thank you, I am aware of all that.
    When we design any format by using drag & drop utility, System has to generate the .xsl file (extensible stylesheet for the xml document).Why? To accomplish what?
    And then .xsl file is used to display the data which is stored in xml document on the webpage with designed format.So you need to define the mapping between XML and HTML? and you're hoping to do that automatically?
    That's a job for a user interface designer. Not a tool.
    In brief we need to write a parson
    Parser
    which will take any designed format and generate the .xsl file for that design, to display the data which is stored in XML document.Doesn't make sense. It would make more sense if you started from a schema. Starting from an actual XML document, i.e. an instance of the schema, no, not even slightly.

  • How to prevent OC4J generating DD file orion-ejb-jar.xml?

    I am doing a migration from JBoss to OC4J. I already have the ejb-jar.xml file which is working under JBoss. The xDoclet generate all the parts except the CMR parts so I deployed the ear file without orion-ejb-jar.xml and I got generated version from OC4J. I merge the xDoclet version with the OC4J generated version by adding the CMR parts into my xDoclet version and modify the table name and persistance fields name generated by OC4J. I don't want to mapping all the relationships so I use:
    <ejb-relation >
    <ejb-relation-name>AppReport-User</ejb-relation-name>
    <ejb-relationship-role >
    <ejb-relationship-role-name>the-User-of</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <relationship-role-source >
    <ejb-name>AppReports</ejb-name>
    </relationship-role-source>
    <cmr-field >
    <cmr-field-name>user</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role >
    <ejb-relationship-role-name>the-appreports-of</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source >
    <ejb-name>Users</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
    Here I just want unidirectional EJB AppReports refewrence to Users but I don't want Users EJB reference back to AppReports. The OC4j will generate DD file orion-ejb-jar.xml again with all the missing parts combined with my merged version orion-ejb-jar.xml and put it under my deploment directory. It seems it voilate the ejb-jar.xml since I don't have <cmr-field-name> defined for AppReports. My question is how I can control this way and let OC4J not generate orion-ejb-jar.xml again.

    You need to have the orion-ejb-jar.xml in your app before you initially deploy it, otherwise OC4J will automatically create it for you. I would take to copy of the orion-ejb-jar.xml that is a result of the combination of OC4J and XDoclet generated and add this to my code base as the de-facto orion deployment descriptor to be included in all app deployments. On deploying the app, OC4J will see that a orion-ejb-jar file already exists and will not auto create one. Hope this makes sense!

  • How do I automatically write-to-file the text from an applet?

    I'm trying to generate a file containing the text information that I'm getting off a webpage. The information, however, is in the form of an applet that displays the words on my browser. How do I automatically read the info in an applet and write it to a file?

    Is the inforamtion written inside some swing component?
    If yes, then you can read the content of that swing component, after that writing what you have read to a file is easy.

  • How to enable IPV4 in JNLP file

    I need to use this flag -Djava.net.preferIPv4Stack=true when running with JWS. Does anyone know how to specified this flag through JNLP file?
    Thanks,
    Paul

    JNLP will not allow Java Web Start to set arbitrary properties w/o knowing them to be secure.
    The built in list of known secure properties dosn't include this one.
    On a given client machine you can set a property in the deployment.properties file to allow this property in ther jnlp file:
    (in 1.5, or 1.4.2): deployment.javaws.secure.properties=java.net.preferIPv4Stack
    This will only help you out for the given client machine
    One way you might work around this is to create a small Extension Installer that adds this line to the clients deployment.properties file., but you'll have to sign the extension installer.
    /Dietz

  • How can I download two jnlp files by sequence?

    Hi,
    I want to download two jnlp files by sequence.
    When I click a link,first download a file,finish the operation.
    then download another.
    How can I do this?
    Thanks.

    Why do you want to do this ?
    I don't think that could work that way... But it is possible to reference others JNLP files inside a JNLP file.
    Example in my own jnlp file:
    <jar href="jte4.jar" main="true"/>
    <extension name="JTDS JDBC Driver" href="jtds.jnlp"/>

  • Urgent: how to avoid automatically generate dynamic ACLs?

    PIX501 v6.3(3)is configured as Easy VPN client and authentication is done on
    ACS server.
    Downloadable ACL is applied to this vpn h/w client after the VPN connection
    is established (shown in blue colour in the sh access-list output).
    However, the are 2 dynamic ACL applied to the same connection which
    override the downloadable ACL as defined in the ACS server for this VPN
    group.
    Question: How to get rid of the 2 dynamic ACLs as shown below?
    access-list dynacl128; 1 elements
    access-list dynacl128 line 1 permit ip any host 218.189.206.74 (hitcnt=0)
    access-list dynacl129; 1 elements
    access-list dynacl129 line 1 permit ip any FBP_Staging 255.255.255.0 (hitcnt=1)

    I think it is not possible to avoid automatically generated dynamic ACLs, you may have to use some other interface for this or configure PIX with proper VPN configuration for client.

  • Generating JNLP file with servlet?

    Hi all,
    I want to pass in paramters from a hyperlink into a webstart application. Now I know this can be done with webstart 1.5, but using this is not an option for us. What I would like to do is to create a servlet that generates a JNLP file from any parameters passed into it on the hyperlink.
    Has anybody done this? Is this possible? would there be any problems with this?
    thanks,
    J

    That's running fine with us. That has been the way for us to transmit authentication information to pass inside the JNLP world.
    Be very careful with your output, there's no validation at the client and errors created by wrong JNLPs can be really unpredictable. Do use the DTD to at build time to check the output!
    The JNLP file will be downloaded every-time if you output correct headers...
    paul

  • How to open automatically a downloaded file in Firefox?

    I don't want to double click the downloaded file in that open window. I want that the downloaded file to open automacally when download is completed.

    Hi Angelo_Monteiro,
    Please let us know if any of these articles help:
    * [[Change what Firefox does when you click on or download a file]]
    * [[Set how Firefox handles different types of files]]
    * [[Use the Downloads window to manage downloaded files]]
    Thank you

  • How to Read and Generate XML file from java code.

    hi guys,
    how to read the xml file (Condition :we know only DTD or Shema only).
    How to Generate the new xml file ?(using Shema )
    And one more how directly Generate the xml from DB?
    Pleas with code or any URL

    Using XMLbeans you can generate Java objects from an XSD schema (perhaps DTDs aswell)
    Then you can create an instance of the Document object and ask it to write itself.
    This will create an XML document complient to the schema.
    XMLBeans generates a "type" safe DOM where you can only ever have a structure compilent to you schema.
    matfud

  • How to customize ESS Business package files in Web Dynpro

    Hi
    Does anyone know how we can customize the ESS Business Package using web dynpro. I tried opening one of its application but since it doesn't carry any .project file, it cannot be opened in the NWDS for customization.
    Also, if there is any document available describing the method to be used for this, can you please pass the link for that or mail at [email protected]
    Thanks & regards,
    Anupreet

    Hi Raj,
    try this SDN article on <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a">Configuring the Business Package for Employee Self Service - mySAP ERP 2004</a>.
    Regards, Bertram

  • How do I automatically insert a file's filename in a header in the file?

    The newest version of NUMBERS seems to have lost the function for inserting a filename into the header of a printed document.  Any suggestions?

    I miss that feature too. A workaround would be to Command-Click the document name in the Print Preview window and select the second line in the file path that is displayed. That will cause a Finder Window to open, with the current Numbers file highlighted. Click once on the highlighted document name, Command-C to Copy, Click back on the Numbers window and click in the Header field and Command-V to Paste.
    This avoids all typing into the header, but the result is just a piece of text, not an object that will automatically update. It seems that if we want all the functionality of iWork '09, we must choose to use iWork '09.
    Jerry

Maybe you are looking for

  • Txn for cancelled checks

    Hi Friends, Can u please suggest me the Txn used for cancelled checks in SAP . Thanks n Regards, S.Agarwal.

  • Multiline mapping

    Hi, There are many invoices present in the incoming message. I have to make a single Bapi call for each invoice. For this purpose in the BPM I need to map the message to a multiline container, so that in the next block I can loop each line of this mu

  • My iPhone is mixing up the two volume controls

    Hello, I have an iPhone 3G, and recently it started to mix up the two volume controls for ringtone and sound effects very often when I launch an application, especially for games. Normally when I launch an app like a game, the volume control would au

  • Error accessing Remote Front Panel on RT Target after upgrade to LV2011

    I'm upgrading a real-time application (target is a desktop PC running the LabVIEW real-time) from LabVIEW 2009 to 2011.  Under 2009, it was possible the view the main VI remotely by browsing to a static HTML page that embedded the front panel.  After

  • XDB Basic Demo

    I am trying to use Basic Demo that I downloaded from otn site. I am refereing to XML Database Developer's guide, Release 2(9.2). I am following all the steps mentioned in the chapter 26. In page 26-4, the step is to install XDB_UTILITY package. As me