[JBoss Portal] - Re: Unable to add portlets with 2.7.0
by jbportaldeveloper28
we had a similiar issue. What we did for a temporary fix was to comment out the getIcon() call from returning a value.
so under server\xxx\deploy\jboss-portal.sar\portal-core.war\WEB-INF\jsp\content\portlet_editor.jsp, we did the following:
|
| private String getIcon(PortletInfo info)
| {
| /*
| String iconLocation = PortletContentEditorPortlet.DEFAULT_PORTLET_ICON;
| PortletInfoInfo portletInfo = info.getAttachment(PortletInfoInfo.class);
|
| if (portletInfo != null)
| {
| PortletIconInfo iconInfo = portletInfo.getPortletIconInfo();
| if (iconInfo != null && iconInfo.getIconLocation(PortletIconInfo.SMALL) != null)
| {
| iconLocation = iconInfo.getIconLocation(PortletIconInfo.SMALL);
| }
| }
|
| return iconLocation;
| */
| return "";
| }
|
|
Worked for now..but long term effects..don't know just yet what else that will impact. Give that a shot.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186836#4186836
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186836
17 years, 5 months
[Installation, Configuration & DEPLOYMENT] - Incomplete Deployment listing
by elangobala
Hi ,
I developed a web application.when i was trying to deploy in to the server,i m getting the error as stated below...
Deployed package: file:/D:/jboss-4.2.2.GA/server/default/deploy/wm_cafshared.war
2008-11-05 01:59:33,822 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/jboss-4.2.2.GA/server/default/deploy/wm_cafshared.war -> file:/D:/jboss-4.2.2.GA/server/default/deploy/wm_cafshared.war
2008-11-05 01:59:33,822 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@5d6ebba2 { url=file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: URL file:/D:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp41027testSample-exp.war/ deployment failed
state: FAILED
watch: file:/D:/jboss-4.2.2.GA/server/default/deploy/testSample.war
altDD: null
lastDeployed: 1225830526693
lastModified: 1225830525675
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:war=testSample.war,id=1567538082
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/D:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp41027testSample-exp.war/ deployment failed
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=testSample.war,id=1567538082
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/D:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp41027testSample-exp.war/ deployment failed
2008-11-05 01:59:33,838 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
becoz of this i guess i cant able to run the application.Kindly help me in this regard..
Thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186831#4186831
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186831
17 years, 5 months