JVM options doesn't accept option with spaces

I am trying to pass an option via JVM options that has spaces in it. In Admin console I set it via
server1->JVM Settings->General->Debug Options.
I specified
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1678 -Xnoagent -Djava.compiler=NONE -Dcom.spss.util.xml.catalog=D:\SWDF\config\catalog with spaces
The path - D:\SWDF\config\catalog with spaces
cannot be retrieved in my code via
String catalogRoot = System.getProperty(CATALOG_ROOT_KEY);
I get
D:\SWDF\config\catalog
I tried surrounding it with single and double quotes but none of these work.
When surrounded by double qoutes I get
"D:\SWDF\config\catalog
Is this a known issue? I am using Sun ONE ver 7. The JVM is
java version "1.4.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02)
Java HotSpot(TM) Client VM (build 1.4.0_02-b02, mixed mode)
Swavek

Please run a simple test. Create a small standalone application that dumps the system properties it sees to the console. If you can get this to work (i.e. spaces in a property), and the same technique fails for AS7, file a defect report with Sun on the issue.

Similar Messages

  • How to accept arguments with space with a java console?

    hi, i'd like to know if its possible to accept parameters with space in betwen?
    such as on my command prompt..
    java 'i love my keyboard'
    where args[0] = i love my keyboard
    instead of
    args[0] = i
    args[1] = love
    args[2] = my
    args[3] = keyboard
    thanks~

    thanks, i just realised it wasnt the problem with the command line intepreter..
    the space seems to have created some problems when passing it as a URL over to the server.
    such as, for java [name] [phone] ;
    java "Albert Stephen" +60369123
    on the server, it accepts as Albert null
    perhaps i should use the URL Encoder

  • Creating jvm-option with asadmin

    Hi,
    I am trying to create the following JVM option using asadmin:
    -Dproperties.dir=C:/Projects/Project1/myproperties
    so I used the following command:
    create-jvm-options "-Dproperties.dir=C:/Projects/Project1/myproperties"
    The command doesn't work. It ends up in the server as two properties:
    "-Dproperties.dir=C
    /Projects/Project1/myproperties"
    including the quotes ("). I also tried:
    create-jvm-options --"-Dproperties.dir=C:/Projects/Project1/myproperties" but it just gives the error:
    --"-Dproperties.dir : Option does not have an exact match
    Can anyone help?
    thanks
    Steve

    Configuring JVM Options
    To set JVM command-line options in the Administration interface:
    # In the left pane, click the application server instance name.
    # In the right pane, click the JVM tab.
    # Click JVM Options.
    # To add a JVM option, type it in the text field at the top of the screen and click Add.
    # To delete a JVM option, click the checkbox next to it and click Delete.
    # To edit a JVM option, edit the text in the JVM Option field and click Save.
    For information about specific JVM options, see http://java.sun.com/docs/hotspot/VMOptions.html
    Can you please try this and see if that works.

  • Prime Infrastructure SSH password with space

    Hi,
    We have Prime Infrastructure 1.2 installed and now starting to populate the inventory with the devices list.
    However, it seems like the system does not accept password with space character inside.
    Anyone knows the fix / workaround to make this work?
    Thanks.
    Johannes

    Hi ,
    As Per my understanding there is No workaround ,you can try special characters ,however SPACES are Not allowed
    Thanks
    Afroz

  • Firefox doesn't accept some sites and IT'S FREEZING sometimes and you can't write anything or click anywhere...reaaly disaponting, I have to restart it and after a while same thing, I can't close any tab only by options close tab.

    Firefox doesn't accept some sites and IT'S FREEZING sometimes and you can't write anything or click anywhere...reaaly disaponting, I have to restart it and after a while same thing, I can't close any tab only by options close tab so you can't use Command Q or Command R for reloading...GRRRRRrrrr, hate this

    As I asked previously are you able to have tabs open as a window by using the right clicking option ?
    When you close Firefox you should use
    *'''Firefox button -> File -> Exit '''
    Are you doing that ?
    I suspect what may be happening is Firefox is hanging as it closes down.
    * see [[Firefox hangs or is not responding - How to fix#w_firefox-hangs-when-you-quit-it]]_firefox-hangs-when-you-quit-it
    * this explains how to check & if necessary kill the process [["Firefox is already running but is not responding" error message - How to fix it#w_end-firefox-processes]]_end-firefox-processes
    A related possible problem is that you may have built up many copies of the restore files. These are stored in the Firefox profile. The easiest method of finding the profile location istouse
    *use '''Firefox button -> Help -> Troubleshooting Information <br /> -> [Show Folder]'''
    *see [[Profiles - Where Firefox stores your bookmarks, passwords and other user data]]
    You need to look for the files ''sessionstore.js'' and numbered duplicates of that. Delete them.
    * see http://kb.mozillazine.org/Firefox_hangs#Multiple_sessionstore.js_files

  • HT5129 I have multiple iPhoto albums, so this move is pushing thousands of pictures to each library. Wh doesn't this come with a "No, Thanks!" option since I've ALREADY ensured the MobileMe albums were captured? I've never seen Apple force an action like

    I have multiple iPhoto albums, so this move is pushing thousands of pictures to each library. Why doesn't this come with a "No, Thanks!" option since I've ALREADY ensured the MobileMe albums were captured? I've never seen Apple force an action like this!
    Worse - According to http://support.apple.com/kb/TS4328, "photos you published to MobileMe from your library may be moved from their original events into a new event called "From MobileMe"." - so the forced move has probably scrambled my events in every library. The 'fix'? Search for matching photos and if not found, copy and paste into the desired event. It will take DAYS for me to recover from this undesired and ill-considered forced action.

    Load your backup from just before this and when you launch iPhoto click on learn more. Go back to iPhoto and in the iPhoto preferences remove all references to MM and do likewise in the system preferences
    LN

  • Pages are not printing out correctly. I have tried to fix in the options, with no luck. It prints out with spaces in between the letters.

    When I go to print any page from an email, webpage, pdf file..the pages print out very wide fonts to the point where it is unreadable. I have tried to fix in the options with no luck. I can provide you with visuals if you need me to.

    Thanks very much! It works! The print / review print - print works like it is supposed to. The print is corrected and works great. Thanks again.

  • 3725 with IP Base 12.3 doesn't accept encapsulation command - URGENT

    Hello,
    We have replave a 3620 router by a 3725, but the configuration of the vlan doesn't work on the 3725 because it doesn't accept the encapsulation command following:
    - encap dot1Q 1
    - encap ISL
    Here after is the Vlan configuration:
    interface FastEthernet0/0
    description VERS CLIENT-PACKET VLAN
    no ip address
    no ip redirects
    no ip unreachables
    no ip proxy-arp
    ip accounting access-violations
    duplex auto
    speed auto
    no cdp enable
    interface FastEthernet0/0.2
    description vers cyber express
    bandwidth 64
    encapsulation dot1Q 2
    ip address 10.227.2.254 255.255.255.0
    ip access-group 101 in
    ip nat inside
    Is there someone to help us?
    Thanks.

    I tried with IP Plus in lab and do see encapsulation options
    3725-A#sh ver | include IOS
    IOS (tm) 3700 Software (C3725-IS-M), Version 12.3(15a), RELEASE SOFTWARE (fc2)
    3725-A#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    3725-A(config)#int fastEthernet 0/1.1
    W2N-3.7-3725-A(config-subif)#encapsulation ?
    dot1Q IEEE 802.1Q Virtual LAN
    isl Inter Switch Link - Virtual LAN encapsulation
    tr-isl Token Ring Inter Switch Link - Virtual LAN encapsulation
    3725-A(config-subif)#encapsulation dot1Q 1 native
    3725-A(config-subif)#ip address 10.1.1.1 255.255.255.0
    3725-A(config-subif)#
    3725-A#dir flash:
    Directory of flash:/
    1 -rw- 19584036 Mar 2 1993 02:36:40 +00:00 c3725-is-mz.123-15a

  • Wadm delete-jvm-options failure

    I am having issues with using the wadm command for iPlanet 7.0u15 on a Redhat machine.
    When I try and remove an option of "-Xms256m" from the listing I get a "CLI011" error for invalid option as shown below when my options are correct.
    CLI011 Invalid option, X
    If I pass the option as it appears in the "list-jvm-options" (ie with spaces), I get the following instead.
    ADMIN3881: JVM option '-Xms256m       ' does not exist.
    Also, from the recent message, I found that options that are longer than 15 characters have no issues. Is there a bug with options that are less than 16 characters?!? I only ask this because even a made up option of "-Dab=blank" cannot be removed via CLI. How do I get it to remove these short options from the CLI?
    Also, I noticed that if I use a colon for multiple values, it does not know how to parse it and also gives a ADMIN3881 error even for "-Xms256m:-Xmx512m" as follows.
    ADMIN3881: JVM option '-Xms256m:-Xmx512m' does not exist.
    I was trying this because it is longer than 15 character when passed to the CLI.
    Does anyone know why I am having this issue?

    If you run list-jvm-options, you would see
    wadm> list-jvm-options --config=<your config>
    -Djava.security.auth.login.config=login.conf
    -Xms256m -Xmx512m
    You can't just remove -Xms alone, you have to run
    wadm> delete-jvm-options --config=<your config> "-Xms256m -Xmx512m"
    CLI201 Command 'delete-jvm-options' ran successfully
    Then, use list-jvm-options to check again
    wadm> list-jvm-options --config=<your config>
    -Djava.security.auth.login.config=login.conf

  • Checking against Select-Options with "CP" using "IF value IN select_option"

    Dear experts,
    first of all: I'm sorry, if this question already should have been asked and answered!
    I tried quite a lot of search terms but didn't find anything helpful.
    We are using a statement like "IF value IN select_option" to perform comparisons after the Select-Options have been used in a SELECT statement. This logical expression fails (compared to the results of the DB-SELECT) whenever a select-option line contains the option CP (Contains Pattern). To be more specific: The case sensitivity of the LOW value doesn't seem to play a role any more. A variable with the value 'ABCD' would be positively checked against a select-option with OPTION 'CP' and LOW 'abc*', whereas this value wouldn't have been selected if the select-option had been used in a DB-SELECT.
    Does anybody know a workaround?
    Thanks in advance
    Andreas

    Dear Keshav,
    it's an own field in an own table, defined as CHAR of length 140 (lowercase allowed), reflecting to a line of remittance info of an account statement. A regular Select-Option for this field is provided in a report which works perfectly fine regarding the case sensitivity. For reasons I don't want to point out in detail we need to check a value in this field against the select-option without selecting it from the db again.
    Let's assume that a field remittance_info contains the value 'ABCD'.
    A line of the select-option table looks like this:
    select_option_table-SIGN = 'I'
    select_option_table-OPTION = 'CP'
    select_option_table-LOW = 'abc*'.
    Then an ABAP statement such as
    IF remittance_info IN select_option_table.
    * would be true !!!
    ENDIF.
    but wouldn't deliver a result in a SELECT such as
    SELECT * FROM my_table INTO TABLE my_internal_table WHERE remittance_info IN select_option_table.
    because of the differences in lower/upper case.
    regards
    Andreas

  • How to add JVM option???

    i am facing problem of permgen memory exceprion..
    i got solution as to add following JVM option
    Increasing the PermSpace of the JVM with -XX:MaxPermSize=256M or higher only
    i don't know how to add JVM option...
    GOOGLING DIDNT WORK

    Done !!!!!!!!!!
    in glass fish
    admin console in JVM SETTING TAB

  • How can I use pdf pack to convert cubase documents  (music scores)  into pdfs? I am looking for the former possibility to install acrobat like a printer but i don't have this option with "pdf pack". Can you help?

    How can I use pdf pack to convert cubase documents  (music scores)  into pdfs? I am looking for the former possibility to install acrobat like a printer but i don't have this option with "pdf pack". Can you help?

    Hi mariab,
    What format are those music scores (I'm not familiar with cubase documents). But, it may be that Adobe PDF Pack doesn't support that format. In that case, Acrobat is the way to go. You can then print your files to PDF as you'd like. You're welcome to try Acrobat for free for 30 days to see whether it's going to work for you. If you decide it is, and you'd like to use it going forward, you could convert your PDF Pack subscription into an Acrobat subscription.
    Best,
    Sara

  • Jvm options

    Hello,
    I can't seem to get iPLanet 6.0 sp5 to take my JVM options. I have tried using the admin interface and editing the jvm12.conf specifically. The main thing I would like to get owrking is the -server option. However the logs always printout that the server is using the client VM. I know the VM supports this as I can run it from the command line on the server. I have other settings that I suspect are not being enforced as well.
    Is there a way to see the call that iPlanet uses to start the vm, either beforehand or in a log file? Has anyone been able to get the server option to work?
    I have some other things I need to get off my chest....
    Why is iPlanet so hard to use? How come it doesn't support the servlet spec 2.3 which is several years old when it's a SUN product?

    Hi Tim,
    Please refer to following docs to run the VM in server mode:
    http://docs.sun.com/source/816-6434-10/rn60sp5.html#1017482
    Its ok to let us know your feedback, can you elaborate and let us know what's hard to use and what things need to be improved.
    Servlet spec 2.3 support is planned in the upcoming 6.1 release of webserver.
    Thanks,
    Manish

  • Error: JVM option is invalid: -server

    We have downloaded the 'Oracle Application Server MapViewer 10.1.2 Kit and Quickstart' that was released on 10-January-2005.
    The start.sh script included in this kit to start OC4J is:
    #!/bin/sh
    #cd oc4j/j2ee/home;java -server -Xmx384M -Djava.awt.headless=true -jar oc4j.jar
    This errors with:
    The JVM option is invalid: -server
    Could not create the Java virtual machine.
    Note: The java version installed on the server is 1.4.2 and OS is IBM AIX 5.2L.
    The OC4J does start with the command:
    java -server -jar oc4j.jar
    Any thoughts on the option '-server' and is this required for running of mapviewer with the standalone version of OC4J?

    -server option is used to start jvm in server mode.
    in your case what's offending is probably the option -Xmx384M ( i think that option has different format on different jvm implementations).
    in any case, -server is not required to run mapviewer.

  • When Firefox is open the zoom function (option/command/space bar) does not work in Adobe programs (InDesign, Photoshop, Illustrator)

    Mac OS X 10.6.7
    CS 5.5
    When Firefox is open the zoom function (option/command/space bar) does not work in Adobe programs (InDesign, Photoshop, Illustrator). This happens only when Firefox is open and when I close it the zoom functions work fine again without having to restart the applications.
    This is intermittent but happens quite frequently each day if Firefox is active.

    MDN doesn't mention -chrome being used for ordinary web pages: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options#Chrome
    When I use
    firefox.exe -chrome about:permissions
    I get a usable window, but zoom doesn't work as you noted.
    How about using an intermediate page and window.open() for the target page? You can (mostly) restrict the chrome of windows opened that way, but it will leave behind the intermediate window...
    https://developer.mozilla.org/docs/Web/API/Window.open

Maybe you are looking for