Got it.
Thank you for all the expert help
Edward
Gary Weaver wrote:
Edward,
Try putting quotes around the path. Like:
ant deployPortletApp -DportletApp="C:\Documents and
Settings\edwardc.WRI\My
Documents\NetBeansProjects\HelloWorld\dist\HelloWorld.war"
(I corrected the war filename too- not sure if you meant it to be
HellowWorld.war)
(For questions about deployment/publishing or other use of uPortal,
I'd use: [EMAIL PROTECTED] (you'll get greater response
that way) and for questions about portlet development, you may want to
get on [EMAIL PROTECTED] .)
Hope that helps!
Gary
Edward Chen wrote:
I removed the HelloWorld.war and HelloWorld folder in webapps. My
original HelloWorld.war is located in C:\
Documents and Settings\edwardc.WRI\My
Documents\NetBeansProjects\HelloWorld\dist
So, I do the following
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>ant deployPortletApp
-DportletApp=C:\
Documents and Settings\edwardc.WRI\My
Documents\NetBeansProjects\HelloWorld\dist
\HellowWorld.war
Buildfile: build.xml
deployPortletApp:
BUILD FAILED
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1\build.xml:396: portletApp
'C:\Documen
ts' does not exist
Total time: 0 seconds
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>
Cris J Holdorph wrote:
Before you do the "ant deployPortletApp" step, move the war file to
another location. Do not let the "unmodified/deployed" war file
live in the tomcat webapps directory.
---- Cris J H
Edward Chen wrote:
Hi,
I try this
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>ant deployPortletApp
-DportletApp=C:\
uPortal-3.0.1-quick-start\apache-tomcat-5.5.23\webapps\HelloWorld.war
Buildfile: build.xml
deployPortletApp:
[echo] extractWars=true
[echo] removeExisting=false
.....
BUILD SUCCESSFUL
Total time: 27 seconds
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>
After this deployment step, do I need to do the publish command?
what is it?
Also,
I created a channel to it. After I subscribe it, it throws out an
exception below
Channel ID:
n88
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=18.n88,contextPath=/HelloWorld,portletName=HelloWorld,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={}]'
with [channelPublishId=73, channelSubscribeId=n88,
portletApplicationId=/HelloWorld, portletName=HelloWorld,
user=admin]. Response Content: The requested resource
(/HelloWorld/PlutoInvoker/HelloWorld) is not available
Here is my channel
*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:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectChannelType&uPCM_capture=reviewChannel>*
Portlet
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectChannelType&uPCM_capture=reviewChannel>
*Channel Title:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>*
HelloWorld
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>
*Channel Name:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>*
HelloWorld
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>
*Channel Functional Name:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>*
HelloWorld
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>
*Channel Description:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>*
*Channel Timeout:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>*
5000milliseconds
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>
*Channel Secure:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>*
Not Secure
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGeneralSettings&uPCM_capture=reviewChannel>
User cannot modify
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=channelDef&uPCM_capture=reviewChannel&uPCM_step=1>
*Portlet Web Application Path
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=channelDef&uPCM_capture=reviewChannel&uPCM_step=1>*
/HelloWorld
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=channelDef&uPCM_capture=reviewChannel&uPCM_step=1>
User cannot modify
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=channelDef&uPCM_capture=reviewChannel&uPCM_step=1>
*Portlet Name
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=channelDef&uPCM_capture=reviewChannel&uPCM_step=1>*
HelloWorld
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=channelDef&uPCM_capture=reviewChannel&uPCM_step=1>
*Channel Controls
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectControls&uPCM_capture=reviewChannel>*
true Editable
true Has Help
false Has About
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectControls&uPCM_capture=reviewChannel>
*Selected Categories:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectCategories&uPCM_capture=reviewChannel>*
categoryNews
categoryAll categories
categoryApplications
categoryEntertainment
categoryDevelopment
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectCategories&uPCM_capture=reviewChannel>
*Selected Groups and/or People:
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGroups&uPCM_capture=reviewChannel>*
unlockedStudents
unlockedFaculty
unlockedStaff
unlockedEveryone
unlockedGuests
unlockedPAGS Root
<http://localhost:8080/uPortal/render.userLayoutRootNode.target.ctf3.uP?uPCM_action=selectGroups&uPCM_capture=reviewChannel>
Can you see anything wrong?
Thanks,
Edward
Cris J Holdorph wrote:
Can you try instead of
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>ant deployPortletApp
-DportletApp=all
to do
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>ant deployPortletApp
-DportletApp=c:\the\path\to\your\portlet_web.war
replacing "c:\the\path\to\your\portlet_web.war" with the fully
qualified path+filename of your portlet web application archive.
---- Cris J H
Edward Chen wrote:
Hi,
Dustin S. wrote:
Edward,
You need to be in the uPortal directory to run
deployPortletApp...so C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>
I use either C:\uPortal-3.0.1-quick-start\uPortal-3.0.1> or
C:\uPortal-3.0.1-quick-start\, and I have the same thing below
C:\uPortal-3.0.1-quick-start>ant deployPortletApp -DportletApp=all
Buildfile: build.xml
BUILD FAILED
Target `deployPortletApp' does not exist in this project.
Total time: 1 second
C:\uPortal-3.0.1-quick-start>cd uPortal-3.0.1
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>ant deployPortletApp
-DportletApp=all
Buildfile: build.xml
deployPortletApp:
BUILD FAILED
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1\build.xml:396:
portletApp 'C:\uPortal
-3.0.1-quick-start\uPortal-3.0.1\all' does not exist
Total time: 1 second
C:\uPortal-3.0.1-quick-start\uPortal-3.0.1>
You should probably move this conversation to
/uportal-user/@lists.ja-sig.org <http://lists.ja-sig.org>
Sorry about that. I will switch to there. There are some experts
helping me from dev
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