8.6 Tomcat startup error on some systems

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

8.6 Tomcat startup error on some systems

Post by aware_support »

On some systems after updating to 8.6 you may not be able to run Tomcat and get the following error:

-Djava.endorsed.dirs=D:/tbs/CP/eclipse/../../Tomcat/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.

To fix this please delete the old file AwareIM/bin/startupOptions.props, which is incompatible with the new Java.

Make sure that you reset your memory settings after doing that (they are stored in this file and will be lost after you delete it).
Aware IM Support Team
UnionSystems
Posts: 197
Joined: Fri Jun 17, 2016 7:10 am
Location: Brisbane Australia
Contact:

Re: 8.6 Tomcat startup error on some systems

Post by UnionSystems »

If running AwareIM as a service on Windows where do you define the memory settings?
AWS Linux, Windows Server, AIM 8.4 & 8.6
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: 8.6 Tomcat startup error on some systems

Post by aware_support »

In two files, which are identical - only one is used, but I do not remember which one, so make the change in both.

The files are wrapper.conf and awareim.conf in the BIN directory.

This is the property in these files that sets memory:
wrapper.java.maxmemory=256
Aware IM Support Team
Post Reply