Fórumok
java.lang.StackOverflow Error while building service
Varsha ., módosítva 11 év-val korábban
java.lang.StackOverflow Error while building service
Regular Member Bejegyzések: 187 Csatlakozás dátuma: 2012.03.05. Legújabb bejegyzések
Hello everyone,
I am getting the java.lang.StackOverflow (attached) error while building the services.
My service.xml is having approximately 50 tables.
I have tried the http://issues.liferay.com/browse/LPS-19036 solution also but the problem still persist.
My eclipse.ini is also attached.
Please help me out .
I am getting the java.lang.StackOverflow (attached) error while building the services.
My service.xml is having approximately 50 tables.
I have tried the http://issues.liferay.com/browse/LPS-19036 solution also but the problem still persist.
My eclipse.ini is also attached.
Please help me out .
Mellékletek:
David H Nebinger, módosítva 11 év-val korábban
RE: java.lang.StackOverflow Error while building service
Liferay Legend Bejegyzések: 14916 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
Your eclipse ini file has no effect on the amount of memory used to invoke java via the ant task (which is used to run service builder).
You'll have to make the change in the ant build scripts to define the size of memory to allocate when building services.
You'll have to make the change in the ant build scripts to define the size of memory to allocate when building services.
Varsha ., módosítva 11 év-val korábban
RE: java.lang.StackOverflow Error while building service
Regular Member Bejegyzések: 187 Csatlakozás dátuma: 2012.03.05. Legújabb bejegyzések
Thank's for your prompt reply.
I am new to this , can you help me out in making changes in ant script??
David H Nebinger:
You'll have to make the change in the ant build scripts to define the size of memory to allocate when building services.
I am new to this , can you help me out in making changes in ant script??
Vishal Panchal, módosítva 11 év-val korábban
RE: java.lang.StackOverflow Error while building service (Válasz)
Expert Bejegyzések: 289 Csatlakozás dátuma: 2012.05.20. Legújabb bejegyzésekVarsha .:
Thank's for your prompt reply.David H Nebinger:You'll have to make the change in the ant build scripts to define the size of memory to allocate when building services.
I am new to this , can you help me out in making changes in ant script??
Hi Varsha ,
As per David's suggestion I think you have to set ANT_OPTS(ant memory allocation parameter).
You should set ANT_OPTS to your system variables under environment variables.
You have to add one new variable having values below.
variable name : ANT_OPTS
variable value : -Xmx1200m -Xms1200m -XX:MaxPermSize=256m
please find the attached snapshot for more details.
Thanks&Regards,
Vishal R. Panchal
Mellékletek:
Varsha ., módosítva 11 év-val korábban
RE: java.lang.StackOverflow Error while building service
Regular Member Bejegyzések: 187 Csatlakozás dátuma: 2012.03.05. Legújabb bejegyzések
Thanks Vishal Panchal it worked..
Vishal Panchal, módosítva 11 év-val korábban
RE: java.lang.StackOverflow Error while building service
Expert Bejegyzések: 289 Csatlakozás dátuma: 2012.05.20. Legújabb bejegyzésekVarsha .:
Thanks Vishal Panchal it worked..
Varsha ,
Good to here ,,
Thanks to David as well..!
Thanks&Regards,
Vishal R. Panchal