Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119599 - rmiregistry startup script
Summary: rmiregistry startup script
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 13:52 UTC by Trenton D. Adams
Modified: 2010-12-13 10:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
attach the patch for the latest development version of the jdk (blackdown-jdk-1.4.2.03-r1.ebuild.patch,564 bytes, patch)
2006-01-19 13:55 UTC, Trenton D. Adams
Details | Diff
rmiregistry init script (blackdown-jdk-rmiregistry.init,555 bytes, text/plain)
2006-01-19 13:56 UTC, Trenton D. Adams
Details
rmiregistry init conf (blackdown-jdk-rmiregistry.conf,70 bytes, text/plain)
2006-01-19 13:57 UTC, Trenton D. Adams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trenton D. Adams 2006-01-19 13:52:52 UTC
I just wanted to contribute my changes to the blackdown-jdk package.  I'll attach some files to the bug report...
Comment 1 Trenton D. Adams 2006-01-19 13:55:04 UTC
Created attachment 77577 [details, diff]
attach the patch for the latest development version of the jdk

These are the lines I added to the ebuild script...
Comment 2 Trenton D. Adams 2006-01-19 13:56:28 UTC
Created attachment 77578 [details]
rmiregistry init script

This is the init script that goes in /etc/init.d/rmiregistry
Comment 3 Trenton D. Adams 2006-01-19 13:57:16 UTC
Created attachment 77579 [details]
rmiregistry init conf

This is the init conf for /etc/init.d/rmiregistry which goes in /etc/conf.d/rmiregistry
Comment 4 Trenton D. Adams 2006-01-19 13:58:08 UTC
That's it for now.  I may add an "example" rmi startup script later.  Perhaps we could install it in /etc/init.d/rmi.example
Comment 5 Trenton D. Adams 2006-01-19 14:01:17 UTC
Oh, and the rmiregistry conf should perhaps set the user to "rmi".  I don't know how ebuilds can add users and groups to the system, so I never bothered for now, I just run it as myself.  Perhaps someone else might want to give it a try, and I can test it?
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2006-01-19 21:41:20 UTC
I think this would actually make sense as a separate ebuild, considering that more than one JDK provide rmiregistry.

I would imagine it would simply RDEPEND on virtual/jdk, and just install the init script and env.d file.
Comment 7 Trenton D. Adams 2006-01-20 11:41:27 UTC
That's what I was going to do originally, but then I was wondering if it might be better to include it in java because all JDKs have the rmiregistry.  But, why don't all the guys responsible for java on gentoo discuss it, and let me know.  If you want it as another package, then either create it yourself, or let me know, and I can do it for you, and submit it back.

Thanks.
(In reply to comment #6)
> I think this would actually make sense as a separate ebuild, considering that
> more than one JDK provide rmiregistry.
> 
> I would imagine it would simply RDEPEND on virtual/jdk, and just install the
> init script and env.d file.
> 
Comment 8 Alistair Bush (RETIRED) gentoo-dev 2010-12-13 10:06:16 UTC
Ok going to be harsh with this.

1)  No application has needed this yet almost 5 years.
2)  I believe that rmiregistry really should be managed per application.
3)  Don't even want to consider the possibilities of different jvm versions using a system rmiregisty.