Pinned topicNew portlet Installation on portal server

‏2012-07-20T06:49:16Z
|Tags:

Answered question
This question has been answered.

Unanswered question
This question has not been answered yet.

Hi,

I am working on WPF 7.0 and Websphere portal server 6.1. We are building war file of our application on Build server. I have created 2 new portlet and transferred them at build server. portlet.xml and web.xml is generated dynamically by portletwar.xml.
But in portlet.xml entry for new portlet is not coming.Do I need to perform any other step apart from adding modal file As portlet.xml and web.xml is generating dynamically.

Re: New portlet Installation on portal server

‏2012-07-20T12:35:43Z

This is the accepted answer.
This is the accepted answer.

If you have a WEB-INF/models/ExternalModelProperties.xml file on your build server, I'd suggest deleting that file and re-running the build of the WAR file. The ExternalModelProperties.xml file is a cache of various properties, including identifying which model files in your project contain Portlet Adapter builders. This cache in ExternalModelProperties.xml should be automatically updated when the WAR file is built by the build script, but this automatic rebuilding of the cache may not be working properly on your build server. (I'm not entirely sure why.) Deleting ExternalModelProperties.xml is safe and will force the build server to re-build a fresh copy.

Re: New portlet Installation on portal server

If you have a WEB-INF/models/ExternalModelProperties.xml file on your build server, I'd suggest deleting that file and re-running the build of the WAR file. The ExternalModelProperties.xml file is a cache of various properties, including identifying which model files in your project contain Portlet Adapter builders. This cache in ExternalModelProperties.xml should be automatically updated when the WAR file is built by the build script, but this automatic rebuilding of the cache may not be working properly on your build server. (I'm not entirely sure why.) Deleting ExternalModelProperties.xml is safe and will force the build server to re-build a fresh copy.

The WAR file being built by your build server is a JSR-168 WAR. I would suggest taking a look at the sample build script that is included with the project in .deployment/buildsample. This build script demonstrates how to build a JSR-168 and a JSR-286 WAR from your project. Specifically, here's the target that creates a JSR-286 WAR file.

The WAR file being built by your build server is a JSR-168 WAR. I would suggest taking a look at the sample build script that is included with the project in .deployment/buildsample. This build script demonstrates how to build a JSR-168 and a JSR-286 WAR from your project. Specifically, here's the target that creates a JSR-286 WAR file.