You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Bill Schneider <bs...@vecna.com> on 2005/02/28 20:21:23 UTC

deploying portlets to Pluto binary distribution

Hello,
Is it possible to deploy portlets to Pluto (1.0.1 rc2) without using 
maven and the source distribution?  I'm looking for a way to hack the 
XML files by hand for now, but can't seem to figure out from the website 
or the mail archives what the right magic is.

Related question: is it reasonable to have a WAR that is itself a 
full-fledged J2EE webapp with Struts, Tiles, etc. that *also* provides 
portlets for use in a JSR-168 portal?  Would that be considered a goal 
of JSR-168, an inadvertent benefit, or an abuse?

-- Bill
-- 
Bill Schneider
Chief Architect

Vecna Technologies
5004 Lehigh Rd., Suite B
College Park, MD 20740
bschneider@vecna.com
t: 301-864-7253 x1140
f: 301-699-3180


Re: deploying portlets to Pluto binary distribution

Posted by "David H. DeWolf" <dd...@apache.org>.
Hi Bill,

Please see my responses below:

Bill Schneider wrote:
> Hello,
> Is it possible to deploy portlets to Pluto (1.0.1 rc2) without using 
> maven and the source distribution?  I'm looking for a way to hack the 
> XML files by hand for now, but can't seem to figure out from the website 
> or the mail archives what the right magic is.

Yes, there are a couple of other options:

1) Use the Ant deployer
2) Use the Deployer directly (see org.apache.pluto.portalImpl.Deploy)

That said, deployment is probably one of the biggest "holes" that we're 
currently addressing and trying to simplify.  Craig has recently 
provided some admin portlets which have been committed and will be 
included in the rc3 release.

> 
> Related question: is it reasonable to have a WAR that is itself a 
> full-fledged J2EE webapp with Struts, Tiles, etc. that *also* provides 
> portlets for use in a JSR-168 portal?  Would that be considered a goal 
> of JSR-168, an inadvertent benefit, or an abuse?

Yes; I would consider it reasonable.  Since I'm not on the JSR EG I 
can't say it was a necessarily a goal (though I wouldn't be surprised), 
but it is something that I've seen and consider to be "a good idea" in 
some instances.

Specifically, I would think this is reasonable in an application where 
you require more than one "view".  The views (a portlet view and a 
webapp view), may share all of the same business objects and application 
logic, thus requiring the same libraries.  Perhaps there is even 
interaction between the two "views"  -- for instance the Portlets 
provide "overview" information and allow a user to "dive deeper" into 
the "full" application.


> 
> -- Bill

Re: portlet error messages...

Posted by Mehmet Baris KARAKAYA <mb...@gmail.com>.
Hi,
As I examine the source code of pluto. Pluto developers must specify
the loggin service in pluto RI. Also in WEB-INF/configuration there
are configuration files about logging. There must be proper
configuration parameters for logging.

I guess, if my explanations are not adequate then pluto developers may help you!

warm regards...

--barisk


On Mon, 28 Feb 2005 12:17:09 -0800, James Moliere
<ja...@intelesistech.com> wrote:
>        Hello,
>        When can be done to make more sense of the stack trace when a
> portlet fails?  In other words, when I mis-configure my portlet (of course,
> not intentionally) and I get an error, the error does not do a good job of
> indicating where the error occurred and why the error occurred.
> 
> Thanks!
> James Moliere
> james.moliere@intelesistech.com
> 
>

Re: portlet error messages...

Posted by Mehmet Baris KARAKAYA <mb...@gmail.com>.
I beg your pardon, My previous explanation does not address your questions...
--barisk


On Mon, 28 Feb 2005 12:17:09 -0800, James Moliere
<ja...@intelesistech.com> wrote:
>        Hello,
>        When can be done to make more sense of the stack trace when a
> portlet fails?  In other words, when I mis-configure my portlet (of course,
> not intentionally) and I get an error, the error does not do a good job of
> indicating where the error occurred and why the error occurred.
> 
> Thanks!
> James Moliere
> james.moliere@intelesistech.com
> 
>

portlet error messages...

Posted by James Moliere <ja...@intelesistech.com>.
	Hello,
	When can be done to make more sense of the stack trace when a
portlet fails?  In other words, when I mis-configure my portlet (of course,
not intentionally) and I get an error, the error does not do a good job of
indicating where the error occurred and why the error occurred.

Thanks!
James Moliere
james.moliere@intelesistech.com