As I said, I don't know much about 1.0... The only thing I can think
of right now is cross context dispatching. Make sure it's actiated
because the pluto portal has to dispatch requests from its own context
into the context of your webapp. By default, this is deactivated...
Add a META-INF directory and within it a context.xml with contents
like below to your webapp war file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Context
path="/the-desired-context-path"
docBase="your-webapp.war"
crossContext="true">
</Context>
Then redeploy your webapp...
2006/5/11, ChadDavis <[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
>
--
"I love deadlines. I like the whooshing sound they make as they fly
by." -- Douglas Adams