Permissions to external Jar for reading-writing on a file

hi all,
I explain my situation.
I ' ve made an open source project similar to plpdf using jasper report libraries and others.
My project, which works perfectly in a java jre, have some problems in Oracle Aurora jvm.
I use the Reflection technique to load the classes from their libraries.
For this i use this class :
{color:#993300}<strong>import java.io.File;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
* @author g.veltro
public class Utility {
public final static ClassLoader sysloader = ClassLoader.getSystemClassLoader();
public static Object createIstance (Class classe,Object [] parameters,Class [] parametersClasses) throws InstantiationException, IllegalAccessException, NoSuchMethodException, IllegalArgumentException, InvocationTargetException{
Constructor cons = classe.getConstructor(parametersClasses);
return cons.newInstance(parameters);
public static Object executeMethod(Object obj,Class objClass,String methodName,Object [] parameters,Class [] parametersClasses) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException {
Method method = objClass.getDeclaredMethod(methodName,parametersClasses);
method.setAccessible(true);
return method.invoke(obj, parameters);
public static void addJarLibrary(String s) throws MalformedURLException, IOException{ <br /><br />addJarLibrary(new File(s)); <br /><br />}
public static void addJarLibrary(File f) throws MalformedURLException, IOException{ <br /><br />addJarLibrary(f.toURI().toURL()); <br /><br />}
public static void addJarLibrary(URL url) throws IOException{
URLClassLoader urlsysloader = null;
urlsysloader = (URLClassLoader) sysloader;
try { <br /><br />executeMethod(urlsysloader,URLClassLoader.class,"addURL",new Object[]url,new Class[]{URL.class});
} catch (Throwable t) { <br /><br />t.printStackTrace(); <br /><br />throw new IOException("Error, could not add "+url.getPath()+" to system classloader");<br /><br />}
public static void addJarLibraries(String libDir) throws IOException {
File directory = null;
directory = new File(libDir);
if(directory.isDirectory()){
JarFilter filter = new JarFilter();
File[] jarLibraries = directory.listFiles(filter);
for(int i=0;i&lt;jarLibraries.length;i++){ <br /><br />addJarLibrary(jarLibraries</strong>{color}<em>{color:#993300}<strong>);
} else { <br /><br />throw new IOException(libDir+" is not a Directory !"); <br /><br />}
</strong>{color}
I gave all the permissions as dba to allow java to access files, etc. etc
{color:#993300}<strong>Begin
dbms_java.grant_permission( 'NEOGEO', 'SYS:java.lang.RuntimePermission', 'accessDeclaredMembers', '' );
dbms_java.grant_permission( 'NEOGEO', 'SYS:java.lang.reflect.ReflectPermission', 'suppressAccessChecks', '' );
end;
</strong>{color}
Then when I try to call a class library that attempts to access a file residing in the file-system i recive an exception.
This is an example of code that call a class and execute one methods.
{color:#993300}<strong>public static Object compileJrxml(String path_file_jrxml) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException {
Object jReport = null;
Object jCompileManager = null;
Class jcmClass = null;
Object [] params = {path_file_jrxml};
Class [] paramsClasses = {String.class};
jcmClass = Class.forName("net.sf.jasperreports.engine.JasperCompileManager",true,org.Reflection.Utility.sysloader);
jCompileManager = jcmClass.newInstance();
// compilazione del report
jReport = Utility.executeMethod(jCompileManager,jcmClass,"compileReport",params,paramsClasses);
return jReport;
</strong>{color}
this is the exception :
{color:#993300}<strong>java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at org.Reflection.Utility.executeMethod(Utility.java)
at org.EngineReport.ReportControl.compileJrxml(ReportControl.java:44)
at org.EngineReport.ReportOracle.getReportByte(ReportOracle.java:130)
at org.EngineReport.ReportOracle.ReportAsBlob(ReportOracle.java:69)
at org.EngineReport.ReportOracle.ReportAsBlob(ReportOracle.java:49)
Caused by: java.security.AccessControlException: the Permission (java.io.FilePermission /home/neogeo/Java_Resources.jrxml read) has not been granted to ProtectionDomain (file:/home/neogeo/lib/jasperreports-3.0.0.jar &lt;no signer certificates&gt;)
AppClassLoader: file:/home/neogeo/lib/xml-apis.jar file:/home/neogeo/lib/jpa.jar file:/home/neogeo/lib/jdt-compiler-3.1.1.jar file:/home/neogeo/lib/png-encoder-1.5.jar file:/home/neogeo/lib/ant-1.5.1.jar file:/home/neogeo/lib/jaxen-1.1.1.jar file:/home/neogeo/lib/mondrian-2.3.2.8944.jar file:/home/neogeo/lib/commons-javaflow-20060411.jar file:/home/neogeo/lib/batik-bridge.jar file:/home/neogeo/lib/antlr-2.7.5.jar file:/home/neogeo/lib/batik-parser.jar file:/home/neogeo/lib/hibernate3.jar file:/home/neogeo/lib/batik-ext.jar file:/home/neogeo/lib/commons-logging-1.0.2.jar file:/home/neogeo/lib/jasperreports-3.0.0.jar file:/home/neogeo/lib/batik-svggen.jar file:/home/neogeo/lib/batik-xml.jar file:/home/neogeo/lib/xml-apis-ext.jar file:/home/neogeo/lib/batik-dom.jar file:/home/neogeo/lib/jakarta-bcel-20050813.jar file:/home/neogeo/lib/servlet.jar file:/home/neogeo/lib/hsqldb-1.7.1.jar file:/home/neogeo/lib/batik-gvt.jar file:/home/neogeo/lib/batik-svg-dom.jar file:/home/neogeo/lib/jxl-2.6.jar file:/home/neogeo/lib/groovy-all-1.5.5.jar file:/home/neogeo/lib/xercesImpl.jar file:/home/neogeo/lib/batik-awt-util.jar file:/home/neogeo/lib/bsh-2.0b4.jar file:/home/neogeo/lib/commons-digester-1.7.jar file:/home/neogeo/lib/batik-css.jar file:/home/neogeo/lib/commons-logging-api-1.0.2.jar file:/home/neogeo/lib/jfreechart-1.0.0.jar file:/home/neogeo/lib/itext-1.3.1.jar file:/home/neogeo/lib/poi-3.0.1-FINAL-20070705.jar file:/home/neogeo/lib/batik-util.jar file:/home/neogeo/lib/commons-beanutils-1.7.jar file:/home/neogeo/lib/jcommon-1.0.0.jar file:/home/neogeo/lib/saaj-api-1.3.jar file:/home/neogeo/lib/batik-script.jar file:/home/neogeo/lib/xalan.jar file:/home/neogeo/lib/batik-anim.jar file:/home/neogeo/lib/commons-collections-2.1.jar
&lt;no principals&gt;
java.security.Permissions@1aebb385 (
(java.io.FilePermission /home/neogeo/lib/jasperreports-3.0.0.jar read)
(java.util.PropertyPermission user.language write)
(java.util.PropertyPermission * read)
(java.lang.RuntimePermission modifyThreadGroup)
(java.lang.RuntimePermission createSecurityManager)
(java.lang.RuntimePermission modifyThread)
(java.lang.RuntimePermission preferences)
(java.lang.RuntimePermission exitVM)
(oracle.aurora.security.JServerPermission LoadClassInPackage.*)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java)
at java.security.AccessController.checkPermission(AccessController.java)
at java.lang.SecurityManager.checkPermission(SecurityManager.java)
at oracle.aurora.rdbms.SecurityManagerImpl.checkPermission(SecurityManagerImpl.java)
at java.lang.SecurityManager.checkRead(SecurityManager.java)
at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:150)
... 9 more
</strong>{color}
The problem i think is that i have to give the permission for input and output on files to an external jar-library .
I don't know how i can resolve this problem ....
Do you have any suggestions? </em>

Hi,
the problem with grant_permission is, that this can be done for a schema or a role - not for a ProtectionDomain as you need.
Some on this forum claim that it is possible to control the SecurityManager by the java.policy file in OH/javavm/lib/security. You should try to put something like this in this file (create it if it doesn’t exist)
grant codeBase "file:/<your codebase>" {
permission java.security.<your privilege>;
Unfortunately this doesn't worked for me in 11.1.0.6.0.
What you could try if you don't find other solution is to extend or write your own (not recommended) SecurityManager.
see http://download.oracle.com/docs/cd/B28359_01/java.111/b31225/chten.htm#BABJBJGE
To simple see if your application runs without security you can try the NullSecurityManager.
see http://java.sun.com/developer/onlineTraining/Security/Fundamentals/magercises/SecurityManager/help.html
compile and load the class in your schema and activate it with
System.setSecurityManager(new NullSecurityManager());
This is for sure not a solution for a productive system.
HTH
Jaromir D.B. Nemec

Similar Messages

  • TIFF-VIs for reading/writing from/to files

    To whom it may concern,
    I'm looking for TIFF-VIs for reading/writing from/to files
    for Labview 6 without any add-on package.
    Unfortunately I can't use TiffRd04 and TiffSv05 from
    Koji Ohashi due to the different file format!
    Any hints?
    Thank you in advance. Best regards from Germany
    Udo Weik

    Hi Udo,
    did you check these TIFF related libraries? .. maybe one of them is working.
    Good Luck

  • Formatting external drive for read/write PC/Mac & files greater than 4GB

    I'm on Snow Leopard and deliver an external drive off-site to a video editor who needs to read/write to the drive and return the edited files and then I need to read/write all over again. All video files are greater than 4GB. How would I go about this? Third party applications like MacDrive create too much overhead when processing video files. FAT32 limits file sizes to 4GB.

    Hi WillDuffy;
    Your requirement of files greater than 4GB eliminates FAT.
    In your case since you don't have access to the PC, I am afraid you are forced to use the NTFS. This will require you to use the reverse engineered effort called NTFS-3G to be able to write to the disk from your Mac. Sorry.
    Allan
    Message was edited by: Allan Eckert

  • Java API for reading/writing word/excell file

    Hello Friends,
    Is there any Java API available for Microsoft word and excell product?

    Hi,
    Start your search here
    http://jakarta.apache.org/poi

  • Including External JARs for Java Application in OC4J

    Hi Experts,
    Here is my requirement.
    I have developed my Java application using Tomcat Server & Eclipse. In my application I have used some External JARs & imported the classes in my JSP.
    Now that I'm using OC4J Server instead of Tomcat I'v no clue as to where I have copy these External JARs for my application to work.
    I have installed OBIEE-Client which includes OC4J server. The path where I have placed my application is as below
    *"C:\OracleBI\oc4j_bi\j2ee\home\default-web-app"*
    If I run my application the server does not import the classes in the JSP which we include using Import statement using JSP tags (*ex* - <%@ page import = "org.apache.commons.fileupload.*"%>).
    This is the location which I found, where I need to put my Java-J2EE application. This OC4J_BI comes with OBIEE.
    Kindly help me out on where to place these External JARs exact location in OC4J.
    Also let me know if I have to alter any configuration/xml file (if so pls specify the file name & its location).
    Thanks in advance,
    Venky

    You can either include the external libraries in the application, by placing them into WEB-INF/lib, or you can import them into the server as "shared libraries", normally you'd use the "enterprise manager" application to do this. Having loaded a shared library you then add it to the classpath when you're deploying the application.

  • Procedure for read/write an XML-File using UCCX9

    Hi Team!
    Is there someone who can explain me the procedure of reading/writing an XML-File using Cisco UCCX Rel. 9.0?
    In the last couple of days I did a lot of research on the partner community as well as reading the CRS-Editor-PDFs.
    But I can’t find a solution.
    There are some templates available but they all didn’t seem to work.
    I have two xml-files, both uploaded to “Document Management\en_us\”.
    The script itself is attached to this posting.
    I build that my script according to a sample script I found in the community.
    From my point of view I have configured my script exactly like the sample script.
    But it still doesn’t work.
    I am especially interested in where to store the the appropriate files.
    I would be very happy if there is someone who can explain me, what’s wrong there.
    Many thanks in advance.
    Kind regards
    Michael

    I'm experiencing the same issue [reading XML causes errors that say things from "no such file" to some odd Java exception.] I'm able to use a template XML file and after authenticating a user, transform the template into a proper XML file and then successfully save it to the en_US Doc Repository with updated values.
    However, no matter what I've tried or who I've asked, the READ on the XML file so that I can actually script something that does some routing based on the value of the XML file created in my first script? Ultra fail.
    I've even worked with three separate TAC IPCC engineers who were able to reproduce the issue in their test environment, but they were unable to assist. Eventually, whe pressed, I received this response from the last IPCC engineer.:
    "Hello Brad,
    Yes I know what I provided you with is what you already have achieved and this missing step is precisely what you need: how to setup the script to check the status and value of this XML document and then decide routing according to the state.   But unfortunately this is what I found internally.  The other resources are the ones you already know:  support forums, scripting guides.  The other resource with suggest to customer looking for script assistance is the Cisco Account Manager of your company, they know where to get the resources for such issues.   Then again as I mentioned before on our phone conversation TAC does not support scripting but certainly if I find something else on my side I will let you know for sure."
    I would do ponderous cartwheels of joy if someone who has this working in version 9.x [9.0.2 specifically] could share the deep magic.

  • Servlet for reading lotus notes nsf-file via corba-interface

    Hello,
    we have written a servlet for reading lotus notes nsf-file via corba-interface.
    So we can read lotus notes-files in a portal url-iview.
    Are you interested?
    Best regards
    Oliver Prodinger

    If you check out the thread from my question (524480), we found
    that we had to enable the IIOP task on the domino server as we
    were not running it, this cured the problem I think you are
    encountering.
    This has not solved all our problems as I only see Notes data in
    the Inbox Portlet Preview mode, this problem is refered by other
    contributors as the collapsing Portlet problem (496625) and I do
    not know whether there is a solution to this problem yet.
    Hope this helps.

  • DownloadService.loadResource for external jars for 1.6.0-19+

    First, be kind with my english, i'm french (nobody's perfect...)
    I have a JNLP into which i declare a signed jar resource main.jar. This application retreive at execution a list of signed jar names (+a.jar, b.jar+...) that i dynamically load on my need through DownloadService.loadResource. My a.jar, b.jar are cached and it rules! But if i made a new main.jar, a.jar and b.jar, and deploy them on my server, here what's happend:
    - main.jar is tested for modification date on server (thanks to "If-Modified-Since" HTTP header), cache date is before this date, so JWS update main.jar by downloading this new main.jar. This is the behaviour described into specs and it is perfect for me!
    - but for others resources (a.jar, b.jar) i was excpected the same behaviour but JWS does not seems to check for modification date. So a.jar and b.jar are not updated.
    So my first question: Is there a way to tell to DownloadService.loadResource to check for modification date? i could deal with jar version but this basic date checking was great for me...
    Except this cache minor problem, external jar download works just fine except i get the warning security problem [Mixing Signed and Unsigned Code |http://java.sun.com/javase/6/docs/technotes/guides/jweb/mixed_code.html].
    All my jars are signed with the same certificate, so i was a bit confused.
    Anyway, i follow indications and put the Trusted-Only: true attribut into the manifest of main.jar.
    But it leads to this exception:
    java.lang.SecurityException: Trusted-Only loader attempted to load sandboxed resource from http://monserveur/a.jar
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.check(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ParentCallback.access$1400(Unknown Source)
         at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
         at com.sun.deploy.security.DeployURLClassPath.getResource(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 com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at my.package.a$5.run(a.java:348)
         at java.lang.Thread.run(Unknown Source)I found some posts that deal with similar problems but it does not give me a working solution. The difference seems to be the fact that i load external jars (not defined into JNLP).
    My JNLP is validated though JaNeLA.
    I cannot set a.jar, b.jar as resources into jnlp because i retreive their location during execution...
    My JNLP also declare:
    <security>
            <all-permissions/>
    </security>I think i'm a bit confused with the sandbox notion and the Trusted-Only: true attribut of the manifest. I also tried to add it to a.jar, b.jar and not main.jar but vainly. I also tried to set it on all jars but it does not work better.
    Is there a way to load external jar without having the Mixing Signed and Unsigned Code warning popup? What do i not well understand?
    Sorry to be so chatty...
    Thanks in advanced for any answer.

    So, I finally succed in finding a solution.
    But this solution seems perhaps a barbarian way to solve my problem but it works.
    The idea (as far as i understand) is that when you define "all-permission" into JNLP file, then these permission are granted for JNLP ClassLoader. When you load external jar through DownloadService.loadResource, then another classloader is used. It seems that this classloader does not inherit security policy from JNLP ClassLoader.
    My solution is to define my own policy:
    Policy.setPolicy(getAllPermissionPolicy());
        * @return a {@link Policy} with all permission granted
       private Policy getAllPermissionPolicy()
          Policy policy = new Policy() {
             private PermissionCollection m_permissionCollection;
             @Override
             public PermissionCollection getPermissions(CodeSource p_codesource)
                return getAllPermissionCollection();
             @Override
             public PermissionCollection getPermissions(ProtectionDomain p_domain)
                return getAllPermissionCollection();
              * @return an AllPermissionCollection
             private PermissionCollection getAllPermissionCollection()
                if (m_permissionCollection == null)
                   m_permissionCollection = new AllPermission().newPermissionCollection();
                   m_permissionCollection.add(new AllPermission());
                return m_permissionCollection;
          return policy;
       }For sure, you can decline this with permission you need. Here, all permission are allowed.
    I'm not quite satisfied because it's seems to be a barbarian style solution. But for now, it fits my uses => no warning popup!
    If anybody has a more proper way to deal with such an issue, i'll be glad to hear it!
    Hope it helps.

  • External jar for jspdynpage

    what are the external jar to be added to the jspdynpage project?
    I have this error:
    The import com.sapportals.htmlb cannot be resolved
    The import com.sapportals.portal.htmlb cannot be resolved
    DynPage cannot be resolved (or is not a valid return type) for the method getPage
    JSPDynPage cannot be resolved or is not a valid superclass
    PageException cannot be resolved (or is not an exception type) for the method doProcessBeforeOutput
    The method setJspName(String) is undefined for the type Concorsi.ConcorsiDynPage
    Thanks!!!

    Hi
    The following jar files are for jspdynpage portal component,
    htmlb.jar
    com.sap.portal.htmlb_api.jar
    com.sap.portal.htmlb_bridge.jar
    servlet.jar
    You can find the jar files in the portal sever itself.
    Thanks,
    Ram

  • Wanted: Lua code for reading / writing TIF, DNG, and/or NEF files.

    Anybody?
    Thx,
    Rob

    Lichtzeichenanlage wrote:
    I bet you have to code it per format.
    Remains to be seen - what I'm doing is pretty narrow in scope.
    Lichtzeichenanlage wrote:
    plugin #1 (XmpEdit) - I just need to update xmp metadata in TIFs & DNGs.
    If I remember correctly, LR writes this data into those data into the files if you press Strg + S or if you configure LR to write allways into the xmp files. If this does not work for you, perhaps http://www.sno.phy.queensu.ca/~phil/exiftool/ or http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=4529&fileID=4219 can provide more options to you.
    Having Lr do it for me wouldn't work, but calling exiftool and harvesting the return stuff from stdout may be better than what I'm doing now - thanks.
    Lichtzeichenanlage wrote:
     plugin #2 (Lr <--> NX2 Interface) - I just need to update the main image in a cooked NEF.
    Call me conservative, but I'm really not a fan of writing in these files. It might work with and SDK, but I think there is no public SDK for it.
    In addition I think it is not possible to translate LRs Development-Settings into NX Settings and NX Settings into LR. By updateing the preview you just have a preview with wrong parameters. Sounds week to me. But I would be glad if you can convince that I am wrong. 
    Most people think I'm crazy. There is no support in the Nikon-SDK for it, but all I need to update is the main rgb image - nothing else.
    Thanks,
    Rob

  • Reading & writing binaries(.class files)

    folks,
    how does one go about reading and writing .class files in java. I am able to write 'em only in ASCII format which is not what i want.
    Thanks!

    Did anybody say anything about disassembling?He wants to read and write class files, it's the title of the post.
    I don't appreciate you dismissing my suggestions like that.
    There's plenty of gotchas in reading and writing class files, such as Longs & Doubles taking up 2 positions in the constant pool.
    Hence the reason why I suggested using an open source library like BCEL or ASM. These are still valid as class readers, even if you don't touch the byte code. ( disassembly )
    But what would I know Ejp....sure I only wrote my own Java 1.5 class reader / disassembler.

  • API FOR READING MICROSOFT WORD DOCUMENT FILE

    HELLO
    I need to know are there any api's to read a word document i.e a .doc file into a java program. If there r api where can i find them & how can i use them

    For Reading PDF documents, you can use PDFBox, for reading word documents, Apache's POI . But POI supports only Excel right now, Word will soon be supported

  • I'm trying to share folder between users on a single mac.  I put the folder in "shared," set permissions so other user can read and write, enabled file sharing, but can't find the folder on the second user's account.  Any help?

    I'm trying to share a folder between users on a single mac.  I want both users to be able to read and write so the folder stays current on both accounts.  I put the folder in "shared," set permissions on folder so other user can read and write, enabled file sharing, but can't find the folder on the second user's account.  Any help?

    Did you log out of one account and into the other or just used Fast user switching?
    Is the permissions set to anyone?
    When you move data to teh Shared folder is it copied or just moved?
    If copied then it's not a folder both can access, just a way station like a USB thumb drive that things are coped too and off of likely.
    You can run this #5 on each user account to reset the user permissions once they are taken back out of the Shared folder
    Step by Step to fix your Mac

  • Permissions on Postx Jar for CRES

    Hi,
    When I try to read an incoming secure message (CRES Registered Envelope) using a browser, I get the following error regarding missing permissions on a Postx jar:
    If I continue to run, I get the following second message. I cannot decrypted the message locally on my desktop.
    I installed Java and the CRES toolkit (can't remember the exact name) some time ago as I was prompted to do so on my first attempt to read a registered envelope.
    Any idea how to recover from this? Is there a newer version of the toolkit for CRES/PostX that may solve this problem?
    Thanks.

    Hi David,
    Thanks for your response. Here are some more detail:
    I saved the attachment on disk and then tried opening it with couple of browsers (Firefox and Chrome), all with same result. I'd rather not use the Online option as that is against our policy (i.e. sending the encrypted envelop to Cisco for decryption). But I turned on full debug/trace and a complete report is attached. In a nutshell:
    - The following jar seems to be causing the problem:
    http://applet.postx.com/dist/EnvelopeTools51.jar
    - Per trace messages, the Jar is built for Java 1.6.0.31 which I don;t have on my system. I'm running
    1.7.0_45. The warnings indicate missing permission manifest attribute and potential problems with newer versions of Java
    Missing Application-Name: manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384829604624
    Missing Permissions manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384829604624
    Missing Codebase manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384829604624
    - And finllay, a NullPointerExceptopn occurs at:
    com.postx.client.Tools.genBaseDir(Tools.java:2075)
    I wonder why others don't see the same issue? Is it just the matter of folks upgrading to the newer Java environments to get the same error or somthing in my environment is can cause the exception?
    I tried lowering the security level for applets from Java console to Medium (from High), I got an additional prompt asking me if I would run the applet with an older Java environment on my system (1.6.0.45), but it didn't help. Had the same result.
    Any help is appreciated.
    John
    PS - oops! just noticed I cannot attach a file on reply. So I append the trace file below
    =-=-=-=-=-=-=-=-=
    =-=-=-=-=-=-=-=-=
    Java Plug-in 10.45.2.18
    Using JRE version 1.7.0_45-b18 Java HotSpot(TM) Client VM
    User home directory = C:\Users\john
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to
    cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@ba074a
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1a80fb8
    basic: Plugin2ClassLoader.addURL parent called for http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    security: Blacklist revocation check is enabled
    security: blacklist: Reconstruct cache
    security: blacklist: created: NEED_CREATE, lastModified: 1384828211442
    security: blacklist: hasBeenModifiedSince 1384827946764 (we have 1384828211442)
    cache: Trying to update in place C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\15\73851b8f-4ce570b3.idx
    cache: Upgrade writing to disk for C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\15\73851b8f-4ce570b3
    security: blacklist: check contains 3037+iVeU8fGjcXsuZLW/Iv5Ey0=, state now NEED_CREATE
    security: blacklist: check raw C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\security\blacklist.dynamic, false
    security: blacklist: check raw C:\Program Files (x86)\Java\jre7\lib\security\blacklist, false
    security: blacklist: check raw C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\security\blacklist, false
    security: blacklist: save cache to C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\cache\security\blacklist.cache
    security: Trusted libraries list check is enabled
    security: Trusted libraries list file not found
    cache: Create from verifier: JarSigningData{hasOnlySignedEntries=true, hasSingleCodeSource=true, hasMissingSignedEntries=false}
    cache: Upgrade of entry done
    cache: readIndexFile returning success
    network: Remove cache entry: http://applet.postx.com/dist/EnvelopeTools51.jar?1384827885778
    network: Cache entry not found [url: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677, version: null]
    network: Connecting http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677 with proxy=DIRECT
    network: Connecting http://applet.postx.com:80/ with proxy=DIRECT
    network: CleanupThread used 49324 us
    network: CleanupThread used 2 us
    network: Downloading resource: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
                   Content-Length: 162,928
                   Content-Encoding: null
    network: Wrote URL http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677 to File C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\15\73851b8f-331fcc0a-temp
    security: blacklist: check contains 3037+iVeU8fGjcXsuZLW/Iv5Ey0=, state now IN_MEMORY
    security: blacklist: not  found in cache
    security: Trusted libraries list file not found
    cache: Create from verifier: JarSigningData{hasOnlySignedEntries=true, hasSingleCodeSource=true, hasMissingSignedEntries=false}
    network: CleanupThread used 1 us
    cache: Adding MemoryCache entry: http://applet.postx.com/dist/EnvelopeTools51.jar
    security: blacklist: hasBeenModifiedSince 1384828213748 (we have 1384828211442)
    network: Cache entry found [url: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677, version: null] prevalidated=false/0
    cache: Adding MemoryCache entry: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    cache:  Read manifest for http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677: read=89 full=2225
    cache: Loading full manifest for http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677cache: Reading Signers from 5516 http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677 | C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\15\73851b8f-331fcc0a.idx
    cache: Done readSigners(http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677)
    security: Trust for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677 has ended: Wed Dec 31 19:00:00 EST 1969
    security: Accessing keys and certificate in Mozilla user profile: null
    Missing Application-Name: manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    Missing Permissions manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    Missing Codebase manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    security: Loading Deployment certificates from C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
    security: Loaded Deployment certificates from C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Loading blacklisted.certs file: C:\Users\john\AppData\LocalLow\Sun\Java\Deployment\security\blacklisted.certs
    security: SHA-256Certificate finger print: 24A257718B2EDA924A30EC15806F46E277735B6F53C551EA2DEC224D154FD171
    security: SHA-256Certificate finger print: AF840CA2B9DFB776BF81AA94C401BC440C52E5C590C43607A13D6680D83E3349
    security: SHA-256Certificate finger print: C99157DF28D28EBD87B8B041AACCF023CF1C9AD0D21FD7116149D7F96484FA51
    security: SHA-256Certificate finger print: 3F9F27D583204B9E09C8A3D2066C4B57D3A2479C3693650880505698105DBCE9
    security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: The OCSP support is enabled
    security: The CRL support is enabled
    security: Failing over to CRLs: Certificate does not specify OCSP responder
    network: Cache entry found [url: http://crl.thawte.com/ThawtePremiumServerCA.crl, version: null] prevalidated=false/0
    cache: Adding MemoryCache entry: http://crl.thawte.com/ThawtePremiumServerCA.crl
    cache: Resource http://crl.thawte.com/ThawtePremiumServerCA.crl has expired.
    network: Connecting http://crl.thawte.com/ThawtePremiumServerCA.crl with proxy=DIRECT
    network: Connecting http://crl.thawte.com:80/ with proxy=DIRECT
    network: ResponseCode for http://crl.thawte.com/ThawtePremiumServerCA.crl : 304
    network: Encoding for http://crl.thawte.com/ThawtePremiumServerCA.crl : null
    network: Disconnect connection to http://crl.thawte.com/ThawtePremiumServerCA.crl
    network: Connecting http://ocsp.thawte.com/ with proxy=DIRECT
    network: Connecting http://ocsp.thawte.com:80/ with proxy=DIRECT
    security: OCSP Response: GOOD
    network: Connecting http://ocsp.thawte.com/ with proxy=DIRECT
    network: Connecting http://ocsp.thawte.com:80/ with proxy=DIRECT
    security: OCSP Response: GOOD
    security: Certificate validation succeeded using OCSP/CRL
    basic: Dialog type is not candidate for embedding
    security: User has granted the privileges to the code for this session only
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    security: Grant socket perm for http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677 : java.security.Permissions@1f3cb0e (
    ("java.net.SocketPermission" "applet.postx.com" "connect,accept,resolve")
    security: Trust for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677 has ended: Wed Dec 31 19:00:00 EST 1969
    Missing Application-Name: manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    Missing Permissions manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    Missing Codebase manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    security: Validate the certificate chain using CertPath API
    basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
    security: SHA-256Certificate finger print: 24A257718B2EDA924A30EC15806F46E277735B6F53C551EA2DEC224D154FD171
    security: SHA-256Certificate finger print: AF840CA2B9DFB776BF81AA94C401BC440C52E5C590C43607A13D6680D83E3349
    security: SHA-256Certificate finger print: C99157DF28D28EBD87B8B041AACCF023CF1C9AD0D21FD7116149D7F96484FA51
    security: SHA-256Certificate finger print: 3F9F27D583204B9E09C8A3D2066C4B57D3A2479C3693650880505698105DBCE9
    Missing Application-Name: manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    Missing Permissions manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    Missing Codebase manifest attribute for: http://applet.postx.com/dist/EnvelopeTools51.jar?1384828210677
    security: Validate the certificate chain using CertPath API
    security: SSV validation:
        running: 1.7.0_45
        requested: 1.6.0.31
        range: null
        javaVersionParam: null
        Rule Set version: null
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.6.0.31
    security: Ask user to use: 1.6.0.31
    network: Created version ID: 1.7.0.45+
    network: Created version ID: 1.6.0.31
    network: Created version ID: 1.6.0.31
    network: Created version ID: 1.6.0.65
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.7
    network: Created version ID: 2.2.45
    basic: Applet loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 175756 us, pluginInit dt 10604238 us, TotalTime: 10779994 us
    2013-11-18 21:30:21.676: Ident: $Id: EnvelopeTools.java,v 1.17 2011/04/05 21:18:39 blm Exp $
    2013-11-18 21:30:21.677: build: 57
    2013-11-18 21:30:21.677: build time: Wed Apr 06 02:37:22 EDT 2011
    2013-11-18 21:30:21.710: Raw document.URL: file:///C:/Users/john/Downloads/securedoc_20131110T081336.html
    2013-11-18 21:30:21.714: documentBase: null
    2013-11-18 21:30:21.714: documentURL: file:///C:/Users/john/Downloads/securedoc_20131110T081336.html
    2013-11-18 21:30:21.714: documentCharset: UTF-8
    2013-11-18 21:30:21.714: codeBase: http://applet.postx.com/dist/
    2013-11-18 21:30:21.714: appletName: EnvelopeTools51
    2013-11-18 21:30:21.714: Ident: $Id: Tools.java,v 1.4 2011/04/06 02:49:34 blm Exp $
    2013-11-18 21:30:21.714: Java: Oracle Corporation 1.7.0_45
    2013-11-18 21:30:21.714: OS: Windows 8 6.2
    2013-11-18 21:30:21.714: userAgent: mozilla/5.0 (windows nt 6.2; wow64; rv:25.0) gecko/20100101 firefox/25.0
    2013-11-18 21:30:21.714: sunJava: true
    2013-11-18 21:30:21.714: inIE: false
    2013-11-18 21:30:21.714: OSMacOSX: false
    2013-11-18 21:30:21.714: OSVista: true
    2013-11-18 21:30:21.714: haveMSSecurity: false
    2013-11-18 21:30:21.714: Free memory: 7904920
    2013-11-18 21:30:21.715: Total memory: 16252928
    java.lang.NullPointerException
                   at com.postx.client.Tools.genBaseDir(Tools.java:2075)
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.7.0.45
                   at com.postx.client.Tools.run(Tools.java:394)
                   at com.postx.client.EnvelopeTools.init(EnvelopeTools.java:73)
                   at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
                   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
                   at java.lang.Thread.run(Unknown Source)
    Ignored exception: java.lang.NullPointerException
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.7.0.45
    basic: Dialog type is not candidate for embedding
    basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1a80fb8
    security: Reset deny session certificate store

  • Doing an internal Mac adjustment for reading/writing to NTFS HD

    I am doing an internal setup using Terminal to allow my MacBook Pro 13(late 2012) OS X 10.8 to be able to read/write from a Seagate Backup Plus external HD that is formatted in NTFS.  I have seen the instructions given from this site: http://www.avioc.com/blog/ntfs-read-write-support-on-mountain-lion
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++
    Here is what you should do:
    Uninstall other 3rd-party NTFS software, like Paragon, Tuxera or NTFS-3G.
    Edit /etc/fstab (you can do this with "sudo nano /etc/fstab"
    Add the following line:
    LABEL="VOLUME_NAME_WITHOUT_QUOTES" none ntfs rw,auto,nobrowse
    Quit your editor (if you used nano, you can do this with Control-X, Y)
    Reboot, or if you prefer just unmount and re-mount the partition using Disk Utility
    Voila! You have read-write support for this partition in OSX
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++
    I can access the Terminal function and can enter the written text shown...however, I am not sure which 'Volume' they are asking for when it says "VOLUME_NAME_WITHOUT_QUOTES" ...is it the Mac HD or the Seagate external HD..and do I also include the _ in the written text line ?
    Then when the GNU nano 2.0.6   File: /etc/fstab   window comes up and I enter: LABEL="VOLUME_NAME_WITHOUT_QUOTES" none ntfs rw,auto,nobrowse
    in this box, I can't quit the editor as it shows:
    Quit your editor (if you used nano, you can do this with Control-X, Y)                                                                                                                           so I am unable to reboot to finish the process.
    How do I do that quitting to be able to reboot and finish?
    And finally...do I have the Seagate external HD attached while doing this change ?
    Thanks,
    rl

    Did you check for updates from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Macintosh? You can download updates to Acrobat there. You should generally install the updates in order unless indicated otherwise.
    However, it may be that what is being sent to Distiller is the problem, not Distiller itself. What is the error message? How are you creating the input for Distiller? I am not quite sure about the steps on a MAC since I use a PC, but at least these questions should help track down the problem. If you can post the full text of the error (or a screen shot), it would help.

Maybe you are looking for