Skip to content

Commit

Permalink
Merge pull request #1264 from GDLMadushanka/xpath
Browse files Browse the repository at this point in the history
Add missing VM arguments in server scripts
  • Loading branch information
GDLMadushanka authored Nov 13, 2023
2 parents df5e911 + 56eee12 commit e6059e9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
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

0 comments on commit e6059e9

Please sign in to comment.