Java Permissions Attrib in Main Jar and enterprise level Trusted Sites Linking

Hello,
Not really a question, but more of a suggestion. We have a lot of enterprise applications that use java (a hundred or so). Since the new update ( 7 update 51 ), we are now finding out we have to add tons of sites to the Java Exception List because the Jar Manifest aren't updated with the required permissions attribute. We also have all the websites that we host at our enterprise on the Internet Explorer Trusted Sites list. My comment to this, why didn't they program java to have an option that would look to see if the site is trusted, and if it was, bypass the check for the permissions attribute, and if it isn't in the Trusted Sites, then and only then, you need to add the site to the Java Exception list. Since we already considered it trusted in IE, we obviously found it to be trusted in Java. Just my two cents. We are finding our-self doing double the work because of this new update. It's a great idea to check, but if we can bypass the check in the control panel, why can't we get an option to bypass it if the url is in the trusted sites list?
Thanks!
Dimitri H

make sure you apply the latest Patch Set Updates (PSU) for SGD 5.0
Patch Set Updates for the Secure Global Desktop Gateway, Version 5.0(Doc ID 1617077.1)
   Patch Set Updates for Secure Global Desktop 5.0(Doc ID 1606985.1)

Similar Messages

  • OER 11.1.1.7 - Asset Navigator doesn't open with an Error - Missing Required permissions attribute in main jar

    Hi,
    I have installed OER-11g version 11.1.1.7 and am successfuly able to open Asset Editor , ImpExp utility and also could harvest SOA and OSB components.
    Issue 1:
    However while trying to open the Navigator of the harvested components in OER console, a new window opens with two sections ( top and bottom). The top one which is a diagram view doesn't open with an error - Missing required permissions attribute in main jar: http://localhost:7101/oer-web/applets/components.aler-thinkmapclient-11.1.1.7.0.jar.
    Please find the screenshot below.
    Issue #2 : While trying to browse for the Assets from OER console. The below error is seen ( missing permissions for components.jexplorer-11.1.1.7.0.jar)
    Could someone direct me on how to solve this issue. Appreciate your help !
    Thanks and regards,
    Sridhar.

    It works for me after I did a small tweak by as mine is a demo install.
    Idea - is to make an security exception for the OER url in Java control console
    Steps to do that :
    1.Go to the control panel and uninstall the 64 bit version of Java
    Open Programs and Features and select the 64 bit version of Java and select Uninstall.
    2.Open up the Java Control Panel
    Found as an option in the standard windows control panel
    3.Check the version by clicking on the About Tab
    If this is not what you expected you can go to java.com and download the latest version.
    4.Click on the Security Tab in the Java Control Panel
    5.Click on the Edit Site List button in the lower RH corner of the control panel
    6.Add your URL to be allowed
    Enter the full path that you use to access this such as https://myequallogics.com or the IP address if that is how you access it (as in http://192.168.0.100 - Https is recommended by Oracle.) Once complete hit OK. You should now see the exception on the security page.
    7.Close out of the control panel.
    8.You can now acess your site through the browser window.
    Thanks to Java error: Missing required Permissions manifest attribute in main jar - Spiceworks for letting me know this.
    regards,
    Sridhar

  • Main item and Hierarchy level items in SAP EWM

    We use ERP SAP AFS and EWM 9.1
    ERP sales order 20000 - 5PCS ( Different grid values chosen and delivery is distrubuted to EWM)
    Outbound delivery order contains main item and corresponding SKU displayed with Grid values like Color, Cup and Size. (Hierarchy Level)
    20000
    20000-0001A30
    20000-0001A32
    20000-0001C34
    20000-0001B36
    20000-0001D38
    We create Warehouse tasks for SKU items ( Items 60,70,80,90,100) for picking.
    I need to process VAS activites for this.
    Price labeling and putting on plastic bag for all SKU's ( 2 VAS activity).
    I have maintained packaging specification and tried to process it.
    But here I get an error in VAS order. Because WR Qty from ODO to VAS order is not copied. It is getting deleted at the time of VAS order creation.
    Then I tried to maintain the packaging specification for item 20000 (main item) and process the VAS order. Here VAS order got created and WR Qty also displayed.
    But Picking Warehouse tasks are created for SKU items not for main items. In this case I am not able to process it also.
    Packaging specification for main item or SKU item I should consider? If it is for SKU , need to have lot of master data. Is there any link i can make maintaining packspec for main item and process the warehouse tasks for SKU.
    Which way i have to go now?
    Any suggestion please
    Please ask me if you need more inputs

    Hi Jobi,
    I agree to Juergen, you'll need individual pack specs per subitem in order to process VAS on this level. Did you think of using batches and depending characteristics for the grid values? This is how EWM for Fashion works. Then you could define only VAS pack spec for multiple grid values.
    Best regards,
    Christian
    Remark: did you consider EWM for Fashion for your implementation?

  • ALC java permissions error is not sticking and antivirus software.

    What is an ALC in my permissions? 
    Everytime I run Repair permissions in disk utility, I retrieve the following:
    Permissions differ on “Library/Internet Plug-Ins/JavaAppletPlugin.plugin”; should be lrwxr-xr-x ; they are drwxr-xr-x .
    Repaired “Library/Internet Plug-Ins/JavaAppletPlugin.plugin”
    ACL found but not expected on “private/var/root/Library”
    Repaired “private/var/root/Library”
    ACL found but not expected on “private/var/root/Library/Preferences”
    Repaired “private/var/root/Library/Preferences”
    I know Mac used to not need antivirus software?  Now that the Internet (and human knowledge of it) is more advanced, should an ameture like me get antivirus software?  If so which one? 
    Or, are there special settings I can use in the OS 10.8.4 software  that will better protect my information and hardware?
    Message was edited by: VA Girl

    Topher, I've seen numerous instances reported by users here of the repeating ACL found but not expected. I can understand if this happened only for several peope, but with so many I think this may need to be understood better.
    Also, ran sudo fs_usage | grep chmod, while running some other commands from another window from sudo (sudo newsyslog -F /var/log/system.log.) What am I actually seeing here? I'm seeing the chmod, but there are no details about what exactly is happening to the permissions of these files, if anything. I let it run only for a few minutes. If these had been modified, why wouldn't I be seeing evidence of that, which I never do, when running Permissions repair afterward? Just getting the usual repeating Java stuff. Or what am I not understanding here?
    sudo fs_usage | grep chmod
    Password:
    07:55:25  chmod             /dev/ttys001                                                                      0.000009   login      
    07:56:13  chmod             private/var/db/shadow/hash/73D92F95-41B7-4F9B-9306-A803C4CD3B89.state             0.000019   DirectorySer
    07:56:26  chmod             private/var/db/shadow/hash/73D92F95-41B7-4F9B-9306-A803C4CD3B89.state             0.000016   DirectorySer
    07:56:36  chmod             private/var/log/system.log.7.bz2                                                  0.000047   newsyslog  
    07:56:36  chmod             private/var/log/system.log.6.bz2                                                  0.000038   newsyslog  
    07:56:36  chmod             private/var/log/system.log.5.bz2                                                  0.000026   newsyslog  
    07:56:36  chmod             private/var/log/system.log.4.bz2                                                  0.000039   newsyslog  
    07:56:36  chmod             private/var/log/system.log.3.bz2                                                  0.000032   newsyslog  
    07:56:36  chmod             private/var/log/system.log.2.bz2                                                  0.000033   newsyslog  
    07:56:36  chmod             private/var/log/system.log.1.bz2                                                  0.000030   newsyslog  
    07:56:36  chmod             private/var/log/system.log.0                                                      0.000042   newsyslog  
    07:56:36  fchmod                                                                                              0.000008   newsyslog  
    07:56:46  fchmod                                                                                              0.000017   bzip2      
    07:56:46  chmod_extended    private/var/log/system.log.0.bz2                                                  0.000011   bzip2      
    07:56:46  fchmod_extended                                                                                     0.000015   bzip2      
    07:56:46  fchmod                                                                                              0.000006   bzip2      
    07:56:46  chmod             private/var/log/system.log.0.bz2                                                  0.000022   newsyslog  
    07:56:56  fchmod                                                                                              0.000010   cp         
    07:56:56  fchmod                                                                                              0.000010   cp         
    07:56:56  chmod             private/var/msgs/bounds                                                           0.000012   msgs       
    07:56:56  fchmod                                                                                              0.000010   cp         
    07:56:56  fchmod                                                                                              0.000010   cp         
    07:56:56  fchmod                                                                                              0.000010   cp         
    07:56:56  fchmod                                                                                              0.000019   cp         
    07:56:56  fchmod                                                                                              0.000010   cp         
    07:56:56  fchmod                                                                                              0.000010   cp         
    07:56:56  fchmod                                                                                              0.000010   cp         
    07:56:56  fchmod                                                                                              0.000022   cp         
    07:56:57  stat64            /usr/share/man/man1/chmod.1.gz                                                    0.000005   makewhatis 
    07:56:57  open              /usr/share/man/man1/chmod.1.gz                                                    0.000011   makewhatis 
    07:57:00  stat64            /usr/share/man/man2/chmod.2.gz                                                    0.000041   makewhatis 
    07:57:00  stat64            /usr/share/man/man2/fchmod.2                                                      0.000041   makewhatis 
    07:57:00  open              /usr/share/man/man2/chmod.2.gz                                                    0.000012   makewhatis 
    07:57:00  open              /usr/share/man/man2/fchmod.2                                                      0.000011   makewhatis 
    07:57:01  stat64            /usr/share/man/man3/lchmod.3.gz                                                   0.000006   makewhatis 
    07:57:03  open              /usr/share/man/man3/lchmod.3.gz                                                   0.000012   makewhatis 
    07:57:10  fchmod                                                                                              0.000014   cp         
    07:57:10  fchmod                                                                                              0.000012   cp         
    07:57:40  fchmod                                                                                              0.000018   cupsd      
    07:58:01  chmod             /dev/ttys001                                                                      0.000008   login      

  • Java.io.NotSerializableException: paint.Main$1

    hi everybody this is my problem...
    i have this code:
    public class Main extends JFrame
    class figura implements Serializable
    Point x, y;
    int tipo;
    int rettipo(){ return tipo;}
    public Point retx(){ return x;}
    public Point rety(){ return y;}
    void ponertipo(int a){ tipo = a; }
    void ponerpx(Point a){ x = a; }
    void ponery(Point a){ y = a;}
    JFileChooser archivos = new JFileChooser();
    Vector almacen = new Vector(1);
    figura temp = new figura();
    .... //more code....
    i wanna save temp object in a file...
    ....//more code before this...
    archivos.showSaveDialog(Main.this);
    File archivo;
    FileOutputStream archivo2 = null;
    ObjectOutputStream obj = null;
    archivo = archivos.getSelectedFile();
    try{
    archivo2 = new FileOutputStream(archivo.getAbsolutePath());
    obj = new ObjectOutputStream(archivo2);
    obj.writeObject(temp);
    obj.close();
    catch(Exception ex)
    Throwable tro;
    ex.printStackTrace();
    tro=ex.getCause();
    tro.getMessage();
    and this is what i got:
    java.io.NotSerializableException: paint.Main$1
    and this:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    Any ideas?

    why with static the problem is solved?Because a static nested class doesn't have a hidden reference to the outer object.
    i understand
    that static makes that all instance of the class will
    share the same values of their attributesNo it doesn't. It just means the above, and also that the class doesn't have access to instance data members of the enclosing class.
    if the class is static i wont be able to save more
    than one figure. am i right?No you're not, see above.

  • Diferences between Oracle Standart and Enterprise

    What's the differences between Oracle Standard and Enterprise Edition

    Check out this link
    http://technet.oracle.com/doc/oracle8i_816/server.816/a76962/ch4.htm#73594

  • How to create a new field for Q3 - QM notification in Header and item level

    Dear All,
    l
               Sub: How to create a new field for Q3 - QM notification in Header and item level
    Ref. the link --> Quality Notification
    We want to create a new field in header level and item level.
    As per the thread the solution is given below.
    In the IMG Config: Quality Management -> Quality Notification -> Notification Types -> Define screen areas for notification types Then Choose 'Define screen areas' Then Click on 'New entries' button Now, select the relevant Notification Type and click in 'Enter'. Select the 'Iten Cases' register and remember to setup the Tabstrip Header, Icon, etc. Set the 'Tabstrip active' flag. Then Save.
    Quality Notification -> Notification Types -> Define screen areas for notification types
    WE ARE UNABLE TO FIND IN CUSTOMIZATION PATH --> DEFINE SCREEN AREAS FOR NOTIFICATION TYPES.
    Please help.
    Question No. 2 :
    THE REQUIREMENT IS GIVEN BELOW.
    We want to hide the field in Q3 - QM Notification
    In header --> Reference tab --> Item (sub heading) --> "DEFECT LOCATION" FIELD TO BE ELIMINATED (HIDE)
    Ref the link --> Quality notification
    The solutiion is given below.
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    By double clicking the "DEFECTIVE QUANTITY (EXTERNAL), WE COULD NOT GET --> field TXTCDOT .
    Plese do the needful.
    We are using ECC6.0 Ehp3 and Ehp4.
    With Best Regards,
    Raghu Sharma

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

  • Java can't find main class when manifest has certain JARs on it

    I recently wrote an Ant script that builds my application and jars it up, creating a manifest in the process. The manifest specifies the main class and a classpath that mentions other jars that exist in the same directory. Everything works as expected and I am able to run the program using "java -jar abc.jar".
    However, I recently started using classes in my program that come from a jar that should (according to the company I work for) reside in a central location rather than each application having its own copy. So, I changed my build script to reference those shared jars in a common location. But now when I run "java -jar abc.jar", I get a java.lang.ClassNotFoundException: com.example.Main. If I edit the jar's manifest and manually remove the new jars from the classpath, the ClassNotFoundException error goes away (although obviously that causes other problems.) Is there something about adding those new jars to the manifest classpath that would prevent Java from finding my main class? My manifest looks something like this and the last two jars (the ones with the absolute paths) are the jars that seem to be the root of the problem.
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
    Main-Class: com.uprr.app.rsa.Main
    Class-Path: acegi-security-1.0.6.jar commons-codec-1.4.jar commons-htt
    pclient-3.1.jar commons-lang-2.4.jar commons-logging-1.1.1.jar common
    s-pool-1.5.4.jar dom4j-1.6.1.jar jakarta-oro-2.0.8.jar jaxen-1.1.1.ja
    r jibx-run-1.2.1.jar joda-time-1.6.jar jsr173_1.0_api.jar log4j-1.2.1
    5.jar opensaml-1.1.jar spring-2.5.2.jar stax-api-1.0.1.jar wstx-asl-3
    .2.9.jar xmf-3.0.2.jar xmlsec-1.4.1.jar C:\software\tibco\ems\clients
    \java\jms.jar C:\software\tibco\ems\clients\java\tibjms.jarAny ideas?
    Brandon

    I still don't know why giving the absolute classpath entry like that would cause Java to be unable to find the jar's main class, but I did make an interesting discovery. If I give the absolute path without the drive letter, is able to find the main class again. Something like this won't work...
    Class-Path: C:\software\tibco\ems\clients\java\tibjms.jarBut something like this will...
    Class-Path: \software\tibco\ems\clients\java\tibjms.jarBut I'd still like to know why Java doesn't accept drive letters when running on a Windows machine. After all, what if my manifest needed to reference a jar that was on a different drive, like a network drive (since this whole problem came up as a result of shared common jars that need to exist outside of the project.)

  • Want to package a class file and a jar file in main jar file

    hello folks,
    i have a class named launch.class
    and a jar file named First_Sample2.jar
    First_Sample2 is an application that i have made which requires more memory than is generally allocated by the JRE. so, launch.java file just contains code to execute the command:
    javaw -Xms128M -Xmx256M -jar " + path + "First_Sample2.jar"
    where path variable refers to a directory which contains First_Sample2.jar
    problem is that the only way i can use this code is by keeping two separate JAR files, one is launch.jar, the other is First_Sample2.jar and then execute launch.jar, which will in turn call First_Sample2.jar (which means I have to provide anyone with 2 separate files if they want to use my application)
    is there any way in which i can combine both these jar files into one?

    Well there is a couple ways you can achieve this, but I am telling you that packaging a JAR within a JAR will not work because classes within the internal JAR will not be recognized on the classpath.
    The easiest way to get the user to run your program with a simple double click would be to hide the two JAR files from them completely, having them reside in a folder somewhere on the user's computer. I would use a batch file (Windows environment) or an .sh file (Unix) that would set up your classpath variable and then call java to execute the main class in your main JAR.
    For instance:
    cd [Where java.exe resides]
    set CLASSPATH=[semi-colon delimited absolute file paths pointing to your two JAR files and any other JAR files that they reference]
    java -cp %CLASSPATH% [main class]
    The user would have access to this batch file, perhaps on their desktop, where they can double click to execute teh program just as if it were an EXE file. This is the best way because it hides the JAR files from the user.
    If you would like to combine the two JAR files however, you would need to extract the contents of the secondary JAR file and then include them in with the contents of the main JAR file. That is the only other way that all classes are visible on the classpath.

  • Problem with Java and Windows (Mainly Vista and UAC)

    Hi all,
    I am having a problem with a program that I've devoloped. The program itself is packaged as a jar and I plan to deploy it across multiple platforms eventually however right now i am only concerned about windows based systems. I have made an installer for a windows baised systems using NSIS to install the software files. I made the installer as I need several java packages to be installed so the program would work (JAI, J3D, JAI ImageIO) and I also require the program to have fileassociations on windows.
    I know that this is not what java is about, however the majority of the users will be on windows baised systems so I've decided that OS specific installers is the best option.
    During the process I have noticed that there are several key problem with java for this type of application!
    The first issue that I have come across is getting file associations to work on java. As a .jar is not an excutable it is not possible to directly associate a filetype with it in java so to overcome this I currently run the program from a .bat files and also the program requires large memory so this also allows me to run the program with -xmx. The batch file that I use is :
    <code>
    cd PATH TO PROGRAM
    start javaw -Dsun.java2d.noddraw=true -Xmn100M -Xms500M -Xmx1000M -jar "PATH TO PROGRAM\program.jar" %1 -vram 134217728
    pause;
    </code>
    Ok so all this appears to work fine and allows windows to have file associations and start the program and thats all works perfectly but this is a non-ideal solution. Has anyone got any advice on improving this?
    The next problem that I have appears to be a problem with Vista and UAC (user access control). When a user installs the program and installs the program into the program files directory I found that the program did not work and kept saying that I did not have access to the files in the current directory. This is a problem as I read and write settings files during program execution.
    On a Vista system UAC prevents file write operations into the Program Files directory unless the program has requested elevated status even if the user is a full administrator. The probem is that there appears to be no real way to achieve this under java that I'm aware of...
    Has anyone else had this probem and has a suitable solution?
    Any advice on these issues would realy be appricated.
    Regards
    Joey

    Ok so i've kinda found a solution, its not ideal but its very good. I found this program called Elevate
    A link to the site I got it was
    http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/03/27/elevate-a-process-at-the-command-line-in-vista.aspx
    This program allows you start java with a UAC dialog for high access using
    Elevate java -jar myjar.jar
    This then allows you to have full access using java... I guess it could be dangerous but it does the job.

  • Java SE classes in a JAR fail preverification... and so they should?

    Hi Folks,
    I'm trying to add a util JAR to my MIDlet suite, so chucked the JAR file in with it but during preverification, the following comes up...
    Error preverifying class com.foo.Bar
        java/lang/NoClassDefFoundError: java/lang/Comparable
    Build failedI'm assuming this is becuase the Java ME won't have the Java SE class java.lang.Comparable available to it and so fails. Is this the case?
    Prob a silly question, but does this mean I can't use ANY J2SE classes (that arn't in the ME API) on the device? For example, java.util.Map? It might not be so bad as I can possibly re-work the JAR project in question to lightwieght version but I guess I just want to know.
    Anyway, thanks for any help,
    Toby

    ... does this mean I can't use
    ANY J2SE classes (that arn't in the ME API) on the
    device?That is very true. The html-documentation is pretty useful - it can give you a full list of all the APIs available under J2ME. Look under the docs/api subdirectory of your ToolKit installation directory for index.html.
    In particular, you'll have to work around file access and networking in J2ME if you have said functionality in your J2SE app. Look at the Connector class under javax.microedition.io for networking and RecordStore class under javax.microedition.rms for 'file' io.
    BTW - one way to get around missing classes (although it is not sanctioned by Sun license agreement) is to simply pull the class out of the J2SE API and include it in your jar.
    Ricardo

  • Java - referencing external jar and class files

    When compiling (loadjava) a Java class, how can an externally referenced '.jar file' be resolved please? Using '-resolve' doesn't do the job in this case.
    Many thanks.

    I think I've seen an option for this with manifest files (or was it something that had to do with the java plug-in). There was something about the version and only download a new version if it was newer than the one on your local computer. This version thing is something you define in the manifest file at least. Take a look at jar and manifest files, there might be something there.

  • Java classes in Jar and Cab files

    Hello all,
    Our product supply java classes in Jar and Cab files that the browser downloads each time.
    The files are big and it takes a long time.
    Do you know of a way to make the cab/jar files be copied in to the user computer and that the browser would know to download files again only if there is a new version (otherwise take it from the local computer)
    Please help me
    Tamg

    I think I've seen an option for this with manifest files (or was it something that had to do with the java plug-in). There was something about the version and only download a new version if it was newer than the one on your local computer. This version thing is something you define in the manifest file at least. Take a look at jar and manifest files, there might be something there.

  • Java Jars And Packages

    I was just wondering if there was a way to create a jar file containing a custom library of classes that you could import packages from? I know you can setup a jar so that it will automatically run a program when you double click it - but is there a way to import files from it? I've tried looking up the tutorials on it on the Sun website - but I couldn't find anything directly on this question.

    csuguy wrote:
    I was just wondering if there was a way to create a jar file containing a custom library of classes that you could import packages from? I know you can setup a jar so that it will automatically run a program when you double click it - but is there a way to import files from it? I've tried looking up the tutorials on it on the Sun website - but I couldn't find anything directly on this question.The only difference between a class library jar and an executable jar is the latter has a "Main-Class" property in the manifest.
    However, note that if you use a library jar from an executable jar you need the path to the library jar in the Class-Path: property of the executable's jar's manifest, command line or environmental class path is ignored for executable jars.

  • Java CAPS SAP IDoc OTD thru IDOC descriptive file needs any sap jars and dd

    Hi All,
    I am doing PoC in Java CAPS using SAP IDoc Descriptive file. As I know for creating SAP IDoc OTD thru it will need certail jar filr and ddls. But creating SAP IDoc ITD thru IDoc descriptive file also we need certain jar files and DLL.
    Please let me know on this.
    Thanks in advance.

    Yes, you will need all of the required SAP JCo jars and DLLs even though you are using the IDoc description file. This link might be useful to you - [Creating a SAP ALE OTDs Wizard|http://docs.sun.com/app/docs/doc/820-4380/dsgn_sap-ale-otd_t?a=view]

Maybe you are looking for