Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing VM arguments in server scripts #1264

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
-Dorg.apache.cxf.io.CachedOutputStream.Threshold=104857600 -Dprofile=micro-integrator-default
-Desb.debug=${esb.debug} -DenableManagementApi=true -DenablePrometheusApi=true -DgracefulShutdown=false
-Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*"
-Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=net.sf.saxon.xpath.XPathFactoryImpl
--add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
</vmParameters>
<programArguments></programArguments>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
-Dorg.apache.cxf.io.CachedOutputStream.Threshold=104857600 -Dprofile=micro-integrator-default
-Desb.debug=${esb.debug} -DenableManagementApi=true -DenablePrometheusApi=true -DgracefulShutdown=false
-Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*"
-Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=net.sf.saxon.xpath.XPathFactoryImpl
--add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
</vmParameters>
<programArguments></programArguments>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
-Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*"
-DskipStartupExtensions=false
-Dlogfiles.home=${carbon.home}/repository/logs
-Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=net.sf.saxon.xpath.XPathFactoryImpl
--add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
</vmParameters>
<programArguments></programArguments>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<mainClass>org.wso2.carbon.bootstrap.Bootstrap</mainClass>
<workingDirectory>${carbon.home}</workingDirectory>
<vmParameters>
-Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="${carbon.home}/repository/logs/heap-dump.hprof" -Dcom.sun.management.jmxremote -Djava.io.tmpdir="${carbon.home}/tmp" -Dcatalina.base="${carbon.home}/wso2/lib/tomcat" -Dwso2.server.standalone=true -Dcarbon.registry.root=/ -Dqpid.conf="/conf/advanced/" -Dcarbon.home="${carbon.home}" -Dlogger.server.name="micro-integrator" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="${carbon.home}/conf" -Dcarbon.repository.dir.path="${carbon.home}/repository" -Dcarbon.components.dir.path="${carbon.home}/wso2/components" -Dcarbon.extensions.dir.path="${carbon.home}/extensions" -Dcarbon.dropins.dir.path="${carbon.home}/dropins" -Dcarbon.external.lib.dir.path="${carbon.home}/lib" -Dcarbon.patches.dir.path="${carbon.home}/patches" -Dcarbon.servicepacks.dir.path="${carbon.home}/servicepacks" -Dcarbon.internal.lib.dir.path="${carbon.home}/wso2/lib" -Dei.extendedURIBasedDispatcher=org.wso2.carbon.integrator.core.handler.IntegratorStatefulHandler -Djava.util.logging.config.file="${carbon.home}/conf/etc/logging-bridge.properties" -Dcomponents.repo="${carbon.home}/wso2/components/plugins" -Dconf.location="${carbon.home}/conf" -Dcom.atomikos.icatch.file="${carbon.home}/wso2/lib/transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path=true -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dserver.main.class=org.wso2.carbon.micro.integrator.server.Main -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -DNonRegistryMode=true -DNonUserCoreMode=true -Dcom.ibm.cacheLocalHost=true -Dcarbon.use.registry.repo=false -DworkerNode=false -Dorg.apache.cxf.io.CachedOutputStream.Threshold=104857600 -Dprofile=micro-integrator-default -Desb.debug=${esb.debug} -DenableManagementApi=true --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
-Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="${carbon.home}/repository/logs/heap-dump.hprof" -Dcom.sun.management.jmxremote -Djava.io.tmpdir="${carbon.home}/tmp" -Dcatalina.base="${carbon.home}/wso2/lib/tomcat" -Dwso2.server.standalone=true -Dcarbon.registry.root=/ -Dqpid.conf="/conf/advanced/" -Dcarbon.home="${carbon.home}" -Dlogger.server.name="micro-integrator" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="${carbon.home}/conf" -Dcarbon.repository.dir.path="${carbon.home}/repository" -Dcarbon.components.dir.path="${carbon.home}/wso2/components" -Dcarbon.extensions.dir.path="${carbon.home}/extensions" -Dcarbon.dropins.dir.path="${carbon.home}/dropins" -Dcarbon.external.lib.dir.path="${carbon.home}/lib" -Dcarbon.patches.dir.path="${carbon.home}/patches" -Dcarbon.servicepacks.dir.path="${carbon.home}/servicepacks" -Dcarbon.internal.lib.dir.path="${carbon.home}/wso2/lib" -Dei.extendedURIBasedDispatcher=org.wso2.carbon.integrator.core.handler.IntegratorStatefulHandler -Djava.util.logging.config.file="${carbon.home}/conf/etc/logging-bridge.properties" -Dcomponents.repo="${carbon.home}/wso2/components/plugins" -Dconf.location="${carbon.home}/conf" -Dcom.atomikos.icatch.file="${carbon.home}/wso2/lib/transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path=true -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dserver.main.class=org.wso2.carbon.micro.integrator.server.Main -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -DNonRegistryMode=true -DNonUserCoreMode=true -Dcom.ibm.cacheLocalHost=true -Dcarbon.use.registry.repo=false -DworkerNode=false -Dorg.apache.cxf.io.CachedOutputStream.Threshold=104857600 -Dprofile=micro-integrator-default -Desb.debug=${esb.debug} -DenableManagementApi=true -Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=net.sf.saxon.xpath.XPathFactoryImpl --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
</vmParameters>
<programArguments></programArguments>
<classpathReference>carbon.libs</classpathReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<mainClass>org.wso2.micro.integrator.bootstrap.Bootstrap</mainClass>
<workingDirectory>${carbon.home}</workingDirectory>
<vmParameters>
-Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="${carbon.home}/repository/logs/heap-dump.hprof" -Dcom.sun.management.jmxremote -Djava.io.tmpdir="${carbon.home}/tmp" -Dwso2.server.standalone=true -Dcarbon.registry.root=/ -Dcarbon.home="${carbon.home}" -Dlogger.server.name="micro-integrator" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="${carbon.home}/conf" -Dcarbon.repository.dir.path="${carbon.home}/repository" -Dcarbon.components.dir.path="${carbon.home}/wso2/components" -Dcarbon.extensions.dir.path="${carbon.home}/extensions" -Dcarbon.dropins.dir.path="${carbon.home}/dropins" -Dcarbon.external.lib.dir.path="${carbon.home}/lib" -Dcarbon.patches.dir.path="${carbon.home}/patches" -Dcarbon.servicepacks.dir.path="${carbon.home}/servicepacks" -Dcarbon.internal.lib.dir.path="${carbon.home}/wso2/lib" -Dei.extendedURIBasedDispatcher=org.wso2.micro.integrator.core.handlers.IntegratorStatefulHandler -Dserver.main.class=org.wso2.micro.integrator.server.Main -Djava.util.logging.config.file="${carbon.home}/conf/etc/logging-bridge.properties" -Dcomponents.repo="${carbon.home}/wso2/components/plugins" -Dconf.location="${carbon.home}/conf" -Dcom.atomikos.icatch.hide_init_file_path=true -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -DNonRegistryMode=true -DNonUserCoreMode=true -Dcom.ibm.cacheLocalHost=true -Dcarbon.use.registry.repo=false -DworkerNode=false -Dorg.apache.cxf.io.CachedOutputStream.Threshold=104857600 -Dprofile=micro-integrator-default -Desb.debug=${esb.debug} -DenableManagementApi=true -DenablePrometheusApi=true -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*" --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
-Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="${carbon.home}/repository/logs/heap-dump.hprof" -Dcom.sun.management.jmxremote -Djava.io.tmpdir="${carbon.home}/tmp" -Dwso2.server.standalone=true -Dcarbon.registry.root=/ -Dcarbon.home="${carbon.home}" -Dlogger.server.name="micro-integrator" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="${carbon.home}/conf" -Dcarbon.repository.dir.path="${carbon.home}/repository" -Dcarbon.components.dir.path="${carbon.home}/wso2/components" -Dcarbon.extensions.dir.path="${carbon.home}/extensions" -Dcarbon.dropins.dir.path="${carbon.home}/dropins" -Dcarbon.external.lib.dir.path="${carbon.home}/lib" -Dcarbon.patches.dir.path="${carbon.home}/patches" -Dcarbon.servicepacks.dir.path="${carbon.home}/servicepacks" -Dcarbon.internal.lib.dir.path="${carbon.home}/wso2/lib" -Dei.extendedURIBasedDispatcher=org.wso2.micro.integrator.core.handlers.IntegratorStatefulHandler -Dserver.main.class=org.wso2.micro.integrator.server.Main -Djava.util.logging.config.file="${carbon.home}/conf/etc/logging-bridge.properties" -Dcomponents.repo="${carbon.home}/wso2/components/plugins" -Dconf.location="${carbon.home}/conf" -Dcom.atomikos.icatch.hide_init_file_path=true -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true -DNonRegistryMode=true -DNonUserCoreMode=true -Dcom.ibm.cacheLocalHost=true -Dcarbon.use.registry.repo=false -DworkerNode=false -Dorg.apache.cxf.io.CachedOutputStream.Threshold=104857600 -Dprofile=micro-integrator-default -Desb.debug=${esb.debug} -DenableManagementApi=true -DenablePrometheusApi=true -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*" -Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=net.sf.saxon.xpath.XPathFactoryImpl --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
</vmParameters>
<programArguments></programArguments>
<classpathReference>carbon.libs</classpathReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
-Dorg.apache.cxf.io.CachedOutputStream.Threshold=104857600 -Dprofile=micro-integrator-default
-Desb.debug=${esb.debug} -DenableManagementApi=true -DenablePrometheusApi=true -DgracefulShutdown=false
-Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*"
-Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=net.sf.saxon.xpath.XPathFactoryImpl
--add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
</vmParameters>
<programArguments></programArguments>
Expand Down