At 10:32 01/24/01, Kimpton,C (Chris) wrote:
>Hi,
>
>I was wondering what the preferred way of deploying a portlet was.
>
>For example, if I was using Turbine, I would include the turbine jar in lib
>directory under the WEB-INF structure.
>
>Is this kind of thing possible with jetspeed - or should it be used more
>like tomcat, in that you tell it where to look for applications in its
>server.xml file.

You can't simply put a jar file somewhere and expect your portlet to run. 
What you need to do is:
* Make the portlet's classfiles available in the classpath,
* Make the portlet's resources (images, etc) accessible somewhere below the 
webserver's dorument root, and
* Register the portlet in the portlet registry 
(WEB-INF/con/jetspeed-config.jcfg).
The portal needs to be restarted to read the changes in the portlet 
registry - that's nasty.

I put portlet code in a directory below WEB-INF 
(ROOT/WEB-INF/portlets/MyPortlet.jar) and its resources in a directory 
right below the document root (ROOT/portlet_resources/MyPortley/*).

Where we need to get to is to have an packaging/installation mechanism like 
WARs (in our case PARs), that can be installed automatically and at run-time.
But that's still to solve and implement.

ingo.

>Thanks for the help.
>Chris
>
>================================================================================================
>This electronic message (email) and any attachments to it are subject to 
>copyright and are sent for the personal attention of the addressee. 
>Although you may be the named recipient, it may become apparent that this 
>email and its contents are not intended for you and an addressing error 
>has been made. This email may include information that is legally 
>privileged and exempt from disclosure. If you have received this email in 
>error, please advise us immediately and delete this email and any 
>attachments from your computer system.Rabobank International is the 
>trading name of Coöperatieve Centrale Raiffeisen-Boerenleenbank B.A. which 
>is incorporated in the Netherlands. Registered with the Registrar of 
>Companies for England & Wales No. BR002630 and regulated by the SFA for 
>the conduct of investment business in the UK.
>
>The presence of this footnote also confirms that this email has been 
>automatically checked by Rabobank International for the presence of 
>computer viruses prior to it being sent, however, no guarantee is given or 
>implied that this email is virus free upon delivery.
>
>
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Search: <http://www.mail-archive.com/[email protected]/>
>List Help?:          [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to