Skip to main content

Glassfish Update Mechanism

4 replies [Last post]
aloleary
Offline
Joined: 2003-06-12

Hello,
This is probably a non-standard use case but maybe interesting to some.

We actually don't just deploy our application in Glassfish. We actully install Glassfish at client locations - they run a kind of intranet web based application that talks to their local Glassfish server. This server allows clients to work when there is no internet connection etc...

One thing glassfish has is automatic updates - so the client installs can update when/if they do attach to internet.

What we would love to do is host our application so that it too could be "updated" to the client servers automatically - allowing us to "push" new releases out to these glassfish installs...

Anyone know a good way of doing this - any way at all to become a "proprietary update site" - or is that only for glassfish infrastructure updates -

Any thoughts appreciated/anyone doing anything similar etc

-A-

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aloleary
Offline
Joined: 2003-06-12

On deeper digging I'm not sure I see a way of pluggin in >my own< package to the update mechanism...

Simplest: Push my own EAR
Ideal: Push a package that has some logic (script things like - stop app, backup database, install new software, etc..)

Message was edited by: aloleary

Alexis Moussine-Pouchkine

You might find this blog entry useful - http://blogs.sun.com/alexismp/entry/different_strategies_for_building_di...
What you are asking is quite doable, except for the scripting part as IPS/pkg(5) doesn't support that.
-Alexis

On 23 juil. 2010, at 18:27, glassfish@javadesktop.org wrote:

> On deeper digging I'm not sure I see a way of pluggin in >my own< package to the update mechanism...
>
> Simplest: Push my own WAR
> Ideal: Push a package that has some logic (script things like - stop app, backup database, install new software, etc..)
> [Message sent by forum member 'aloleary']
>
> http://forums.java.net/jive/thread.jspa?messageID=478415
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Alexis Moussine-Pouchkine

You should check out the recently published "Extending and Updating GlassFish Server Inside a Closed Network"
@ http://docs.sun.com/app/docs/doc/821-1751/gjcya

In a nutshell you can setup your own local repository and have the GlassFish installs configured to use that one instead of the pre-wired.

-Alexis

On 23 juil. 2010, at 15:43, glassfish@javadesktop.org wrote:

> Hello,
> This is probably a non-standard use case but maybe interesting to some.
>
> We actually don't just deploy our application in Glassfish. We actully install Glassfish at client locations - they run a kind of intranet web based application that talks to their local Glassfish server. This server allows clients to work when there is no internet connection etc...
>
> One thing glassfish has is automatic updates - so the client installs can update when/if they do attach to internet.
>
> What we would love to do is host our application so that it too could be "updated" to the client servers automatically - allowing us to "push" new releases out to these glassfish installs...
>
> Anyone know a good way of doing this - any way at all to become a "proprietary update site" - or is that only for glassfish infrastructure updates -
>
> Any thoughts appreciated/anyone doing anything similar etc
>
> -A-
> [Message sent by forum member 'aloleary']
>
> http://forums.java.net/jive/thread.jspa?messageID=478394
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

aloleary
Offline
Joined: 2003-06-12

Thanks a million - great starting point