Hi there,
following the wiki http://wiki.apache.org/portals/Jetspeed2/JBossHowToDetailed,
i managed to run Jetspeed 2 for jboss-3.2.5. i verified this by typing
http://localhost:8080/jetspeed and then seeing an empty page. however, when i
pasted the 9 .war files :jetspeed-layouts.war ,struts-demo.war ,php.war
,perl.war ,security.war ,demo.war ,pam.war ,jsf-demo.war ,rss.war into JBoss'
server/all/deploy/jetspeed.war/WEB-INF/deploy, i noticed i cannot deploy of
any these portlets. checking jetspeed.log, i kept noticing this exception, see
below:
2005-01-25 22:54:22,612 [Autodeployment File Scanner Thread] INFO STDOUT -
INFO: Loading web.xml into memory....
2005-01-25 22:54:22,792 [Autodeployment File Scanner Thread] INFO STDOUT -
ERROR: Unexpected exception deploying portlet application:
java.lang.NoSuchMethodError:
org.apache.jetspeed.om.common.servlet.MutableWebApplication.getSecurityRoles()Lorg/apache/pluto/om/common/SecurityRoleSet;
attempting rollback...
java.lang.NoSuchMethodError:
org.apache.jetspeed.om.common.servlet.MutableWebApplication.getSecurityRoles()Lorg/apache/pluto/om/common/SecurityRoleSet;
at
org.apache.jetspeed.util.descriptor.PortletApplicationWar.validate(PortletApplicationWar.java:414)
at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.registerApplication(FileSystemPAM.java:384)
at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.sysDeploy(FileSystemPAM.java:310)
at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.deploy(FileSystemPAM.java:121)
at
org.apache.jetspeed.tools.pamanager.ApplicationServerPAM.deploy(ApplicationServerPAM.java:80)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.doDeploy(DeployPortletAppEventListener.java:259)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.invokeDeploy(DeployPortletAppEventListener.java:162)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatch(StandardDeploymentManager.java:304)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDeploymentEvent(StandardDeploymentManager.java:195)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSystemScanner.run(StandardDeploymentManager.java:458)
2005-01-25 22:54:22,792 [Autodeployment File Scanner Thread] INFO STDOUT -
INFO: Exception in deploy. Rollback of application deployment...
2005-01-25 22:54:22,792 [Autodeployment File Scanner Thread] INFO STDOUT -
INFO: Rollback: Remove C:\jboss-3.2.5\server\all\deploy\jetspeed.war/..//demo
and all sub-directories.
2005-01-25 22:54:22,812 [Autodeployment File Scanner Thread] INFO STDOUT -
ERROR: org.apache.jetspeed.deployment.DeploymentException: Error (re)deploying
portlet app: org.apache.jetspeed.tools.pamanager.PortletApplicationException:
java.lang.NoSuchMethodError:
org.apache.jetspeed.om.common.servlet.MutableWebApplication.getSecurityRoles()Lorg/apache/pluto/om/common/SecurityRoleSet;
org.apache.jetspeed.deployment.DeploymentException: Error (re)deploying portlet
app: org.apache.jetspeed.tools.pamanager.PortletApplicationException:
java.lang.NoSuchMethodError:
org.apache.jetspeed.om.common.servlet.MutableWebApplication.getSecurityRoles()Lorg/apache/pluto/om/common/SecurityRoleSet;
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.doDeploy(DeployPortletAppEventListener.java:299)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.invokeDeploy(DeployPortletAppEventListener.java:162)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatch(StandardDeploymentManager.java:304)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDeploymentEvent(StandardDeploymentManager.java:195)
at
org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSystemScanner.run(StandardDeploymentManager.java:458)
Caused by: org.apache.jetspeed.tools.pamanager.PortletApplicationException:
java.lang.NoSuchMethodError:
org.apache.jetspeed.om.common.servlet.MutableWebApplication.getSecurityRoles()Lorg/apache/pluto/om/common/SecurityRoleSet;
at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.sysDeploy(FileSystemPAM.java:333)
at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.deploy(FileSystemPAM.java:121)
at
org.apache.jetspeed.tools.pamanager.ApplicationServerPAM.deploy(ApplicationServerPAM.java:80)
at
org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.doDeploy(DeployPortletAppEventListener.java:259)
... 4 more
Caused by: java.lang.NoSuchMethodError:
org.apache.jetspeed.om.common.servlet.MutableWebApplication.getSecurityRoles()Lorg/apache/pluto/om/common/SecurityRoleSet;
at
org.apache.jetspeed.util.descriptor.PortletApplicationWar.validate(PortletApplicationWar.java:414)
at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.registerApplication(FileSystemPAM.java:384)
at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.sysDeploy(FileSystemPAM.java:310)
... 7 more
The nosuchMethodError above kept appearing when jboss attempts to deploy every
portlet. could anyone pls help me out here? could one reason be that i am using
a "all" server, instead of "default"? (however, when building using maven, i
did all the necessary adjustments already). i don wanna give up, cos i'm almost
there already. thank you very much.
Regards,
Amos