Is this the recommended solution ?
In the Global zone, there is already a copy of JDK installed (by default
in Solaris 10). All the java links are setup properly in /usr.
However, as this is a sparse zone, /usr is inherited i.e. read-only.
Installing JDK anywhere in the sparse zone, while solves the problem,
will still require the user to change the appropriate links/PATHs/etc to
ensure the right JDK gets called.
On Thu, 2006-09-28 at 05:09, Dan Price wrote:
> On Wed 27 Sep 2006 at 01:57PM, Atis Purins wrote:
> > I have three SAP database instances/central instances running in three
> > sparse zones with no problem.
> > I have created a new sparse zone for a new SAP installation (Solution
> > Manager 4.0) and started the installation. SAP requires a 1.4.2 SDK even
> > though Java 1.5 comes with Solaris 10. The 1.4.2 SDK is in /usr/j2se. The
> > installation errors out because it can't get "write" rights to
> > /usr/j2se/jre/lib/security/local_policy.jar as it is trying to install some
> > security encryption JCE component.
> > I have thought about creating a /usr/j2se_zonename file system, copying the
> > contents of /usr/j2se into it and then mounting /usr/j2se_zonename in the
> > zone as a lofs with the name /usr/j2se. However when I do the copy of
> > /usr/j2se I get some recursion errors.
> You might just download the relevant JDK tarball and unpack that
> somewhere in your zone (anywhere you like), and point SAP at it...
> Get the one called "self extracting file"-- you can unpack that anywhere
> you want.
> Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] -
> zones-discuss mailing list
// SengQuee, Staff Engineer
// Sun Microsystems | MDE/GPE-ASAZ @ Singapore
zones-discuss mailing list