[ 
https://issues.apache.org/jira/browse/KARAF-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guangyu Cui updated KARAF-1143:
-------------------------------

    Description: 
Install Karaf into a directory with blank space in windows platform, such as: 
D:\manual test\apache-karaf-2.2.5, then start Karaf console by typing 
bin/karaf.bat.  

After Karaf start, run some scripts using the following command: source 
scripts/configureC0.sh, Karaf thrown an exception: 

"Error executing command: 
D:\manual%20test\apache-karaf-2.2.5\etc\org.apache.karaf.management.cfg (System 
can not Found the specified path)"


Note: The content of scripts file: D:\manual 
test\apache-karaf-2.2.5\scripts\configureC0.sh:

echo "################################ START 
#############################################"
echo "JMX Management configuration (etc/org.apache.karaf.management.cfg)"
config:edit --force org.apache.karaf.management
echo "rmiRegistryPort = 1100"
config:propset rmiRegistryPort 1100
echo "rmiServerPort = 44445"
config:propset rmiServerPort 44445
config:update



  was:
Install Karaf into a directory with blank space in windows platform, such as: 
D:\manual test\apache-karaf-2.2.5, then start Karaf console by typing 
bin/karaf.bat.  

After Karaf start, run some scripts using the following command: source 
scripts/configureC0.sh, Karaf thrown an exception: 

"Error executing command: 
D:\manual%20test\apache-karaf-2.2.5\etc\org.apache.karaf.management.cfg (System 
can not Found the specified path)"



    
> Karaf (Config Mbean) can not recognize the features when Karaf installation 
> path containing blank space
> -------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1143
>                 URL: https://issues.apache.org/jira/browse/KARAF-1143
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.4, 2.2.5
>         Environment: Windows 7 platform
>            Reporter: Guangyu Cui
>
> Install Karaf into a directory with blank space in windows platform, such as: 
> D:\manual test\apache-karaf-2.2.5, then start Karaf console by typing 
> bin/karaf.bat.  
> After Karaf start, run some scripts using the following command: source 
> scripts/configureC0.sh, Karaf thrown an exception: 
> "Error executing command: 
> D:\manual%20test\apache-karaf-2.2.5\etc\org.apache.karaf.management.cfg 
> (System can not Found the specified path)"
> Note: The content of scripts file: D:\manual 
> test\apache-karaf-2.2.5\scripts\configureC0.sh:
> echo "################################ START 
> #############################################"
> echo "JMX Management configuration (etc/org.apache.karaf.management.cfg)"
> config:edit --force org.apache.karaf.management
> echo "rmiRegistryPort = 1100"
> config:propset rmiRegistryPort 1100
> echo "rmiServerPort = 44445"
> config:propset rmiServerPort 44445
> config:update

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to