Changeset 13855
- Timestamp:
- 02/03/05 20:50:11 (4 years ago)
- Files:
-
- trunk/tools/installer/weblogic/ant-scripts/weblogic-domain-configuration.xml (modified) (2 diffs)
- trunk/tools/installer/weblogic/setup.sh (modified) (8 diffs)
- trunk/tools/installer/weblogic/setup.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tools/installer/weblogic/ant-scripts/weblogic-domain-configuration.xml
r13724 r13855 79 79 80 80 <query type="ServerStart" name="${deploy.server.name}" domain="${application.domain}"> 81 <set attribute="Arguments" value="-Xms256m -Xmx512m -Xns128m -Xgc:gencon -Xmanagement -Xnoopt -Dlog4j.configuration=file://${deploy.externalclasses.dir}/log4j-config.xml -Dweblogic.disableMBeanAuthorization=true" /> 81 82 <set attribute="Arguments" value="${deploy.server.startupArguments}" /> 82 83 <set attribute="JavaHome" value="${target.jrocket.home}" /> 83 84 <set attribute="RootDirectory" value="${target.domain.dir}" /> … … 188 189 189 190 <query type="ServerStart" name="${deploy.server.name}" domain="${application.domain}"> 190 <set attribute="Arguments" value=" -Xms256m -Xmx512m -Xns128m -Xgc:gencon -Xmanagement -Xnoopt -Dlog4j.configuration=file://${deploy.externalclasses.dir}/log4j-config.xml -Dweblogic.disableMBeanAuthorization=true" />191 <set attribute="Arguments" value="${deploy.server.startupArguments}" /> 191 192 <set attribute="JavaHome" value="${target.jrocket.home}" /> 192 193 </query> trunk/tools/installer/weblogic/setup.sh
r13841 r13855 17 17 USERADD_LOC="/usr/sbin/useradd" 18 18 PREFS_LOC="/root" 19 REMOTE_DEBUGGING="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" 19 20 20 21 … … 45 46 DOWNLOAD_EJOB="no" 46 47 CHKCONFIG="/sbin/chkconfig" 48 ENABLE_REMOTE_DEBUGGING="no" 47 49 48 50 … … 92 94 clear 93 95 cat <<EOF 94 -- ------- Project.net (v$PRODUCT_VERSION) - Enterprise Project Management ---------96 -- Project.net (v$PRODUCT_VERSION) - Enterprise Project Management -- 95 97 96 98 Welcome: 97 --------98 99 99 100 This installer will guide you through the installation or upgrade of Project.net … … 223 224 21. Download EJOB.jar: $DOWNLOAD_EJOB 224 225 22. ChkConfig Location: $CHKCONFIG 226 23. Enable Remote Debugging: $ENABLE_REMOTE_DEBUGGING 225 227 226 228 Q. Cancel Installation … … 767 769 echo -n "New Value: " 768 770 read DEPLOY_JVM_XNS 771 } 772 773 enable_remote_debugging() { 774 clear 775 cat <<EOF 776 Enable Remote Debugging? If so, enter "yes" (no quotes). !!CAUTION!! While this is valuable for debugging purposes, 777 enabling remote debugging can represent a major security risk while the application is in production. 778 779 Old Value: $ENABLE_REMOTE_DEBUGGING 780 EOF 781 echo -n "New Value: " 782 read ENABLE_REMOTE_DEBUGGING 769 783 } 770 784 … … 830 844 -Ddeploy.externalclasses.dir=$EXTERNAL_CLASSES_DIR \ 831 845 -Dinstaller.target.logging=$EXTERNAL_CLASSES_DIR \ 846 -Ddeploy.debug.enabled=$ENABLE_REMOTE_DEBUGGING \ 832 847 -D$INSTALLATION_MODE_PROPERTY=true \ 833 848 -verbose $SETUP_MODE … … 857 872 DEPLOY_JVM_XMX=$DEPLOY_JVM_XMX 858 873 DEPLOY_JVM_XNS=$DEPLOY_JVM_XNS 874 DOWNLOAD_EJOB=$DOWNLOAD_EJOB 875 ENABLE_REMOTE_DEBUGGING=$ENABLE_REMOTE_DEBUGGING 876 CHKCONFIG=$CHKCONFIG 859 877 EXTERNAL_CLASSES_DIR=$EXTERNAL_CLASSES_DIR" > $PREFS_LOC/.pnet_install_pref 860 878 } … … 932 950 "21") download_ejob;; 933 951 "22") chkconfig_location;; 952 "23") enable_remote_debugging;; 934 953 935 954 "q"|"Q") exit 1;; trunk/tools/installer/weblogic/setup.xml
r13746 r13855 68 68 </target> 69 69 70 <target name="-add-debug-properties" if="control.add.debug.arguments"> 71 <property name="deploy.debug.arguments" value="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" /> 72 </target> 73 74 <target name="-no-debug-properties" unless="control.add.debug.arguments"> 75 <property name="deploy.debug.arguments" value="" /> 76 </target> 77 78 <target name="-test-debug-enabled"> 79 <condition property="control.add.debug.arguments"> 80 <istrue value="${deploy.debug.enabled}" /> 81 </condition> 82 </target> 70 83 71 84 <!-- setup preperties and directories for use for setup tasks --> 72 <target name="-init-properties" >85 <target name="-init-properties" depends="-test-debug-enabled, -add-debug-properties, -no-debug-properties"> 73 86 74 87 <!-- installer source directories --> … … 134 147 <property name="deploy.logging.dir" value="${target.domain.dir}/logs" /> 135 148 149 <property name="deploy.server.startupArguments" value="-Xms256m -Xmx512m -Xns128m -Xgc:gencon -Xmanagement -Xnoopt -Dlog4j.configuration=file://${deploy.externalclasses.dir}/log4j-config.xml -Dweblogic.disableMBeanAuthorization=true ${deploy.debug.arguments}" /> 150 136 151 </target> 137 152
