Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179755 - java-config: Add vm switching library for Java init scripts
Summary: java-config: Add vm switching library for Java init scripts
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-25 14:39 UTC by Petteri Räty (RETIRED)
Modified: 2007-05-25 14:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-05-25 14:39:08 UTC
Now that we start to have daemons like Tomcat-6* that require >=1.5 to run we should have an easy way to make our init scripts support vm switching. We could do it via dolauncher but I don't think we should be requiring a shell / per java daemon process so basically this should be gjl for init.d. See tomcat-5.5 init script on how the checking of current VM can be implemented. I think then we could have a /etc/conf.d/java file having something like ${ALLOW_VM_SWITCHING:=true}. This could then be overridden by the conf.d files for the individual daemons.