The error below is seen in Securonix application log.Does not seem to impact anything. INFO: Server startup in 6749 ms Unable to use direct char[] access of java.lang.String java.lang.NoSuchFieldException: count at java.lang.Class.getDeclaredField(Class.java:1948)

asked 01 Aug '14, 04:10

tgulati's gravatar image

tgulati ♦♦
2061411
accept rate: 14%


this is an error related to the support of string by Java 7.x and is safe to ignore. However, if you want to get rid of this error make the change below on <tomcat_home>/bin/startup.sh or <tomcat_home>/bin/setenv.sh

export CATALINA_OPTS="-XX:+AggressiveOpts -XX:+UseLargePages -Xmn2g -Xms8g -Xmx12g -XX:MaxPermSize=512m -Dstringchararrayaccessor.disabled=true"

By setting Dstringchararrayaccessor.disabled=true, you can eliminate this error.

link

answered 01 Aug '14, 04:15

tgulati's gravatar image

tgulati ♦♦
2061411
accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3
×1
×1
×1
×1

Asked: 01 Aug '14, 04:10

Seen: 844 times

Last updated: 01 Aug '14, 04:15