简体   繁体   English

如何在已经部署的应用程序中部署Portlet?

[英]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. 客户端已经在Weblogic服务器上部署了他的应用程序,现在我们必须在其中添加新的portlet。 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? 我们如何在已经部署的应用程序中部署Portlet?

I'm using Web logic 10.3.0.0 on Windows-XP. 我在Windows-XP上使用Web逻辑10.3.0.0。


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. 如果为新的Portlet部署EAR文件,则可以在门户网站管理控制台中访问其wsdl。 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. 现在,即使我在管理控制台中添加了新的门户,桌面,页面,Portlet,也无法通过其生成的URL看到这些门户。 I get 404, Page Not Found for the urls. 我得到404,找不到网址页面。

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. 生成的URL看起来像http://localhost:7001/DeployTestWeb/appmanager/qwerty.portal/qwerty ,其中qwerty.portal是我创建的新门户,而qwerty在此门户的桌面上。


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? " 因此,这里有两个问题,第一个是“ 如何成功导入我的war文件并访问它而没有任何错误? ”,另一个是“ 成功导入后,如何将新的portlet包括在应用程序的现有门户中?

no need WSRP hassle here. 无需WSRP麻烦。 You can create war app with new portlet, deploy it as "weblogic shared library". 您可以使用新的portlet创建war应用,并将其部署为“ weblogic共享库”。 After this in Portal Administration App you will get portlet you created in library definitions. 之后,在Portal Administration App中,您将获得在库定义中创建的portlet。 So if you client use streaming desktop he can customize any page by adding new portlet to it. 因此,如果您的客户端使用流桌面,他可以通过向其添加新的Portlet来自定义任何页面。

Is this on a Weblogic Portal running with JSR 168 compliance? 这是否在符合JSR 168要求的Weblogic Portal上进行?

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. 如果是这样,可以将WAR注册为WSRP Portlet生产者,然后将JSR 168兼容的Portlet作为独立战争交付,并将其导入目标环境。

See more at http://docs.oracle.com/cd/E13155_01/wlp/docs103/prodOps/deployment.html http://docs.oracle.com/cd/E13155_01/wlp/docs103/prodOps/deployment.html中查看更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 glassfish3 部署错误:应用程序……已部署在此域中 - glassfish3 deploy error: Application … is already deployed in this domain 当我在liferay中一个接一个地部署两个portlet时,第二个已部署的portlet正在取消部署liferay中的第一个已部署的portlet - When I deploy two portlets one after another in liferay the second deployed portlet is undeploying the first deployed portlet in liferay 如何解决&#39;绝对uri:http://java.sun.com/portlet无法在web.xml或使用此应用程序部署的jar文件中解析&#39; - How to fix 'The absolute uri: http://java.sun.com/portlet cannot be resolved in either web.xml or the jar files deployed with this application' 无法在Liferay 7中部署Portlet - Unable to deploy portlet in Liferay 7 无法部署 Liferay portlet - Unable to deploy a Liferay portlet 如何在iFrame portlet中嵌入应用程序(通过指定url) - How to embed an application(by specifying url) in iFrame portlet 如何在Tomcat中部署的Alfresco中部署模块 - How to deploy a module in an Alfresco deployed in Tomcat 无法在Liferay中部署Portlet战争 - not able to deploy portlet war in liferay 如何在heroku中复制已部署的应用程序? - How to copy a deployed application in heroku? 在单个Portlet应用程序中配置了为不同的Portlet创建多少Portlet上下文对象 - How many Portlet Context objects are created for differnt portlets are configured in Single Portlet application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM