I am not including the portelt-api in the war ,still the same error is coming
Philip Mark Donaghy-2 wrote: > > Hi Ludovic, > > The most common problem is including the portlet-api in the war. If > you do this it will not work. > > On 7/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I've just started working on J2, and made the "Simplest" portlet >> (+application+psml) described on the J2 website. >> >> However I was wondering: is my config wrong somewhere ? or you really >> can't deploy WARs correctly while Jetspeed/Tomcat is running ? > > Copying portlet war files to the deploy directory does redeploy the > application while the server is running. > >> >> >> (if you know what I mean, and the answer you can skip the details below >> ;) >> >> The problem is that when I put "simplest.war" inside /WEB-INF/deploy, >> deployment.log does say it has been deployed. But the corresponding >> portlet application (and portlet) can't be found. OTOH, once I've >> uploaded >> "simplest.psml" the placeholder where the portlet should have appeared, >> there's an error message instead roughly saying the portlet definition >> could not be found. >> >> After several attemtps, restarts, reading, etc. I've then tried one last >> time something : >> - shutting down Jetspeed/Tomcat >> - deploying yet another whole new portlet (+app) >> - re-starting Jetspeed/Tomcat >> ... and it worked! >> >> When checking the deployment.log I've noticed 2 new lines saying the >> portlet-app have been "registered". So I guess, just like some other >> people on the net, the problem I had was coming from the portlet-app not >> being registered. >> >> So my (more precise) question is : is it possible to register a portlet >> while the web server is running ? Because I'd need it to be upish as much >> as possible, therefore restarts could be annoying in my case... >> >> >> Thanks for your help, >> >> Ludovic >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Philip Donaghy > donaghy.blogspot.com del.icio.us/donaghy/philip > Skype: philipmarkdonaghy > Office: +33 5 56 60 88 02 > Mobile: +33 6 20 83 22 62 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Registering-portlet-applications-%22on-the-fly%22-tf1904250.html#a6035169 Sent from the Jetspeed - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
