Windows directory with spaces & RMI

Folks,
If the product is installed in a directory where a path does not have blanks it works perfectly well. My client creates a remote object then use a method toStub and passes this object to a server. A server throws exception. A method to RemoteServer.toStub() returns a proxy class that is not understood by a server. This example refers to a windows directory named "Hi And By". There are no places where an installation location is used within the code.
Any ideas ? The resolution is important to enable installation under "Program Files".
Here is a fragment of code that causes the exception and a server trace.
Code:
// Create a remote object
HeartbeatImpl tmp = new HeartbeatImpl();
try {
// pass a handle to a server
remSession.setHeartbeat((HeartbeatRemote)RemoteServer.toStub(tmp));
Caused by: java.net.MalformedURLException: no protocol: And
at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747)
at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:505)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:6
at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294
at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStrea
at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1494)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:290)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)

I'll continue this here because that's where it belongs but can you possibly answer the questions I asked in the other place? and can you explain why this stack trace is different from the first one?
It looks to me as though the path you mention is either in the java.rmi.server.codebase or the classpath. If the former it needs %20 instead of spaces; if the latter it needs quoting. From my reading of sun.rmi.server.LoaderHandler.pathToURLs() it looks like a codebase setting. Codebases contain URLs and URLs cannot contain spaces.

Similar Messages

  • [SOLVED] cd to directory with spaces zsh

    When I try to cd to directory with spaces zsh I get an error:
    cd:cd:6: string not in pwd:
    Here is my .zshrc
    # Auto Completion And Additional Settings
    autoload -U compinit
    compinit
    zstyle ':completion:*' menu select
    export HISTFILE=~/.zsh_history
    export HISTSIZE=50000
    export SAVEHIST=50000
    eval `dircolors -b`
    setopt autopushd pushdminus pushdsilent pushdtohome
    setopt autocd
    setopt cdablevars
    setopt ignoreeof
    setopt interactivecomments
    setopt nobanghist
    setopt noclobber
    setopt HIST_REDUCE_BLANKS
    setopt HIST_IGNORE_SPACE
    setopt SH_WORD_SPLIT
    setopt nohup
    setopt completealiases
    setopt correctall
    #Colored Prompt
    autoload -U promptinit
    promptinit
    #Colors
    autoload -U colors && colors
    # allow approximate
    zstyle ':completion:*' completer _complete _match _approximate
    zstyle ':completion:*:match:*' original only
    zstyle ':completion:*:approximate:*' max-errors 1 numeric
    #zstyle ':completion:*' special-dirs true
    # tab completion for PID :D
    zstyle ':completion:*:*:kill:*' menu yes select
    zstyle ':completion:*:kill:*' force-list always
    #compdef _gnu_generic
    #zstyle ':completion:*:processes-names' command 'ps c -u ${USER} -o command | uniq'
    compdef _pids cpulimit
    compdef _pids ps
    compdef _pids appuptime
    # cd not select parent dir
    zstyle ':completion:*:cd:*' ignore-parents parent pwd
    #Special Keys
    typeset -g -A key
    bindkey '^?' backward-delete-char
    bindkey '^[[1~' beginning-of-line
    bindkey '^[[5~' up-line-or-history
    bindkey '^[[3~' delete-char
    bindkey '^[[4~' end-of-line
    bindkey '^[[6~' down-line-or-history
    bindkey '^[[A' up-line-or-search
    bindkey '^[[D' backward-char
    bindkey '^[[B' down-line-or-search
    bindkey '^[[C' forward-char
    # completion in the middle of a line
    bindkey '^i' expand-or-complete-prefix
    #Directory Colors
    LS_COLORS='rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:';
    export LS_COLORS
    #History Search
    bindkey "^[[A" history-search-backward
    bindkey "^[[B" history-search-forward
    #Aliases
    alias -s txt=$EDITOR
    alias -s conf=$EDITOR
    #alias -s zshrc=$EDITOR
    #alias -s bashrc=$EDITOR
    alias -s png=eog
    alias -s jpg=eog
    alias -s gif=eog
    alias -s svg=eog
    alias cpulimit='sudo cpulimit -l 60 -p'
    alias wiki='firefox /usr/share/doc/arch-wiki/html/index.html'
    alias appuptime='/home/dodo3773/Documents/Scripts/appuptime.sh'
    #Moved From Bash
    #CLI editor
    export EDITOR="nano"
    #Update System
    alias update='sudo pacman-color -Syu && yaourt -Su --aur'
    # dvdauthor
    export VIDEO_FORMAT=NTSC
    ## Aliases
    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
    alias ls='ls --color=auto'
    alias sudo='sudo '
    alias pacman='pacman-color'
    alias tcpkill='sudo tcpkill -i wlan0'
    alias hist="fc -l 1 55000 | grep "
    alias vim="/usr/bin/vim"
    alias grepmod='lsmod | grep'
    alias peggle='padsp wine /home/dodo3773/Games/PopCap/pegglenights/PeggleNights/PeggleNights.exe'
    #Colorize Man Pages
    export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
    export LESS_TERMCAP_md=$'\E[01;31m' # begin bold
    export LESS_TERMCAP_me=$'\E[0m' # end mode
    export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
    export LESS_TERMCAP_so=$'\E[01;44;33m' # begin standout-mode - info box
    export LESS_TERMCAP_ue=$'\E[0m' # end underline
    export LESS_TERMCAP_us=$'\E[01;32m' # begin underline
    #Del send to trash
    alias del='mv -t ~/.local/share/Trash/files'
    ### FUNCTIONS
    # Easy extract
    extract () {
    if [ -f $1 ] ; then
    case $1 in
    *.tar.bz2) tar xvjf $1 ;;
    *.tar.gz) tar xvzf $1 ;;
    *.bz2) bunzip2 $1 ;;
    *.rar) rar x $1 ;;
    *.gz) gunzip $1 ;;
    *.jar) jar xf $1 ;;
    *.tar) tar xvf $1 ;;
    *.tbz2) tar xvjf $1 ;;
    *.tgz) tar xvzf $1 ;;
    *.zip) unzip $1 ;;
    *.Z) uncompress $1 ;;
    *.7z) 7z x $1 ;;
    *) echo "don't know how to extract '$1'..." ;;
    esac
    else
    echo "'$1' is not a valid file!"
    fi
    #List All Available Commands
    function lac
    echo -n $PATH | xargs -d : -I {} find {} -maxdepth 1 \
    -executable -type f -printf '%P\n' | sort -u
    function lac
    COMMANDS=`echo -n $PATH | xargs -d : -I {} find {} -maxdepth 1 \
    -executable -type f -printf '%P\n'`
    ALIASES=`alias | cut -d '=' -f 1`
    echo "$COMMANDS"$'\n'"$ALIASES" | sort -u
    #Custom Terminal
    #PROMPT="%* %~$ "
    PS1="%{%F{green}%}%* %{%f%}%{%F{white}%}%~ %{%F{green}%}>> %{%f%}"
    #Syntax Highlighting
    source /home/dodo3773/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
    Has anyone else came across this? Is there something wrong with my zshrc?
    Edit: "chdir" still works. I guess I could use an alias.
    Last edited by dodo3773 (2011-09-07 08:54:30)

    I've just installed zsh and did some minimal config and cd works, so try commenting out your config one by one until you find the culprit ... or wait for somebody who actually knows something about zsh :-)
    [karol@black ~]$ cat .zshrc
    # Lines configured by zsh-newuser-install
    HISTFILE=~/.histfile
    HISTSIZE=1000
    SAVEHIST=1000
    # End of lines configured by zsh-newuser-install
    # The following lines were added by compinstall
    zstyle :compinstall filename '/home/karol/.zshrc'
    autoload -Uz compinit
    compinit
    # End of lines added by compinstall
    Edit:
    # cd not select parent dir
    zstyle ':completion:*:cd:*' ignore-parents parent pwd
    What does it do?
    Edit 2: I can cd just fine using your config. (should have tried it earlier ...) The only difference is I'm not using the syntax highlighting
    source /home/dodo3773/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
    because the path doesn't exist on my computer.
    Last edited by karol (2011-09-07 08:43:15)

  • Smb to mount a folder on a windows SAN with spaces in name

    i am trying to write a smb mount statement , but the 3rd nested folder has a space in it. what is the syntax to go directly to those folder contents.
    ex. smb://server/share$/folder with a space/another folder
    should get me directly to the contents window of the "another folder" after authentication

    Be it Mac or Windows, files have to be part of the library collection to play in iTunes.  So if you open a file in iTunes it will automatically be added to the library.  If you don't want it copied to the internal drive, hold down the option/alt key while dragging the file to an iTunes playlist.  There's more elaborate and larger scale workarounds if you need them but they require you stay on top of what you are doing.
    If you don't want to have the files added to iTunes, use an alternative player.  I use an older computer.  I use Quicktime to play individual tracks and Cog to play groups of them.
    WMA files will not play in Mac iTunes.  Windows Media support on Macs requires third party software.

  • How to delete the file with space in name

    Hi
    I want to delete the file "test ex.txt" file.
    i run the following command in command prompt.i can delete the file successfully.
    /bin/rm -f /mnt/"test ex.txt"
    I want to run the command from java.So i am using the following code
    String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
         Runtime rt = Runtime.getRuntime();
    process = rt.exec(cmd);
    The file was not deleted.
    How to delete the file with space in name?
    Help me

    Use the form of exec that takes an array of command + args.
    arr[0] = "/bin/rm"
    arr[1] = "-f"
    arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls.

  • [SOLVED]Audacious can't open files with spaces on name

    I open audacious
    Type Ctrl+o and select a directory with spaces on it names,
    Audacious opens nothing
    Any ideas?
    I have deep trees of music with spaces, I was working on a script to rename one by one, but I'm too lazy
    Cheers
    Last edited by geckos (2014-01-29 21:32:33)

    Here is my solution, I did this for every error that apears like that...
    [geckos@localhost ~]$ audacious
    (bootstrap.c:60) [mowgli_init]: mowgli_init() is a deprecated function, provided only for backwards compatibility with Mowgli-1. You should remove it if you no longer support using Mowgli-1.
    *** ERROR: /usr/lib/audacious/Input/cdaudio-ng.so could not be loaded: libcdio_cdda.so.1: cannot open shared object file: No such file or directory
    ^C[geckos@localhost ~]$
    [geckos@localhost ~]$ pkgfile -r '.*/libcdio_cdda.so.1'
    extra/libcdio-paranoia
    [geckos@localhost ~]$ sudo pacman -Syu libcdio-paranoia
    :: Synchronizing package databases...
    (3/3) installing libcdio-paranoia [###########################################] 100%
    [geckos@localhost ~]$
    [geckos@localhost ~]$

  • Problems with spaces in file or directory names and Word.exe

    Hi
    I'm trying to open a file with Word from my java aplication, and I have a problem with some file/directory names.
    I have this
    String cmd = "c:\\Program Files\\Microsoft Office\\Office10\\WINWORD.EXE" + " " + path;
    try {
    Runtime.getRuntime().exec(cmd);
    } catch (Exception errorea){ }
    Here is what happens:
    if path is something like this: "c:\people\info.doc" , there's no problem, Word opens the document, but if path contains blank spaces somewhere, it doesn't work. For example:
    path = "c:\Documents and Settings\info.doc"
    path = "c:\Hi everybody\info.doc"
    path = "c:\tests\test results.doc"
    with the above examples it doesn't work :( Word tries to open "c:\Documents", "c:\Hi" or "c:\tests\test".
    Can anyone help? thanx a lot ! : )

    Hint: use the variant Runtime.exec(String[] args).
    Create a command array, with each token in a separate argument. The entire filename with spaces goes into one argument.

  • Is there an add-on program, which assumes the directory structure of a Windows PC with subfolders?

    Hi all,
    Is there an add-on program, which assumes the directory structure of a Windows PC with subfolders?
    So that the playlists are created with all the directories and subdirectories.
    I would like the Music folder
    and all its subdirectories
    drag into iTunes.
    Then should the songs in iTunes and in the Iphone geanu be designed with the same directory wiht subdirectories structure.
    Example:
    G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\AlbumArtSmall.jpg
    G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\Betriebsdirektor - Das Leben Ist Grausam - die Prinzen - 05 - .mp3
    G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\Blaues Blut - Das Leben Ist Grausam - die Prinzen - 07 - .mp3
    G:\1 wav+mp3\1 Alles\2 Deutsches\Die Prinzen\Album Die Prinzen - Das Leben ist grausam\desktop.ini
    G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Herbert_Grönemeyer_-_12_[2007]_-brandneu-_[found-on-www-bitreactor-to].to rrent
    G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 01 - Ein Stück vom Himmel.mp3
    G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 02 - Kopf hoch,tanzen.mp3
    G:\1 wav+mp3\1 Alles\2 Deutsches\Grönemeyer\Zwölf\Lied 03 - Du bist die.mp3
    G:\1 wav+mp3\1 Alles\2 Deutsches\Hannes Wader\ Dass nichts bleibt wie es war\Rohr im Wind - Dass nichts bleibt wie es war - Hannes Wader - 07.mp3
    G:\1 wav+mp3\1 Alles\2 Deutsches\Hannes Wader\ Dass nichts bleibt wie es war\Schon so lang - Dass nichts bleibt wie es war - Hannes Wader - 02.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Allerlei
    G:\1 wav+mp3\1 Alles\3 Song\Allerlei\(Everything I Do) I Do It For You - Bryan Adams - Best of Me (Ecopac) - 10.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Allerlei\(Sittin' on) the dock of the bay - Otis Redding - (Sittin' on) the Dock of the Bay - 01.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Allerlei\~ Change Is Gonna Come - The Neville Brothers - Yellow Moon - 01.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Baby, Do You Wanna Bump - Daddy Cool - Boney M. - 06.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Barbarella Fortuneteller - Daddy Cool - Boney M. - 15.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Boney M. - Daddy Cool\Belfast - Daddy Cool - Boney M. - 04.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album
    G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\AlbumArtSmall.jpg
    G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Always On My Mind - Definitive Country Album - Elvis Presley - 03.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Burning Love - Definitive Country Album - Elvis Presley - 09.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Elvis Presley - Definitive Country Album\Don't Cry Daddy - Definitive Country Album - Elvis Presley - 15.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Every Little Thing She Does-Flying Pickets - Flying Pickets.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Folder.jpg
    G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\goodnight sweethart - flying pickets - flying pickets .mp3
    G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\Groovin'-Flying Pickets - Flying Pickets.mp3
    G:\1 wav+mp3\1 Alles\3 Song\Flying Pickets\I Got You Babe - Flying Pickets - Flying Pickets.mp3
    G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classical - Franz Liszt - Liebestraum piano - Franz Liszt - Liebestraum piano.mp3
    G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classical Guitar - Greensleeves - Greensleeves.mp3
    G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Classique - Schumann - Carnaval, Chopin - Schumann - Carnaval, Chopin.mp3
    G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Crown Chakra - Tony O'Connor - Tony O'Connor.mp3
    G:\1 wav+mp3\1 Alles\4 Instrumental\Allerlei\Dallas - TV 70's & 80's.mp3
    usw.
    Is there a program led?
    Thank you very much
    frank

    deggie wrote:
    No, as there is no such file management system in iOS.
    I do not understand this..
    In iTunes I can create folders and subfolders.
    Please look.
    I would like to drag the folder "1 All" in iTunes.
    There should also then the folder structure are taken
                       iTunes                                                 Windows 7 Explorer
                    Folder in Folder                                        Folder in Folder
    Thank you very much
    Frank

  • Lync 2013 WIndows phone Username with space

    lync2013 windows phone version
    if add external Skype contacts with space character "Alex Loddy"
    in lync contact list show "Alex%20Loddy"
    fix it please....

    Hi,
    Did the issue also happen for Lync Android or IOS client?
    Did the issue happen only for you or for multiple users?
    Please login on other Window Phone Lync client with your Lync account to check the issue.
    Please also check if the version of Lync app on Windows Phone update to the latest version. If not, update it and then test the issue again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • ACS 4.2.0.124 Appliance with Active Directory with windows 2008

    we have a solutions of 802.1x with Cisco ACS appliance wich is working fine, the soluction include two ACS appliance version 4.2.0.124, 02 remote Agent wich is setting up on windows 2003. The remote agent is integrated with Active Directory windows 2003. The computers have windows XP with service pack 2 and service pack 3, all computers do machine authentication and then user authentication. My customer in thinking in migrate the Active Directory windows 2003 to windows 2008. My question is ¿there wil be some problem with Active Directory 2008 with the current soluctión of ACS and 802.1x solution ? or I will have to do aditional task.     
    Marco

    Hi,
    You can find the suported Windows Server versions on the online documentation:
    ACS 4.2: http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2/installation/guide/windows/install.html#wp1041376.
    ACS 4.2.1: http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.2.1/Installation_Guide/windows/install.html#wp1041376.
    So, i would suggest you to double-check carefuly the Release and Service Pack of the new 2008 Servers and also the OS bit version to make sure you migrate to Win2008 but continue on a supported scenario.
    HTH,
    Tiago
    If   this helps you and/or answers your question please mark the question  as  "answered" and/or rate it, so other users can easily find it.

  • How to access a url in file receiver CC with space in the folder name?

    Hi
    PI 7.11 sp4:
    In a file receiver channel I would like to send the message to this folder:
    de-prod.dk\bu\something\something\PTI eventstanden\archive\"
    But I get this error message:
    "Target directory 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\"\de-prod.dk\bu\something\something\PTI eventstanden\archive"' does not exist"
    My question is: where the f.... does it get the 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\  from, and how can I fix it?
    One issue is the space in the folder name. I have tried to replace the space with %20 and then remove the "" s around the whole url, but without any luck.
    When I log on the server on which Pi is running I can access the folder using the mentioned url including the ""s.
    All suggestions would be highly appreciated!
    MIkael

    > But I get this error message:
    >
    > "Target directory 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\"\de-prod.dk\bu\something\something\PTI eventstanden\archive"' does not exist"
    >
    > My question is: where the f.... does it get the 'F:\usr\sap\XP7\DVEBMGS02\j2ee\cluster\server0\  from, and how can I fix it?
    It comes from the "
    Anything else but \ is treated as local folder under working directory of PI
    > One issue is the space in the folder name. I have tried to replace the space with %20 and then remove the "" s around the whole url, but without any luck.
    It works for me just to copy the folder from Windows explorer into channel config. With space and without ".

  • Issue with OracleHelp loading HelpSet with space in file path

    Hi,
    I'm running into an issue where I cannot get OracleHelp to load a HelpSet correctly with RoboHelp contains when the file is in a directory with a file space in it.
    This will load successfully if the path does not contain any white spaces. It looks like oraclehelp may be running into an issue decoding the %20. Any thoughts?
    java.io.FileNotFoundException: C:\temp\qa_relea%20se\windows\data\help\oracl
    e_help_files\HelpTOC.xml (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at oracle.help.engine.DataEngine._getBufferedReader(Unknown Source)
    at oracle.help.engine.XMLTOCEngine.createDataObject(Unknown Source)
    at oracle.help.common.View.getViewData(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.TOCUtils.getTopicTree(Unkno
    wn Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode._creat
    eTopicTreeNodes(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode._reall
    yAddView(Unknown Source)
    at oracle.help.common.navigator.tocNavigator.MergingTopicTreeNode.addVie
    w(Unknown Source)
    at oracle.help.navigator.tocNavigator.TOCNavigator.addView(Unknown Sourc
    e)
    at oracle.help.Help._createNavigatorForView(Unknown Source)
    at oracle.help.Help._createNavigatorsForBook(Unknown Source)
    at oracle.help.Help.addBook(Unknown Source)

    Hi Experts,
    My concern was Say I delete the requests from the day the data was loaded with thw wrong update rule, I have the data sitting in the PSA and I can reconstruct them. I understand that the data can be corrected in ODS.
    But in the cube, some key figures are there with the update method as 'addition'. So say I delete the content of the cube and reload it from the ODS all over again, wont the key figures get corruipted yet again?
    Also as I was thinking, say we delete the respective request from the cube as well, and reconstruct the data in the ODS. can I fire the delta request again to capture the changed records to be loaded to cube. to be exact will all the data from the date of the data corruption(as I am going to delete the requests from the cube from that day also) will be loaded to the cube?
    Also another thing is will it be a better idea to reconstruct a request in the ODS and run the delta package for the cube.. And go on ..
    Kindly suggest..
    Thanks in advance !!!

  • SQL Developer and Windows XP Profile space

    I work in a secure environment where my laptop is fairly tightly controlled. In particular all laptop users are restricted to a Windows user profile space of 20Mb. This is space in C:\Documents and Settings\<username>\Application Data. This is to stop people building up huge profiles that take an age to download and synchronise with the logon servers.
    SQL Developer writes stuff in this directory (as does the Data Modeler and JDeveloper). In particular windowinglayout.xml is growing and is now 1Mb in size. I am running out of space in my profile and it will not be long before I am at my limit. The size of the file seems mostly to be down to the content of the element /LayoutInfo/clientLayoutData/global/view-data which has grown enormous. Much of the content seems to relate to connections and folders and I have tried to delete some connections but that seems not to have made any difference to the size of the file.
    Can the content of this file be controlled? Is it possible to relocate these files somewhere else so that they don't cause me a problem? Are there other possible solutions?
    Thanks in anticipation.
    Andrew

    Marvellous K, thanks for that. Not only have I done that for SQL Developer but also managed to work out the appropriate files to amend for JDeveloper and SQL Developer Data Modeler. My profile now has a whole 5.5Mb free and my laptop is a happy bunny again.
    Combined with finding where my new 11g database laptop installation has squirrelled away it's alert log I think that's enough productivity for one day; my work here is done.

  • 40GB Windows Directory - How to cleanup?

    It seems our Citrix XenApp server 6.0 with Windows 2008 R2 x64 is running out of space on a 60GB system drive. I have quite a few other servers with the same size root drive and do much heavier lifting than this server with plenty of space available still.
    After checking 4+ other servers the entire windows directory is under 20GB total on all of them. 
    Using TreeSize I'm able to see that its my Windows folder alone is very close to 40GB. C:\Windows\Installers folder that has ramped up to 18GB itself!
    I've used cleanmgr.exe but it doesn't find anything to cleanup!  After some research I found a few articles about this but nothing conclusive that I want to try on a production server. 
    Obviously adding more disk space would be the quick/easy solution.  Something is telling me I would run into the same problem later and be wasting more time/space. How would you go about shrinking the size of the windows directory? 
    Did a bit of looking for msizap.exe and it turns out that MS had decided not to include it in their installations anymore or via Windows Update.  I was able to get it from elsewhere though.  It ran, deleted 1 file, kicked a few errors (other sources
    say the errors are fine and will still cleanup what it can).  
    Ran DISM command and it came back with nothing.  (DISM.exe /online /Cleanup-Image /spsuperseded)
    Still have a very large windows folder :( 
    ps: I had images but it woulndn't let me upload D:

    C:\Windows\Installed is Windows Installer cache which is used to store important files for applications installed using Windows Installer technology. The size of this folder depends of the installed applications and that is why you do not have the same with
    other servers. This folder should not be touched as doing that would require rebuilding the OS and reinstalling the applications as mentioned here: https://support.microsoft.com/kb/2667628?wa=wsignin1.0
    The folder size should not increase as long as you have not installed new applications. So, if you are running out space, I would recommend increasing the size of the C drive.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Runtime.exec with spaces not working EVEN using String[]!!

    Hi everyone,
    I need to start the rmi registry from some code,and i need to pass it the classpath of two jars when initialising it. My problem is that the paths I set aren't taken when they contain a space.
    Here's the code:
    <code>
    String rmiRegistryCommandLine[] = new String[] {
    + System.getProperty("java.home")
    + "\\bin\\rmiregistry.exe\"",
    "-J-Djava.class.path=\""+System.getProperty("user.dir")+"\\MyJar.jar\"",
    "1099"};
                                            Runtime.getRuntime().exec(rmiRegistryCommandLine);
    </code>
    I know that Runtime.exec(String) tokenizes the input, which is why I'm not using it, but Runtime.exec(String[]) isn't supposed to tokenize the input. System.getProperty("user.dir") can contain a space, so I put quotes around that, but I need the -J-Djava.class.path in the same string. I tried breaking it up into two more separate strings but it didn't even run for normal non-space paths then. I am sure that if the whole -J-Dblah....upto MyJar.jar was in quotes then it would work, but I need the classpath in quotes separately as it could contain a space.
    Can anyone help me get this working?

    Ya, that's fine but the command line I want to pass is:
    d:\j2sdk1.4.0\bin\rmiregistry.exe -J-Djava.class.path=d:\my dir with spaces\MyJar.jar;d:\my more dir with spaces\MyJar2.jar 1099
    If I say
    arg[0]="d:\\j2sdk1.4.0\\bin\rmiregistry.exe";, that's finebut arg[1] is the problem
    if I say
    arg[1]="-J-Djava.class.path=d:\\my dir with spaces\MyJar.jar; d:\\my more dir with spaces\\MyJar2.jar";, then it definitely won't work on 9X machines and probably not on NT.
    if I break up arg[1] into:
    arg[1]="-J-Djava.class.path=";
    arg[2]="d:\\my dir with spaces\\MyJar.jar";
    arg[3]=";";
    arg[4]="d:\\my more dir with spaces\\MyJar2.jar";I'll need to put quotes around the two individual two class paths or else it won't work.
    I find though that if I put the classpath as follows
    d:\"my dir with spaces"\MyJar.jar then it seems to work.
    I think a regular expression function to search for any directory with spacees and then put quotes around it and reinsert it into the path would be the solution.

  • Relative path for Download directory folder.I created a firefox profile and i wanted to use this profile in multiple machines.I wanted to use a relative path for download directory with respect to the profile folder.I need this on Linux machines

    I have a use case where I need to use different download directories with different firefox profiles.I need to use this profiles in multiple linux machines.
    I need to have a relative path to my download directory with respect to the profile folder.
    Ex: I have a selenium test which opens a website and downloads it to my machine.I want this downloaded file to go into some specific folder relative to this profile folder.How do I do this??

    That is not a practically empty xinitrc - that file only needs one line: exec WM.  Other things are entirely optional, and some of them very useful, but I'd encourage you to stick with the simplest xinitrc that will do what you require.
    Is slim involved?  Probably.  That is the source of many problems.  But to start narrowing this down, I have 3 suggestions:
    1) temporarily (at least) change your inittab to default to runlevel 3 ... actually, is it currently set to 5 or 3? if it is currently 3 that would explain why slim doesn't start.
    2) at a tty in runlevel 3 use "xinit" instead of "startx".  Startx is fine most of the time, but it is essentially just a complex wrapper for xinit.  That complexity can often iadd useful functionality, but it *always* makes troubleshooting more difficult.  So for now just use a vanilla 'xinit'.
    3) remove dbus-launch from your exec line in xinitrc.  This is done by console-kit so it is redundant and potentially problematic.  Further BOTH of these are taken care of by slim, so I'd even suggest getting both a jump start on being ready for slim and simplifying troubleshooting by removing both of them.  Just make that line "exec openbox-session"
    Edit: adding one more:
    4) temporarily switch out openbox-session for openbox.  I suspect the reason feh's setting of the background is getting overridden is due to a script or setting in openbox's autostart settings - many of these are only invoked when "openbox-session" is called, while "openbox" starts *just* the window manager itself.
    Last edited by Trilby (2012-10-03 17:30:36)

Maybe you are looking for

  • How to setup an ssd in a new macbook pro?

    Hi, I have a 2010/11 iMac 27", iPad 2, plus a new iPhone 5 soon. :-) Am waiting for the arrival of a new MBP mid-2012 model with 8GB RAM & std 500GB HDD . I will upgrade the machine to SSD & wanted to check if I have the process/setup for this correc

  • Has anyone used Garageband on a new MBP?

    very interested in knowing the limitations. How many tracks of software instruments/loops can you get? Has anyone tried playing their songs made on a G5 Quad or hi end G5 ( with many effects and tracks) on the MPB? and what are the problems, limitati

  • Machine Authentication by AD

    I'm trying to implement Machine Authentication with PEAP in ACS 5.1. The Machine should get autenticated from AD and then user authentication. We don't want to use certificate for authentication. I only selected PEAP EAP-MS-CHAPv2 protocol in Allowed

  • Adobe reader cannot be opened!

    Adobe reader cannot be opened.  what can I do. I reinstalled the app but it still does not open and cannot be used,

  • Moving a group of buttons

    Hello! I am having some troubles with grouping some buttons. I tried to transform them to one single symbol, but when I do it the MovieClip and Button types block the button group and the Graphic type does not have a name, therefore I can't move them