> -----Original Message----- > From: Eric Chow [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2003 9:08 PM > To: [EMAIL PROTECTED] > Subject: Deploy Portlet problem in JS2 > > Hello, > > When I deploy the demo portlet in JetSpeed2, it just display the > following. > I had followed all the steps in the document. But still failed. > > In fact, I met some other problems: > > 1. I was ever deploy success one time. But it failed to load those portlet > pages. When loading http://localhost/jetspeed/, it just raised exception > "cannot inherit final class .... "
Try cleaning out you shared/lib, delete the jetspeed webapp and war and then try rebuilding. > -- Something strange, in the successful deployment, I called "maven > pam.deploy", after it show "[java] Done", > -- it seems that the console screen is PAUSE and can't return to the > command prompt. I have to use [CTRL C] to interupt the deployment. "Done" means everything went ok and it yes it is normal for the console to just "hang" after deployment, Ctrl-c is the correct way to close it. > > 2. If I failed to deploy the portlet demo, I always re-execute the "maven > pam.deploy". But it always failed as following message with something like > "One application called HW_App is existing ....." That means the app actually deployed to the system, you will to perform a maven pam.undeploy, to undeploy it first. > > > My Platform: > > - WinXP > - JDK1.4.2 > - Maven RC1 > - Tomcat 5.09 / Tomcat4.1.27 > > > Best regards, > Eric > > > > pam.deploy: > [java] 0 [main] INFO jetspeed.Jetspeed - Jetspeed environment > attempting to > initialize portal Engine... > [java] INFO: Creating portlet container... > [java] JMX locked by operation init > [java] JMX released by operation init > [java] Calling FileSystemPAM... > [java] deploying WAR file'demo.war' to WEB-INF/... > [java] Libraries and classes deployment finished! > [java] prepare web archive 'c:/tomcat5/webapps/HW_App/WEB-INF/web.xml' > ... > [java] Exception in deploy. Rollback of application deployment... > [java] Rollback: Remove c:/tomcat5/webapps/HW_App and all > sub-directories. > [java] Unhandled exception while ading elements to the web.xml file. > [java] java.sun.com > [java] JMX locked by operation shutdown > [java] stopping RMI registry > [java] JMX released by operation shutdown > [java] Done > BUILD SUCCESSFUL > Total time: 8 seconds > > > > ========================== > If you know what you are doing, > it is not called RESEARCH! > ========================== > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] *================================* | Scott T Weaver | | <[EMAIL PROTECTED]> | | Apache Jetspeed Portal Project | | Apache Pluto Portlet Container | *================================*
