I am referring to following webpage to build my portlet on Jetspeed 2. Everything is fine, but after deployment, It says- Failed to retrieve Portlet Definition for simplest::Simplest
Following is the jetspeed-deployment.log contents- 03.11.2011 18:21:51 ERROR [org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDeploymentEvent():240] Failure deploying E:\Jetspeed-2.2.2\webapps\jetspeed\WEB-INF\deploy\simplest.war 04.11.2011 09:41:33 ERROR [org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatch():273] java.lang.IllegalArgumentException: WEB-INF/portlet.xml org.apache.jetspeed.deployment.DeploymentException: java.lang.IllegalArgumentException: WEB-INF/portlet.xml at org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.deployPortletApplication(DeployPortletAppEventListener.java:224) at org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.invokeDeploy(DeployPortletAppEventListener.java:207) at org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatch(StandardDeploymentManager.java:264) at org.apache.jetspeed.deployment.impl.StandardDeploymentManager.deploy(StandardDeploymentManager.java:178) at org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDeploymentEvent(StandardDeploymentManager.java:209) at org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSystemScanner.run(StandardDeploymentManager.java:357) Caused by: java.lang.IllegalArgumentException: WEB-INF/portlet.xml at org.apache.jetspeed.tools.deploy.JetspeedDeploy.(JetspeedDeploy.java:182) at org.apache.jetspeed.tools.deploy.JetspeedDeploy.(JetspeedDeploy.java:96) at org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.deployPortletApplication(DeployPortletAppEventListener.java:219) ... 5 more
Please any reply will be helpful.
Thank You
Are you sure that the configuration in the psml file related to your application has correct portlet name?
Also in portlet xml file change the portlet name to be similar to the one written in the psml file