I think i stick at deploying war file using maven.
I try to use maven deploy but i were wrong. there have
not deploy goal(i realize this after few day test).
Could you please tell me the correct command to deploy
my war file(suppose its name is first.war)
Thank you very much
Viet Trieu
--- [EMAIL PROTECTED] wrote:

> Each Pluto 'page' displays a portlet application
> that is comprised of one 
> or more portlets and are deployed within the same
> directory under webapps 
> in Tomcat, which the Pluto binary distribution is
> built upon. The first 
> step in deploying a portlet application involves
> building a war file 
> containing all of its portlets including a web.xml
> and portlet.xml file. 
> You then use maven and the registry file
> modifications (or the Admin 
> Portlet Application in the 1.0.1-rc3 build) to
> deploy the portlet app.
> /Craig
> 
> 
> 
> 
> Nguyen Viet Trieu <[EMAIL PROTECTED]> 
> 05/10/2005 07:40 PM
> Please respond to
> [email protected]
> 
> 
> To
> [email protected], [EMAIL PROTECTED]
> cc
> 
> Subject
> RE: problem when modify testsuite
> 
> 
> 
> 
> 
> 
> Hi,
> They are not. But why they must packaged in the same
> war file?
> --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
> > Is the testsuite application and the example
> portlet
> > packaged in the same
> > war file?
> > 
> > 
> > Original Message:
> > -----------------
> > From: Nguyen Viet Trieu [EMAIL PROTECTED]
> > Date: Sun, 8 May 2005 23:30:15 -0700 (PDT)
> > To: [email protected]
> > Subject: RE: problem when modify testsuite
> > 
> > 
> > Hi,
> > I have already did it.
> > --- Muhammad Kashif <[EMAIL PROTECTED]>
> wrote:
> > 
> > > 
> > > 
> > > Hi,
> > > 
> > > 
> > > 
> > > You also have to add your portlet application
> > > context in file
> > > portletcontext.txt.
> > > 
> > > 
> > > 
> > > -Kashif
> > > 
> > >   _____ 
> > > 
> > > From: Nguyen Viet Trieu
> [mailto:[EMAIL PROTECTED]
> > 
> > > Sent: Saturday, May 07, 2005 9:08 AM
> > > To: [email protected]
> > > Subject: problem when modify testsuite
> > > 
> > > 
> > > 
> > > Hi,
> > > I have tested two portlets in testsuite example.
> > But
> > > when i tried to deploy first portlet in chapter
> 02
> > > from apress.com i met the error :
> > > 
> > > SEVERE : Error in Portlet
> > > java.lang.NullPointerException
> > > at
> > >
> >
>
org.apache.pluto.portalimpl.om.servlet.impl.ServletDefinitionImpl.getRequest
> > > Dispatcher
> > > (ServletDefintionimpl.java:118)
> > > ..........
> > > I want to run two portlet. The Portlet in left
> > hand
> > > is
> > > the one in testsuite. The Portlet in right hand
> is
> > > my
> > > portlet.
> > > when i run link
> > >  <http://localhost:8080/viettrieu/portalvt/>
> > > http://localhost:8080/viettrieu/portalvt/ and
> > > clicked
> > > Test link in left hand the portlet
> > > which belongs to testsuite was fine. But in the
> > > right
> > > hand my portlet had error : 
> > > 
> > > Error occurred in portlet!
> > > 
> > > here is my conf. files : 
> > > portlet.xml :
> > > <portlet>
> > >         <description>First Portlet for the
> Apress
> > > Portlet book by Jeff Linwood and David
> > > Minter.</description>
> > > 
> > >        
> <portlet-name>PortletTrieu</portlet-name>
> > > 
> > >         <display-name>First
> Portlet</display-name>
> > > 
> > > 
> > >
> >
>
<portlet-class>com.portalbook.portlets.FirstPortlet</portlet-class>
> > > 
> > >         <expiration-cache>-1</expiration-cache>
> > > 
> > >         <supports>
> > > <mime-type>text/html</mime-type>
> > > <portlet-mode>VIEW</portlet-mode>
> > > </supports>
> > > 
> > > <portlet-info>
> > > <title>First Portlet</title>
> > > <short-title>1st Portlet</short-title>
> > > <keywords>First, Portlet</keywords>
> > > </portlet-info>
> > > </portlet>
> > > 
> > > web.xml :
> > > <web-app>
> > >     <display-name>Pluto Testsuite</display-name>
> > >     <context-param>
> > >         <param-name>parameter-name</param-name>
> > >        
> <param-value>parameter-value</param-value>
> > >     </context-param>
> > >     <context-param>
> > > 
> > <param-name>test-parameter-name</param-name>
> > > 
> > > <param-value>test-parameter-val</param-value>
> > >     </context-param>
> > >     <servlet>
> > >        
> <servlet-name>PortletTrieu</servlet-name>
> > >         <display-name>TestPortlet2
> > > Wrapper</display-name>
> > >         <description>Automated generated Portlet
> > > Wrapper</description>
> > > 
> > >
> >
>
<servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
> > >         <init-param>
> > >            
> <param-name>portlet-guid</param-name>
> > > 
> > > <param-value>trieu.PortletTrieu</param-value>
> > >         </init-param>
> > >         <init-param>
> > >            
> <param-name>portlet-class</param-name>
> > > 
> > >
> >
>
<param-value>com.portalbook.portlets.FirstPortlet</param-value>
> > >         </init-param>
> > >         <security-role-ref>
> > >             <role-name>plutoTestRole</role-name>
> > >             <role-link>tomcat</role-link>
> > >         </security-role-ref>
> > >     </servlet>
> > >     <taglib>
> > > 
> > > <taglib-uri> <http://java.sun.com/portlet>
> > > http://java.sun.com/portlet</taglib-uri>
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to