LinuxQuestions.org
Review your favorite Linux distribution.
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 09-28-2007, 08:29 PM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 36
Is your Sun Java System application server starting up?


Hi.

I was starting Sun Java System application server in my Solaris Express Developer Edition 9/07 (/usr/appserver, not /opt/SUNWappserver) and it fails because asenv.conf defines incorrectly AS_JAVA as /usr/j2se, which does not exist.

The questions are:
the application server is not being tested?
Is it simply a bug?
Am I expected to use the server shipped in /opt/SUNWappserver (which I think it's installed by Java EE SDK)?
prodreg (and pkgchk) indeed shows /usr/appserver in the Sun Java system application server group, no clue about /opt/SUNWappserver. Isn't it installed through package management system?
Should /usr/j2se exist? (I don't remember if solaris 10 symlinked that and cannot verify it now )

Sorry for flooding with questions!
Enrico.
 
Old 09-29-2007, 02:30 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,754

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
This looks like bug 6551672.

One workaround is replacing /usr/j2se with /usr/java.
 
Old 09-29-2007, 06:03 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.

I was temporarily using /opt/SUNWappserver because I didn't know which solution to choose.

Aren't patches released for this version of solaris, are they? My experience isn't 100% good with solaris patches but I prefer to patch the system than resolving an issue by myself... it's just a matter of "traceability".

Bye,
Enrico.
 
Old 09-29-2007, 07:27 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,754

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
There are no patches released for Solaris Express, as every release is up to date with fixes, being built on the code main trunk.

Patches are built for supported releases, like Solaris 10.

About your issue, the cause is that /usr/j2se used to be installed from SUNWj3rt (JDK 1.4.2) but this package is no more there now that the JDK 1.6 is released.

Moreover, the Application Server bundled with Solaris is older (8.2) than the one installed in /opt/SUNWappserver (9.1) so I recommend you to use the latter.

You may also want to install Glassfish 2.0 (= Sun Application Server 9.2) if you want the very latest release.

Last edited by jlliagre; 09-30-2007 at 07:02 PM. Reason: version mismatch
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sun Application Server 8 dougnc Linux - Server 2 08-12-2007 09: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 06:31 PM
Why is it called sun JAVA desktop system? sh1ft JDS 35 03-05-2005 03:39 AM
Setup a VPN server on a Sun Java desktop system. hollor Linux - Newbie 1 06-14-2004 10:26 AM
Problem installing sun java application server on linux R0ss_here Linux - Software 0 02-13-2004 01:14 PM

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

All times are GMT -5. The time now is 07:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration