Cannot access file from JApplet

I have used the swingall.jar file with my JApplet for any
version of IE. It gives one error
i.e
Cannot access file c:\prog\project
I want to create a directory within c:\prog and also i want
to write some files there. Pls help me.

try this my friend!
1.     Compile the applet
2.     Create a JAR file
3.     Generate Keys
4.     Sign the JAR file
5.     Export the Public Key Certificate
6.     Import the Certificate as a Trusted Certificate
7.     Create the policy file
8.     Run the applet
Susan
Susan bundles the applet executable in a JAR file, signs the JAR file, and exports the public key certificate.
1.     Compile the Applet
In her working directory, Susan uses the javac command to compile the SignedAppletDemo.java class. The output from the javac command is the SignedAppletDemo.class.
javac SignedAppletDemo.java
2.     Make a JAR File
Susan then makes the compiled SignedAppletDemo.class file into a JAR file. The -cvf option to the jar command creates a new archive (c), using verbose mode (v), and specifies the archive file name (f). The archive file name is SignedApplet.jar.
jar cvf SignedApplet.jar SignedAppletDemo.class
3.     Generate Keys
Susan creates a keystore database named susanstore that has an entry for a newly generated public and private key pair with the public key in a certificate. A JAR file is signed with the private key of the creator of the JAR file and the signature is verified by the recipient of the JAR file with the public key in the pair. The certificate is a statement from the owner of the private key that the public key in the pair has a particular value so the person using the public key can be assured the public key is authentic. Public and private keys must already exist in the keystore database before jarsigner can be used to sign or verify the signature on a JAR file.
In her working directory, Susan creates a keystore database and generates the keys:
keytool -genkey -alias signFiles -keystore susanstore -keypass kpi135 -dname "cn=jones" -storepass ab987c
This keytool -genkey command invocation generates a key pair that is identified by the alias signFiles. Subsequent keytool command invocations use this alias and the key password (-keypass kpi135) to access the private key in the generated pair.
The generated key pair is stored in a keystore database called susanstore (-keystore susanstore) in the current directory, and accessed with the susanstore password (-storepass ab987c).
The -dname "cn=jones" option specifies an X.500 Distinguished Name with a commonName (cn) value. X.500 Distinguished Names identify entities for X.509 certificates.
You can view all keytool options and parameters by typing:
keytool -help
4.     Sign the JAR File
JAR Signer is a command line tool for signing and verifying the signature on JAR files. In her working directory, Susan uses jarsigner to make a signed copy of the SignedApplet.jar file.
jarsigner -keystore susanstore -storepass ab987c -keypass kpi135 -signedjar SSignedApplet.jar SignedApplet.jar signFiles
The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
5.     Export the Public Key Certificate
The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
5: Export the Public Key Certificate
The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
In her working directory, Susan uses keytool to copy the certificate from susanstore to a file named SusanJones.cer as follows:
keytool -export -keystore susanstore -storepass ab987c -alias signFiles -file SusanJones.cer
Ray
Ray receives the JAR file from Susan, imports the certificate, creates a policy file granting the applet access, and runs the applet.
6.     Import Certificate as a Trusted Certificate
Ray has received SSignedApplet.jar and SusanJones.cer from Susan. He puts them in his home directory. Ray must now create a keystore database (raystore) and import the certificate into it. Ray uses keytool in his home directory /home/ray to import the certificate:
keytool -import -alias susan -file SusanJones.cer -keystore raystore -storepass abcdefgh
7.     Create the Policy File
The policy file grants the SSignedApplet.jar file signed by the alias susan permission to create newfile (and no other file) in the user's home directory.
Ray creates the policy file in his home directory using either policytool or an ASCII editor.
keystore "/home/ray/raystore";
// A sample policy file that lets a JavaTM program
// create newfile in user's home directory
// Satya N Dodda
grant SignedBy "susan"
     permission java.security.AllPermission;
8.     Run the Applet in Applet Viewer
Applet Viewer connects to the HTML documents and resources specified in the call to appletviewer, and displays the applet in its own window. To run the example, Ray copies the signed JAR file and HTML file to /home/aURL/public_html and invokes Applet viewer from his home directory as follows:
Html code :
</body>
</html>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="600" height="400" align="middle"
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,1,2">
<PARAM NAME="code" VALUE="SignedAppletDemo.class">
<PARAM NAME="archive" VALUE="SSignedApplet.jar">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
</OBJECT>
</body>
</html>
appletviewer -J-Djava.security.policy=Write.jp
http://aURL.com/SignedApplet.html
Note: Type everything on one line and put a space after Write.jp
The -J-Djava.security.policy=Write.jp option tells Applet Viewer to run the applet referenced in the SignedApplet.html file with the Write.jp policy file.
Note: The Policy file can be stored on a server and specified in the appletviewer invocation as a URL.
9.     Run the Applet in Browser
Download JRE 1.3 from Javasoft
save this to write.jp
keystore "/home/ray/raystore";
// A sample policy file that lets a JavaTM program
// create newfile in user's home directory
// Satya N Dodda
grant {
permission java.security.AllPermission;
save this to signedAppletDemo.java
* File: @(#)SignedAppletDemo.java     1.1
* Comment:     Signed Applet Demo
* @(#)author: Satya Dodda
* @(#)version: 1.1
* @(#)date: 98/10/01
import java.applet.Applet;
import java.awt.Graphics;
import java.io.*;
import java.awt.Color;
* A simple Signed Applet Demo
public class SignedAppletDemo extends Applet {
public String test() {
setBackground(Color.white);
     System.out.println(System.getProperty("user.home"));
     String fileName = System.getProperty("user.home") +
                    System.getProperty("file.separator") +
                    "newfile";
     String msg = "This message was written by a signed applet!!!\n";
     String s ;
     try {
     FileWriter fos = new FileWriter(fileName);
     fos.write(msg, 0, msg.length());
     fos.close();
     s = new String("Successfully created file :" + fileName);
     } catch (Exception e) {
     System.out.println("Exception e = " + e);
     e.printStackTrace();
     s = new String("Unable to create file : " + fileName);
     return s;
public void paint(Graphics g) {
g.setColor(Color.blue);
g.drawString("Signed Applet Demo", 120, 50);
g.setColor(Color.magenta);
g.drawString(test(), 50, 100);

Similar Messages

  • ITunes cannot access files from home network

    Just got new Vista PC. All my music files are on older XP PC. I have set up my home network, and Vista PC can see/access all my XP folders. I have Sonos and Yahoo Jukebox installed on Vista PC and both programs can access the XP music files and play them.
    On iTunes however, I cannot create my Music folder with the XP music. When I select 'Add Folder to Library' and get the 'Browse for Folder' popup, I see the 'Network' icon, but when I select it, nothing happens. I can right-click 'Explore' from there to re-launch/see the full network, but iTunes cannot seem to see/access this.
    Same problem if I go through iTunes' Preferences/Advanced/General to set the iTunes folder location. I can hit browse and see 'Network' in list, but selecting it produces nothing.
    Very surprised that I have no problem through Sonos or Yahoo Jukebox but Apple brakes down.
    Any thoughts?

    After the update I cannot connect to my router anymore
    (see other threat)

  • Just upgraded to Mavericks. Now I cannot access scans from my hp scanner. After it complete the scans and I try to save as tiff, jpeg or pdf I get a either a grey blur or a message that says cannot save because the file cannot be written to.

    Just upgraded to Mavericks. Now I cannot access scans from my hp scanner. After it complete the scans and I try to save as tiff, jpeg or pdf I get a either a grey blur or a message that says cannot save because the file cannot be written to. I did not have any problems before the upgrade. I would greatly appreciate any light shed on this.

    Go to the HP site and look for drivers for your scanner. It apparently needs an updated driver to work with Mavericks.

  • HT1918 I cannot access files I uploaded from an old computer.  The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address?

    I cannot access files I uploaded from an old computer. The email account to which some tracks are connected is deleted. For some reason my birth date doesn't work either. Is there some way to transfer the files to my current address and username?

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • Cannot delete files from my ipod shuffle!!!

    I am new to using an ipod and i cannot delete files from my ipod, on itunes, it only shows the license agreement where the ipod files are supposed to be and no matter how many times i uninstall and reinstall itunes and agree to the license agreement i can't access anything else. can anyone help me at all i feel like a complete idiot!

    Pressing return will get past this screen as there is a button at the bottom right of iTunes which you likely cannot see.
    Set your screen resolution to at least 1024x768 to see this button.

  • ACS 4.2.(1) build15 - replication failed with Cannot access file

    Just upgraded from 4.0 - to 4.2 then to 4.2.1 15. As you may have seen with periovous posts of mine its not been an esay ride.
    I have now managed to get it all working - backups AAA etc but for some reason i cannot get the replication to work! Its states the following...
    Within the Database Replication active log - Error OutBound database replication failed - refer to CSAuth log file.
    Other lines in the log state  its ok eg - Component logging reports was updated - being replicated to slave...
    Looking at the CSAuth log file...
    .....DBReplication thread kicked..starting sync.
    ODBC Operation failed with the folowing information: Message = [Sybase] [ODBC Driver] [Adaptive Server Anywhere] Cannot access file "D:$etworks\CiscoSecure 4.2\CSAuth\DbSyncSratch\users\users.dat~ -- Invailed argument, sqlStates=S1000, Native error = -602$
    SL:saveUserTable - execution Failed.
    Please note that the $ is a symbol that i have used because the symbol in the log is strange and i  cannot seem to be able replicate here with this text, for example $etworks - should be networks...
    Everything else seems to be working except this - any help would be great..
    Oh Merry Xmas and Happy new year to you all!
    John

    Did you find a solution?
    I have the same problem with the exact same symptoms - I can't get replication to work. The path name in the error message is missing the first letter, too.
    PS: It has nothing to do with the firewall, the replication fails even before it tries to connect to the network.
    Greetings
    Mathias Rufer

  • Adobe Bridge CC cannot obtain files from this device.

    I am getting this error message when I attempt to upload videos to my Mac from my Canon 7D:
    Adobe Bridge CC cannot obtain files from this device. Please be sure the device is properly plugged in and the battery is full charged.
    Battery is full charged and camera is connected properly. I have restarted the camera, Bridge, and the computer as well. I tried reinstalling Bridge and it allowed me to upload 3 of the video files. Then the error message came back. There were a few RAW images on the camera that I was able to upload, but when I tried the video again I got the error message. I read a post about renaming the folder that you are saving to as a fix. I tried that as well, but it did not work.
    Any help would be greatly appreciated! Thanks!
    -J

    This excerpt is from a long-gone post by author Bruce Fraser:
    Bruce Fraser - 4:17pm Jun 14, 04 PST (#5 of 21) Opening files directly from the camera is a bad idea for a variety of reasons*, and it most certainly isn't faster than using a FireWire or USB2 card reader. 
            • Drains the camera battery
            • Runs the risk of the software you're using to open the images writing to the card and destroying the format
            • Runs a small but significant risk of USB power frying the camera
    • runs the risk of wearing out the camera's connector,      
    • Slowest method known to mankind of getting images off a CF or SD card

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • CPU Jul-09 Installation - Error Cannot copy file from 'libjox10.so' to

    Hi All, I received this error while I was installing the last CPU on a 10.2.0.4 Oracle Instance running on a HP-UX Itanium System:
    Patch 8568398:
    Copy Action: Desctination File "/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so" is not writeable.
    'oracle.rdbms, 10.2.0.4.0': Cannot copy file from 'libjox10.so' to '/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so'
    I checked metalink' site with no similar results found.
    Could anybody help me?
    Should I run /usr/sbin/slibclean and remove the last patch (Patch 8568398) and then try again?
    This is the complete log...
    $ opatch version
    Invoking OPatch 10.2.0.4.7
    OPatch Version: 10.2.0.4.7
    OPatch succeeded.
    $ sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jul 17 16:29:29 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    SQL> conn / as sysdba
    Connected.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    $ lsnrctl stop
    LSNRCTL for HPUX: Version 10.2.0.4.0 - Production on 17-JUL-2009 16:32:29
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Hostname)(PORT=1521)))
    The command completed successfully
    $ emctl stop dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://hostname:1158/em/console/aboutApplication
    Stopping Oracle Enterprise Manager 10g Database Control ...
    ... Stopped.
    $unzip p8534387_10204_HPUX-IA64.zip
    <...>
    $ cd 8534387
    $ opatch napply -skip_subset -skip_duplicate
    Invoking OPatch 10.2.0.4.7
    Oracle Interim Patch Installer version 10.2.0.4.7
    Copyright (c) 2009, Oracle Corporation. All rights reserved.
    UTIL session
    Oracle Home : /u02/app/oracle/product/10.2/Db_1
    Central Inventory : /u02/app/oracle/oraInventory
    from : /var/opt/oracle/oraInst.loc
    OPatch version : 10.2.0.4.7
    OUI version : 10.2.0.4.0
    OUI location : /u02/app/oracle/product/10.2/Db_1/oui
    Log file location : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2 009-07-17_16-38-05PM.log
    Patch history file: /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch_ history.txt
    Invoking utility "napply"
    Checking conflict among patches...
    Checking if Oracle Home has components required by patches...
    Checking skip_duplicate
    Checking skip_subset
    Checking conflicts against Oracle Home...
    OPatch continues with these patches: 7155248 7155249 7155250 7155251 7155252 7155253 7155254 7197583 7375611 7375613 7375617 7609057 7609058 8309587 8309592 8309623 8309632 8309637 8309642 8534387 8568395 8568397 8568398 8568402 8568404 8568405
    Do you want to proceed? y
    y
    User Responded with: Y
    Running prerequisite checks...
    Prerequisite check "CheckApplicable" failed.
    The details are:
    Patch 8568398:
    Copy Action: Desctination File "/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so" is not writeable.
    'oracle.rdbms, 10.2.0.4.0': Cannot copy file from 'libjox10.so' to '/u02/app/oracle/product/10.2/Db_1/lib/libjox10.so'
    UtilSession failed: Prerequisite check "CheckApplicable" failed.
    $ opatch lsinventory -detail
    Invoking OPatch 10.2.0.4.7
    Oracle Interim Patch Installer version 10.2.0.4.7
    Copyright (c) 2009, Oracle Corporation. All rights reserved.
    Oracle Home : /u02/app/oracle/product/10.2/Db_1
    Central Inventory : /u02/app/oracle/oraInventory
    from : /var/opt/oracle/oraInst.loc
    OPatch version : 10.2.0.4.7
    OUI version : 10.2.0.4.0
    OUI location : /u02/app/oracle/product/10.2/Db_1/oui
    Log file location : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2009-07-17_17-53-30PM.log
    Patch history file: /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch_history.txt
    Lsinventory Output file location : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/lsinv/lsinventory2009-07-17_17-53-30PM.txt
    Installed Top-level Products (2):
    Oracle Database 10g 10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0
    There are 2 products installed in this Oracle Home.
    Installed Products (190):
    Agent Required Support Files 10.2.0.1.0
    Agent Required Support Files Patch 10.2.0.4.0
    Assistant Common Files 10.2.0.1.0
    Assistant Common Files Patch 10.2.0.4.0
    Bali Share 1.1.18.0.0
    Buildtools Common Files 10.2.0.1.0
    Character Set Migration Utility 10.2.0.1.0
    Character Set Migration Utility Patch 10.2.0.4.0
    Database Configuration and Upgrade Assistants 10.2.0.1.0
    Database Configuration and Upgrade Assistants Patch 10.2.0.4.0
    Database SQL Scripts 10.2.0.1.0
    Database SQL Scripts Patch 10.2.0.4.0
    Database Workspace Manager 10.2.0.1.0
    Database Workspace Manager 10.2.0.4.0
    DBJAVA Required Support Files 10.2.0.1.0
    DBJAVA Required Support Files Patch 10.2.0.4.0
    Enterprise Edition Options 10.2.0.1.0
    Enterprise Manager Agent Core 10.2.0.1.0
    Enterprise Manager Agent Core Patch 10.2.0.4.0a
    Enterprise Manager Agent DB 10.2.0.1.0
    Enterprise Manager Agent DB 10.2.0.4.0
    Enterprise Manager Baseline 10.2.0.1.0
    Enterprise Manager Baseline 10.2.0.4.0
    Enterprise Manager Common Core Patch 10.2.0.4.0a
    Enterprise Manager Common Files 10.2.0.1.0
    Enterprise Manager Minimal Integration 10.2.0.1.0
    Enterprise Manager plugin Common Files 10.2.0.1.0
    Enterprise Manager plugin Common Files 10.2.0.1.0
    Enterprise Manager plugin Common Files Patch 10.2.0.4.0
    Enterprise Manager Repository Core 10.2.0.1.0
    Enterprise Manager Repository Core patch 10.2.0.4.0a
    Enterprise Manager Repository DB 10.2.0.1.0
    Enterprise Manager Repository DB 10.2.0.4.0
    Generic Connectivity Common Files 10.2.0.1.0
    Generic Connectivity Common Files Patch 10.2.0.4.0
    HAS Common Files 10.2.0.1.0
    HAS Common Files Patch 10.2.0.4.0
    HAS Files for DB 10.2.0.1.0
    HAS Files for DB Patch 10.2.0.4.0
    Installation Common Files 10.2.0.1.0
    Installation Common Files Patch 10.2.0.4.0
    Installer SDK Component 10.2.0.4.0
    iSQL*Plus 10.2.0.1.0
    iSQL*Plus 10.2.0.4.0
    Java Runtime Environment 1.4.2.14.0
    JDBC Common Files 10.2.0.1.0
    JDBC Common Files 10.2.0.4.0
    LDAP Required Support Files 10.2.0.1.0
    LDAP Required Support Files Patch 10.2.0.4.0
    OLAP SQL Scripts 10.2.0.1.0
    OLAP SQL Scripts Patch 10.2.0.4.0
    Oracle Advanced Security 10.2.0.1.0
    Oracle Advanced Security Patch 10.2.0.4.0
    Oracle Call Interface (OCI) 10.2.0.1.0
    Oracle Call Interface (OCI) Patch 10.2.0.4.0
    Oracle Clusterware RDBMS Files 10.2.0.1.0
    Oracle Clusterware RDBMS Files Patch 10.2.0.4.0
    Oracle Code Editor 1.2.1.0.0I
    Oracle Configuration Manager 10.2.7.1.0
    Oracle Containers for Java 10.2.0.1.0
    Oracle Containers for Java 10.2.0.4.0
    Oracle Core Required Support Files 10.2.0.1.0
    Oracle Core Required Support Files Patch 10.2.0.4.0
    Oracle Data Mining RDBMS Files 10.2.0.1.0
    Oracle Data Mining RDBMS Files Patch 10.2.0.4.0
    Oracle Database 10g 10.2.0.1.0
    Oracle Database 10g 10.2.0.1.0
    Oracle Database 10G 32 bit 10.1.0.2.0
    Oracle Database 10g interMedia Files 10.2.0.1.0
    Oracle Database 10g interMedia Files Patch 10.2.0.4.0
    Oracle Database 10g Patch 10.2.0.4.0
    Oracle Database 10g Patch 10.2.0.4.0
    Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0
    Oracle Database User Interface 2.2.13.0.0
    Oracle Database Utilities 10.2.0.1.0
    Oracle Database Utilities Patch 10.2.0.4.0
    Oracle Display Fonts 9.0.2.0.0
    Oracle Enterprise Manager Console DB 10.2.0.1.0
    Oracle Enterprise Manager Console DB 10.2.0.4.0
    Oracle Extended Windowing Toolkit 3.4.38.0.0
    Oracle Globalization Support 10.2.0.1.0
    Oracle Globalization Support Patch 10.2.0.4.0
    Oracle Help For Java 4.2.6.1.0
    Oracle Help for the Web 1.1.10.0.0
    Oracle Ice Browser 5.2.3.6.0
    Oracle interMedia 10.2.0.1.0
    Oracle interMedia Annotator 10.2.0.1.0
    Oracle interMedia Client Option 10.2.0.1.0
    Oracle interMedia Client Option Patch 10.2.0.4.0
    Oracle interMedia Java Advanced Imaging 10.2.0.1.0
    Oracle interMedia Java Advanced Imaging Patch 10.2.0.4.0
    Oracle interMedia Locator 10.2.0.1.0
    Oracle interMedia Locator Patch 10.2.0.4.0
    Oracle interMedia Locator RDBMS Files 10.2.0.1.0
    Oracle interMedia Locator RDBMS Files Patch 10.2.0.4.0
    Oracle interMedia Patch 10.2.0.4.0
    Oracle Internet Directory Client 10.2.0.1.0
    Oracle Internet Directory Client Patch 10.2.0.4.0
    Oracle Java Client 10.2.0.1.0
    Oracle Java Client Patch 10.2.0.4.0
    Oracle JDBC Thin Driver for JDK 1.2 10.2.0.1.0
    Oracle JDBC Thin Driver for JDK 1.2 Patch 10.2.0.4.0
    Oracle JDBC Thin Driver for JDK 1.4 10.2.0.1.0
    Oracle JDBC Thin Driver for JDK 1.4 Patch 10.2.0.4.0
    Oracle JDBC/OCI Instant Client 10.2.0.1.0
    Oracle JDBC/OCI Instant Client Patch 10.2.0.4.0
    Oracle JFC Extended Windowing Toolkit 4.2.33.0.0
    Oracle JVM 10.2.0.1.0
    Oracle JVM Patch 10.2.0.4.0
    Oracle LDAP administration 10.2.0.1.0
    Oracle LDAP administration patch 10.2.0.4.0
    Oracle Locale Builder 10.2.0.1.0
    Oracle Message Gateway Common Files 10.2.0.1.0
    Oracle Message Gateway Common Files Patch 10.2.0.4.0
    Oracle Net 10.2.0.1.0
    Oracle Net Listener 10.2.0.1.0
    Oracle Net Listener Patch 10.2.0.4.0
    Oracle Net Patch 10.2.0.4.0
    Oracle Net Required Support Files 10.2.0.1.0
    Oracle Net Required Support Files Patch 10.2.0.4.0
    Oracle Net Services 10.2.0.1.0
    Oracle Notification Service 9.0.4.0.0
    Oracle Notification Service Patch 10.2.0.4.0
    Oracle OLAP 10.2.0.1.0
    Oracle OLAP API 10.2.0.1.0
    Oracle OLAP API Patch 10.2.0.4.0
    Oracle OLAP Patch 10.2.0.4.0
    Oracle OLAP RDBMS Files 10.2.0.1.0
    Oracle OLAP RDBMS Files Patch 10.2.0.4.0
    Oracle One-Off Patch Installer 10.2.0.4.0
    Oracle Partitioning 10.2.0.1.0
    Oracle Partitioning Patch 10.2.0.4.0
    Oracle Programmer 10.2.0.1.0
    Oracle RAC Required Support Files-HAS 10.2.0.1.0
    Oracle RAC Required Support Files-HAS Patch 10.2.0.4.0
    Oracle Real Application Testing 10.2.0.4.0
    Oracle Recovery Manager 10.2.0.1.0
    Oracle Recovery Manager Patch 10.2.0.4.0
    Oracle Required Support Files 32 bit 10.2.0.0.0
    Oracle Required Support Files 32 bit Patch 10.2.0.4.0
    Oracle Spatial 10.2.0.1.0
    Oracle Starter Database 10.2.0.1.0
    Oracle Starter Database Patch 10.2.0.4.0
    Oracle Text 10.2.0.1.0
    Oracle Text Patch 10.2.0.4.0
    Oracle UIX 2.1.22.0.0
    Oracle Universal Installer 10.2.0.4.0
    Oracle Wallet Manager 10.2.0.1.0
    Oracle Wallet Manager Patch 10.2.0.4.0
    Oracle XML Development Kit 10.2.0.1.0
    Oracle XML Development Kit Patch 10.2.0.4.0
    Parser Generator Required Support Files 10.2.0.1.0
    Perl Interpreter 5.8.3.0.1
    Perl Interpreter Patch 5.8.3.0.1a
    PL/SQL 10.2.0.1.0
    PL/SQL 10.2.0.4.0
    PL/SQL Embedded Gateway 10.2.0.1.0
    PL/SQL Embedded Gateway Patch 10.2.0.4.0
    Platform Required Support Files 10.2.0.1.0
    Platform Required Support Files 10.2.0.4.0
    Precompiler Common Files 10.2.0.1.0
    Precompiler Common Files Patch 10.2.0.4.0
    Precompiler Required Support Files 10.2.0.1.0
    Precompiler Required Support Files Patch 10.2.0.4.0
    RDBMS Required Support Files 10.2.0.1.0
    RDBMS Required Support Files for Instant Client 10.2.0.1.0
    RDBMS Required Support Files for Instant Client Patch 10.2.0.4.0
    RDBMS Required Support Files Patch 10.2.0.4.0
    regexp 2.1.9.0.0
    Required Support Files 10.2.0.1.0
    Sample Schema Data 10.2.0.1.0
    Sample Schema Data Patch 10.2.0.4.0
    Secure Socket Layer 10.2.0.1.0
    Secure Socket Layer Patch 10.2.0.4.0
    SQL*Plus 10.2.0.1.0
    SQL*Plus 10.2.0.4.0
    SQL*Plus Required Support Files 10.2.0.1.0
    SQL*Plus Required Support Files Patch 10.2.0.4.0
    SQLJ Runtime 10.2.0.1.0
    SQLJ Runtime Patch 10.2.0.4.0
    SSL Required Support Files for InstantClient 10.2.0.1.0
    SSL Required Support Files for InstantClient Patch 10.2.0.4.0
    Sun JDK 1.4.2.17.0
    Sun JDK extensions 9.2.0.1.0
    XDK Required Support Files 10.2.0.1.0
    XDK Required Support Files Patch 10.2.0.4.0
    XML Parser for Java 10.2.0.1.0
    XML Parser for Java Patch 10.2.0.4.0
    XML Parser for Oracle JVM 10.2.0.1.0
    XML Parser for Oracle JVM Patch 10.2.0.4.0
    There are 190 products installed in this Oracle Home.
    There are no Interim patches installed in this Oracle Home.
    OPatch succeeded.
    $
    $ more /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch_history.txt
    Date & Time : Fri Jul 17 16:02:17 GMT-03:00 2009
    Oracle Home : /u02/app/oracle/product/10.2/Db_1
    OPatch Ver. : 10.2.0.4.7
    Current Dir : /u02/app/oracle/product/10.2/Db_1
    Command : -v
    Log File : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2009-07-17_16-02-17PM.log
    Date & Time : Fri Jul 17 16:38:05 GMT-03:00 2009
    Oracle Home : /u02/app/oracle/product/10.2/Db_1
    OPatch Ver. : 10.2.0.4.7
    Current Dir : /home/ora10g/8534387
    Command : napply -skip_subset -skip_duplicate
    Log File : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2009-07-17_16-38-05PM.log
    Date & Time : Fri Jul 17 17:53:30 GMT-03:00 2009
    Oracle Home : /u02/app/oracle/product/10.2/Db_1
    OPatch Ver. : 10.2.0.4.7
    Current Dir : /home/ora10g/8534387
    Command : lsinventory -detail
    Log File : /u02/app/oracle/product/10.2/Db_1/cfgtoollogs/opatch/opatch2009-07-17_17-53-30PM.log
    $
    Please let me know if you need more info.
    Regards, and thanks in advance!
    Martin

    You were right. It was a permissions issue:
    hostname:/root# ls -ltr /u02/app/oracle/product/10.2/Db_1/lib/libjox10.so
    -r-xr-xr-x 1 ora10g oinstall 20041728 Apr 23 2008 /u02/app/oracle/product/10.2/Db_1/lib/libjox10.so
    Thanks.
    damorgan wrote:
    "is not writeable." means one of two things.
    1. It does not exist.
    2. Permissions are not set correctly.
    Determining which it is ... that is the first step.

  • Is there any way to access files from the Classic environment to my iMac running on Leopard (10.5.8)?

    Is there any way to access files from the Classic environment to my iMac running on Leopard (10.5.8)?

    Sorry, no.

  • I cannot transfer files from my MacBook to my external hard drive anymore.

    I cannot transfer files from my MacBook to my external hard drive anymore. The device responds with error-36 about documents being unreadable and unwritable. Previously the device worked fine.
    External Hard Drive
    I have an imation Apollo II 2.5" Portable HDD 320GB.
    163 GB available.
    Macbook
    Model Name: MacBook Finder Version 10.6.8
      Model Identifier: MacBook6,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.26 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 2 GB
      Bus Speed: 1.07 GHz

    It still doesn't seem to work.
    The Finder can’t complete the operation because some data in “POLITICS COMPARATIVE POLITICS IN GLOBAL WORLD” can’t be read or written.
    (Error code -36)
    The device is also formatted in Mac OS extended

  • Adobe Bridge cs5 cannot obtain files from this device.

    I download photos to my computer using a Kingston downloading device.
    Since installing Mavericks the above message comes up and will not carry out the download.
    Is this a known problem with Mavericks and is there a remedy?
    I would say that using the same device my photos download perfectly on my MacBook Pro.
    Messages
    1. Adobe Bridge CS5.1 cannot obtain files from this device.
    Please ensure that the device is connected properly and that the battery is charged and try again.
    2.I also get a message telling me that the "disk was not ejected propery" which is not the case.

    Thanks Eric
    The MacBook Pro is not running Mavericks and sorry about the double post.
    I have actually solved the problem and the answer might be of use to others with the same problem.
    There is a firmware update that will correct the problem.
    It's at
    http://www.kingston.com/en/support/technical/products?model=fcr-hs3
    There is a small catch in  that the firmware update can only be done on a Windows machine but I have been told that once this is done it can be used with OSX9 .I have just done the download but  I haven't checked this out yet.

  • ORA-22905: cannot access rows from a non-nested table item in Table func

    I am using a table function in Oracle 8.1.7.4.0. I did declare an object type and a collection type like this:
    CREATE TYPE t_obj AS OBJECT ...
    CREATE TYPE t_tab AS TABLE OF t_obj;
    My table function returns t_tab and is called like this:
    SELECT ... FROM TABLE (CAST (my_pkg.table_fnc AS t_tab)) ...
    This works pretty well as long as I run it in the same schema that owns the function and the 2 types. As soon as I run this query from another schema, I get an ORA-22905: cannot access rows from a non-nested table item error, even though I granted execute on both the types and the function to the other user and I created public synonyms for all 3 objects.
    As soon as I specify the schema name of t_tab in the cast, the query runs fine:
    SELECT ... FROM TABLE (CAST (my_pkg.table_fnc AS owner.t_tab)) ...
    I don't like to have a schema hard coded in a query, therefore I'd like to do this without the schema. Any ideas of how to get around this error?

    Richard,
    your 3 statements are correct. I'll go ahead and log a TAR.
    Both DESCs return the same output when run as the other user. And, running the table function directly in SQL*Plus (SELECT my_pkg.table_fnc FROM dual;) also returns a result and no errors. The problem has to be in the CAST function.
    Thanks for your help.

  • Apple Remote Desktop ARD 3.7 cannot drag files from local to remote.

    Apple Remote Desktop ARD 3.7 cannot drag files from local to remote. I've been able to drag n drop folders and files from my local to the remotes for years until the update to 3.7. Anyone else experiencing this issue? I've tried changing preferences. No luck. Maybe I'm missing a setting somewhere.
    I'm on 10.8.5. Remote is same with 3.7 client. This happens with multiple remotes.

    Let me guess.  The Get and Send clibboard contents buttons are greyed out too?
    It is only affecting me on clients already upgraded to 3.7.    None of the clients on older versions are affected.
    ARD is also crashing a lot.
    Most of the time I go to a screen share to a client it takes way too long, so I clock Stop,  then try to connect again and works straight away.
    Hopefully a patch will be released soon.

  • ORA-22905: cannot access rows from a non-nested table item

    Hi All,
    This is the overview of the query used in the package.
    select ename,empno,sal,deptno from
    (select deptno from dept) a,
    (select ename,empno,sal from emp1) b
    where empno in (select * from table (pkg1.fun1('empno')))
    and a.deptno=b.deptno
    union
    select ename,empno,sal,deptno from
    (select deptno from dept) c,
    (select ename,empno,sal from emp2) d
    where empno in (select * from table (pkg1.fun1('empno')))
    and c.deptno=d.deptno
    Here the pkg1.fun1 will convert the string ('empno') into table form. ('empno') is the input parameter to the package and is a string of emp numbers.
    compilation is successful. when this is executed the below error pops up
    "ORA-22905: cannot access rows from a non-nested table item"
    Is there any problem with the table function which i am using in this query
    could anyone guide me to the solution.
    Thanks All

    I have used
    CREATE OR REPLACE
    type tab_num as table of number;
    select * from table (cast(pkg1.fun1('empno')) as tab_num))
    This throws an error during compilation itself
    "PL/SQL: ORA-00932: inconsistent datatypes:expected number got varchar2

Maybe you are looking for

  • Converting a simple Oracle Report to XML Publisher report template

    Hello, I have a simple Oracle Report 9i which displays data from four tables. It uses three different queries to get the data. How can I simply generate a template file(say RTF) or atleast an XML source from that report? I tried joining the queries (

  • High pitch ringing sound when i plug my headphones in.

    Hi I am currently using a Macbook Pro 15" retina display There has been no problems previously. Out of no where, today my headphones has this high pitched ringing sound whenever i plug it in. The audio is fine when I do not use any headphones. but wh

  • My iPad2 crashed while in itunes

    My ipad2 crashed while in itunes. It will not do a thing now. When I turn it on, all that comes on the screen is an image of a USB cord, with an arrow at the tip of it pointing to an itunes icon. I've tried resetting by holding the home and sleep but

  • Is there a way to format the way dates are displayed?

    ive got a query that returns dates. Currently, the code is: SELECT uptd.delivery_month delivery_time FROM USER_pwr_term_data uptd WHERE uptd.eff_date='07/JUN/02' the data in the database is listed in the format of 07/01/2002 and cannot be changed. th

  • Flash CS6 files do not display in folders insode Flash

    I noticed this glitch in FLCS6 and also DW CS6, for instance, if i crop an image in Photshop and save to a folder, I open the folder and see the file inside. Now I open Flash CS6  and go to add the file ( which is a jpg ) to a Flash ,fla page. But wh