The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » GlassFish

Thread: RPM for Glassfish V2? Update: Answer is Yes

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is answered. Helpful answers available: 1. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 7 - Last Post: Jun 5, 2008 7:58 PM by: lazjen
lazjen

Posts: 12
RPM for Glassfish V2? Update: Answer is Yes
Posted: Mar 30, 2008 9:15 PM
 
  Click to reply to this thread Reply

Is anyone working on, or are there any plans to provide, a RPM for distributing Glassfish V2?

I had a hunt around but couldn't see anything specific. Any pointers or info would be appreciated.

Thanks.

Message was edited by: lazjen

sauvage

Posts: 65
Re: RPM for Glassfish V2?
Posted: Mar 31, 2008 9:49 AM   in response to: lazjen
Helpful
  Click to reply to this thread Reply

http://www.jpackage.org/ provides RPMs for JBoss 4.0.3, Geronimo 1.1, Tomcat 5.5.23, and even glassfish-persistence. But no Glassfish AS yet.

Alexis Moussine...
Re: RPM for Glassfish V2?
Posted: Mar 31, 2008 9:57 AM   in response to: sauvage
  Click to reply to this thread Reply

Sounds like a good candidate for the GlassFIsh Awards Program (http://glassfish.org/GAP
) to me ...
-Alexis

On Mar 31, 2008, at 18:49, glassfish@javadesktop.org wrote:
> http://www.jpackage.org/ provides RPMs for JBoss 4.0.3, Geronimo
> 1.1, Tomcat 5.5.23, and even glassfish-persistence. But no Glassfish
> AS yet.
> [Message sent by forum member 'sauvage' (sauvage)]
>
> http://forums.java.net/jive/thread.jspa?messageID=266807
>
> ---------------------------------------------------------------------
> 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


Eduardo Pelegri...
Re: RPM for Glassfish V2?
Posted: Mar 31, 2008 10:05 AM   in response to: Alexis Moussine...
  Click to reply to this thread Reply

I was about to say the same :-)



Alexis Moussine-Pouchkine wrote:
> Sounds like a good candidate for the GlassFIsh Awards Program
> (http://glassfish.org/GAP) to me ...
> -Alexis
>
> On Mar 31, 2008, at 18:49, glassfish@javadesktop.org wrote:
>> http://www.jpackage.org/ provides RPMs for JBoss 4.0.3, Geronimo 1.1,
>> Tomcat 5.5.23, and even glassfish-persistence. But no Glassfish AS yet.
>> [Message sent by forum member 'sauvage' (sauvage)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=266807
>>
>> ---------------------------------------------------------------------
>> 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
>
>

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


lazjen

Posts: 12
Re: RPM for Glassfish V2?
Posted: Mar 31, 2008 7:57 PM   in response to: Eduardo Pelegri...
 
  Click to reply to this thread Reply

Right. :)

Well, I've never created one before, but there's no time like the present to learn. I shall go do some research to see what I'm in for...

At least I now know that the RPM doesn't currently exist - thanks for the replies.

Alexis Moussine...
Re: RPM for Glassfish V2?
Posted: Apr 1, 2008 12:25 AM   in response to: lazjen
  Click to reply to this thread Reply

We accept team submissions too ;)
--AlexisMP

On 1 avr. 08, at 04:57, glassfish@javadesktop.org wrote:

> Right. :)
>
> Well, I've never created one before, but there's no time like the
> present to learn. I shall go do some research to see what I'm in
> for...
>
> At least I now know that the RPM doesn't currently exist - thanks
> for the replies.
> [Message sent by forum member 'lazjen' (lazjen)]
>
> http://forums.java.net/jive/thread.jspa?messageID=266978
>
> ---------------------------------------------------------------------
> 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


lazjen

Posts: 12
Re: RPM for Glassfish V2? --> Update RPM creation underway
Posted: Apr 14, 2008 12:32 AM   in response to: Alexis Moussine...
 
  Click to reply to this thread Reply

Well, I've been working on various things, including this RPM. I've got some of the basics sorted out, but it's a long way from being robust.

I'm making a few assumptions, which I hope are ok.

I'm building the RPM from the download (https://glassfish.dev.java.net/downloads/v2ur1-b09d.html), so I have had to do the unpack from the jar to get past the graphical popup that appears. Ideally if I had time (and a greater understanding), I'd prefer to attach this to the build process. I almost did this, but I noticed it's a Maven 1 build (I think) and I didn't want to work out how to get it all going - especially since I'm using Maven 2 to assist with the RPM building process. :)

By default, it will install in /var/lib (but this is relocatable) in a subdirectory called glassfish. So, you could install it in a user's home dir if you wanted.

Also by default it will put this under the username 'glassfish' and the group 'glassfish' (it will create the user if it doesn't exist - still to do this bit :) ). These can be overridden using environment variables (GLASSFISH_USERNAME and GLASSFISH_GROUP) since rpm installs are a non-interactive process.

If the rpm is uninstalled, all files are removed from the install directory, including domains. I'm not sure if this is a good idea or not at this time (the domains aren't of much use without glassfish). I've yet to get the uninstall to stop all the domains that are running (wish there was a stop all domains command :) ).

So, for those that might be interested, any comments on the above? Any suggestions or improvements?

lazjen

Posts: 12
Re: RPM for Glassfish V2? --> Update RPM creation underway
Posted: Jun 4, 2008 6:31 PM   in response to: lazjen
 
  Click to reply to this thread Reply

It's taken me sometime, but I've finally sorted out an RPM build.

I've submitted an enhancement here:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=5103




 XML java.net RSS