Follow

Unable to view department status logged in as superuser or admin group user

Problem:
When logged in as a superuser or admin group user, one is unable to view the department status, The page displays an error message "Comparison method violates its general contract!" as indicated in the attachment at the end.

 

Resolution:
The final resolution will be a software fix and will be documented as part of the release notes.

The interim fix is to have the Java Virtual Machine (JVM) default behavior to the prior implementation.

To do so, on the BVE server, please follow the steps here: (note - the web application needs to be restarted for the change to take effect)
Note: TRAVERSE_HOME refers to the Traverse installation directory

On Windows

 
* Make a backup copy of TRAVERSE_HOME\bin\webapp.lax - such as on the Desktop
* Edit the file TRAVERSE_HOME\bin\webapp.lax
* look for the entry
  lax.nl.java.option.additional=-Xmx1024m -XX:-UseSplitVerifier -XX:MaxPermSize=128m -Dhttps.protocols=TLSv1 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../logs/oom_web.hprof -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=7691 -Dcom.sun.management.jmxremote.ssl=false
* add at the end of this entry
  -Djava.util.Arrays.useLegacyMergeSort=true
* it should look like
  lax.nl.java.option.additional=-Xmx1024m -XX:-UseSplitVerifier -XX:MaxPermSize=128m -Dhttps.protocols=TLSv1 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../logs/oom_web.hprof -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=7691 -Dcom.sun.management.jmxremote.ssl=false -Djava.util.Arrays.useLegacyMergeSort=true
* save the file
* restart the Traverse Web Application from the Traverse Service Controller

 

On LInux:

 
* Make a backup copy of TRAVERSE_HOME/etc/webapp.init - such as in /tmp
* Edit the file TRAVERSE_HOME/etc/webapp.init
* look for the entry
  JMX_OPTS="${JMX_OPTS} -Dcom.sun.management.jmxremote.ssl=false"
* Add under it
  JMX_OPTS="${JMX_OPTS} -Djava.util.Arrays.useLegacyMergeSort=true"
  so that this section finally looks like
  JMX_OPTS="${JMX_OPTS} -Dcom.sun.management.jmxremote.ssl=false"
  JMX_OPTS="${JMX_OPTS} -Djava.util.Arrays.useLegacyMergeSort=true"
* save the file
* restart the Traverse Web Application

 

You should now be able to access the Status --> Department page without error.

 

Error message (image):

status_departments.PNG

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.