Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 179755

Summary: java-config: Add vm switching library for Java init scripts
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: [OLD] JavaAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.