Custom certificates for JAR file signing

Hi,
Can anyone please let me know how to check that we have custom certificates for JAR file signing set up in our instance
Thanks,
Praveen

It depends on the version of your $ADJVAPRG. See the referenced note.
How to use,create and /or update Digital Certificates for Jinitiator in 11i Applications
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=365735.1

Similar Messages

  • Create a custom dock/application icon for .jar files built in eclipse

    I've spent the better part of the afternoon trying to figure out how to apply a custom icon to jar file that I created in eclipse. I am presently using eclipse v3.5 on Mac OS X 10.6.2 and have yet to find a way to change the java coffee cup logo in the document icon for my jar files created in eclipse. Is there some way I can call a specific Apple class in Eclipse to change the dock/application icon of my .jar file?
    I found this link that uses a class that seems to be specific to XCode to change the icon of the .jar file.
    What I mean by change the icon of the jar file, I mean change the icon used in the dock, and also the icon used when the "command+tab" switcher pops up. Presently, I have the black console icon with the text "exec" in the upperleft.
    If anyone has any good links on this topic or even better knows the code I need insert into my program I would be highly greatful.
    cheers
    -ipatch

    See http://www.centerkey.com/mac/java/

  • JAR File Signing : NoClassDefFoundError

    Hi,
    I have followed the new white paper, JAR file signing for JInit 1.3, and have used workround 2 to Register My Custom Sigingn Certificate Seperately.
    All appears to ge well, i.e. the dialog is shown, and when granted, the cerificate is listed within the JINIT 1.3 console.
    Howver, when I attempt to access Java code attempting to break out of the sandbox (executing a Host command), I receive a Java Exception :
    Exception occurred during event dispatching:
    java.lang.NoClassDefFoundError: oracle/forms/ui/VBean
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.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.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    The oracle/forms/VBean.class is included within the JAR cache, as downloaded within f60all_jinit.jar (also used f60jinit.jar). These are as delivered within Patchset 11.
    We are using Forms 6i and JInit 1.3.1.9.
    Please note that the Java code works when using JInit 1.1.8.19 (after manually updating identity.obj with the signing identity).
    Any assistance, would be much appreciated.
    Regards
    Marc Ludwig

    Hi Duncan,
    I have cleared out the cache, tried re-installing etc. but continue to get the exception.
    Apologies for the length, but I attach the "hostcommand" Java code.
    // Copyright (c) 2002 Aquila Group Holdings Ltd
    package uk.co.aquilauk;
    import java.util.*;
    import java.text.*;
    import java.io.*;
    import oracle.forms.ui.*;
    import oracle.forms.properties.*;
    import oracle.forms.handler.*;
    * <code>HostCommand</code> is an Oracle Forms Pluggable Java Component that provides access to the client
    * machine allowing administrator web forms to run executables<P>
    * <P>The class will need to be signed before being used since access to the client machine
    * is an activity that is defined outside of the default Java sandbox.</P>
    * <!-- RevisionInformation -->
    * <DL><DT><B>Revision Information:</B></DL>
    * <pre>
    * Nick Holcombe 30/11/2001 Initial revision.
    * Nick Holcombe 04/12/2001 Added JavaDocs comments.
    * Marc Ludwig 03/01/2002 Added call to StreamGobbler to handle standard error and input streams.
    * </pre>
    * <!-- End RevisionInformation -->
    public class HostCommand extends VBean {
    * Stores the handler for this view class
    IHandler mHandler = null;
    // Return codes from host command
    static final int RC_CMDNOTRUN = -1;
    static final int RC_CMDERROR = -2;
    static final int RC_CMDNOTFINISHED = -3;
    * Register custom properties, used to invoke the setProperty/getProperty JavaBean methods
    static final ID P_MODAL = ID.registerProperty("MODAL");
    static final ID P_RETURNCODE = ID.registerProperty("RETURNCODE");
    static final ID P_NEWCOMMAND = ID.registerProperty("newCommand");
    static final ID P_ADDCOMMAND = ID.registerProperty("addCommand");
    static final ID P_RUNCOMMAND = ID.registerProperty("runCommand");
    private boolean modal = false;
    private int returnCode = RC_CMDNOTRUN;
    private Vector cmdArray = new Vector();
    private Process commandProcess = null;
    private boolean commandHasRun = false;
    private boolean isCommandStillRunning () {
    if (commandHasRun)
    return false;
    try {
    int ev = commandProcess.exitValue();
    commandHasRun = true;
    returnCode = ev;
    catch (java.lang.IllegalThreadStateException e) {
    return true;
    return false;
    private String getReturnCode () {
    if (isCommandStillRunning()) {
    return ""+RC_CMDNOTFINISHED;
    else if (commandHasRun) {
    return ""+returnCode;
    else {
    return ""+RC_CMDNOTRUN;
    private String getModal () {
    if (modal)
    return "TRUE";
    else
    return "FALSE";
    private boolean setModal (Object value) {
    String newModal = (String) value;
    if (newModal.equals ("TRUE"))
    modal = true;
    else
    modal = false;
    return true;
    private String newCommandArray () {
    cmdArray = new Vector();
    return "";
    private boolean addCommandArray (Object value) {
    String cmdEntry = (String) value;
    if (cmdArray == null) {
    cmdArray = new Vector();
    System.err.println ("HostCommand.addCommandArray: Adding command "+cmdEntry);
    cmdArray.addElement (cmdEntry);
    return true;
    private String runCommandArray () {
    execCommandArray();
    return (getReturnCode());
    private boolean execCommandArray () {
    returnCode = RC_CMDNOTRUN;
    commandHasRun = false;
    commandProcess = null;
    String cmd[] = new String[cmdArray.size()];
    int count = 0;
    try {
    if (cmdArray != null && cmdArray.size() > 0) {
    for (Enumeration e = cmdArray.elements() ; e.hasMoreElements() ;) {
    String cmdElement = (String) e.nextElement();
    cmd[count++] = cmdElement;
    commandProcess = Runtime.getRuntime().exec(cmd);
    StreamGobbler errorGobbler = new StreamGobbler(commandProcess.getErrorStream(), "ErrStream");
    StreamGobbler outputGobbler = new StreamGobbler(commandProcess.getInputStream(), "OutStream");
    errorGobbler.start();
    outputGobbler.start();
    if (modal) {
    returnCode = commandProcess.waitFor();
    commandHasRun = true;
    catch (Exception x) {
    x.printStackTrace();
    returnCode = RC_CMDERROR;
    commandHasRun = true;
    return false;
    return true;
    * Method in the IView interface that is called when the component is first
    * initialised from by the Forms Server.
    * @param a reference to the Handler object for this class
    public void init(IHandler handler)
    mHandler = handler;
    commandProcess = null;
    returnCode = RC_CMDNOTRUN;
    commandHasRun = false;
    cmdArray = new Vector();
    * Method in the IView interface that is called when the Forms Server wishes to
    * obtain the value of a specific property from the class.
    * For the 6i release, the get_custom_property method will be available which will
    * allow for a far simple usage model. The Form developer will simply be able to call
    * get_custom_property('HOSTCOMMAND') and we will return the host command as a string.
    * @param pid the property to be returned
    * @return the value of the property that was requested
    public Object getProperty(ID pid)
    if (pid == P_MODAL) {
    return (getModal ());
    else if (pid == P_RETURNCODE) {
    return (getReturnCode ());
    else if (pid == P_NEWCOMMAND) {
    return (newCommandArray());
    else if (pid == P_RUNCOMMAND) {
    return (runCommandArray());
    else // let the VBean superclass handle the other properties
    return(super.getProperty(pid));
    public boolean setProperty (ID pid, Object value) {
    boolean result = true;
    if (pid == P_MODAL) {
    result = setModal (value);
    else if (pid == P_ADDCOMMAND) {
    result = addCommandArray (value);
    else
    result = super.setProperty (pid, value);
    return result;
    * A convenience function to use the new ID.getName() method exposed in the 6i
    * release but which will still allow the PJC to be used in the 6.0 release
    * @param pid the property to display the name of
    * @return the property name
    public String getPropertyName(ID pid)
    try
    return pid.getName();
    // if there is an exception, it's 6.0 running!
    catch(Exception e)
    return null;
    * The test method which allows class to be run from the command line to determine
    * if it is functioning correctly.
    * @param args[] the command line arguments
    public static void main(String args[])
    String commandToRun = "";
    if (args.length == 0) {
    System.err.println("usage: hostcommand Command to run");
    System.exit(1);
    HostCommand hc = new HostCommand();
    hc.getProperty (P_NEWCOMMAND);
    if (args.length > 0) {
    for (int i = 0; i<args.length; i++) {
    commandToRun += args[i]+" ";
    hc.setProperty (P_ADDCOMMAND, args);
    System.out.println("CommandtoRun: >"+commandToRun+"<");
    hc.setProperty (P_MODAL, "TRUE"); // Make the test example modal
    String rc = (String) hc.getProperty (P_RUNCOMMAND); // Run the command, getting the return code
    System.err.println("rc="+rc); // Display the return code
    // Regardless of the modal property, wait until the command has finished before the return code
    // is retrieved, otherwise a -3 will be returned if the process is still running.
    if (hc.getReturnCode().equals(""+RC_CMDNOTFINISHED)) {
    System.err.println ("CommandNotFinished. Waiting for command to finish to get the return code");
    while (hc.getReturnCode().equals(""+RC_CMDNOTFINISHED)) {
    System.err.println("ReturnCode: "+hc.getProperty (P_RETURNCODE)); // Display the return code
    System.exit(0);
    // Copyright (c) 2002 Aquila Group Holdings Ltd
    package uk.co.aquilauk;
    import java.util.*;
    import java.io.*;
    * <code>StreamGobbler</code> is a public class that is currently called from the HostCommand class, to control output
    * and error streams produced when calling Host commands from the JVM.
    * <!-- RevisionInformation -->
    * <DL><DT><B>Revison Information:</B></DL>
    * <pre>
    * Marc Ludwig 03/01/2002 Initial revision.
    * </pre>
    * <!-- End RevisionInformation -->
    public class StreamGobbler extends Thread {
    InputStream is;
    String type;
    StreamGobbler(InputStream is, String type) {
    this.is = is;
    this.type = type;
    public void run() {
    try {
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line=null;
    while ( (line = br.readLine()) != null)
    System.err.println(type + ": " + line);
    catch (IOException ioe) {
    ioe.printStackTrace();
    Hope you are able to help. As mentioned previously, this same code works successfully when using JINIT 1.1.8.19 after manually updating the JInit identity.obj with our sigining identity.
    Regards
    Marc Ludwig

  • Custom Icon for application file

    I can make director allow me to have a custom icon for appliacation file.
    In director I have attempted this several times where I have tried to have my appliaction file have an icon.  I have purchased two icon program Candy Bar and Fastincs trying to remedy this problem.
    As you see here I am using an ins file created in Fastincs.  Now here is an image to the path and the icon itself Applipcations/ Adobe Director 11/3 HorseLogo.mac.ins
    So there is the setup now when I complile for my program file I get this.
    See the grey Director icon I don't want that I want the three horse logo.
    I also tried to assign the logo after publishing the file.
    then I drag my icon file in
    The program created in director still wont see the icon file.
    If I use Candy bar (icon application)  I get a  different result. The icon works
    in both finder and on the task bar
    This is exactly what I want.
    I works until I try to move the entire package into an installer program  I am using BitRock.  When I compile the installation program then try to run the application I get the following message
    If I choose ignore the install continues.  But I have no icon.
    I am desperate , weeping , screaming , and almost a lost cause, any help any help at all I could really use.
    Thanks
    Robin aka innish

    Hi Robin,
    I'm more of a PC person rather than Mac. I would recommend you look at the Resource and Icon Editor page at:
    http://collab.directorforum.com/Resource_and_Icon_Editor
    It may fix your icon issue from Director.
    Dean

  • Custom code for Flat file reconciliation on LDAP

    Hello,
    I have to write a custom code for flat file reconciliation on LDAP as the GTC connector wasn't working entirely.
    Could someone help me out with this.. How do i do this ??
    Thanks

    flat file reconciliation on LDAPWhat do you mean by Flat File on LDAP ?
    If you want to create Flat File connector then search google for reading a flat file using Java.
    Define RO Fields and do mapping in Process Defintion. You can use Xellerate User RO for Trusted Recon.
    Make a map of CSV that and Recon Field
    Call the Reconciliation API

  • Question about Java Applet Jar file signing.

    These questions pertain to Java 6 Standard Edition 1.6.0_22-b04 and later.
    I have gone through the Oracle Java Tutorial for generate public and private key information
    to sign a jar file, and how to sign the jar itself, all at
    [http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html|http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html]
    , and seek some clarification on the following related questions:
    -In order to "escape" the java applet sandbox that exists around the client's
    copy of the applet running in their web browser, ie.
    (something forbidden by default), is verification of the signed applet enough, or is a policy file required
    to stipulate these details?
    -using the policytool policy file generator, what do I need to add under "Principals"
    (if anything) when dealing with a Java applet? Are Codebase and SignedBy simply author information?
    -If I choose to use a java.security.Permission subclass object set up in equivalent fashion within the Applet,
    which class within the Applet jar do I instantiate that object in? Does it need to be mentioned
    in the applet's jar Manifest.MF file?
    -Is the "keystore database" a java language service/process which runs in
    the Server's memory and is simply accessed and started by default
    by the client verifier program (appletview/web browser)?
    -The public key certificate file (*.cer) is put in the webserver directory holding
    the Applet jar file (ie. Apache Tomcat, for example).
    -Presumably, the web browser detects the signed jar
    and certificate file, and provides the browser pop up menu asking the user
    about a new, non recognised certificate (initially).
    Is this so?
    -With this being the case, can the applet now escape
    the sandbox, be it with or without the stipulated
    policy permissions?

    848439 wrote:
    -In order to "escape" the java applet sandbox that exists around the client's
    copy of the applet running in their web browser, ie.
    (something forbidden by default), is verification of the signed applet enough, or is a policy file required
    to stipulate these details?Just sign the applet, the policy file is not necessary.
    -Is the "keystore database" a java language service/process which runs in
    the Server's memory and is simply accessed and started by default
    by the client verifier program (appletview/web browser)?No.
    -The public key certificate file (*.cer) is put in the webserver directory holding
    the Applet jar file (ie. Apache Tomcat, for example).No. For a signed Jar, all the information is contained inside the Jar.
    -Presumably, the web browser detects the signed jar
    and certificate file, and provides the browser pop up menu asking the user
    about a new, non recognised certificate (initially).
    Is this so?No. It is the JVM that determines when to pop the confirmation dialog.
    -With this being the case, can the applet now escape
    the sandbox, ..Assuming the end-user OK's the trust prompt, yes.
    ..be it with or without the stipulated
    policy permissions?Huh?

  • Icon for Jar File?

    Is it possible to include an Icon in a Jar file
    that will be displayed for the jar file instead
    of a default Icon give to it by Windows 2000? If
    so, how is it done?
    Thanks

    no it's not possible as the JAR file does not know anything about the operating system. this is windows dependend. if you want a custom icon for one jar file, create a shortcut to the jar and adjust the icon of this shortcut.

  • Class Loader for Jar Files

    I have a set of Jar files which i need to load using Custom Class Loader. Any one who has Javacode for Custom Class Loader for loading Jar files send it. The Jar files are local jar files.

    Here is the class loader I use:
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.net.JarURLConnection;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.lang.reflect.InvocationTargetException;
    import java.util.jar.Attributes;
    import java.io.IOException;
    * A class loader for loading jar files, both local and remote.
    public class JarClassLoader extends URLClassLoader {
        private URL url;
        private URL[] m_urlList = new URL[10];
         * Creates a new JarClassLoader for the specified url.
         * @param url the url of the jar file
        public JarClassLoader(URL url,ClassLoader cl) {
             super(new URL[] { url },cl);
          this.url = url;
        public JarClassLoader(URL[] urlList,ClassLoader cl) {
             super( urlList,cl);
          this.m_urlList = urlList;
         * Returns the name of the jar file main class, or null if
         * no "Main-Class" manifest attributes was defined.
        public String getMainClassName() throws IOException {
          URL u = new URL("jar", "", url + "!/");
             JarURLConnection uc = (JarURLConnection)u.openConnection();
             Attributes attr = uc.getMainAttributes();
             return attr != null ? attr.getValue(Attributes.Name.MAIN_CLASS) : null;
         * Invokes the application in this jar file given the name of the
         * main class and an array of arguments. The class must define a
         * static method "main" which takes an array of String arguemtns
         * and is of return type "void".
         * @param name the name of the main class
         * @param args the arguments for the application
         * @exception ClassNotFoundException if the specified class could not
         *            be found
         * @exception NoSuchMethodException if the specified class does not
         *            contain a "main" method
         * @exception InvocationTargetException if the application raised an
         *            exception
         public void invokeClass(String name, String[] args) throws ClassNotFoundException,
                NoSuchMethodException,
                InvocationTargetException
             Class c = loadClass(name);
             Method m = c.getMethod("main", new Class[] { args.getClass() });
             m.setAccessible(true);
             int mods = m.getModifiers();
             if (m.getReturnType() != void.class || !Modifier.isStatic(mods) || !Modifier.isPublic(mods)) {
             throw new NoSuchMethodException("main");
             try {
               m.invoke(null, new Object[] { args });
             } catch (IllegalAccessException e) {
             // This should not happen, as we have disabled access checks
    }

  • Problem deploying and using custom Tags in jar files

    I am trying to create a custom tag library of Java classes, package them in a JAR file, and use them in another web application. Here is the JAR file structure, named mytags.jar:
    META-INF
    META-INF/manifest.mf
    META-INF/taglib.tld
    mytags/FooBar.class
    mytags/Another.class
    ...Here is the taglib.tld file:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <taglib xmlns="http://java.sun.com/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
    version="2.0">
       <tlib-version>1.0</tlib-version>
       <short-name>foo</short-name>
       <uri>fooTags</uri>
       <info>My tags</info>
       <tag>
         <name>fooBar</name>
         <tag-class>mytags.FooBar</tag-class>
         <body-content>empty</body-content>
         <attribute>
           <name>name</name>
           <required>false</required>
           <rtexprvalue>true</rtexprvalue>
         </attribute>
      </tag>
    </taglib>The FooBar class has getName(String) and setName() methods.
    In the web application, I have copied mytags.jar into the WEB-INF/lib directory. I've verified that it lands in the corresponding directory for my appserver (I'm using Tomcat 6.0.10).
    Here's the header for my JSP:
    <%@ page language="java" contentType="text/html;charset=UTF-8" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib uri="fooTags" prefix="foo" %>
    <foo:fooBar name="dummy" />
    ...When I access my page, the browser sits there and spins, not able to do anything. I know that some of the content is executed, but it is not able to get to the fooTags. I have tried replacing fooTags with WEB-INF/lib/mytags.jar, to no effect.
    According to the docs, I should not need to include anything in web.xml to reference the fooTags. The tag library classes are valid, since I used them as local tags prior to moving them into a Jar library.
    Any help would be appreciated

    Take the code of the jsp file :
    <%@ page language="java" %>
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    <html>
       <head>
         <title> First Struts Application </title>
       </head>
         <body>
            <table width="500" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td> </td>
            </tr>
            <tr bgcolor="#36566E">
              <td height="68" width="48%">
                <div align="left">
                  <img src="images/hht.gif" width="220" height="74">
                </div>
              </td>
            </tr>
            <tr>
             <td> </td>
            </tr>     
           </table>
           <html:form action="Lookup"
                      name="lookupForm"
                      type="wiley.LookupForm" >
           <table width="45%" border="0">
            <tr>
              <td>Symbol:</td>
              <td><html:text property="symbol" /> </td>
            </tr>
             <tr>       
              <td colspan="2" align="center"><html:submit/> </td>
             </tr>       
            </table>              
          </html:form>
         </body>
    </html>

  • How to create service in Windows XP for jar file?

    Dear friends,
    I'm having an jar file in my Windows XP OS. I would like to create new service Windows XP to run this jar file. When i start the service then the jar file to be executed.
    I did search in google but i didn't get any proper solution for this.
    Could anyone please tell me the best and easiest way to create service for my jar in Windows XP os.
    Thanks in advance,
    Sathish

    Hi Chennail123,
    Just have a read : [*Converting Your Java App into a Windows Service*|http://www.devx.com/Java/Article/34438].

  • Some comments on Adobe 'Custom Panels for XMP File Info' document

    In developing a couple of Photoshop/Bridge custom metadata panels for cataloguing my photo collection, I noticed one or two things that look like possible errors in the above document. These comments relate to the version of the document dated April 2005.
    P10, description of 'cat_container_edit_text' widget type: surely this should also list custom variable 'container_type', which is needed to specify whether the metadata array is a bag, seq or whatever.
    P25, details of 'cat_container_edit_text': same comment applies.
    P8 et seq: the requirements for use of the 'name' variable appear contradictory. The summary descriptions of various widgets such as 'edit_text' contain the statement that 'You must provide name, xmp_namespace and xmp_path values for this widget to supply a dynamic
    value', but the description of 'name' on P16 says that it 'Applies only to fixed-text widgets. Do not use this variable to change the value or text of the widget at run time.'
    Regards
    Adrian

    Joe, here is the Adobe link that I could not find yesterday when I put up the link to the (suspect) archive site:
    http://partners.adobe.com/public/developer/xmp/sdk/topic_cust_file_info_panels.html
    I have not looked into these panels for years and I am not sure what has changed in CS4.
    Yes, the free software mentioned previously was limited in the amount of fields, however correct me if I am wrong - the output was just XMP text data and one could simply open it in a text editor and copy/paste/edit extra fields and resave, as the limitation was with the GUI frontend and not with XMP.
    Obviously the computer reading the file needs the custom info panel installed to see the panel in it's full glory, otherwise the metadata is "hidden" away in one of the other metadata listings (I can't remember where). I also had problems picking up the custom metadata when searching via catalogue applications that could read other common metadata such as IPTC.
    It was a bit of a mixed bag if I recall, showing promise however it was not really ready for the average user to use.
    Anyway, it sounds as if my very limited knowlege on this area is being exhausted...
    While on the topic, some other links that may help:
    http://www.idealliance.org/industry_resources/branding_media_and_color/digital_image_submi ssion_criteria/metadata_fields
    http://www.idealliance.org/industry_resources/branding_media_and_color/digital_image_submi ssion_criteria/resource_center/xmp_custom_panel
    http://www.disc-info.org/resources/xmp.zip (perhaps you look at the source code for ideas)
    http://www.iptc.org/IPTC4XMP/
    http://www.controlledvocabulary.com/forum.html
    http://www.controlledvocabulary.com/imagedatabases/mtworkaround.html
    http://metadatamanifesto.blogspot.com/
    iView Media Pro software also had a custom panel for Photoshop that may also give you ideas.
    Regards,
    Stephen Marsh

  • Maximum size for JAR files on Nokia 3120 Classic

    I am trying to download and install a java app for a Nokia 3120 classic, but when installing I get an error message telling me that the file is too big at 5.7mb.
    I can't find the maximum size of .jar files for this phone anywhere.
    Can anyone let me know what this is and whether there is any way to get the app to work.
    Many thanks.
    Alan Watson

    YES THERE IS A WAY!! I only got this information from someone else. Thanks for that person.
    Here are the steps:
    1. Download the jar file you want to install, to your computer. Now open My computer, and on the upper left corner you shall see a menu, click the "Tools" button and then click "Folder options..." A little window will appear. Click the "View" tab. On this window you need to find an option "Hide extentions for known file types" below "Advanced settings". Then unmark or uncheck the box.
    2. Now when you open my computer and go to the folder where you had downloaded the java file, the file name will read "(anyfilename).jar". HERE IS THE TRICK.
    3. Rename the last part of your file. Instead of .jar change it to .jpg so that it reads  "(anyfilename).jpg"
    4. Now copy the renamed file and paste it in your mobile's C: or Memory Card drive.
    5. Once you had pasted, rename the copied file back to what it was. i.e "(anyfilename).jar"
    BASICALLY the phone limits a file with a ".jar" extention, you can fool it by renaming the extention to ".jpg" and then once the file is copied into the phones C:drive you can change the extention back to ".jar" by renaming it.
    Share it. Hope it works for you! God bless...
    Only One Life Twill Soon Be Past.
    Only What's Done For Christ Will Last.

  • Download link custom action for video files

    Hi,
    I have a requirement for adding a custom action called "DOWNLOAD A COPY" in search results hover panel on click of which will download copy for the user. I am able to implement this for pdf, excel and word files but not for generic and video files
    types since ctx.CurrentItem object is not having any property pointing to the item URL. Can someone please help me in getting this property for video and generic file types.
    Thanks a lot in advance!
    SharepointLearner

    Hi,
    According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
    In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
    For example, to create or delete the ECB menu for a list item in
    "Site Content and Structure", we can follow the steps below:
    To add the “My Like” menu, we can add the code below:      
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemLike"
    runat="server"
    Text="My Like"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickNavigateUrl="https://www.google.com.hk/"
    />
    To remove the “Delete” menu, we can comment the code below:
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemDelete"
    runat="server"
    Text="<%$Resources:cms,SmtDelete%>"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickScript="%SmtObjectDeleteScript%"
    />            
    The result is as below:
    More information:
    MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
    MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Classpath for jar files?

    Hi all,
    i am trying to run a standalone java program using JRC through command promt.
    my problem is i am importing few classes from jar files into my java class. but its not getting imported.
    how to resolve it?

    Hi Saravana
    You can use batch file to run your standalone java program.
    The contents of the batch file would be as follows:
    @echo off
    if "%OS%" == "Windows_NT" setlocal
    rem
    rem Sets the CLASSPATH environment variable to include all JAR files
    rem required for the JRC then compiles and jars Java file(s).
    rem
    rem Edit the environment variable BOBJ_JAVA_LIB to point to the
    rem location where you have the JRC jar files.
    rem
    rem Make sure to define any other required libraries in the environment
    rem variable CLASSPATH.
    rem
    rem Make sure you have defined the environment variable JAVA_HOME
    rem
    set BOBJ_JAVA_LIB=c:\Program Files\Business Objects\Common\3.5\java\lib
    set CURRENT_DIR=%cd%
    echo Using JAVA_HOME: %JAVA_HOME%
    echo Using CURRENT_DIR: %CURRENT_DIR%
    set RUNJAVA="%JAVAHOME%/bin/java"
    set RUNJAVAC="%JAVAHOME%/bin/javac"
    set RUNJAR="%JAVAHOME%/bin/jar"
    set CLASSPATH=%BOBJ_JAVA_LIB%\ReportViewer.jar;%BOBJ_JAVA_LIB%\ReportPrinter.jar;%BOBJ_JAVA_LIB%\CrystalCommon.jar;%BOBJ_JAVA_LIB%\CrystalDatabaseConnectors.jar;%BOBJ_JAVA_LIB%\CrystalReportingCommon.jar;%BOBJ_JAVA_LIB%\CrystalFormulas.jar;%BOBJ_JAVA_LIB%\CrystalQueryEngine.jar;%BOBJ_JAVA_LIB%\CrystalReportEngine.jar;%BOBJ_JAVA_LIB%\keycodeDecoder.jar;%BOBJ_JAVA_LIB%\MetafileRenderer.jar;%BOBJ_JAVA_LIB%\rpoifs.jar;%BOBJ_JAVA_LIB%\jrcerom.jar;%BOBJ_JAVA_LIB%\jrcadapter.jar;%BOBJ_JAVA_LIB%\rascore.jar;%BOBJ_JAVA_LIB%\rasapp.jar;%BOBJ_JAVA_LIB%\Serialization.jar;%BOBJ_JAVA_LIB%\external\log4j.jar;%BOBJ_JAVA_LIB%\external\icu4j.jar;%BOBJ_JAVA_LIB%\external\Concurrent.jar;%BOBJ_JAVA_LIB%\external\xercesImpl.jar;%BOBJ_JAVA_LIB%\external\xml-apis.jar;%BOBJ_JAVA_LIB%\CrystalCharting.jar;%BOBJ_JAVA_LIB%\CrystalContentModels.jar;%BOBJ_JAVA_LIB%\CrystalExporters.jar;%BOBJ_JAVA_LIB%\CrystalExportingBase.jar;%CURRENT_DIR%;%CLASSPATH%
    %_RUNJAVAC% -classpath "%CLASSPATH%" *.java
    %_RUNJAVA% -classpath "%CLASSPATH%" HelloWorldSwing
    // HelloWorldSwing is the name of your .java file
    Make sure you have all the jar files in the lib directory.
    Hope this helps you.
    Thanks
    Soni

  • Custom thumbnail for a file type, not a single file

    I understand that when I upload an asset to the DAM of a file type for which CQ5 doesn't support thumbnail generation (Excel .xls and .xlsx, in my case), CQ5 will use a default dogeared-page icon for the thumbnail.  it also writes an error-level message to the log to the effect that it can't generate a thumbnail.  E.g.,
    15.10.2012 12:03:47.078 ERROR [JobHandler: /etc/workflow/instances/2012-10-15/model_1135358760340484:/content/dam/FY06NIVDetailTable1.xls/jcr:content/renditions/original] com.day.cq.dam.commons.handler.AbstractAssetHandler createThumbnails: cannot create thumbnails for asset [/content/dam/FY06NIVDetailTable1.xls], failed loading graphical representation for rendition [/content/dam/FY06NIVDetailTable1.xls/jcr:content/renditions/original].
    The error message is mostly harmless, but I would like to prevent it.
    And I understand that I can add a thumbnail after the fact.  But despite the language in the document, apparently this thumbnail does not apply to subsequent uploads (for all files of the same type).
    Is there a way to establish a thumbnail image that applies to subsequent uploads?

    Hi David,
    Thumbnail upload (or for that matter any rendition upload) is specific to that image and it will not apply to set of images.
    If we want to apply some custom thumbnail instead of the default one either we need to override the default image or custom workflow step is required.
    If we override the default image it will apply acroos the DAM.
    Regarding custome workflow step. This step will be added after thumbnail creation step in DAM Update Asset workflow(this wf is responsible for creating all renditions). In this workflow step you can check whether thumbnail is created or not if not create thumbnail of your desire.

Maybe you are looking for

  • Permissions are not displaying correctly on Yosemite server

    My file and folder permissions are not displaying correctly on my Yosemite server when viewed from a Yosemite client. I have set these permissions from the server app on the server and have added local network groups for the appropriate folders on th

  • Editing a PDF document

    OK, so I have a job application downloaded from its source in PDF format. I'd like to fill it out and save it in, say, a word document. I see no guidelines for doing this. Uploading it to Acrobat changes the format completely. Ditto with cut/paste. I

  • What are variables or parameters in Apex and how to use them?

    Hi What are variables or parameters in apex and how to use them to connect and run BI Publisher Report From Apex URL

  • Applications suddenly quitting...

    So I've had my macbook for about 2 weeks now, and after 4 days some applications started closing in the middle of me doing things. I've only really used Safari, AIM, and itunes where I've had that issue. I've tried reloading AIM already and that didn

  • Impdp using EXCLUDE

    Hi I want to import a full database excluding a list of schemas. I know I can use the parameter EXCLUDE to do that but I need to exclude several schemas and I am having problem writing the appropiate list in the parameter EXCLUDE. Can you help me? Th