티스토리 뷰

대략 아래와 같은 오류가 났다면.

java.nio.charset.MalformedInputException: Input length = 1

at java.nio.charset.CoderResult.throwException(CoderResult.java:260)

at org.apache.tomcat.util.buf.B2CConverter.convert(B2CConverter.java:189)

at org.apache.catalina.connector.InputBuffer.realReadChars(InputBuffer.java:374)

at org.apache.tomcat.util.buf.CharChunk.substract(CharChunk.java:439)

at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:416)

at org.apache.catalina.connector.CoyoteReader.read(CoyoteReader.java:108)

at org.apache.catalina.connector.CoyoteReader.readLine(CoyoteReader.java:163)



톰캣 catalina.sh 파일에 아래와 같은걸 추가해준다.

JAVA_OPTS="-Djava.awt.headless=true -server -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC"

끝.



댓글
댓글쓰기 폼
공지사항
Total
826,136
Today
94
Yesterday
354
«   2020/07   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
글 보관함