Command line -import and -codebase

I am trying to import a web start app directly into the cache. This works fine and without any problems providing I hardcode the codebase to the directory containing the application files.
Now as far as I understood it, when importing a web start application, if you specify the -codebase option it, and I quote,
Replaces the codebase with <url> in the jnlp file specified when importing the resources. <url> must be a valid URL.
What should the existing codebase in the jnlp file be to allow this process to work? I have tried using codebase="file:." and leaving the quotes empty, but nothing seems to work.
Thanks.
Jon

The codebase in the jnlp file needs to be the codebase on the web for where to get updates.
After the application is imported from the cdrom, each time it is run it will consult the codebase from the jnlp file to check on the timestamps of all non-versioned resouurces, and download any resources that have been updated.
/Andy

Similar Messages

  • Command line import

    I am getting an error on my command-line import from SQLPLUS.
    I entered the schema_owner angelac/password@xe @f108.sql
    and I get the following error:
    APPLICATION 108 - Lease_Facility_Inspection
    Set Credentials...
    Illegal security group id value for this schema.
    Check Compatibility...
    API Last Extended:20050501
    Your Current Version:20050501
    This import is compatible with version: 20050501
    COMPATIBLE (You should be able to run this import without issues.)
    Set Application ID...
    begin
    ERROR at line 1:
    ORA-20001: Package variable g_security_group_id must be set.
    ORA-06512: at "FLOWS_020100.WWV_FLOW_API", line 56
    ORA-06512: at "FLOWS_020100.WWV_FLOW_API", line 296
    ORA-06512: at line 4

    Angela,
    I am not understanding the DB user vs. Application Users.
    Are they the same?They are different concepts. The application user is the user that the application authenticated. The record for that user's account may be a database schema (user) or it may be a row in your own users table or it may be an entry in an LDAP directory or it may be something else. It's up to you as the developer to decide how you authenticate users as part of your application design.
    Is it because I am a developer that I get the DB login page? which is from the DB_users view ??I don't know what you're seeing exactly or what you're asking.
    When I run the application, I am taken to another login page.Another login page distinct from what other login page?
    Where are these users stored? or are they the same as the DB_Users?See above.
    Also, does all of the application users need a DB user account?No, as explained above. Your app can use database account credentials as the authentication method if you want that in which case each application user would need a database account.
    Read the "recap" section in my post here, especially after step 8 and see if that helps: Re: Priveleges to create procedures/functions in schemas
    Scott

  • Can anyone help me with the commands to import and restore  backup from  another administrative server

    Dear all.
                         Can anyone help me with the commands to import and restore  backup from  another administrative server

    I tried, even with code tags it looks the same since the 2500 character limit is exceeded.
    Please post just the relevant parts inside tags as mentioned, and choose a descriptive subject line.
    I'm locking this thread.
    Thomas

  • IGNOREUniversalID keyword (Command Line Import Utility)

    Hello,
    I'm trying to import a MDL file with the command line import utility but the
    import utility reports me an error because the keyword IGNOREUniversalID is
    not recognized.
    The next line appears in my parameters file
    IGNOREUniversalID=Y
    and Import Utility reports me
    Error: MDL1116: Se ha encontrado la opci>n IGNOREUNIVERSALID no reconocida
    Can you help me?
    Thanks
    Pedro Gallardo

    Hello Igor,
    I'm using OWB 9.0.3.35.1 Client and OWB Repository 9.0.3.0.1
    The MDL come from OWB Repository 9.0.2.0.0 but I've done an upgrade of the MDL file exported.
    The import process do not begin because the IGNOREUniversalID keyword is not recognized
    by imp.bat process.
    Thanks
    Pedro Gallardo

  • Command line parameters and resuming

    Hi,
    I am researching for a client who wishes to have several students (K-12) using Adobe Captivate course on the same computer. Another constraint is that a course is run from DVD (1+ GB in size) so it's published as standalone application (.exe for Windows, .app for Mac). Quick questions:
    Can a course have an action to parse command line parameters? I haven't found that.
    Explanation: this would be used to simply parse a name and e-mail address (if possible) and last module passed to a course player. Resuming could be disabled (there is an answer how to do that in the forum) or overridden but the learner should be transferred to a slide to resume based on the calling parameter (and not the default resuming - there will be several users so each must resume from the last passed module slide).
    Can a progress of the current learner using the course be saved to a database (no LMS, e-mail, Acrobat.com etc)?
    Explanation: this is needed for the current learner and for each one separately. I guess I already have a solution in mind (custom application, having small internal web server like Mongoose, with a script that replaces internalServerReporting.php and saves the data to a internal database, SQLite). But for this to work spawning a course with command line parameters and course itself reading these parameters would need to work.
    If there is a (better) solution for the above, please reply. The goal is have minimal changes on the course e.g. if there are command line parameters, then parse them and do something (mark modules passed, open appropriate next slide). If parameters are not given/recognized, do nothing (so the course would still work on computers used by one learner only, including resuming etc).
    My opinion is that this should also be one-way as much as possible. E.g. additional application handles user name, e-mail and current progress and spawns Captivate course. The published course itself should not depend on the application like reading progress from a text file (though an URL call could return current progress from an application for the same user name). So ideally only changes to use internal server publishing to save current progress and adding a logic to check parameters at start would be applied to a course.
    Waiting for your smart answers.
    Matt

    DVDs, when finalized, are read-only... so unless you are considering to do an Install of the course from the DVD to the machine, you're not going to be able to write to a database.  A USB stick may be more suitable in this situation.
    Command line params are not possible with EXEs unless you create your own EXE wrapper.  If you're going to go through that trouble, you'd be better off creating an Adobe Air application that can run your local web content without security restrictions and use SQLite or some other backend to store the data.
    Can the progress be saved?  It depends what you mean by progress.  If you just want to allow the student to resume from the slide where they left off... you can do that with a bit of JavaScript.  However, if you want to ensure that any previous questions answered on a quiz were also resumed and intact from the previous session... not possible without an LMS.
    Why not run a Moodle installation via a USB stick and you can have a full featured LMS with a database and ability to resume a previous session?
    http://docs.moodle.org/19/en/Installation_guide_-_Moodle_for_Windows_on_a_USB_Memory_Stick
    Just some things to consider...

  • Permission problems with command line CVS and Java CVS App

    Greetings,
    I'm part of a moderately sized website development team which recently upgraded to MacBook Pros (dual core) running OS 10.4.9. One of the primary tools we use in our day to day work is the open source concurrent versioning system (CVS). We've noticed a distressing issue running CVS on our macbook pros: there seems to be a problem with the way these new machines handle permissions on the directories/files that CVS uses to manage files.
    The error occurs when the CVS application, in this case both command line CVS and GUI CVS application named SmartCVS, tries to rename a temporary file named Entries~ to its new name Entries (no ~). It looks like this:
    java.io.IOException: Could not rename file
    /Users/[USER]/Sites/[MODULE]/lib/CVS/Entries~ to
    /Users/[USER]/Sites/[MODULE]/lib/CVS/Entries
    at smartcvs.JP.a(SourceFile:125)
    at smartcvs.JP.a(SourceFile:113)
    We've noticed that if we open up a get info window on the directory we're downloading, and choose "Apply to enclosed items" right when we start the download process, the issue will be resolved, presumably because the permissions are being set on the subdirectories as the download is taking place.
    We've checked the permissions on the overall ~/Sites/ directory numerous times, and they always seem to be set correctly as drwxr-xr-x. It's within this folder that CVS creates a directory with the CVS module name and downloads all the contained files, so we don't see why it would be having issues completing this successfully. We also checked to ensure the GUI CVS application is running under the current user on the machine: it does.
    Has anyone run into issues like this in the past? Is there more information I could provide to further clarify the problem we're having?
    Thanks for any input you have!

    Thanks for asking Jeff, yes one place we are seeing this error is Java application SmartCVS, though the results posted here are from a normal command line CVS checkout.
    ===
    Checkout command:
    cvs co [MODULE]
    ===
    Error:
    cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: No such file or directory
    ===
    ID:
    uid=502([USER]) gid=502([USER]) groups=502([USER]), 81(appserveradm), 79(appserverusr), 80(admin)
    ===
    LS -ALN
    Computer:~/Sites [USER]$ ls -aln
    drwxr-xr-x 28 502 502 952 Jun 4 13:11 Sites
    Computer:~/Sites/[MODULE] [USER]$ ls -aln
    drwxr-xr-x 38 502 502 1292 Jun 4 13:33 www_root
    Computer:~/Sites/[MODULE]/www_root [USER]$ ls -aln
    drwxr-xr-x 32 502 502 1088 Jun 4 13:33 [SUBDIR1]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1] [USER]$ ls -aln
    drwxr-xr-x 5 502 502 170 Jun 4 13:33 [SUBDIR2]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2] [USER]$ ls -aln
    drwxr-xr-x 4 502 502 136 Jun 4 13:33 [SUBDIR3]
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2]/[SUBDIR3] [USER]$ ls -aln
    drwxr-xr-x 6 502 502 204 Jun 4 13:33 CVS
    Computer:~/Sites/[MODULE]/www_root/[SUBDIR1]/[SUBDIR2]/[SUBDIR3]/CVS [USER]$ ls -aln
    total 32
    drwxr-xr-x 6 502 502 204 Jun 4 13:33 .
    drwxr-xr-x 4 502 502 136 Jun 4 13:33 ..
    -rw-r--r-- 1 502 502 45 Jun 4 13:33 Entries
    -rw-r--r-- 1 502 502 45 Jun 4 13:33 Entries.Log
    -rw-r--r-- 1 502 502 48 Jun 4 13:33 Repository
    -rw-r--r-- 1 502 502 63 Jun 4 13:33 Root
    MacBook Pro / MacPro Mac OS X (10.4.9)

  • Unix command Line input and output

    Has anybody used Forte for now window application. Passing values through
    command line and get put as a return value. I am able to call Forte and
    pass input values but I do not know who to get the return value. Here is
    the shell script that I am running:
    #!/bin/csh
    # Ensure that the correct number of parameters were supplied #
    if (${#argv} < 2) then
    then
    echo "USAGE: ecapp Method Number Parm1 Parm2"
    exit 1
    endif
    ftexec -fi bt:$FORTE_ROOT/userapp/mwapp/cl0/mwapp_0 -fnw -fterm $1 $2
    The start class will return a string value after processing the request. I
    can use task.lgr.putline to output to the screen but that is not what I
    would like to do. I want to get the return value assigned to a variable in
    the shell script. One thing I do not know is that if Forte return a string
    that the script can use. Any help would be appreciated.
    thanks in advance
    ka
    Kamran Amin
    Forte Technical Leader, Core Systems
    (203)-459-7362 or 8-204-7362 - Trumbull
    [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi,
    Did you try to set Task.Part.OperatingSystem.ExitStatus ? But, the ExitStatus is an integer.
    If you really need a string, I would use ExitStatus to know how it finished and an environment variable (Task.Part.OperatingSystem.SetEnv() to position it in your Tool code) to read the string back in the script.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Url : http://perso.club-internet.fr/dnguyen/

  • Command-line parameters and dbxtool

    Hello, I'm trying to call dbxtool from a script in order to start a debug session. My command line is something like this:
    dbxtool -E prog -arg1 -arg2
    Where "-arg1 -arg2" are arguments accepted by prog. However dbxtool seems to be trying to process those args itself, so upon launch of dbxtool I get a dialog saying "dbxtool: unrecognized option '-arg1'".
    I don't think this is a quoting issue with my debugging script, since I get this error when simply running dbxtool as above from the command line.
    Any tips on how to pass these args in correctly?
    Thanks,
    -Jason

    I will submit a bug report, thanks for the link.
    Yes, we're using -E for legacy reasons. We have a script that sets up the environment we need, and then launches the debugger. For Studio 11 and previously we used sunstudio -E, so now with Studio 12 it seems that dbxtool is more appropriate.
    I realize that the parameters could be entered in dbxtool, but our users are accumstomed to providing them on the command-line call to our script. Having to enter them in dbxtool is seen as an extra step, retrograde, etc. It's difficult enough getting them to use Solaris over Windows as it is. ;-)
    I did notice that the dbxtool manpage mentions "If you intend to embed dbxtool in a shell script or driver program, consider using ss_attach", which sounded good, but ss_attach doesn't seem to accept parameters.

  • Command line parameters and Shell Script -- URGENT

    Hi folks,
    I am facing some problem in the Shell script and the command line parameter.
    The scenario is -- I am picking a file from a directory, whose path is <b>/interfaces/xid/receive/filename.dat</b>
    I have to encrypt filename.dat and move it to another folder, whose path is <b>/interfaces/xid/send</b>. So, the encrypted file will reside in the <b>send</b> directory.
    Now, I don't want to hardcode the new path, where the encrypted file has to be moved. Please let me know how to achieve this. Please consider this as urgent.
    Have a look at the command line in the "before message processing"  -- <b>/interfaces/xid/receive/xi_decompress.sh  /interfaces%F</b>
    Have a look at the shell script for the same --
    #!/bin/sh
    Setup environment variables
    COMMPRESS_DIR=/interfaces/software/commpress
    export COMMPRESS_DIR
    LOG_DIR=/interfaces/software/commpress/log/
    export LOG_DIR
    IN_FILE=$1
    export IN_FILE
    Find the directory where the unencrypted file is deposited
    IN_FILE_DIR=`dirname $1`
    export IN_FILE_DIR
    Make sure the working directory is where the unencrypt.key is...
    cd $COMMPRESS_DIR
    encrypt the file
    if [ `uname` = "HP-UX" ]
    then
       find $IN_FILE | $COMMPRESS_DIR/compx $IN_FILE_DIR logpath=$LOG_DIR
    else
       find $IN_FILE | $COMMPRESS_DIR/compx-sun $IN_FILE_DIR logpath=$LOG_DIR
    fi
    Get the result of the encryption
    RET_CODE=$?
    Check decryption result
    If error (retuen code <> 0), create an error log file in the
    same directory as the input file.
    if [ $RET_CODE -ne 0 ]
    then
        PREFIX="Decryption"
        DATE_TIME=$(date +%Y%m%d_%H%M%S%N)
        SUFFIX="err"
        FILENAME=$/$_$.$
        echo "Decryption Error log"        >$FILENAME
        echo "DATE_TIME:  $"   >>$FILENAME
        echo "DIRECTORY:  $" >>$FILENAME
        echo "FILE:       $"     >>$FILENAME
        echo "ERROR CODE: $"    >>$FILENAME
    fi
    exit $RET_CODE
    What else I need to add in this piece of code? Urgent help !!
    Thanks a lot in advance.
    Neetesh

    Hi Satish,
    I was able to figure that out, that we need to hard code the path as the 2nd parameter.
    But I guess there is a way out in Unix where we can handle this situation, where we are not willing to hard code.
    Anyways, thanks a lot for your input .. -:)
    Cheers,
    Neetesh

  • Oracle Express 10g - SQL Command Line - copy and paste?

    Is there a special key to copy and paste SQL statement in the SQL command line?
    I'm doing a spool and this can only be achieved through the SQL command line. Thanks for the help if any.

    It uses the functionality of the shell it is running in.
    If you're using Windows, right-click on the title bar, select Edit then Paste from the menu that pops up.
    If you select Properties from the menu, you can enable Quick Edit mode, which lets you paste using the right mouse button.
    You can use the up arrow key to recall previous commands.
    If you're using Linux, I think you can paste with the right mouse button. (Or is it the middle mouse button?)

  • Command Line Mail and Contacts

    I love alpine, but as it can't load my contacts like gmail's web interface I feel like it can never be a daily driver.  Is there a way to get contacts from alpine or another command line mail service?  Does anyone use command line mail services?

    Trilby wrote:Did you follow the Mutt wiki to set up your ~/.muttrc?
    Well, that would explain a lot (gah).  I used an article I found on lifehacker and it didn't work.  This did though!  Is there a way to set it so it only retrieves x amount of messages from my INBOX?  Because I have tons of messages and cosequently it takes forever to start up.

  • Command line parameters and path problem

    hello ....
    I have to execute an application from my java program. My application called "AIMSS" takes 2 command line parameters. Now, when i mention those parameters with complete path to my executeable, windows reports that "unable to open the shortcut". Below is what i am trying:
    private static final String WIN_PATH = "rundll32";
    private static final String WIN_FLAG  "url.dll,FileProtocolHandler";
    private String cmd = null;
    private String url = null;
    public void runMyFileWithMessage(String msg)
        try
    url = "C:\\Program Files\\Raytheon\\AIMSS 4.0\\Runtime\\Standard\\aimss40.exe" + " AAAVIETM 3457";
                 cmd = WIN_PATH + " " + WIN_FLAG + " " + url;
                 System.out.println(url);
                 Runtime.getRuntime().exec(cmd);
            catch(IOException io)
                System.out.println("AIMSS problem. Below is the Stack Trace.");
                io.printStackTrace();
        }Although, when i tried to run the executeable from Start->Run, by giving it same complete path and 2 arguments, it runs fine. Any help would be greatly appreciated.
    Raheel.

    Passing multiple paramters in a String to exec() doesn't work. Use the exec method that takes a String array instead and pass the call and each parameter in as a separate String.
    Off the top of my head (check the api) it will be something like
    String[] cmd = {"C:\\Program Files\\Raytheon\\AIMSS 4.0\\Runtime\\Standard\\aimss40.exe","AAAVIETM", "3457"};
    Runtime.getRuntime().exec(cmd);

  • Command line build and source control (svn)

    Using Flash Builder, what should be checked into source control to enable a command line build without any user interaction? Just checking in all the source directories is apparently not enough - as far as I can tell the individual projects have to be added to the workspace for the build to work.
    I've experimentally determined that .metadata/.plugins/com.abobe.flexbuiler.project and .metadata/.plugins/org.eclipse.core.resources are the 2 directories required for my build to work. the com.adobe.flexbuilder.project directory is pretty straight forward and it's obvious what needs to get checked in. the org.eclipse.core.resources directory has quite a bit more files contained in it - do all of these need to be checked into source control for the build to work? Deleting the .history folder appears to be ok.

    Hi GB_Austin,
    What you need to do is set up a Single Source Layout (SSL) to
    build with the conditional tags. If you are not sure how to do
    this, let me know. Let's assume you have a SSL that can do this and
    it is called "General". To build it using Command Line Compilation,
    use the following command:
    rhcl [address of your project's xpj file] -l "General" -o
    [address of the output directory]
    The -l (lower case L) tells the caommand line to use this
    SSL. If you leave -l "General" out it will compile your Primary
    Layout instead. If you leave out the -o and the address, the output
    chm file will be placed in the current folder. So the basic command
    is just:
    rhcl [address of your project's xpj file]
    I hope this has helped,
    darkagn

  • Compressor 4 command line -in and -out points

    I'm trying to use Compressor 4.1 command line interface to compress various video clips. While I can compress an entire file, start to end, without issue, I can't figure out how to compress a subset of the source file by setting in and out points. The -help information states I can set -in <hh:mm:ss;ff> and -out <hh:mm:ss;ff> parameters except they seem to have no effect as Compressor compresses the full file. Has anyone been able to specify -in and -out parameters successfully? If so, can you please share the appropriate syntax?
    FWIW: here is the sytax for command that I've been using to compress 2 seconds of source video:
    /applications/Compressor.app/Contents/MacOS/compressor -batchname sampleBatch  -jobpath /Shows/filename_HD.mov -settingpath /Settings/480pProxy.cmprstng  -locationpath /Clips/clipName_HD.mov -in 00:00:04;00  -out 00:00:06;00
    OSX 10.9.2, Compressor 4.1 and Compressor 4.1.1

    You have to use quotation marks around the in an out points because of the semi colon.
    /Applications/Compressor.app/Contents/MacOS/Compressor -batchname "In and Out Example"  -jobpath /Shows/filename_HD.mov -settingpath /Settings/480pProxy.cmprstng  -locationpath /Clips/clipName_HD.mov -in "00:00:04;00"  -out "00:00:06;00"

  • Disco command line import fails with parser error 7

    Hi, we have discoverer version 10.1.2.48.18 installed to multiple environments.
    Developers have created eex-file and we try to import it to all the test environments, it goes through fine with some but with some it fails with parser error 7 :
    Here is the full error log:
    11/13/2008 7:30:22 AM
    D:\disco1012\BIToolsHome_1\bin\DIS51ADM.EXE /connect /import oudata_disco.eex /identifier /refresh /preserve_workbook_owner /show_progress /log import.log
    oudata_disco.eex:Could not locate the Folder with identifier 'INSTRUCTOR_ASSIGNMENTS1' in the target End User Layer
    oudata_disco.eex:An imported Folder had display name 'Dc transactional sales q2' renamed to 'Dc transactional sales q2 1'
    oudata_disco.eex:An imported Item Class had display name 'Eval_Delivery_Region' renamed to 'Eval_Delivery_Region 1'
    oudata_disco.eex:An imported Item Class had display name 'Quarter' renamed to 'Quarter 1'
    oudata_disco.eex:An imported Item Class had display name 'Track List with ALL' renamed to 'Track List with ALL 1'
    The Item Hierarchy with identifier 'INSTRUCTOR_ASSIGNMENTS_LAST_REFRESH_DATE_DEFAULT_DATE_HIERARCHY' has not been imported because: There are no items in this hierarchy node
    Import completed, but with warnings. Please check the result.
    File(s) imported partially :
    oudata_disco.eex
    11/13/2008 7:36:38 AM
    11/13/2008 7:37:29 AM
    D:\disco1012\BIToolsHome_1\bin\DIS51ADM.EXE /connect /import oudata_disco_workbooks_84.eex /identifier /refresh /preserve_workbook_owner /show_progress /log import.log
    oudata_disco_workbooks_84.eex:A parsing failure has occurred in file 'oudata_disco_workbooks_84.eex'.
    Parser error: '7'
    The import has failed (your End User Layer has not been modified) - oudata_disco_workbooks_84.eex:A parsing failure has occurred in file 'oudata_disco_workbooks_84.eex'.
    Parser error: '7'
    If anyone knows what can be teh cause of this please let me know.
    thanks,
    Nina

    Hi,
    The most likely cause is that the export file has become corrupted. Are there very big export files?
    Another possibility is that Discoverer Administrator has run out of memory while parsing the file.
    Rod West

Maybe you are looking for