Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
cax queiroz
servicebuilder on 5.1.2
12 de Fevereiro de 2009 20:53
Resposta

cax queiroz

Ranking: New Member

Mensagens: 19

Data de entrada: 13 de Fevereiro de 2007

Mensagens recentes

Hi there,

Every time I am running servicebuilder to create my services on ext-impl I get this error:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at com.liferay.portal.tools.servicebuilder.ServiceBuilder._createRemotingXml(ServiceBuilder.java:2165)
at com.liferay.portal.tools.servicebuilder.ServiceBuilder.<init>(ServiceBuilder.java:971)
at com.liferay.portal.tools.servicebuilder.ServiceBuilder.<init>(ServiceBuilder.java:390)
at com.liferay.portal.tools.servicebuilder.ServiceBuilder.main(ServiceBuilder.java:157)

There is no remote-service on my service.xml.

I already delete all possible xml files (ext-hbm.xml, ext-model-hints.xml, ext-spring.xml) may be affecting service builder, but no luck.

Please, any ideas?
cax queiroz
[SOLVED] RE: servicebuilder on 5.1.2
12 de Fevereiro de 2009 21:18
Resposta

cax queiroz

Ranking: New Member

Mensagens: 19

Data de entrada: 13 de Fevereiro de 2007

Mensagens recentes

For some reason servicebuilder didn't like empty remoting-servlet-ext.xml files. I removed it and wsdd equivalent and worked.
petar banicevic
RE: [SOLVED] RE: servicebuilder on 5.1.2
24 de Maio de 2009 16:36
Resposta

petar banicevic

Ranking: Junior Member

Mensagens: 69

Data de entrada: 27 de Maio de 2008

Mensagens recentes

Thanks for posting solution.
Christianto Sahat
RE: [SOLVED] RE: servicebuilder on 5.1.2
25 de Maio de 2009 19:36
Resposta

Christianto Sahat

Ranking: Regular Member

Mensagens: 175

Data de entrada: 24 de Setembro de 2007

Mensagens recentes

There are bugs in ServiceBuilder in 5.1.2. I've posted the problem and the solution here.