Foros

Inicio » Liferay IDE » English

Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Erros in building service Jiangtao Qiu 26 de agosto de 2012 5:06
RE: Erros in building service sunny huang 26 de agosto de 2012 6:31
RE: Erros in building service Jiangtao Qiu 26 de agosto de 2012 8:14
RE: Erros in building service David H Nebinger 26 de agosto de 2012 10:59
RE: Erros in building service Jiangtao Qiu 26 de agosto de 2012 16:46
RE: Erros in building service Hitoshi Ozawa 26 de agosto de 2012 16:51
RE: Erros in building service Jiangtao Qiu 26 de agosto de 2012 17:01
RE: Erros in building service Hitoshi Ozawa 26 de agosto de 2012 20:35
RE: Erros in building service Jiangtao Qiu 26 de agosto de 2012 20:52
RE: Erros in building service Hitoshi Ozawa 26 de agosto de 2012 21:21
RE: Erros in building service David H Nebinger 26 de agosto de 2012 17:27
RE: Erros in building service Jiangtao Qiu 29 de agosto de 2012 2:51
RE: Erros in building service Hitoshi Ozawa 26 de agosto de 2012 16:17
RE: Erros in building service Mazhar Alam 8 de febrero de 2013 23:27
RE: Erros in building service Varun Arya 22 de agosto de 2013 4:27
RE: Erros in building service Laura Salas 27 de marzo de 2015 7:25
RE: Erros in building service Navin Agarwal 5 de abril de 2013 13:40
RE: Erros in building service master slave 21 de mayo de 2013 3:35
RE: Erros in building service Pradip Gadewar 20 de noviembre de 2013 23:11
RE: Erros in building service Nitin Yeola 24 de marzo de 2014 7:39
RE: Erros in building service Ehsan Rashidy 24 de mayo de 2013 9:30
RE: Erros in building service Reena Dsouza 24 de mayo de 2013 23:33
RE: Erros in building service Jobin Mathew 7 de noviembre de 2014 3:49
RE: Erros in building service Raja Seth 23 de enero de 2015 2:10
RE: Erros in building service Gregory Amerson 26 de agosto de 2012 7:17
RE: Erros in building service Jiangtao Qiu 26 de agosto de 2012 8:09
RE: Erros in building service Jiangtao Qiu 29 de agosto de 2012 6:52
RE: Erros in building service Hitoshi Ozawa 1 de septiembre de 2012 5:28
RE: Erros in building service Jiangtao Qiu 1 de septiembre de 2012 20:23
RE: Erros in building service piyush liferay 6 de marzo de 2013 3:11
Jiangtao Qiu
Erros in building service
26 de agosto de 2012 5:06
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

Hi,

I am learning Liferay with book "Liferay in Action".
I made a service.xml file and put it in web-inf folder of a portlet project according to steps introduced in the section 3.3 "Generating DB code with Service Builder" of the book.
right-click the service.xml, in the poped menu, I click Liferay->Build service item to running Service Builder. However, the following errors are shown

[Console output redirected to file:C:\liferay\workspace\.metadata\.plugins\com.liferay.ide.eclipse.sdk\sdk.log]
Buildfile: C:\liferay\plugins\liferay-plugins-sdk\portlets\product-registration-portlet\build.xml
build-service:
Java Result: 1
Error: Could not create the Java Virtual Machine.Error occurred during initialization of VM
Could not reserve enough space for object heapError: A fatal exception has occurred. Program will exit.

BUILD FAILED
C:\liferay\plugins\liferay-plugins-sdk\build-common-plugin.xml:207: Service Builder generated exceptions.

Total time: 1 second


clicking the button “Run->Run configuration", "VM arguments" show setting of VM
-Djava.endorsed.dirs="C:\liferay\bundles\tomcat-6.0.29\endorsed" -Xmx1024m -XX:MaxPermSize=256m

Could you please give me some helps ?
Thanks
sunny huang
RE: Erros in building service
26 de agosto de 2012 6:31
Respuesta

sunny huang

Ranking: New Member

Mensajes: 6

Fecha de incorporación: 17 de enero de 2011

Mensajes recientes

SDK ,change the file build-common-plugin.xml from
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
祝你好运!
Gregory Amerson
RE: Erros in building service
26 de agosto de 2012 7:17
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 976

Fecha de incorporación: 16 de febrero de 2010

Mensajes recientes

Jiangtao Qiu:
Hi,

I am learning Liferay with book "Liferay in Action".
I made a service.xml file and put it in web-inf folder of a portlet project according to steps introduced in the section 3.3 "Generating DB code with Service Builder" of the book.
right-click the service.xml, in the poped menu, I click Liferay->Build service item to running Service Builder. However, the following errors are shown

[Console output redirected to file:C:\liferay\workspace\.metadata\.plugins\com.liferay.ide.eclipse.sdk\sdk.log]
Buildfile: C:\liferay\plugins\liferay-plugins-sdk\portlets\product-registration-portlet\build.xml
build-service:
Java Result: 1
Error: Could not create the Java Virtual Machine.Error occurred during initialization of VM
Could not reserve enough space for object heapError: A fatal exception has occurred. Program will exit.

BUILD FAILED
C:\liferay\plugins\liferay-plugins-sdk\build-common-plugin.xml:207: Service Builder generated exceptions.

Total time: 1 second


clicking the button “Run->Run configuration", "VM arguments" show setting of VM
-Djava.endorsed.dirs="C:\liferay\bundles\tomcat-6.0.29\endorsed" -Xmx1024m -XX:MaxPermSize=256m

Could you please give me some helps ?
Thanks


Can you post your entire console log with the whole exception stack trace?
Jiangtao Qiu
RE: Erros in building service
26 de agosto de 2012 8:09
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

The Error shown in console of Liferay IDE are

[Console output redirected to file:C:\liferay\workspace\.metadata\.plugins\com.liferay.ide.eclipse.sdk\sdk.log]
Buildfile: C:\liferay\plugins\liferay-plugins-sdk\portlets\product-registration-portlet\build.xml
build-service:
Java Result: 1
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

BUILD FAILED
C:\liferay\plugins\liferay-plugins-sdk\build-common-plugin.xml:207: Service Builder generated exceptions.

Total time: 1 second

clicking the Error message in "Log view" in Liferay IDE, the textarea of Exception Stack Trace show that "An exception stack trace is not available."
Jiangtao Qiu
RE: Erros in building service
26 de agosto de 2012 8:14
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

Thanks a lot!

I modify the build-commons-plugin.xml according to your suggestion.
The error message did not show. However the progress of building services is in a endless waiting!
There is no change in progress bar of build service dialog.
David H Nebinger
RE: Erros in building service
26 de agosto de 2012 10:59
Respuesta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensajes: 8915

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

If you have a lot of entities in your service.xml file, it will take awhile for service builder to run.

Progress bar does not get updated because it is a single process that is running and that process is not communicating w/ the IDE.

For example, I have 75 entities defined and have custom methods in most of my XxxLocalServiceImpl classes.

On my desktop (times will vary depending upon your hardware), it was taking almost 8 minutes to run service builder. I was able to chop that time down to less than 3 minutes by disabling virus scanning and the windows search service.

Eventually Service Builder should complete, though, you just have to be patient.
Hitoshi Ozawa
RE: Erros in building service
26 de agosto de 2012 16:17
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7952

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

You just need a fast computer with a lot of memory. Recommend core i7 with at least 4 GB memory using linux is recommended. Windows tends to be slower and was getting out of memory error on 32 bit.

During the wait time, answer questions here. :-)
Jiangtao Qiu
RE: Erros in building service
26 de agosto de 2012 16:46
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

I only define one table in sevice.xml. However, after one night waiting there are 188 tables generated in my database except the defined table “PRProduct”.

service.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.0.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_0_0.dtd">
<service-builder
package-path="com.inkwell.internet.productregistration">
<author>qjt</author>
<namespace>PR</namespace>

<entity name="PRProduct" local-service="true" remote-service="false">
<column name="productId" type="long" primary="true" />
<column name="productName" type="String" />
<column name="serialNumber" type="String" />
<column name="companyId" type="long" />
<column name="groupId" type="long" />
<order by="asc">
<order-column name="productName" />
</order>
<finder name="G_PN" return-type="Collection">
<finder-column name="groupId" />
<finder-column name="productName" />
</finder>

<finder name="GroupId" return-type="Collection">
<finder-column name="groupId" />
</finder>
<finder name="CompanyId" return-type="Collection">
<finder-column name="companyId" />
</finder>
</entity>
</service-builder>


In addition, why is decreasing Xmx value a correct operation?
Hitoshi Ozawa
RE: Erros in building service
26 de agosto de 2012 16:51
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7952

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

I only define one table in sevice.xml. However, after one night waiting there are 188 tables generated in my database except the defined table “PRProduct”.


Do you mean there are 188 liferay tables or that building a new service created additional 188 tables? What are the name of some of the tables?
Jiangtao Qiu
RE: Erros in building service
26 de agosto de 2012 17:01
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

Hitoshi Ozawa:
I only define one table in sevice.xml. However, after one night waiting there are 188 tables generated in my database except the defined table “PRProduct”.


Do you mean there are 188 liferay tables or that building a new service created additional 188 tables? What are the name of some of the tables?



Account_
Address
AnnouncementsDelivery
AnnouncementsEntry
AnnouncementsFlag
AssetCategory
AssetCategoryProperty
AssetEntries_AssetCategories
AssetEntries_AssetTags
AssetEntry
AssetLink
AssetTag
AssetTagProperty
AssetTagStats
AssetVocabulary
BlogsEntry
BlogsStatsUser
BookmarksEntry
BookmarksFolder
BrowserTracker
CalEvent
Chat_Entry
Chat_Status
ClassName_
ClusterGroup
Company
Contact_
Counter
Country
CyrusUser
CyrusVirtual
DLFileEntry
DLFileRank
DLFileShortcut
DLFileVersion
DLFolder
EmailAddress
ExpandoColumn
ExpandoRow
ExpandoTable
ExpandoValue
Group_
Groups_Orgs
Groups_Permissions
Groups_Roles
Groups_UserGroups
IGFolder
IGImage
Image
JournalArticle
JournalArticleImage
JournalArticleResource
JournalContentSearch
JournalFeed
JournalStructure
JournalTemplate
KaleoAction
KaleoDefinition
KaleoInstance
KaleoInstanceToken
KaleoLog
KaleoNode
KaleoNotification
KaleoNotificationRecipient
KaleoTask
KaleoTaskAssignment
KaleoTaskAssignmentInstance
KaleoTaskInstanceToken
KaleoTransition
Layout
LayoutPrototype
LayoutSet
LayoutSetPrototype
ListType
Lock_
Mail_Account
Mail_Attachment
Mail_Folder
Mail_Message
MBBan
MBCategory
MBDiscussion
MBMailingList
MBMessage
MBMessageFlag
MBStatsUser
MBThread
MembershipRequest
OpenSocial_Gadget
Organization_
OrgGroupPermission
OrgGroupRole
OrgLabor
PasswordPolicy
PasswordPolicyRel
PasswordTracker
Permission_
Phone
PluginSetting
PollsChoice
PollsQuestion
PollsVote
Portlet
PortletItem
PortletPreferences
product
productregistrationuser
QUARTZ_BLOB_TRIGGERS
QUARTZ_CALENDARS
QUARTZ_CRON_TRIGGERS
QUARTZ_FIRED_TRIGGERS
QUARTZ_JOB_DETAILS
QUARTZ_JOB_LISTENERS
QUARTZ_LOCKS
QUARTZ_PAUSED_TRIGGER_GRPS
QUARTZ_SCHEDULER_STATE
QUARTZ_SIMPLE_TRIGGERS
QUARTZ_TRIGGER_LISTENERS
QUARTZ_TRIGGERS
RatingsEntry
RatingsStats
Region
registration
Release_
Resource_
ResourceAction
ResourceCode
ResourcePermission
Role_
Roles_Permissions
SCFrameworkVersi_SCProductVers
SCFrameworkVersion
SCLicense
SCLicenses_SCProductEntries
SCProductEntry
SCProductScreenshot
SCProductVersion
ServiceComponent
Shard
ShoppingCart
ShoppingCategory
ShoppingCoupon
ShoppingItem
ShoppingItemField
ShoppingItemPrice
ShoppingOrder
ShoppingOrderItem
SN_MeetupsEntry
SN_MeetupsRegistration
SN_WallEntry
SocialActivity
SocialEquityAssetEntry
SocialEquityGroupSetting
SocialEquityHistory
SocialEquityLog
SocialEquitySetting
SocialEquityUser
SocialRelation
SocialRequest
Subscription
TasksProposal
TasksReview
Team
Ticket
User_
UserGroup
UserGroupGroupRole
UserGroupRole
UserIdMapper
Users_Groups
Users_Orgs
Users_Permissions
Users_Roles
Users_Teams
Users_UserGroups
UserTracker
UserTrackerPath
Vocabulary
WebDAVProps
Website
WikiNode
WikiPage
WikiPageResource
WorkflowDefinitionLink
WorkflowInstanceLink
WSRP_WSRPConsumer
WSRP_WSRPConsumerPortlet
WSRP_WSRPProducer
David H Nebinger
RE: Erros in building service
26 de agosto de 2012 17:27
Respuesta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensajes: 8915

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

Jiangtao Qiu:
I only define one table in sevice.xml. However, after one night waiting there are 188 tables generated in my database except the defined table “PRProduct”.


I don't see anything wrong with your service.xml file, but I'm betting you have environmental problems (properties not set up correctly in the SDK dir and/or others).

In addition, why is decreasing Xmx value a correct operation?


If you specify a value that is too big, the JVM cannot get the memory at startup and you end up with the failure you reported.

Decreasing the values gets you to a memory allocation that works for your local configuration.

Please note that you didn't mention what JDK you're using - if it is anything besides the oracle 6 JDK, you're using the wrong one.
Hitoshi Ozawa
RE: Erros in building service
26 de agosto de 2012 20:35
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7952

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Those are just liferay's default tables. Where are you defining your service.xml? In your custom portlet?
Jiangtao Qiu
RE: Erros in building service
26 de agosto de 2012 20:52
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

Hitoshi Ozawa:
Those are just liferay's default tables. Where are you defining your service.xml? In your custom portlet?



I created a portlet project in Liferay IDE, and then puting service.xml in docroot->WEB-INF folder.
Right-click the service.xml file, in the poped menu, I choose Liferay->build service command
Hitoshi Ozawa
RE: Erros in building service
26 de agosto de 2012 21:21
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7952

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Open up a command console and go to the portlet directory in liferay sdk. Try executing ant build-service and see if you get any errors.
Jiangtao Qiu
RE: Erros in building service
29 de agosto de 2012 2:51
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

David H Nebinger:
Jiangtao Qiu:
I only define one table in sevice.xml. However, after one night waiting there are 188 tables generated in my database except the defined table “PRProduct”.


I don't see anything wrong with your service.xml file, but I'm betting you have environmental problems (properties not set up correctly in the SDK dir and/or others).

In addition, why is decreasing Xmx value a correct operation?


If you specify a value that is too big, the JVM cannot get the memory at startup and you end up with the failure you reported.

Decreasing the values gets you to a memory allocation that works for your local configuration.

Please note that you didn't mention what JDK you're using - if it is anything besides the oracle 6 JDK, you're using the wrong one.



Although replaced JDK 7 with JDK 1.6, the problems remain unresolved.
I also install the liferay developer studio, and then building service in the studio. Everything went to be all right except that fail to find PRProduct table in database.
Why?
Jiangtao Qiu
RE: Erros in building service
29 de agosto de 2012 6:52
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

Problems have been solved.
I intalled Liferay Portal with 6.0 version, but plugin SDK with 6.1 version.
Having reinstalled plugin SDK with 6.0 version, everything is all right.
Hitoshi Ozawa
RE: Erros in building service
1 de septiembre de 2012 5:28
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7952

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Nice to hear that you've got is resolved. Should have asked you about the versions because this is one of the major cause of problem during a build.

As an addition, there seems to be some difference between CE and EE version as well because liferay's revisions are different. You've mentioned using Studio so I assume you have an EE version, so recommend to obtain EE version of SDK if it's available.
Jiangtao Qiu
RE: Erros in building service
1 de septiembre de 2012 20:23
Respuesta

Jiangtao Qiu

Ranking: Junior Member

Mensajes: 27

Fecha de incorporación: 13 de agosto de 2012

Mensajes recientes

Hitoshi Ozawa:
Nice to hear that you've got is resolved. Should have asked you about the versions because this is one of the major cause of problem during a build.

As an addition, there seems to be some difference between CE and EE version as well because liferay's revisions are different. You've mentioned using Studio so I assume you have an EE version, so recommend to obtain EE version of SDK if it's available.



Thank Hitoshi
I am newbie to Liferay, learning hard at it.
Mazhar Alam
RE: Erros in building service
8 de febrero de 2013 23:27
Respuesta

Mazhar Alam

Ranking: Regular Member

Mensajes: 201

Fecha de incorporación: 25 de noviembre de 2011

Mensajes recientes

SDK ,change the file build-common-plugin.xml from
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />



THis helped me...
piyush liferay
RE: Erros in building service
6 de marzo de 2013 3:11
Respuesta

piyush liferay

Ranking: Junior Member

Mensajes: 40

Fecha de incorporación: 1 de enero de 2013

Mensajes recientes

Jiangtao Qiu:
Hi,

I am learning Liferay with book "Liferay in Action".
I made a service.xml file and put it in web-inf folder of a portlet project according to steps introduced in the section 3.3 "Generating DB code with Service Builder" of the book.
right-click the service.xml, in the poped menu, I click Liferay->Build service item to running Service Builder. However, the following errors are shown

[Console output redirected to file:C:\liferay\workspace\.metadata\.plugins\com.liferay.ide.eclipse.sdk\sdk.log]
Buildfile: C:\liferay\plugins\liferay-plugins-sdk\portlets\product-registration-portlet\build.xml
build-service:
Java Result: 1
Error: Could not create the Java Virtual Machine.Error occurred during initialization of VM
Could not reserve enough space for object heapError: A fatal exception has occurred. Program will exit.

BUILD FAILED
C:\liferay\plugins\liferay-plugins-sdk\build-common-plugin.xml:207: Service Builder generated exceptions.

Total time: 1 second


clicking the button “Run->Run configuration", "VM arguments" show setting of VM
-Djava.endorsed.dirs="C:\liferay\bundles\tomcat-6.0.29\endorsed" -Xmx1024m -XX:MaxPermSize=256m

Could you please give me some helps ?
Thanks


if your problem of exception in building a service is not resolved then restart your computer after that build service ......
Navin Agarwal
RE: Erros in building service
5 de abril de 2013 13:40
Respuesta

Navin Agarwal

Ranking: Junior Member

Mensajes: 46

Fecha de incorporación: 20 de enero de 2011

Mensajes recientes

sunny huang:
SDK ,change the file build-common-plugin.xml from
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
祝你好运!


Hey Sunny,
your post have saved my lot of time .. thanks. I was getting same error which I fixed,by changing the value of <jvmarg /> in build-common-plugin.xml. I have attached the Error file for others reference. I am using liferay-portal-6.1.1-ce-ga2. It might other people get the solution....
Adjunto

archivos adjuntos: serviceBuilderError.jpg (107,3k)
master slave
RE: Erros in building service
21 de mayo de 2013 3:35
Respuesta

master slave

Ranking: Junior Member

Mensajes: 31

Fecha de incorporación: 8 de abril de 2013

Mensajes recientes

Yes it helped me , thank you both emoticon
Ehsan Rashidy
RE: Erros in building service
24 de mayo de 2013 9:30
Respuesta

Ehsan Rashidy

Ranking: New Member

Mensajes: 17

Fecha de incorporación: 24 de abril de 2013

Mensajes recientes

sunny huang:
SDK ,change the file build-common-plugin.xml from
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
祝你好运!


this helped me ....
Reena Dsouza
RE: Erros in building service
24 de mayo de 2013 23:33
Respuesta

Reena Dsouza

Ranking: New Member

Mensajes: 1

Fecha de incorporación: 11 de febrero de 2010

Mensajes recientes

This helped me too
SDK ,change the file build-common-plugin.xml from
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
Varun Arya
RE: Erros in building service
22 de agosto de 2013 4:27
Respuesta

Varun Arya

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 11 de abril de 2013

Mensajes recientes

its working... emoticon
thanks
Pradip Gadewar
RE: Erros in building service
20 de noviembre de 2013 23:11
Respuesta

Pradip Gadewar

Ranking: New Member

Mensajes: 2

Fecha de incorporación: 17 de octubre de 2013

Mensajes recientes

yes it helped me a lot
and its working now....

Thank u so much...!!!!
Nitin Yeola
RE: Erros in building service
24 de marzo de 2014 7:39
Respuesta

Nitin Yeola

Ranking: Junior Member

Mensajes: 60

Fecha de incorporación: 16 de enero de 2014

Mensajes recientes

Hi,
I am also getting same kind of issue. My service builder is not creating service classes also.
When i click on "build-service" from ANT view in eclipse indigo it is giving following result in console.i have tried alot of tests but simple service builder is not working in my case.not working even after replacing memory options.
i have tried from command line also.

Buildfile: E:\Liferay-workspace\liferay-plugins-sdk-6.1.1\portlets\Test9-portlet\build.xml
build-service:
Created dir: E:\Liferay-workspace\liferay-plugins-sdk-6.1.1\portlets\Test9-portlet\docroot\WEB-INF\service
Created dir: E:\Liferay-workspace\liferay-plugins-sdk-6.1.1\portlets\Test9-portlet\docroot\WEB-INF\sql
Building MANIFEST-only jar: E:\Liferay-workspace\liferay-plugins-sdk-6.1.1\portlets\Test9-portlet\build-service-classpath.jar


one more thing after clicking on "build-service", build is never ending and automatically Portal build files are generated in my portlet.
any ideas please help me
Jobin Mathew
RE: Erros in building service
7 de noviembre de 2014 3:49
Respuesta

Jobin Mathew

Ranking: Junior Member

Mensajes: 65

Fecha de incorporación: 4 de julio de 2014

Mensajes recientes

sunny huang:
SDK ,change the file build-common-plugin.xml from
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
祝你好运!



Thanks a lot.. it worked emoticon
Raja Seth
RE: Erros in building service
23 de enero de 2015 2:10
Respuesta

Raja Seth

Ranking: Regular Member

Mensajes: 161

Fecha de incorporación: 18 de agosto de 2011

Mensajes recientes

sunny huang:
SDK ,change the file build-common-plugin.xml from
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />
祝你好运!


Hi Sunny,

I was also facing the same issue, thanks to your reply which resolved my problem. Is there any negative impact for the above changes done?

I am using liferay-6.2ee-sp8.

Thanks & Regards,
Raja
Laura Salas
RE: Erros in building service
27 de marzo de 2015 7:25
Respuesta

Laura Salas

Ranking: New Member

Mensajes: 2

Fecha de incorporación: 26 de marzo de 2015

Mensajes recientes

Mazhar Alam:
SDK ,change the file build-common-plugin.xml from
<jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
to
<jvmarg value="-Xms128m" />
<jvmarg value="-Xmx512m" />

THis helped me...


That helped me too!
Thanks, Mazhar Alam!