Appletviewer/j2sdk1.4.2/permissions/housespider

I am trying to index a website using the HouseSpider applet. My platform is Windows 2000. I have created the recommended policy file in my home directory - Documents and Settings/Administrator - (and I've tried it in a couple of otherplaces, too).
There are no aliases in my keystore file.
The policy file's content is:
/* AUTOMATICALLY GENERATED ON Tue Nov 18 17:05:43 EST 2003*/
/* DO NOT EDIT */
keystore "file:/c:/java2/mykeystore", "JKS";
grant codeBase "file:/c:/Family/-" {
permission java.net.SocketPermission "*", "accept, connect, listen, resolve";
permission java.io.FilePermission "*", "read, write, delete, execute";
I have copied all the files from the
C:\Program Files\J2SDK_nb\J2SDK1.4.2\bin
directory to another directory, c:\Java2, to make typing in the command line in the DOS window easier.
The HouseSpider applet is in a file called indexit.html in my web on my hard-drive. HouseSpider index is an empty file in the website's 'root' directory. I deleted all the contents from a previous indexing and removed the record of that operation from the HouseSpider.log file.
When I use the command
appletviewer file:\\\c:\Family\indexit.html
in the DOS window the Applet window opens normally and the messages in the status bar are unexceptional. When I enter houseindex into the search window and then go back to the DOS window I find the message
"This is HouseSpider v4.4
Security Exception. Could not write to HouseSpider.index. Set your browser's java security options to allow local applets to access the file system."
Possibly there is a problem with the appletviewer properties file but I cannot find it. Instructions say it's to be found in the .hotjava directory but that's not available. I tried creating one with the appropriate acl.read and acl.write lines but I'm shooting in the dark because I don't know where to put it or ????
There's a bug somewhere in what I'm doing and I'll continue to hack away at it but anyone who can offer some advice I'd certainly appreciate it.

I have solved the problem.
Documentation indicates that the policy file (.java.policy) should reside in my home directory. However, when the java package is downloaded and installed it creates a default policy file - java.policy (note no leading dot) in the
Program Files\j2sdk_nb\j2sdk1.4.2\jre\lib\security
folder. All I had to do was to use the Policytool to add the needed io.FilePermission line temporarily to this file and then Appletviewer indexed my website very quickly and wrote a new housespider.index file. I didn't have to add the other line recommended in the HouseSpider installation documentation because I indexed the site on my hard drive.
If I can help anyone else having problems with HouseSpider indexing please contact me at [email protected]

Similar Messages

  • Applet Permission Network Problem

    Hi,
    I have done alot of reading up on applets, to be honest Im more confused when I started!
    Basically, here is the scenario:
    I have a single java applet, which is a gui that takes some input and then fires it off (via UDP sock connection) to another machine on the same network, this works fine when using appletviewer and granting certain permissions.
    But when I try and run it as an applet in a normal browser window it does not work, obviously because I am not "granting" permissions like in the appletviewer.
    To be honest I dont want to have to start signing applets and certificates etc, this is not going to be a distributed app, so its for inhouse use it doesnt need to access the users local filesystem, so is there any way of doing this successfully, without all of the above and converting it to an application.
    Thanks in advance,
    Foobarr

    Jsalonen: I dont think it is as easy as that, I have
    tried various steps like mentioned, how do I embed the
    applet so it knows to look for the cert etc??
    In the simplest case you don't even need to provide a certificate, just make a signed .jar file with the jarsigner tool and write a normal <applet> tag:
    <applet code="MyMainAppletClass" archive="signed.jar" width="xxx" height="yyy">
    </applet>

  • Applet - J2SDK1.4.2_08 Appletviewer (Solaris 9)

    Hello All:
    We have upgraded our java version from J2RE1.3.1_02 to 1.4.2_08 and recompiled all the java files. When we tried to use the appletviewer command to test our applications, we got the following errors:
    Unable to process reply: java.lang.NegativeArraySizeException
    java.lang.ClassCastException: SimpleView
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:710)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:639)
    at sun.applet.AppletPanel.run(AppletPanel.java:319)
    at java.lang.Thread.run(Thread.java:595)
    I searched around and found most of the information regarding about applet signing for the security. If that's the case, could someone guide me how to grant or give the permission? Or please tell me what's causing the errors above.
    I will appreciate for any help.
    mkd
    P.S. It's running fine with the version J2RE1.3.1_02.

    I have solved the problem.
    Documentation indicates that the policy file (.java.policy) should reside in my home directory. However, when the java package is downloaded and installed it creates a default policy file - java.policy (note no leading dot) in the
    Program Files\j2sdk_nb\j2sdk1.4.2\jre\lib\security
    folder. All I had to do was to use the Policytool to add the needed io.FilePermission line temporarily to this file and then Appletviewer indexed my website very quickly and wrote a new housespider.index file. I didn't have to add the other line recommended in the HouseSpider installation documentation because I indexed the site on my hard drive.
    If I can help anyone else having problems with HouseSpider indexing please contact me at [email protected]

  • Problem: displayed output in appletviewer vs internet explorer

    I am new to Java programming, having recently completed by first class. I have been trying to set up the Java Development Kit on my PC at home. I installed J2SDK1.4.1_01 and edited my autoexec.bat file to: (1) add ;C:\J2SDK1.4.1_01/BIN to the PATH statement and (2) create a CLASSPATH statement: SET CLASSPATH=;.;
    I been using old programs from class to test the install and have encountered a problem. I recompiled a program which outputs an applet. I can view the applet in Appletviewer, but when I go to view it in Internet Explorer, I see only a gray rectangular box.
    I tried a slightly different program which, in addition to producing an applet, also (in the html code) prints different sized heading lines.
    I see the applet only in Appletviewer. In Internet Explorer, I see the heading lines and a retangular gray box. Both this and the first program import java/awt/Graphics.
    I have tried variations for CLASSPATH such as SET CLASSPATH=;.;C:\J2SDK1.4.1_01 AND C=;.;C:\WINDOWS\JAVA\PACKAGES\zipfile (repeating the C:\WINDOWS... for each zipped file) .... nothing works
    Can you give me an idea on what I need to do to fix this.

    Thanks for your suggestion to search the forum for similar problems. I went into the control panel to try and enable Java Plug-in. I found two Java Plugin icons. One was for an earlier version ... 1.3 and the other showed up as J2SDK1.4.1_01. I took the check off the 1.3 version to unenable it and went to enable the 1.4.1_01 plugin. The problem is, it had no enable check box. So I went to the advanced features of Internet Options to try and enable Java Plugin from there. Under Java(SUN) there was no listing for a Java JIT compiler to enable. There was a JIT Compiler which could be enabled under Microsoft VM. I didn't think it would work, but I tried enabling it and rebooting. ... I was still unable to see applets in IE. I then tried unenabling it with similar results.
    Today, I uninstalled 1.3 and uninstalled/reinstalled 1.4.1_01 (without a problem) and rebooted. I went into the control panel to try and enable the Java Plugin (of which there was just 1 now), and it gave me this error message: The system cannot find the registry key specified // HKEY_LOCAL-Machine\Software\JavaSsoft\Java Plug-in\1.4.1-01.
    Bottom line ... I still can't see applets in IE. I have tried finding the answer about the Key Registry problem in Forums, but I didn't see one that tied into my problem. Also, there is still no listing within the advanced features of Internet Options for Java (Sun) - JIT Compiler ...so I still can't enable it from there.
    At this point, I don't know if I've inadverently done something to screw things up. I'd really like to start playing around in Java, but I can't until I have the system set up properly. Anyone have any ideas?

  • Access Permissions

    I have a Java program which is embedded on our main intranet page. Recently, I've made some changes to the permissions of the local PC's where users no longer have full local administrator privileges. since this change occurred however, users are unable to access the Java program. If i give the user administrator rights, the issue goes away. Can someone please point me to the right direction of the answer! Below is the printout from the java console.
    The intranet box is running IIS 5.
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\PRS
    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
    p: reload proxy configuration
    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 <n>
    basic: Stopping applet ...
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@609959, refcount=0
    basic: Caching classloader: sun.plugin.ClassLoaderInfo@609959
    basic: Current classloader cache size: 1
    basic: Done ...
    basic: Joining applet thread ...
    basic: Joined applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Quiting applet ...
    basic: Unregistered modality listener
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@609959, refcount=1
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    network: Connecting http://8.2.1.235/insero/admin/TextScroller/tscroll.class with proxy=HTTP @ /8.2.1.20:80
    network: Connecting http://8.2.1.235/insero/admin/TextScroller/tscroll.class with cookie "CFTOKEN=9255648; CFID=20782"
    network: Connecting http://8.2.1.235/insero/admin/TextScroller/tscroll.class with proxy=HTTP @ /8.2.1.20:80
    network: Connecting http://8.2.1.235/insero/admin/TextScroller/tscroll/class.class with proxy=HTTP @ /8.2.1.20:80
    network: Connecting http://8.2.1.235/insero/admin/TextScroller/tscroll/class.class with cookie "CFTOKEN=9255648; CFID=20782"
    network: Connecting http://8.2.1.235/insero/admin/TextScroller/tscroll/class.class with proxy=HTTP @ /8.2.1.20:80
    network: Connecting http://8.2.1.235/insero/admin/TextScroller/tscroll/class.class with cookie "CFTOKEN=9255648; CFID=20782"
    load: class tscroll.class not found.
    java.lang.ClassNotFoundException: tscroll.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Exception: java.lang.ClassNotFoundException: tscroll.class
    Exception in thread "Thread-42" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.NullPointerException
    Exception in thread "thread applet-tscroll.class" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Don't pollute the forum with your asterisks.

  • Applet and appletviewer with j2se1.4.1,  IE6 and  XP

    I just install j2sdk1.4.1 on my computer but when I run old applet that I did with appletviewer the program don't run properly (He don't handle
    mouse event, repain()) .When I run the same program on IE6 it run properly.
    Also when I run some old applet with IE6 like the one at
    http://java.sun.com/docs/books/tutorial/listofapplets.html
    my computer crash.
    But IE6 and appletviewer work well with the demo that j2sdk1.4.1
    install on your hard disk (C:\j2sdk1.4.1\demo\applets\)
    If somebody can help

    At last I found someone with same issue we are having!!
    Thinking it was an MS Word problem I posted a ticket with Microsoft. By the sounds of things it is some change in the firmware. I will try post this issue around a little as it is very frustrating.
    The problem is, there has been a similar issue with Mac Office going back years with network drives that I dont think has ever really been solved. This has made searching for this topic very difficult as they all deal with Mac Office and OSX as opposed to Windows Office (2003 in my case) and Windows XP. I will flag this up with Apple and bump it around any other relevant forums. I will also confirm if rolling back the firmware solves the problem (can't try it at the moment).

  • "Permissions differ" - JavaFM.Framework - ignore these too?

    I always follow good advice on here - always check Permissions before and after installing new software. Lot of threads advise 'ignore' much reported on the Permissions Repair (why can't Apple prevent these misleading items and which cause so many threads here?).
    I now get the following (excerpt) relating to Frameworks/JavaVM which are NEVER repaired - should I ignore these too?
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/appletviewe r", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/apt", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/extcheck", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/idlj", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jar", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jarsigner", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javac", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javadoc", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javah", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javap", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jconsole", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jdb", should be -rwxr-xr-x , they are lrwxr-xr-x .
    I have taken some advice here to re-update the last Java update 3 and re-install 10.5.6 Combo but Permissions still shows 2 pages of the same items.
    As I have had NO processing problems do I just add these to the growing list of items to ignore or is there something I should do to tidy things up?

    Hey,
    I have the same thing going on too. So, it means nothing and I should ignore it?
    Thanks!
    Adam
    Repairing permissions for “Sigmund System”
    Reading permissions database.
    Reading the permissions database can take several minutes.
    Permissions differ on "private/var/log/secure.log", should be -rw------- , they are -rw-r----- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/DVD.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSettings.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSources.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Movies.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Music.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Photos.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Podcasts.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/TV.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/BackRow.framework/Versions/A/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "Applications/iTunes.app/Contents/CodeResources", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "Applications/iTunes.app/Contents/Frameworks/InternetUtilities.bundle/Contents/ CodeResources", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "Applications/iTunes.app/Contents/Resources/iTunesHelper.app/Contents/CodeResou rces", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/appletviewe r", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/apt", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/extcheck", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/idlj", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jar", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jarsigner", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javac", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javadoc", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javah", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/javap", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jconsole", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jdb", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jinfo", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jmap", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jps", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jsadebugd", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jstack", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jstat", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/jstatd", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/keytool", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/native2asci i", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/orbd", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/pack200", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/policytool" , should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/rmic", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/rmid", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/rmiregistry ", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/serialver", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/servertool" , should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/tnameserv", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/unpack200", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/unpack200", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/tnameserv", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/servertool" , should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/serialver", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/rmiregistry ", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/rmid", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/rmic", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/policytool" , should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/pack200", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/orbd", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/native2asci i", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/keytool", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jstatd", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jstat", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jstack", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jsadebugd", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jps", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jmap", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jinfo", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jdb", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jconsole", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javap", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javah", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javadoc", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/javac", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jarsigner", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/jar", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/idlj", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/extcheck", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/apt", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/appletviewe r", should be lrwxr-xr-x , they are -rwxr-xr-x .
    Group differs on "private/etc/cups", should be 0, group is 26.
    Permissions differ on "private/var/spool/cups/cache/rss", should be drwxr-xr-x , they are drwxrwxr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/CodeResourc es", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/BlackAndWhiteEffect.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/CubeTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/DissolveTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/DropletTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/FadeThroughBlackTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/FlipTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/MosaicFlipTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/MosaicFlipTransitionSmall.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/PageFlipTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/PushTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/RevealTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/SepiaEffect.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/TwirlTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions differ on "System/Library/PrivateFrameworks/iPhotoAccess.framework/Versions/A/Resources/P lugins/WipeTransition.IAPlugin/Contents/CodeResources", should be -rw-r--r-- , they are lrwxr-xr-x .
    Permissions repair complete
    Message was edited by: Sunzate

  • A Java security or permissions problem?

    First of all, I don't know much about Java, even its naming and version numbering nomenclature, and second, if there is a better group to ask this in, please let me know.
    System is Mac with 10.4.4. I have Java 1.3.1, 1.4.2, and J2SE 5.0 (1.5.0) installed. The Java preferences application lets me choose J2SE 5 or 1.4.2 to run applets via a browser. The problem happens in both settings.
    The problem is that we have a printer that serves a little Java-based management application to view history and otherwise manage it. When I hit the IP, I get the Java coffee cup for a few moments, then a blank area. It fails in both Safari and Internet Explorer.
    I'm pretty sure this used to work in OS X 10.4.3. It works from Windows which has runtime 1.4.something.
    In the Java console, I get the following. (I've snipped some lines.)
    ========================================
    Java Plug-in 1.5.0
    Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM
    User home directory = /Users/timmurray
    java.security.AccessControlException: access denied
    (java.lang.RuntimePermission accessClassInPackage.com.apple.mrj)
    at
    java.security.AccessControlContext.checkPermission(AccessControlContext.java:264 )
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512)
    <snipped 22 similar lines>
    Exception in thread "Thread-17" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java:153)
    at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1968)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:664)
    at sun.applet.AppletPanel.run(AppletPanel.java:320)
    at java.lang.Thread.run(Thread.java:613)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java:153)
    at sun.plugin.AppletViewer.showAppletStatus(AppletViewer.java:1898)
    at sun.applet.AppletPanel.run(AppletPanel.java:365)
    at java.lang.Thread.run(Thread.java:613)
    Exception in thread "thread
    applet-com.efi.appls.webtools.WebToolsApplet.class"
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(GrayBoxPainter.java:153)
    at sun.plugin.AppletViewer.showAppletException(AppletViewer.java:1968)
    at sun.applet.AppletPanel.run(AppletPanel.java:529)
    at java.lang.Thread.run(Thread.java:613)
    ========================================
    This appears like a permissions problem, but I've fixed permissions several times.
    Any idea what the problem is, and is it fixable from my end?

    Problem has finally -- over a year later -- just gone away.

  • Problem with J2SDK1.4.0

    hi, I just installed the J2SDk1.4.0 on my computer everything went ok but I have problems to open the html files, even with the included examples of Java itself. Every time it tells me the class (of the example) cannot be found, althoug it is in the same directory. with the appletviewer it works (f.e. appletviewer XXX.html), but if I just open the html-file it won't work. I already tried to set the class path (in autoexec.bat, and in explorer the virtual machine is on)to the directory where javac.exe,..... are but it doesn't help.
    does anyone know what I have to do because it is a little urgent to find a sollution.

    Do not set classpath to the directory that contains javac.exe, that will not help. Classpath must point to the directory that contains your class files. Be sure to include the current directory (".") in the classpath:
    set CLASSPATH=.
    Jesper

  • Why does appletviewer crash with applet connecting to MSAccess?

    I am a beginner and have written a very simple applet for accessing a very simple Microsoft Access database. It is based on code from the java tutorials, uses a vector to collect the query, the vector is copied and this copied vector is used to display results by means of a button that clears the previous result, and a textfield for input to allow another search. It works, but after displaying about 4 sets of results it crashes on the next with an invalid page fault. Can anyone offer any suggestions as to why please?
    Thanks RSM45

    Hi,
    In reply of your email:
    I've tried to reproduce the same error without success. It works on my pc without any problems.
    My configuration:
    - Windows 2000 Server
    - JDK 1.3.0
    - Access 2000
    The only thing I've changed are the permissions. I've replaced them with "permission java.security.AllPermission;", because otherwise appletviewer throws a "no suitable driver". Perhaps this is because I may be using a different JDK.
    A small remark: You declare "Vector results" twice. Try to remove the first one, since when the "results" in the run() method goes out of scope, there still exists an uninitialized "results" object. Maybe this is confusing the garbage collector.
    I think the easiest solution is to upgrade your jdk - if this helps.
    Regards,
    Kurt.

  • Can't run applet with appletviewer(java.io.FilePermission)

    Guys, I am writing an applet and it has compiled fine but when I try running it with appletviewer, it spews out these error. I have changed permissions on my .class file and .html file.
    Can anyone help? It's pretty frustrating...
    ava.security.AccessControlException: access denied (java.io.FilePermission /.automount/blah/usr/blah/blah/Node.class read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
    thanks.

    See if you find anything here:
    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A31&qt=%22java.security.AccessControlException%3A+access+denied+%22&x=17&y=14
    It�s a search on the forum, users with the same error.
    Andreas

  • Appletviewer Please Help

    I feel bad about asking help. But I don't know where else to turn to. I searched the archives to no avail. I'm not sure this is a CLASSPATH problem or what but every time I run appletviewer I get "I/O exception while reading: E:\j2sdk1.4.0\bin\e:\java\ticker.class (The system cannot find the path specified)" Now obviously that is not a valid path. It looks like it's concated two different paths together and I don't exactly know WHAT path it is reading in the first place. Is this the CLASSPATH path? Or simply the PATH path? I don't understand. I don't know how to get Ms-Dos to display the current setting for CLASSPATH. I know how to set CLASSPATH= which I've tried many times setting the path to the correct directory or setting it to null with "set CLASSPATH=" Anyone help? I'd love to start to get to work on my java studies and I won't be able to until I can get this to work. Funny thing, it WAS working only a week ago before it started doing this and I don't have a clue why. When I run appletviewer from the ms-dos prompt, it seems to work for a moment, but then just returns to the prompt. No error. I get the error when I run appletviewer from windows run. (had to break it right before it closed the window to see the error it was displaying)

    Hi,
    Gather patience, don't worry, say by step:
    what your Operation System (Win9x, WinNT, ??);?
    what in your PATH, CLASSPATH;?
    where put it "E:\j2sdk1.4.0\bin\e:\java\ticker.class"?
    how and where you run your applet?
    what is that "E:\j2sdk1.4.0\bin\e:\java\ticker.class"?
    If it a PATH, put between pathes " ; " and take out ticker.class:
    PATH E:\j2sdk1.4.0\bin\; e:\java\and run
    appletviewer ticker.htmlticker.html must contain:
    <applet code=ticker.class width=200 height=200>
    </applet>
    Good Luck,
    ~Hill

  • Failure to use javac j2sdk1.4.2_04

    My laptop has installed on it Windows XP SP2. J2sdk1.4.2_04 ikons some shows instability. Jdb DOS command is stable and I am able to use it. Javac and appletviewer DOS command prompts are
    unstable and as soon as I click their ikons their DOS command is seen momentarily and then
    closes spontaneously. The Windows System Environment variables relating to j2sdk have all been set including JavaHome, path, javac options etc.
    I wonder if there is a step that I have not done that is necessary for proper function of javac and appletviewer?

    From your description it sounds like you've opened an Explorer window to C:\j2sdk1.4.2_04\bin\ and are clicking on the javac.exe and appletviewer.exe listings. If so, that's not correct - the expected result of that action is as you describe.
    Open a Command Prompt window - usually done by clicking on the Start Menu > Programs > Accessories > Command Prompt shortcut. In that, type the commands with their arguments.
    Java is a commandline environment, not a Graphical User Environment (GUI).
    As jsalonen suggested, the tutorial has detailed instructions for beginners.

  • Installation Error J2sdk1.4.1 version on Window NT- Please Help

    I downloaded J2SDK1.4.1 version sucessfully on window NT, When I click on Install, I get the following error
    "The contents of this file cannot be unpacked. The executable your are attempting to run is corrupted. Please obtain another copy of the file, verify its integrity and try again". Earlier I older version of Jdk1.2, I tried to remove all the files and tried again, but keep getting the same error.
    Could anyone tell me what I need to do?

    Hello gchandrashekar1,
    It sounds like you have indeed downloaded a corrupted copy of the SDK1.4.1.
    1. Check the download file size
    If you saved the self-installing executable to disk without running it from the download page at the Java Software web site, check to see that you have the complete file:
    j2sdk-1_4_0-win.exe 37067134 bytes
    2. Uninstall Pre-Release Versions of the Java 2 SDK 1.4
    If you have previously installed a Beta release or the Release Candidate version of Java 2 SDK 1.4, uninstall it. Use the Microsoft Windows Add/Remove Programs utility, accessible from the Control Panel (Start --> Settings --> Control Panel).
    3. Run the Java 2 SDK installer
    Note -- you must have administrative permissions in order to install the Java 2 SDK on Windows 2000 and Windows XP.
    The file j2sdk-1_4_0-win.exe is the Java 2 SDK installer. If you downloaded it instead of running it directly from the web site, double-click
    on the installer's icon. Then follow the instructions the installer provides. When done with the installation, you can delete the download file to recover disk space.
    Also, for trouble shooting tips, see: http://java.sun.com/j2se/1.4/install-windows.html#troubleshooting
    -Merwyn,
    Developer Technical Support,
    http://www.sun.com/developers/support.

  • AppletViewer Socket security policies in Netbeans -

    I'm developing a database applet using NetBeans IDE 4.0, jre 1.5.0. To make this easier, I set up a database server on my desktop with a dummy database to work with. I'm having a great deal of trouble getting the applet to connect to the database from AppletViewer. It throws the following error:
    java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve)
    I believe this is an applet security issue - the default of the JVM being not to allow connections to network resources located anywhere other than where the applet came from (or that are signed). The applet works ok if I move it over to the production web/db server, which confirms this suspicion. This is precisely the problem I was hoping to circumvent by setting up a db server on the localhost.
    I've tried changing the code to point the connection to "localhost", the fqdn, and the actual IP of the machine. This just gives me the expected respective versions of the same error message. I've also tried adding items to the java.policy, to no avail.
    I'm really hoping to be able to work on this thing without having to copy it over to the server and/or sign the applet every time I compile and test it. Any suggestions?

    No - the setup with the database on the local machine is just meant as a convenience while I'm developing it. When it's deployed all clients will hit the same DB, which is hosted on the same server that the web server serving the applet is on. This, actually, already worked. The trouble was with getting the local db to work while I'm developing.
    I actually figured out a workaround. NetBeans' built in webserver has to be configured in the runtime options to load its own policy file. I added the socket permissions to that file and reloaded the server. Now when I compile/run the applet fromt the IDE it works.
    Still doesn't work directly from the stand-alone AppletViewer, but this will do.

Maybe you are looking for