본문 바로가기

WAS/WebLogic

max-request-parameter-count 변경 방법

아래 명령어 순차대로 실행

wlst.sh

connect('weblogic','weblogic1','t3://IP:PORT')

edit()

startEdit()

cmo.getWebAppContainer().setMaxRequestParamterCount(20000)

save()

cd('Servers/m1_12214')

cmo.getWebServer().setMaxRequestParamterCount(20000)

save()

activate()

exit()

 


 

config.xml 내용이 아래와 같이 변경됨

<configuration-version>12.2.1.4.0</configuration-version>
  <app-deployment>
    <name>ehc</name>
    <target>m1_12214</target>
    <module-type>war</module-type>
    <source-path>/appsource/ehc</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>nostage</staging-mode>
    <plan-staging-mode xsi:nil="true"></plan-staging-mode>
    <cache-in-app-directory>false</cache-in-app-directory>
  </app-deployment>
  <web-app-container>
    <max-request-parameter-count>20000</max-request-parameter-count>
    <max-request-paramter-count>20000</max-request-paramter-count>
  </web-app-container>
  <admin-server-name>AdminServer</admin-server-name>
  <jdbc-system-resource>
    <name>test</name>
    <target></target>
    <descriptor-file-name>jdbc/test-jdbc.xml</descriptor-file-name>
  </jdbc-system-resource>
</domain>