Service „CA SOI WSO2 Carbon” ERROR invalid java command line
search cancel

Service „CA SOI WSO2 Carbon” ERROR invalid java command line

book

Article ID: 250083

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

The Service CA SOI WSO2 Carbon gets Errors when SOI is installed in an install Folder with "blank" in name.

 

ERROR  | wrapper  | 2022/08/31 11:51:58 | The value of property 'wrapper.java.additional.32', '-Dwso2.transports.xml=D:/Program Files (x86)/CA/SOI/wso2registry/epository/conf/mgt-transports.xml' contains unquoted spaces and will most likely result in an invalid java command line.

ERROR  | wrapper  | 2022/08/31 11:51:58 | The value of property 'wrapper.java.additional.33', '-Djava.util.logging.config.file=D:/Program Files (x86)/CA/SOI/wso2registry/repository/conf/etc/logging-bridge.properties' contains unquoted spaces and will most likely result in an invalid java command line.

ERROR  | wrapper  | 2022/08/31 11:51:58 | The value of property 'wrapper.java.additional.35', '-Dcarbon.config.dir.path=D:/Program Files (x86)/CA/SOI/wso2registry/repository/conf' contains unquoted spaces and will most likely result in an invalid java command line.

If " " are placed on the entire path then the error is resolved.

# Java Additional Parameters

wrapper.java.additional.1=-Xbootclasspath/a:

wrapper.java.additional.2=-Xms256m

wrapper.java.additional.3=-Xmx1024m

wrapper.java.additional.4=-XX:MaxPermSize=256m

wrapper.java.additional.5=-XX:+HeapDumpOnOutOfMemoryError

wrapper.java.additional.6=-XX:HeapDumpPath="D:/Program Files (x86)/CA/SOI/wso2registry/repository/logs/heap-dump.hprof"

wrapper.java.additional.7=-Dcom.sun.management.jmxremote

wrapper.java.additional.8=-Djava.endorsed.dirs="D:/Program Files (x86)/CA/SOI/wso2registry/lib/endorsed"

wrapper.java.additional.9=-Dcarbon.registry.root=/

wrapper.java.additional.10=-Dcarbon.home="D:/Program Files (x86)/CA/SOI/wso2registry"

wrapper.java.additional.11=-Dwso2.server.standalone=true

wrapper.java.additional.12=-Dcomponents.repo="D:/Program Files (x86)/CA/SOI/wso2registry/repository/components"

wrapper.java.additional.13=-Dcatalina.base="D:/Program Files (x86)/CA/SOI/wso2registry/lib/tomcat"

 

 

Environment

Release : 4.2 CU4

Component : Service Operations Insight

Cause

Error is caused by OS in German.

SOI is in non local support (not localized).

Resolution

The OS is German SOI is not localized. We could workaround this problem by changing single quotes ' '  with double quotes " " around the path for example:

"D:\Program Files (x86)\CA\SOI\jsw\conf\wso2registry.conf"

Additional Information

for a similar error on US english windows:

 https://knowledge.broadcom.com/external/article?articleId=253311