Edward, You need to be in the uPortal directory to run deployPortletApp...so C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>
You should probably move this conversation to *uportal-user*@ lists.ja-sig.org Dustin. On Thu, Aug 21, 2008 at 1:29 AM, Edward Chen <[EMAIL PROTECTED]> wrote: > Hi, > > Thank you for your quick answer. > > I did copy directly. How can I do to copy without doing copying > > Also, when I do following, I have > > C:\uPortal-3.0.1-quick-start>ant deployPortletApp -DportletApp=all > Buildfile: build.xml > > BUILD FAILED > Target `deployPortletApp' does not exist in this project. > > Thanks, > > > Edward > > > > Cris J Holdorph wrote: > >> Did you run the "ant deployPortletApp" ant target, or did you just copy >> the war file into webapps directly? copying directly will not work. You >> must run the uPortal tool for deploying the portlet web applications. >> >> >> http://www.ja-sig.org/wiki/display/UPM30/04+Working+with+Portlets+in+uPortal >> >> ---- Cris J H >> >> Edward Chen wrote: >> >>> Hi, >>> >>> I set up uPortal-3.0.1-quick-start up and running, and I use netbean ide >>> 6.1 to create a helloworld portlet. I copy the HelloWorld.war >>> C:\uPortal-3.0.1-quick-start\apache-tomcat-5.5.23\webapps >>> Then restart uPortal, >>> >>> I created a new channel to publish this portlet by portlet manager. Here >>> is my setting >>> >>> Review: Please review the settings for accuracy (click workflow icons or >>> items in the table below to edit settings) >>> User can >>> modify? Name Value >>> Channel Type: Portlet >>> Channel Title: HelloWorld >>> Channel Name: HelloWorld >>> Channel Functional Name: HelloWorld >>> Channel Description: Channel Timeout: >>> 5000milliseconds >>> Channel Secure: Not Secure >>> User cannot modify Portlet Web Application Path /HelloWorld >>> User cannot modify Portlet Name HelloWorld >>> Channel Controls true Editable >>> true Has Help >>> false Has About >>> Selected Categories: categoryNews >>> categoryAll categories >>> categoryApplications >>> categoryEntertainment >>> categoryDevelopment >>> Selected Groups and/or People: unlockedStudents >>> unlockedStaff >>> unlockedPAGS Root >>> unlockedGuests >>> unlockedFaculty >>> unlockedEveryone >>> >>> >>> But, after I subscribe it, I have the following error >>> Channel ID: >>> n85 >>> >>> Message: >>> Message not available >>> >>> Error type: >>> Channel failed to initialize (code 2) >>> >>> Problem type: >>> General rendering problem >>> >>> Error message >>> Content was written to response during loading of portlet window >>> 'PortletWindowImpl[portletWindowId=16.n85,contextPath=/HelloWorld,portletName=HelloWorld,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={}]' >>> with [channelPublishId=73, channelSubscribeId=n85, >>> portletApplicationId=/HelloWorld, portletName=HelloWorld, user=admin]. >>> Response Content: The requested resource >>> (/HelloWorld/PlutoInvoker/HelloWorld) is not available >>> >>> >>> What is it wrong? >>> >>> >>> Thanks, >>> >>> Edward >>> >>> >> > > -- > You are currently subscribed to [email protected] as: > [EMAIL PROTECTED] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/uportal-dev > -- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
