掲示板

service builder error

11年前 に Eme-Okafor Nwachukwu によって更新されました。

service builder error

New Member 投稿: 6 参加年月日: 13/02/28 最新の投稿
please i have been experiencing this problem lately.when i want to build my liferay service.xml file ,i get this error
[java] Java Result: 1
[echo] Error occurred during initialization of VM
[echo] Could not reserve enough space for object heap
[echo] Could not create the Java virtual machine.

BUILD FAILED
C:\JCodes\liferay-plugins-sdk-6.1.1\build-common-plugin.xml:207: Service Builder generated exceptions.
i have tried all i could but to no avail. Can someone help me
thumbnail
11年前 に mohammad azaruddin によって更新されました。

RE: service builder error

Expert 投稿: 492 参加年月日: 12/09/17 最新の投稿
Hi
I guess ur using LR 6.1.1
open build-common-plugin.xml file in plugin
go to line number 230..change the code as shown below

<java
classname="com.liferay.portal.tools.servicebuilder.ServiceBuilder"
classpathref="service.classpath"
fork="true"
newenvironment="true"
outputproperty="service.test.output"
>
<jvmarg value="-Xms256m" />
<jvmarg value="-Xmx512m" />
<jvmarg value="-Xss1024k" />
<jvmarg value="-XX:MaxPermSize=512m" />
<arg value="-Dexternal-properties=com/liferay/portal/tools/dependencies/portal-tools.properties" />
<arg value="-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger" />



Regards
azhar
thumbnail
11年前 に mohammad azaruddin によって更新されました。

RE: service builder error

Expert 投稿: 492 参加年月日: 12/09/17 最新の投稿
If not working try modifying those 3 values