简体   繁体   中英

How to deploy a portlet in an already deployed Application?

The client already has his application deployed on an weblogic server and now we have to add a new portlet in it. But we can not give the whole application to our client for deployment. We must give him a some kind of plugin.

So which are the possible approaches? How can we deploy a portlet in an already deployed Application?

I'm using Web logic 10.3.0.0 on Windows-XP.


I have tried following the steps described in this link . But When I access my newly deployed application it gives following error:

<Error> <J2EE Deployment SPI> <BEA-260101> <Parameter 'DDBeanRoot' may not be null.>

To resolve this I have tried following solutions but did not worked for me:


If I deploy EAR file for my new portlet, I'm able to access its wsdl in portal admin console. But in this I'm not able to see the portals, pages, books in this application. Now even if I add new portals, desktops, pages, portlets in the admin console, I am not able to see those portals by its generated url. I get 404, Page Not Found for the urls.

The generated url looks like http://localhost:7001/DeployTestWeb/appmanager/qwerty.portal/qwerty where qwerty.portal is the new portal I have created and qwerty at the is desktop of this portal.


So there are 2 issues in this, First " How can I successfully import my war file and access it without any error? " and another is " After successful import how can I include the new portlet in existing portals of application? "

no need WSRP hassle here. You can create war app with new portlet, deploy it as "weblogic shared library". After this in Portal Administration App you will get portlet you created in library definitions. So if you client use streaming desktop he can customize any page by adding new portlet to it.

Is this on a Weblogic Portal running with JSR 168 compliance?

If so, it is possible to deliver a JSR 168 compliant Portlet as an independent war and import it into the target environment after registering the WAR as a WSRP Portlet Producer.

See more at http://docs.oracle.com/cd/E13155_01/wlp/docs103/prodOps/deployment.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM