I can see the JMS message working by sending the message from the
initialization servlet to tell Jetspeed to re-register the app.  The
servlet could then be easily reused.  The only hangup would be which
JMS server to use, but maybe this has already been solved by the other
work.  If I find some free time, I'll try to implement this.

Can spring hold an "mdb" type of bean, that wakes up when a message is
seen?  That would be cool to just plugin to the spring framework and
could be used by fusion and j2.  I'll look into this too.
-- Jeff


On Wed, 01 Dec 2004 09:54:10 -0500, Scott T. Weaver
<[EMAIL PROTECTED]> wrote:
> I like the JMS message idea. I know J1 has some pretty nice JMS stuff in
> it thanks to David Taylor. I would eventually like to see this migrated
> to J2.
> 
> 
> 
> Jeff Sheets wrote:
> 
> >My deployment is setup so that the jetspeed.war sits next to my
> >application.ear and the application.ear holds one.war and two.war.
> >These wars contain portlet.xml files for JSR-168 portlets, and I am
> >able to display these correctly in the Jetspeed Fusion portal.  My
> >question relates to deploying an updated application.ear to my server.
> > When I deploy this new ear I then have to go into the admin console
> >of Jetspeed to "re-register" the portlet application.  Has anyone done
> >work to automatically re-register the war?
> >
> >I first tried creating a JetspeedRegistration initialization servlet,
> >which would run once at one.war and two.war 's deployment time.  This
> >servlet attempted to access the spring service to re-register the app.
> > This doesn't quite work, for reasons I realized later.
> >
> >I think we could setup Jetspeed to detect that the ServletContext has
> >been modified, and then have it try to re-register first before giving
> >up and throwing the NullPointerException that occurs.  Otherwise a
> >mechanism could be developed where Jetspeed accepts a JMS message (or
> >some other interface) to notify that a re-register is needed.
> >
> >Any thoughts?  Have others tried this?
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> 
> --
> "Great minds discuss ideas. Average minds discuss events. Small minds discuss 
> people."  - Admiral Hyman Rickover
> 
> *******************************************
> *           Scott T. Weaver               *
> *         <[EMAIL PROTECTED]>             *
> *     <http://www.einnovation.com>        *
> * --------------------------------------  *
> *   Apache Jetspeed Enterprise Portal     *
> *     Apache Pluto Portlet Container      *
> *                                         *
> * OpenEdit, Website Content Management    *
> *     <http://www.openedit.org>           *
> *******************************************
> 
> ---------------------------------------------------------------------
> 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