Yes, it could be the problem is context name is case senstive.
"simplest" and "Simpletst" are two different context.

Regards,

Raj

On 3/22/06, Maurizio Pedraglio <[EMAIL PROTECTED]> wrote:
> Hi, thank you for reply.
> I'm looking for the suggestions you gave me.
> In every files of my application the name is "simplest" (or "Simplest").
> I'm working in local with Win Xp, may be that the upper case (Simplest
> vs. simplest) is the problem?
>
> Tnx a lot!
> bye
> Maurizio
>
> Raj Saini wrote:
> > Maurizio,
> >
> > It looks to me the name of you portlet is wrong in your psml file.
> > name attribute in your psml fragment much match [your webapp name (not
> > webapp id in portlet)]::[porlet name in portlet.xml file].
> >
> > Also check init parameter of your JetspeedContainerServlet in web.xml
> > match your webapp context name.
> >
> > Regards,
> >
> > Raj
> >
> > On 3/21/06, Maurizio Pedraglio  wrote:
> >
> >> hello, I'm trying to develop the first portlet (simplest) under jetspeed
> >> 2 as shown in:
> >> http://portals.apache.org/jetspeed-2/guides/guide-simple-portlet.html
> >>
> >> I followed every steps but i get in trouble with deployment phase.
> >> Tomcat replies me with the following errors:
> >>
> >> ERROR: java.lang.IllegalArgumentException: WEB-INF/web.xml
> >> org.apache.jetspeed.deployment.DeploymentException:
> >> java.lang.IllegalArgumentExc
> >> eption: WEB-INF/web.xml
> >>         at
> >> org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
> >> loyPortletApplication(DeployPortletAppEventListener.java:173)
> >>         at
> >> org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.inv
> >> okeDeploy(DeployPortletAppEventListener.java:158)
> >>         at
> >> org.apache.jetspeed.deployment.impl.StandardDeploymentManager.dispatc
> >> h(StandardDeploymentManager.java:257)
> >>         at
> >> org.apache.jetspeed.deployment.impl.StandardDeploymentManager.deploy(
> >> StandardDeploymentManager.java:168)
> >>         at
> >> org.apache.jetspeed.deployment.impl.StandardDeploymentManager.fireDep
> >> loymentEvent(StandardDeploymentManager.java:202)
> >>         at
> >> org.apache.jetspeed.deployment.impl.StandardDeploymentManager$FileSys
> >> temScanner.run(StandardDeploymentManager.java:342)
> >> Caused by: java.lang.IllegalArgumentException: WEB-INF/web.xml
> >>         at
> >> org.apache.jetspeed.tools.deploy.JetspeedDeploy.<init>(JetspeedDeploy
> >> .java:138)
> >>         at
> >> org.apache.jetspeed.deployment.impl.DeployPortletAppEventListener.dep
> >> loyPortletApplication(DeployPortletAppEventListener.java:168)
> >>         ... 5 more
> >> ERROR: Failure deploying
> >> C:\jetspeed2\webapps\jetspeed\WEB-INF\deploy\simplest.war
> >>
> >>
> >> I can access to http://localhost:9080/jetspeed/portal/simplest.psml, but
> >> this error is shown:
> >>
> >> Title Error: Cannot pass a null PortletDefinition to a PortletEntity.
> >>   Failed to retrieve Portlet Definition for simplest::SimplestFailed to
> >> retrieve Portlet Definition for
> >> simplest::Simplestjava.lang.IllegalArgumentException: Cannot pass a null
> >> PortletDefinition to a PortletEntity.Failed to retrieve Portlet
> >> Definition for simplest::SimplestFailed to retrieve Portlet Definition
> >> for simplest::Simplest
> >>
> >> I discoverded in this list that this may be a problem with different
> >> name of portlet between files portlet.xml and simplest.psml.
> >> I've already checked for it but this isn't the problem: names are ok.
> >> So, what's the matter?
> >>
> >> Thanks to all.
> >> Bye
> >> Maurizio
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to