Hi,
I have a plugin portlet project that consists of 13 portlets, these portlets are calling a number of service methods defined within this plugin project.
Sometimes when I deploy the project to Liferay 6.1 I see the following error for every portlet
BeanLocator is null for servlet context <my-portlet-name>
The only way to correct this seems to be to restart the server.
I've been trying to work out a pattern to this happening, if after starting the server I go directly to a page in Liferay that is hosting one or more of these portlets the error usually occurs, however going to a standard Liferay page before moving to a page containing these portlets seems to work. Can't say this 100% but that is the pattern I have established so far.
Ideally I would like to break this project up into a number of smaller projects, but I couldn't find a way to call a custom service defined in one plugin project from another.
Anyone had a similar problem?
Please sign in to flag this as inappropriate.