09-12-2009 01:21 AM - edited 07-03-2021 06:02 PM
Hi
I've just upgraded WCS from 4.2.128.0 to 6.0.132.0 But WCS won't start. The hm_launchout.txt file show:
Starting Health Monitor as a primary
Checking for port 8082 availability⦠ok
Starting Health Monitor Web Serverâ¦
Health Monitor Web Server Started.
Starting Health Monitor Serverâ¦
Health Monitor Server Started.
Starting WCS server
Invalid maximum heap size: -xmxm
Could not create the Java virtual machine.
Anyone knows what to do?
Thanks
Solved! Go to Solution.
09-12-2009 01:33 AM
You hit bug : CSCta18874
To fix it:
Edit startServer.sh in WCSx.x/bin folder or startServer.bat in Windows
Replace a line with:
export JAVA_OPTS="-server -Xms256m -Xmx1024m -XX:MaxPermSize=256m -Djava.awt.hea dless=true"
This should fix your problem
09-12-2009 01:33 AM
You hit bug : CSCta18874
To fix it:
Edit startServer.sh in WCSx.x/bin folder or startServer.bat in Windows
Replace a line with:
export JAVA_OPTS="-server -Xms256m -Xmx1024m -XX:MaxPermSize=256m -Djava.awt.hea dless=true"
This should fix your problem
09-12-2009 09:49 AM
Thank you so much.
It was exactly that bug.
Even though my installation isn't German I did the workaround:
Modify WCS_Install_Directory\bin\startServer.bat
change the line:
set MAX_HEAP_SIZE=m
to
set MAX_HEAP_SIZE=1024m
:-)
09-17-2009 11:43 PM
I had the same problem with a server installed with a the danish locale. (I guess the same as Peter's)
09-18-2009 01:43 AM
Yes my was also Danish.
Did the workaround solved you issues?
Peter
09-18-2009 01:44 AM
Yes
09-18-2009 07:06 AM
This happens on upgrades regardless of the language.
I will modify the release notes of the bug.
Thanks for reporting the issue and glad to hear the workaround fixed the issue.
10-29-2009 07:30 AM
lavramov,
Thank you soo much for this reply!
It's save me!
:)
10-29-2009 07:34 AM
Yes I did.
Just change
set MAX_HEAP_SIZE=m
to
set MAX_HEAP_SIZE=1024m
And WCS starts up.
10-29-2009 11:48 AM
Glad to help. Dont hesitate to vote for this. The more votes on this post, the more chances people will look into it if they run in the issue.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide