Fórum
LR 6.1.0 Service Builder
mohammad azaruddin, modificado 11 Anos atrás.
LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Hi All
In my service.xml i have modified one column and removed one column..After build service and deploy, the database table is uneffected..Long before i had faced same issue and i resolved it but i dont know how..Is there any valid solution for this
Regards
azhar
In my service.xml i have modified one column and removed one column..After build service and deploy, the database table is uneffected..Long before i had faced same issue and i resolved it but i dont know how..Is there any valid solution for this
Regards
azhar
Subhash Pavuskar, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
Hi,
Remove jar from WEB-INF->Lib folder and then rebuild your service !!
Remove jar from WEB-INF->Lib folder and then rebuild your service !!
mohammad azaruddin, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Hi
It is not working..i deleted the serive.jar and rebuild service..new service.jar is created but no use.
Regards
azhar
It is not working..i deleted the serive.jar and rebuild service..new service.jar is created but no use.
Regards
azhar
Subhash Pavuskar, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
your tomcat is in running condition right ?
mohammad azaruddin, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Hi
Yes.server is currently running
Yes.server is currently running
Subhash Pavuskar, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
can you share your service.xml code and if error message from console !!!
mohammad azaruddin, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Old servic.xml or new...?
i changed the name of primary key column and i deleted another column...
changed to
And no error in console..
i changed the name of primary key column and i deleted another column...
<entity name="Project" local-service="true" remote-service="false">
<column name="RecId" type="long" primary="true" />
<column name="ProjectId" type="long" />
<column name="ProjectName" type="String" />
changed to
<entity name="Project" local-service="true" remote-service="false">
<column name="ProjectId" type="long" primary="true" />
<column name="ProjectName" type="String" />
And no error in console..
Subhash Pavuskar, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
try this one !! 1st check serviceComponent table from your databse !! The build.number in service.properties must be higher than that, stored in servicecomponent if its like that then change it to the value higher value in your service.properties !! then rebuild your service !!
mohammad azaruddin, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Hi Subhash Pavuskar
there was one warning while building service layer even though it was showing build successful.
I learnt two things today 1)we are not supposed to ignore the warning while building service
2) build.number issue
And it is working fine now
Regards
Azhar
Subhash Pavuskar:
try this one !! 1st check serviceComponent table from your databse !! The build.number in service.properties must be higher than that, stored in servicecomponent if its like that then change it to the value higher value in your service.properties !! then rebuild your service !!
there was one warning while building service layer even though it was showing build successful.
I learnt two things today 1)we are not supposed to ignore the warning while building service
2) build.number issue
And it is working fine now
Regards
Azhar
Subhash Pavuskar, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Regular Member Postagens: 234 Data de Entrada: 13/03/12 Postagens Recentes
Yeah i know bcs even i too faced same problem long back !!
Jitendra Rajput, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
You can also verify from the logs if your service changes are applied or not .
Upgrading " + buildNamespace +" database to build number " + buildNumber
Upgrading database with tables.sql......
mohammad azaruddin, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens RecentesJitendra Rajput:
You can also verify from the logs if your service changes are applied or not .Upgrading " + buildNamespace +" database to build number " + buildNumber Upgrading database with tables.sql......
how to check using above code....?litle confused
Jitendra Rajput, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
This is not the code i just gave you example log..
Logs will be like this
Upgrading test_Portlet database to build number 100
Upgrading database with tables.sql......
Logs will be like this
Upgrading test_Portlet database to build number 100
Upgrading database with tables.sql......
mohammad azaruddin, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Okay..Now almost clear about it.....it ll throw below mentioned exception if there is some problem with service..am i right...?
Build namespace UNIVERSITY has build number 15 which is newer than 10
Jitendra Rajput, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
Check my post on build number space error.
http://itsliferay.blogspot.in/2012/04/build-number-deployment-error.html
http://itsliferay.blogspot.in/2012/04/build-number-deployment-error.html
mohammad azaruddin, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens RecentesJitendra Rajput:
Check my post on build number space error.
http://itsliferay.blogspot.in/2012/04/build-number-deployment-error.html
This blog is familiar to me.Thank you for sharing your knowledge
Regards
azhar
mohammad azaruddin, modificado 11 Anos atrás.
RE: LR 6.1.0 Service Builder
Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Also tables.sql file is uneffected.Should i delete the .java classes genereted by the service layer..?Or this problem is specific to LR 6.1.0..?