PLEASE HELP FOR POLICY FILE !

Hello All,
i write that code
try {
System.setSecurityManager(new RMISecurityManager());
     java.util.Properties prop = System.getProperties();
     prop.setProperty("java.security.policy","D:\\Borland\\AppServer\\var\\servers\\sas2\\wars\\tomcat3\\webcontainer_examples\\WEB-INF\\classes\\pol.policy");
AddServerImpl addServerImpl = new AddServerImpl();
     Registry registry = LocateRegistry.createRegistry(1099);
     LocateRegistry.getRegistry().rebind("AddServer",addServerImpl);
catch(Exception e) {
out.println("Exception: " + e);
After that i got that exception
Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission java.security.policy write)
please any body tell me how i solve it ?
i m thanksfull.
Arif.

I tried adding these lines to my code to set the policy inside the program:
System.setSecurityManager(new RMISecurityManager());
java.util.Properties prop = System.getProperties();
prop.setProperty
("java.security.policy","C:\\Pawel\\School\\year4\\rmi\\policy.txt");
This is the error that i get..
Exception in thread "main" java.security.AccessControlException: access
denied (
java.util.PropertyPermission * read,write)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:270)
at java.security.AccessController.checkPermission(AccessController.java:
401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:
1259)
at java.lang.System.getProperties(System.java:500)
at FileServer.main(FileServer.java:10)
My problem is that i have a GUI running thus i don't know how to start my FileSever classs with the java -Djava.security.policy=policy.txt FileServer
ive tested the gui client part .. i can start the file server using the previous command line then connect to it thru the gui but as soon as i activate the fileserver thru the gui it does not work..
should i have my gui just run a .bat file isntead of making a seporate thread for the fileserver?
is there a way of doing that..
or is there a way of setting the policy from the code?
thanks
pawel

Similar Messages

  • Please Help java.policy signedBy can't access file local

    i create keystore and signjar in web applet
    run tomcat access file in local but not acess file denied
    i goto edit file java.policy
    grant {
         permission java.security.AllPermission;
    can access file
    but put SignedBy cannot access file
    grant SignedBy fuangchai{
         permission java.security.AllPermission;
    Please help me example file keystore,applet.jar,java.policy
    to signedby access file local in webapplet
    env JDE 1.5 ,javascript yui 2.8 ,prototype js,tomcat6
    File html
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,5"
    width="1" height="1" >
    <param name=code value="com.arg.aes.test.FileDirectoryBS.class" >
    <param name=archive value="app.jar">
    <param name=codebase value="." >
    <param name="type" value="application/x-java-applet;version=1.5">
    <param name="scriptable" value="true">
    <param name="mayscript" value="true">
    <param name="debug" value="false">
    <comment>
    <embed name="myApplet" id="myApplet"
    type="application/x-java-applet;version=1.5"
    code="com.arg.aes.test.FileDirectoryBS.class"
    archive="app.jar"
    java_codebase="."
    width="1"
    height="1"
    scriptable="true"
    mayscript="true"
    pluginspage="http://java.sun.com/products/plugin/index.html#download">
    <noembed>
    </noembed>
    </embed>
    </comment>
    </object>
    <applet
    code="com.arg.aes.test.FileDirectoryBS"
    width="1"
    height="1"
    archive="app.jar"
    name="myApplet"
    codebase="."
    MAYSCRIPT="true"
    >
    </applet>
    javascript
    initlistfile : function() {
              try
                   var list = $("myApplet").initlistfileInDir();     
                   var jsondata = list.evalJSON();
                   /*alert(jsondata.dirname);
                   alert(jsondata.dirpath);
                   alert(jsondata.listfile.length);*/
                   initTableLeft(jsondata.listfile);
              catch(e)
                   alert("Exception : access denied.");
                   return;
    import java.applet.Applet;
    import java.io.File;
    import java.security.Permission;
    import java.security.PermissionCollection;
    import java.security.Policy;
    import java.security.ProtectionDomain;
    import java.text.DecimalFormat;
    import java.text.NumberFormat;
    import java.util.ArrayList;
    import java.util.Enumeration;
    import java.util.List;
    * @author fuangchai
    public class FileDirectoryBS extends Applet{
    public static File[] ROOTS = File.listRoots();
    public static String HOME = System.getProperty("user.home");
    public String listDir()
    return JsonObj.makeTopDir((ROOTS.length > 0)?ROOTS : new Object[]{HOME});
    public String initlistfileInDir()
    return listfileInDir(null);
    public String listfileInDir(String dirName)
    if(null == dirName || dirName.equals(""))
    System.out.println("root = " + ROOTS.length);
    try {
    dirName = (ROOTS.length > 0)?ROOTS[0].getPath():HOME;
    catch (Exception e) {
    e.printStackTrace();
    return "";
    System.out.println("#########################");
    DirectoryDescImp obj = makeObjDir(dirName);
    return (null == obj)?null:JsonObj.makeDir(obj);
    public String listlinkInDir(String dirName)
    if(null == dirName || dirName.equals(""))
    System.out.println("root = " + ROOTS.length);
    try {
    dirName = (ROOTS.length > 0)?ROOTS[0].getPath():HOME;
    catch (Exception e) {
    e.printStackTrace();
    return "";
    System.out.println("#listlinkInDir#");
    try {
    File obj = new File(dirName);
    return (null == obj)?null:JsonObj.makelinkDir(obj.getName(),obj.getPath());
    } catch (Exception e) {
    System.out.println("I can't access a file here! Access Denied!");
    e.printStackTrace();
    return null;
    public boolean isEnc(File f)
    //TODO
    return false;
    public DirectoryDescImp makeObjDir(String dirName)
    System.out.println("dirName = " + dirName);
    try{
    File dir = new File(dirName);
    String[] entries = dir.list();
    if(null == dir || null == entries || entries.length <= 0)
    System.out.println("Data is null or not obj." );
    return null;
    System.out.println("Dir List = " + dir.list().length);
    System.out.println("Dir Name = " + dir.getName());
    System.out.println("Dir Path = " + dir.getPath());
    DirectoryDescImp dirDesc = new DirectoryDescImp();
    dirDesc.setDirName(dir.getName());
    dirDesc.setDirPath(dir.getPath());
    List<FileDescImp> list = new ArrayList<FileDescImp>();
    for(int i=0; i < entries.length; i++) {
    File f = new File(dir, entries);
    FileDescImp fDesc = new FileDescImp();
    fDesc.setFile(f);
    fDesc.setFileEncrept(isEnc(f));
    list.add(fDesc);
    dirDesc.setListfile(list);
    return dirDesc;
    catch(Exception e){
    System.out.println("I can't access a file here! Access Denied!");
    e.printStackTrace();
    return null;
    Thank you
    Fuangchai Jum
    Mail [email protected]
    Edited by: prositron on Jan 13, 2010 7:35 AM

    OK,
    Let's say I have to intialize Environment, and call method initEnvironment() in Applet's init(). Environment class:
    class Environment
         private KeyStore keyStore;
         private Enumeration<String> aliases;
         public void initEnvironment() {
              Security.addProvider(new sun.security.mscapi.SunMSCAPI());
              keyStore = KeyStore.getInstance("Windows-MY");
              keyStore.load(null);
              aliases = keyStore.aliases();
    }Applet is signed, I trust signer.
    Since Applet is signed I'm able to overwrite existing .java.policy under user.home.
    This doesn't work if I don't have .java.policy:
    grant {
      permission java.security.SecurityPermission "insertProvider.SunMSCAPI";
      permission java.security.SecurityPermission "authProvider.SunMSCAPI";
      permission java.util.PropertyPermission "jsr105Provider", "read";
      permission java.util.PropertyPermission "com.sun.xml.internal.ws.api.pipe.Fiber.serialize", "read";
      permission java.lang.RuntimePermission "setContextClassLoader";
      permission java.util.PropertyPermission "com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.noPool", "read";
      permission java.lang.RuntimePermission "accessDeclaredMembers";
      permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
      permission java.lang.RuntimePermission "accessClassInPackage.com.sun.xml.internal.ws.fault";
      permission java.util.PropertyPermission "com.sun.xml.internal.ws.api.streaming.XMLStreamWriterFactory.woodstox", "read";
    };P.S.
    Does it make sense to be able to make changes to file system and not be able to make actions from above policy?!?!

  • Please Help for the Query

    Please Help for the Query
    Hi frds please help me for the below query.What I want to do is to pull out the data from below table :-
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/18/2008 3IINFOTECH -4
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3
    as such :-
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3
    Here I want to find the Trend i.e either asc or desc order from the lowest indicator.
    In the above sample data -8, -4, -5, -3 out of which I want the asc order data -8, -5, -3 and exclude -4 data.Because the asc order -8, -5, -3 will not follow.
    So I want the data
    date ticker indicator
    03/13/2008 3IINFOTECH -8
    03/25/2008 3IINFOTECH -5
    03/27/2008 3IINFOTECH -3

    SQL> CREATE TABLE BORRAME(FECHA DATE, INDICA VARCHAR2(100));
    Tabla creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/13/2008','MM/DD/YYYY'), '3IINFOTECH -8');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/18/2008','MM/DD/YYYY'), '3IINFOTECH -4');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/25/2008','MM/DD/YYYY'), '3IINFOTECH -5');
    1 fila creada.
    SQL> INSERT INTO BORRAME VALUES(TO_DATE('03/27/2008','MM/DD/YYYY'), '3IINFOTECH -3');
    1 fila creada.
    SQL> COMMIT;
    Validación terminada.
    SQL>
    SQL> SELECT FECHA, INDICA
      2  FROM BORRAME
      3  WHERE SUBSTR(INDICA,INSTR(INDICA,'-',1)+1,LENGTH(INDICA)) <> '4'
      4  ORDER BY SUBSTR(INDICA,INSTR(INDICA,'-',1)+1,LENGTH(INDICA)) DESC;
    FECHA                                                                
    INDICA                                                               
    13/03/08                                                             
    3IINFOTECH -8                                                        
    25/03/08                                                             
    3IINFOTECH -5                                                        
    27/03/08                                                             
    3IINFOTECH -3                                                        
                    

  • Please help for my iphone 4 unlock

    please help for my iphone 4 unlock

    Apple store said my iPhone 4 had an LCD issue and that is why slide to unlock is frozen.  My warranty ran out so it would cost approx. $150 to repair it he said.  Time for a new phone but not sure I want another iPhone now.

  • F4 Help for Logical file

    Hi All,
    i've declared a parameter where end-user can specify the logical file name. can anyone provide the code for F4 help for logical file name.
    Regards
    Faisal

    Declare this :-->
    PARAMETERS: p_apsvr  LIKE rlgrap-filename OBLIGATORY.
    AT selection Screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_apsvr.
      PERFORM get_apsvr_path.
    FORM get_apsvr_path .
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = p_apsvr
          filemask         = '*'
        IMPORTING
          serverfile       = p_apsvr
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " get_apsvr_path

  • Large file handling tips Help for illustrator file larger than 3 gb

    Can anyone provide advice for large file handling tips.  Help for illustrator file larger than 3 gb ie how often, when, and should I clear the clipboard? are here other tips?
    Thanks,
    Gavin

    My key tip is to EXPECT corruption. Keep every save separately so you can go back before damage (which might not be visible). Don't just keep a single old file or rely on daily backups.

  • Hello. Please help. for unknow reasons, I am not getting any of my mail on anything, nothing on my iphone, my outlook or even when I log into icloud online ???   any one else having troble??   please help   I need my mail

    Hello. Please help. for unknow reasons, I am not getting any of my mail on anything, nothing on my iphone, my outlook or even when I log into icloud online>???
    any one else having troble??
    please help
    I need my mail

    Hello, DragonStudios. 
    Thank you for visiting Apple Support Communities.
    Here are a couple troubleshooting resources I would recommend when experiencing issues with iCloud Mail.
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/TS4002
    iCloud: Account troubleshooting
    http://support.apple.com/kb/TS3988
    Cheers,
    Jason H.

  • Kernel panic/invalid node structure; please help retrieving my files!!

    Hi everyone, thank you for your time in advance... if anyone has ideas about how to solve it, I appreciate this very much!
    OK, here is how it began: while I was working on the airplane using PowerPoint, the gray spinning wheel appeared after which PowerPoint stopped working. I pressed the power button to exit (all applications froze). (So much for trying to get more work done...)
    Next, I powered up the computer but it would not boot up, with only gray spinning wheel showing.
    Next, tried to boot up while pressing power button and holding shift key. After some time (10 minutes), an error message appears. Researching it on discussion forums, I found that it is called “kernel panic”. Here is beginning of the message:
    panic(cpu 1 caller 0x47f5ad): "Process 1 exec of /sbin/launchd failed, errno 8\n"@SourceCache/xnu/xnu-1504.15.3/bsd/kern/kern_exec.c:3145
    Debugger called: <panic>
    [additional information here]
    Also, message “You need to restart your computer. Hold down the Power button until it turns off, then press the Power button again” is shown transparently in the middle of the screen over the “panic” message output.
    I turned on and off the Power button many times, but I get the same error message.
    I also tried Apple Hardware Test but it did not work (it did not generate any messages).
    Next, I tried to use the Disk Utility using the Installation Disk that came with the computer. After I clicked “Disk Repair”, here is the log:
    Verify and Repair volume “Macintosh HD”
    Checking Journaled HFS Plus volume.
    Checking extents overflow file.
    Checking catalog file.
    Invalid node structure
    Rebuilding catalog B-tree.
    Invalid node structure
    [many repeats of “Invalid node structure”  ~ about 400 repeats]
    Rechecking volume.
    Checking Journaled JFS Plus volume.
    Checking extents overflow file.
    Checking catalog file.
    Missing thread record (id=18)
    Missing thread record (id=110)
    [many instances of “Missing thread record” ~about 200 repeats]
    Checking multi-linked files.
    Checking catalog hierarchy.
    Checking extended attributes file.
    The volume Macintosh HD could not be verified completely.
    Error: Disk Utility can’t repair this disk…disk, and restore your back-up files.
    At the end, a window presented over the error log stated :
    “Disk Utility stopped repairing “Macintosh HD”
    Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your back-up files.
    I need to retrieve my recent files!! Please Help!! Argh!! I promise that I will promptly back up my files now! I did not use Time Machine, and only some of my files are backed up.
    From what I read on the discussion forum, I will probably need to erase the disk and then do a fresh installation, but could someone please guide me with regard to how to back up the data / retrieve the files? I may have access to another mac so I’m thinking that the FireWire Target Disk Mode may work. I also have spare external harddrive (formatted for mac) (not partitioned). Also, how do I retrieve the files from the other computer if the FireWire transfer works?
    Also, the second step is to do a new installation, but is there any reason why “Archive and Install” using Disk Utility won’t help? I have some additional programs installed (Illustrator, Photoshop) so this means if I do a new installation, I will need to re-install those as well?
    I did some investigation, and it looks like this problem is similar to this:
    https://discussions.apple.com/message/18098343#18098343
    But my main issue now is to retrieve the files!
    Also, how do I investigate whether this problem is due to a failing hard drive or a natural file system corruption ? (so should I get a new harddrive or do a new install).
    http://forums.macnn.com/t/459376/heart-attack-invalid-node-structure
    I don’t know what is the OS version;  it is Snow Leopard OS X ……. I bought it in September 2009.
    I appreciate any help, thank you so much for your time…

    Create a data recovery/undelete external boot drive
    Step by Step to fix your Mac
    Most commonly used backup methods

  • Please help for User defined extension functions

    the tutorial given for extension functions doesn't work as well as our new functions
    even though i follow all the given steps and see the functions in my user defined extension functions tab in xslt map.
    all the target nodes that use the extension function disappear in the resulted target xml.
    please help.

    have you compiled your java file and uploaded the jar file(containg the .class file and the Manifest.MF file) in the <OC4J_HOME>\j2ee\home\applib directory and then restarted the server??

  • Please help for my unexpected shutdown W510!!!

    Since I used my W510 ( 43192NU with Windows 7 32bit ) from April 2010, I did experienced with unexpected shutdown. First, I thought it was my improperly use. But now, it shutdown unexpectedly even 3 times a week. Did anyone got the same experienced? Please help me...

    I have the same exact problem!!!
    And it drives me crazy.
    It happens only when my battery is charging (that is, it's not at 100%).
    If the battery is fully charged, and I'm on AC power as well, all works o.k., but as soon as the battery is low (say 50%) and I plug it in, and put some load on the system (using VMware a lot) it runs for a while then dies instantaneously. No gradual shut-down - just shuts off.
    It just happened again a few minutes ago, and I lost an important VMware file.
    I called Lenovo support a few months ago, and they wanted me to send the laptop in for a week to make sure there is really a problem.
    Any other input/comments would be appreciated.
    BTW, I purchased the W510 in February 2010.

  • Please help, very important file corrupt

    Hi,
    I am writing my final thesis, (more than 100 pages) and indesign crashed this moring while writing. Now the file can't open anyware anymore. I am using CS6 trial version, and even on other mac and pc it will not open anymore.
    How can I get my file back? Please help me..
    Thanks a lot!

    It's usually a bad sign when the file will no longer open even on another computer. Do you get any error messages?
    Find, and empty, the InDesign Recovery folder in your user library to keep ID from crashing over and over when it tries to open the bad recovery data. (The recovery folder is in the same folder where the InDesign SavedData file is stored, and the path information for your OS can be found in Replace Your Preferences Note that this folder is gong to be a hidden folder if you run Lion, so you need to display hidden folders in your search).
    Once that is done, start InDesign and use FIle > Open... to navigate to the original location where the file is saved. Tick the radio button to "Open as a COPY" and cross your fingers. If you are REALLLLLLY lucky it will open, and if it does, IMMEDIATELY export to .idml, then save the file with a new name as a backup, too. File > Open... and open the .idml file you just made, Save As to yet another name and you should be good to go.
    If it doesn't open, do you have any backup copies someplace? If not, you best hope is probably Markzware: Bad InDesign or Quark File Recovery Submission Form
    Now some advice on preventing this from happening again (though a crash is outside your control). First, never work directly off a removeable drive, if that's your habit. Copy the file to the hard drive, edit, then copy back to the removeable drive. Do a Save As from time to time to clear out the old, useless and inaccessible change data from previous sessions and reduce the file size. Make backup copies every day. If you do the save as each time you are done working, and add a versioning sequence to the name or something similar you take care of two birds with one stone.

  • Please Help! .jar file don't work.

    Hi, I've written a swing program that works fine when run from command prompt but it doesn't work when I create a self executable jar file and run it.
    Here's the generated classes after compiling the source file:
    TheGMailClient.class (main class)
    TheGMailClient$1.class
    MailSender.class
    MyAuthenticator.class
    I also have a GIF image file.
    Here's what written in the manifest file:
    Manifest-Version: 1.0
    Created-By: 1.4.2_05 (Sun Microsystems Inc.)
    Main-Class: TheGMailClient
    I've created the jar file with the following command:
    jar cvfm TheGMailClient.jar MANIFEST.MF -C classfiles .And here's the exceptions shown after running the jar file (I've run the jar file from command prompt using the java -jar command to view the exceptions):
    java.lang.NoClassDefFoundError: javax/mail/MessagingException
            at TheGMailClient.actionPerformed(TheGMailClient.java:238)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)It seems to me that some classes are not found. How can I overcome this problem? Please help me guys! I'm really stuck in here.

    The error is occuring because the jar ignores the system classpath.
    You need to set your classpath in the manifest file to find the external jars.
    Otherwise the external jars will not be found.
    In your case class javax/mail/MessagingException
    For example:
    Manifest-Version: 1.0
    Created-By: 1.4.2_05 (Sun Microsystems Inc.)
    Main-Class: TheGMailClient
    Class-Path: . jars/mail.jar jars/activation.jar
    The path will need to be correct in the above related to your system.
    Also because you mention a gif image.
    You will need to add the image to the jar - you haven't.
    make sure you are loading the GIF image file in a manner that can be used from a jar.
    Image image = null;
    try {
      image = ImageIO.read(getCkass().getResource("logo.gif"));
    catch {
      // what ever
    }You may need a relative path to the image in the jar depending on where the gif is.
    For example image = ImageIO.read(getCkass().getResource("images/test.gif"));
    rykk

  • Please Help, Missing Project File and Discussion Advice Isn't Working.

    Here's the rundown:
    I was working in iMovie HD 5 when the power got cut out on my external hard drive. When I try to reload my project I got the 'Missing Project File' error that has been discussed by many on this board.
    There are two known fixes.
    1) Open the package and go back to the '~' version of the project.
    2) Use the MovieTimeline.mov in the Cache to import it back into a new project.
    Solution #1 simply didn't work.
    Solution #2 imports the full video as a single long clip but is significantly lower in quality than the original version.
    In addition, the movie was shot in true widescreen and plays in quicktime in 16:9 mode, but when I import that .mov file into iMovie HD for some reason bars are added on the sides and top and bottom of the frame, and the bars are thicker on the sides so it stretches the picture and makes everything look taller.
    Although I'd certainly much rather have my original project timeline back, I could still continue my work if I could figure out how to import the .mov so that it retains the quality and size that it had to begin with.
    Does anyone have any idea how to import it without losing the quality and size or how to gain back an earlier project save?
    Please help if you can, my grandfather's 83rd birthday gala celebration (2 days away!) depends on it!

    I know you're in a rush, so I'll mention a couple other possibilities.
    Solution #2 imports the full video as a single long
    clip but is significantly lower in quality than the
    original version.
    • You shouldn't see any difference. The video imported from the Timeline Movie.mov is exactly the same as the original video. My guess is you're seeing some side effect of the widescreen issue. That, or your iMovie playback settings have changed.
    In addition, the movie was shot in true widescreen
    and plays in quicktime in 16:9 mode, but when I
    import that .mov file into iMovie HD for some reason
    bars are added on the sides and top and bottom of the
    frame, and the bars are thicker on the sides so it
    stretches the picture and makes everything look
    taller.
    • Make sure you're importing to a DV Widescreen project.
    • It might work to open the Timeline Movie.mov in QT Player Pro and export to a DV stream set to 16:9, then import that to the new project.
    • It's curious solution #1 didn't work. What happened when you tried that?
    Karl

  • Urgent: please help for DB recovery

    We lost our Oracle database 10g 10.2.0 server hard drives. The OS is Windows Server 2003. I only have the following files in a backup flash_recovery_area on my external drive. Can I recover the data?
    Serval backup files like: O1_MF_NCSN1_TAG20081023T030058_4J08B510_.BKP
    All the dbf files:
    O1_MF_PJT_408NOMDR_.DBF
    O1_MF_EXAMPLE_408NP1MM_.DBF
    O1_MF_PROJECT_408NOTHP_.DBF
    O1_MF_SYSAUX_408NOD8V_.DBF
    O1_MF_SYSTEM_408NNX6F_.DBF
    O1_MF_UNDOTBS1_408NP4Q0_.DBF
    O1_MF_USERS_408NP5SG_.DBF
    Please help! Thanks a lot!

    Technical Assistance Request. Call Oracle support.

  • Please help for using perform in SAP script

    As subject.
    My sap script code as below:
    /: PERFORM GET_CHAMT_DATE IN PROGRAM ZRAP004
    /:USING    &SPELL-WORD&
    /:CHANGING &SPELL-WORD&
    /:ENDPERFORM
    My program ZRAP004 code as below:
    FORM get_chamt_date USING u_iword TYPE spell-word
                       CHANGING u_oword TYPE spell-word.
    CONCATENATE u_iword '&#20803;&#25972;'(t01) INTO u_oword.
    endform.
    This form is for check printing.
    It's by standard function 'F110' to excute check printing.
    But when i finished this transaction. System return error message as below:
    <b>This routine contains 2 formal parameters, but the current call
    contains 4 actual parameters.</b>
    Please help. Thanks a lot!!

    Hiii
    PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
           INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
           INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
          w_vbeln LIKE vbak-vbeln,
          w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
               input  = w_ebeln
          IMPORTING
               output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.

Maybe you are looking for