LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-08-2007, 09:41 AM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
Sun Java System Application server in a zone


Hi.

I'm using SJSAS 9.1 installed in /opt/SUNWappserver, in Solaris Express Developer Edition 09/07. The application server was included in the system, and I use instead of the old /usr/appserver.

After booting a new sparse zone, whose purpose is running the application server, I realized that /opt/SUNWappserver was missing in the non global zone:
Quote:
# ls /opt
SUNWjavadb SUNWmlib SUNWspro csw staroffice8
The questions are:
- Why isn't SUNWappserver created in the non global zone, while, for example, SUNWspro and SUNWjavadb are?
- What's the best way to install it in the non global zone? Maybe with an inherited-pkg-dir and then creating the domain in the zone?

Thanks,
Enrico.

Last edited by crisostomo_enrico; 11-08-2007 at 09:43 AM.
 
Old 11-08-2007, 05:22 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I haven't a Developer Edition to check it but I suspect this /opt/SUNWappserver directory doesn't belong to a package so isn't propagated to the zones.

You should be able to install it on the non global zone as /opt is read-write.
 
Old 11-12-2007, 04:39 AM   #3
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Thanks jlliagre.

Quote:
You should be able to install it on the non global zone as /opt is read-write.
It's true indeed. But if I wanted to use the one which is installed in the global zone, in order to propagate its upgrades, wouldn't it be viable to inherit /opt (of the global zone) in a read only directory in the local zone and run it from there? Do you see any problem with this approach? I tried to google 5 seconds for it and found this:
http://developers.sun.com/appserver/...szones/#global

I would say there's no problem about it.

Bye,
Enrico.
 
Old 11-12-2007, 03:41 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by crisostomo_enrico View Post
Thanks jlliagre.


It's true indeed. But if I wanted to use the one which is installed in the global zone, in order to propagate its upgrades, wouldn't it be viable to inherit /opt (of the global zone) in a read only directory in the local zone and run it from there? Do you see any problem with this approach?
Yes, /opt should be read-write by design, and you are missing /var/opt and /etc/opt in your approach.
Inheriting a package is different than sharing a directory.
Quote:
I tried to google 5 seconds for it and found this:
http://developers.sun.com/appserver/...szones/#global

I would say there's no problem about it.
This page is discussing about packaged installations while I was understanding yours was file based. I now think they were real packages, but with propagation disabled as described in the linked page.
 
Old 11-13-2007, 10:40 AM   #5
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Thanks jlliagre.

Quote:
Yes, /opt should be read-write by design, and you are missing /var/opt and /etc/opt in your approach.
Inheriting a package is different than sharing a directory.
Yes, I missed that.

Quote:
This page is discussing about packaged installations while I was understanding yours was file based. I now think they were real packages, but with propagation disabled as described in the linked page.
Well, in prodreg I couldn't find any SJSAS installed in /opt (well, neither found I a SJSAS v. 9): it only appears the one installed in /usr/appserver. I think I'm missing something...

Thanks,
Enrico.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is your Sun Java System application server starting up? crisostomo_enrico Solaris / OpenSolaris 3 09-29-2007 06:27 AM
Sun Application Server 8 dougnc Linux - Server 2 08-12-2007 08:57 AM
LXer: Sun Microsystems Introduces NetBeans Profiler Milestone 11 for Optimized Java Application Run-Time Monitoring LXer Syndicated Linux News 0 12-23-2005 05:31 PM
Setup a VPN server on a Sun Java desktop system. hollor Linux - Newbie 1 06-14-2004 09:26 AM
Problem installing sun java application server on linux R0ss_here Linux - Software 0 02-13-2004 12:14 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration