Re: maven

ChadDavis <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
I added the stub web.xml and the auto deploy via the admin portlet
seemed to work.  However, when I visit the portlet page their is a
null pointer.

 at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:109)

Something is not quite configured.

On 5/11/06, Patrick Huber <[email protected]> wrote:
> Hi Chad
>
> ONE: Every webapp needs at least a minimal web.xml. That'd look
> something like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
>
>         <display-name>Demo Portlets</display-name>
>
> </web-app>
>
>
> TWO: You can also deploy the application by uploading it trough the
> admin portlet or by copying the war into tomcat's webapp directory.
> You will still need to "assemble" the war file trough the pluto task,
> since it inserts an invoker-servlet into the web.xml for each portlet
> defined in the portlet.xml.
> Try it - I don't know pluto 1.0 very well... I've only worked with 1.1
> so far....
>
> Patrick
>
>
>
> 2006/5/11, ChadDavis <[email protected]>:
> > Hello, I have a couple of questions that I'd appreciate some help with.
> >
> > ONE.  I'm trying to deploy a portlet to the pluto portal.  I used the
> > admin autodeploy and it complained that I didn't have a web.xml.  I
> > don't have one actually, but I was under the impression that the
> > deployment tool would autogenerate one for me?  There's only a single,
> > simple portlet in my war file, no servlets.
> >
> > TWO.  I then tried to use maven to manually deploy the portlet
> > application.  I had installed maven 2.0.2.  It complains that there is
> > not pom.xml.  I guess the configuration files have changed on the new
> > version of maven and the pluto ( 1.0.1 ) is set up to use an older
> > version of maven.  Is it possible to easily make a pom.xml to use the
> > newer Maven?  Or should I just install an older version of maven?
> >
>
>
> --
> "I love deadlines. I like the whooshing sound they make as they fly
> by." -- Douglas Adams
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.