RE: [zones-discuss] SAP Java in Sparse Zone

2006-09-28 Thread Döhr, Markus ICC-H
 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.

This is for the high encryption and is only installed once.

I have solved that the following way (on X86_64):

* downloaded JDK 1.4.2 from
http://java.sun.com/j2se/1.4.2/SAPsite/download.html (64bit)

* unpack to /opt

* create a softlink from /opt/j2sdk1.4.2 to /opt/java1.4

* installed the policy manually in /opt/java1.4

* mount /opt as lofs

* start sapinst

Sapinst will detect, that the policy is already there and will not try to
install it again.



Greetz,

SIEGENIA-AUBI KG
Informationswesen
 
i.A.
 
Markus Döhr
SAP-CC/BC, SAPDB-DBA

Tel.:+49 6503 917-152
Fax: +49 6503 917-7152
E-Mail: [EMAIL PROTECTED]
Internet: http://www.siegenia-aubi.com 
  
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] SAP Java in Sparse Zone

2006-09-27 Thread Seng-Quee.Liang
Hi,

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.  

Best Regards,
/SengQuee

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...
 
 http://java.sun.com/j2se/1.4.2/download.html
 
 Get the one called self extracting file-- you can unpack that anywhere
 you want.
 
 -dp
 
 -- 
 Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - 
 blogs.sun.com/dp
 ___
 zones-discuss mailing list
zones-discuss@opensolaris.org
-- 
// SengQuee, Staff Engineer
// Sun Microsystems | MDE/GPE-ASAZ @ Singapore

___
zones-discuss mailing list
zones-discuss@opensolaris.org