进入: D:\Oracle\Middleware\user_projects\domains\base_domain\startWebLogic.cmd 在call 上一行增加: set USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=1024m 例如: @ECHO OFF @REM WARNING: This file is created by the Configuration Wizard.@REM A
java获取JVM启动参数 System.getProperty取 -D后的key即可 public class Test { public static void main(String[] args){ System.out.println(System.getProperty("configurePath")); } }
1.端口更改:找到config目录下server.xml文件 如下 <?xml version='1.0' encoding='utf-8'?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional informa