Java on Solaris 10

Dear All,
I need some guidance on Java version compatibility and configuration with Solaris 10. We are having SunOS 5.10 Generic_144488-17, but in the DSEE installation we have used JES 5 which have built in problems, which actually de graded system cacao services and libraries. Later we resolved this issue by applying patch and upgraded the cacao. Here the question is, now i need to verify the Java on the system is reliable and accurate. Could you provide me some link, where I could understand the Java and Solaris.
Below is the Java information which am able to pull from the server.
bash-3.00# java -version
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03)
Java HotSpot(TM) Server VM (build 1.5.0_30-b03, mixed mode)
bash-3.00# uname -a
SunOS ssino07 5.10 Generic_144488-17 sun4v sparc SUNW,SPARC-Enterprise-T5220
bash-3.00# showrev
Hostname: sxxx
Hostid: 85594e34
Release: 5.10
Kernel architecture: sun4v
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.10 Generic_144488-17
Also would like to share one error, which actually made to open this thread on Solaris Form. Its related to DSEE installation [already opened a thread there], when we copying the one LDAP configuration settings from one server to another server, we got a schema error. Could you guide me specific to Java here.
Failed: Error updating the server xxxx:389. The error is javax.naming.NameAlreadyBoundException: mgrpRFC822MailMember"
Many thanks in advance,

Your default system java doesn't matter, ie Solaris has a version of java linked to /usr/bin/java which may link to the same version that DSEE is using or not, ie you can have multiple versions of java on your system. DSEE and the rest of the JES products have their own Java installation linked to a location under /usr/jdk/entsys-j2se
As for your second question, if the schema is different between two servers, then migrating data between them will give you schema violations. In your specific case, have you ever installed any versions of the JES Messaging Server? Some older versions had a conflicting OID in the schema. A quick fix would be just copy the S99user.ldif from the working server to the other server.

Similar Messages

  • Problem with Java in solaris 10 zone

    HI ,
    i get this error message in my solaris 10 zone :
    #./java version
    Exception java.lang.OutOfMemoryError: requested -4 bytes for size_t in /BUILD_AREA/jdk1.5.0_11/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap space?
    in global zone , java works fine !
    uname -a
    SunOS Server 5.10 Generic_141414-07 sun4u sparc SUNW,SPARC-Enterprise
    best regards

    I see mention of a similar problem, but only with early development releases of solaris10 branded zones running on Solaris 11 development bits. It seems as though this is not what you are running.
    Since there are no swap caps nor brand emulation in place, the next thing I would suspect would be that you somehow have inconsistencies between key libraries (e.g. libc) and the kernel. This could happen if you have a full-root zone that has been force attached (zoneadm -z <zone> attach -F). In the past, I've seen products that do this under the covers (e.g. Veritas Cluster) so it may have happened without your knowledge. If it is a sparse root zone, you may want to run "zoneadm -z <zone> detach; zoneadm -z <zone> attach -u". Prior to doing so, take whatever precautions you would normally take when patching a system.
    If you open a support call about this I bet the first advice you are going to get is to patch, as you seem to be 2+ years behind. Also, newer releases of Java 5 are available at http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html.

  • How to re-install Java in Solaris 10

    Dear all,
    Let me first apologize if this is not the most suitable forum to post my enquiry (if so, please let me know which one is!). I have a SUN Blade 1500 Silver running Solaris 10. After some patching via smpatch, the Solaris Management Console stopped working, I believe due to a problem between java 1.5 and SMC (see problem "Can't start smc " at:
    http://forum.sun.com/jive/thread.jspa?threadID=100328&messageID=342909 )
    I tried to make the SMC work by tweaking the java path and links to point the old version (1.4.2), but without any success. Moreover, in a desperate effort to solve the problem, I DELETED all the directories, files and symbolic links relating to java under the directories "/usr" and "/usr/bin" (since I couldn't find on the internet a way to "uninstall" java from the system!), and then I tried to install the java packages available at www.sun.com (JRE, J2EE, etc) by using the .sh executables provided there, but without any success. All these installers seem to only unpack java files to complete different directories from the aforementioned (under the path from which they are run), and none seem to install the files in the original locations from which I deleted files ("/usr" and "/usr/bin", and the like).
    Now, not only does the SMC continue to fail to work, but also any other application requiring java fails to excecute. IS THERE A WAY TO RESTORE THE ORIGINAL JAVA FILES THAT ARE COPIED IN THE SYSTEM WITH THE INSTALLATION OF THE SOLARIS OS??? Please note that I am not interested neither in the java plugin for browsers, nor in developing apps with/for java: I only want my system (SMC, smpatch, etc) and applications (mostly EDA software - Cadence) to run smoothly without receiving errors due to missing java files!
    Thans a lot in advance for any help or clue to overcome this rather unpleasant situation.
    Jorge Luis.

    You should be able to just download the version that contains the Solaris packages and follow the installation instructions to use pkgadd to add those packages.
    [Update: hmm it seems only the JDK is available that way not the JRE. It seems if you don't want to install the JDK (though there is no real reason not to) you'd need to reinstall the original packages from your Solaris install media - and you may need to remove any patches that updated the JRE, first.]
    That said if you deleted some of the links then the package install may not necessarily restore them.
    Here's my setup. Note I manually set the "latest" link. The default was that /usr/java linked to /usr/jdk/jdk1.5.0_07
    hypert > dir /usr/bin/java
    lrwxrwxrwx 1 root other 16 Dec 19 2005 /usr/bin/java -> ../java/bin/java
    hypert > dir /usr/java
    lrwxrwxrwx 1 root root 10 Aug 29 13:11 /usr/java -> jdk/latest
    hypert > dir /usr/jdk
    total 16
    drwxr-xr-x 4 root bin 512 Aug 29 11:30 .
    drwxr-xr-x 40 root sys 1024 Aug 29 13:11 ..
    drwxr-xr-x 4 root bin 512 Aug 29 11:29 instances
    lrwxrwxrwx 1 root other 7 Dec 19 2005 j2sdk1.4.2_08 -> ../j2se
    lrwxrwxrwx 1 root other 18 Jun 2 09:47 jdk1.5.0_07 -> instances/jdk1.5.0
    lrwxrwxrwx 1 root other 18 Aug 29 11:30 jdk1.6.0 -> instances/jdk1.6.0
    lrwxrwxrwx 1 root other 8 Aug 29 11:30 latest -> jdk1.6.0
    drwxr-xr-x 7 root bin 512 Dec 19 2005 packages
    Message was edited by:
    davidholmes

  • Using 64-bit java on Solaris 10 x86

    Hello,
    I just got a new X2100 server and installed Solaris 10 on it. Everything's running fine and I installed the most recent x86 64-bit jdk 1.5 update on it. However, I can't find any detailed info on how to set the amd64 java binaries and env as the default.
    I had to manually prepend /usr/java/bin/amd64 to my path in order to get the 64-bit jvm to be recognized. And it does - when I type java -version it shows that it's the 64-bit server jvm. But, when I try to configure Resin 3.0.14, the configure output specifcally says there is no 64-bit java detected.
    So there's gotta be something I'm not doing right. Any help or suggestions would be greatly appreciated.
    Thanks,
    -jason

    On the x86 solaris 10 system I'm looking at there is
    a client VM
    /bin/java -client -version
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
    and a server VM
    /bin/java -server -version
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
    For the client the 64bit VM is still in development. I don't
    think there are dates established for that yet.
    If you can use the server VM, then you need to down
    load the 64bit binaries. Then you will see
    /bin/java -server -d64 -version
    java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-b04, mixed mode)
    The downloads are at (look for the release you want)
    http://java.sun.com/javase/downloads/index.jsp
    Hope that helps.

  • SAP Java and Solaris Zones SolMan 4.0

    May require Solaris Zones experience to continue.
    I have three SAP database instances/central instances running in three sparse Solaris 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 in the sparse zone 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.
    Any thoughts about how to add a writable /usr/j2se into the sparse zone with the least amount of effort ? Otherwise plan B would be to create a "large" zone with a writable /usr directory.
    Received a great answer, that while it may not be architecturally "pure" it may get the job done.
    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.
    Message was edited by: Atis Purins

    Hi Russ,
    no you only have to generate two RFCs to your R/3 and assign them in SMSY to for system monitoring
    Then you need a Solution, assign your R/3 to the Solution, setup the system monitoring.
    Regards,
    uDo

  • Dtrace support in 64 java on solaris 10

    Hi,
    I don't know if this is the right place to ask, if not, please pointing me to it.
    I installed latest jdk 1.6_23, using self-extract file, on solaris 10 x64 machine,
    and I can't find the hotspot provider for dtrace when I use 64 bit jvm,
    I can find them when I use 32 bit,
    I use the following command:
    $ dtrace -ln 'hotspot*:::'
    When I run java -server TestGreeting, (this is endless loop I borrowed from internet)
    I got the probes
    When I run with java -d64 -server TestGreeting
    I got the following error:
    -bash-3.00$ dtrace -ln 'hotspot*:::'
    ID PROVIDER MODULE FUNCTION NAME
    dtrace: failed to match hotspot*:::: No probe matches description
    and when I use ps -ef to grep the java, it shows
    ~/jdk1.6.0_23/bin/amd64/java -server TestGreeting
    Does dtrace support 64 bit JVM?
    Thanks
    ow005480

    Hi,
    I don't know if this is the right place to ask, if not, please pointing me to it.
    I installed latest jdk 1.6_23, using self-extract file, on solaris 10 x64 machine,
    and I can't find the hotspot provider for dtrace when I use 64 bit jvm,
    I can find them when I use 32 bit,
    I use the following command:
    $ dtrace -ln 'hotspot*:::'
    When I run java -server TestGreeting, (this is endless loop I borrowed from internet)
    I got the probes
    When I run with java -d64 -server TestGreeting
    I got the following error:
    -bash-3.00$ dtrace -ln 'hotspot*:::'
    ID PROVIDER MODULE FUNCTION NAME
    dtrace: failed to match hotspot*:::: No probe matches description
    and when I use ps -ef to grep the java, it shows
    ~/jdk1.6.0_23/bin/amd64/java -server TestGreeting
    Does dtrace support 64 bit JVM?
    Thanks
    ow005480

  • Install Java on solaris x86

    Hello - I am connected to one Solaris x86 machine remotely. It does not have GUI in it and only command line execution. I would like to install Java on this machine. Can you please provide me the link where I can get java and instructions to install it - I surfed in previous topics - But no result found
    Thank you!

    Java is built-in.
    Or you can download a new version from java.sun.com on a different machine and then sftp it over to the Solaris box.

  • How to open a web page in java in Solaris system

    i can do this in windows:
    String location = "www.sun.com";
    Runtime.getRuntime().exec("explorer " + location);how could i get it in solaris?
    Thanks

    Isn't this question completely outside the scope of this forum ?
    ... this is a forum for Solaris Zones, not Java or software development.
    http://forum.java.sun.com/thread.jspa?threadID=5075398
    Perhaps your query would be more appropriate in one of these other areas of discussion:
    http://forum.java.sun.com/index.jspa?tab=java

  • Timer in Java in Solaris 2.7

    Hi !
    I have some timer functions in my Java application. It works fine in Windows NT. But not on Solaris 2.7. I have also observed some wierd behavior of our application in Solaris 2.7 which are not there on NT. The system is patched latestly...
    Any inputs...?
    - Karunanidhi.S

    Hi Karunanidhi.S,
    Can you please send us a small test program to show the problem on Solaris? Thanks. SUN/DTS

  • IE5, Java and Solaris?!

    hi! i run a solaris 8 system with a sparc cpu. now i install internet explorer from mircosoft. but there is nor virtual mashine or java included!? i need java in my browser...
    so i download the plugin for solaris but there is no internet explorer support! only for netscape...
    please help me how i can include java in my browser.

    Hello fLaTpInG,
    Is there a reason that you do not want to use Netscape? IE Java Plug-In support has been discontinued by Sun. Netscape 4.x is the only browser that currently supported by the Java Plug-In.
    Microsoft has information on using Java Plug-In VM for Solaris at:
    http://www.microsoft.com/unix/ie/techinfo/jvm/jvm.asp
    -Merwyn,
    Developer Technical Support,
    http://www.sun.com/developers/support.

  • Java in solaris 9 container - requested -4 bytes for size_t

    Hi,
    I'm trying to use java ( jdk1.5.0_15 ) in a solaris 9 branded container ( SPARC ) . When using the -server option, which is the default, I get the following error
    [root]/tmp/: javac
    Exception java.lang.OutOfMemoryError: requested -4 bytes for size_t in /BUILD_AREA/jdk1.5.0_15/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap space?
    [root]/tmp/: If I supply the "-client" switch. it works correctly.
    This "-server" works correctly on the physical server which this zone was cloned from.
    Any ideas how to fix this? The only references I can see to this via google relates to x86
    Thanks

    Hi did you ever figure out what patches cause this issue? we have the same problem (i.e. no support, same error)
    I am about to start some troubleshooting but would appreciate some pointers...
    Thanks
    AND Support

  • Java installation +  solaris zones ...

    Hi ...
    I had installed Solaris 10 in x86 VM ... created the 2 local zones under Global zone. So I want know whether I can install two diffrent versions of java in the two diffrent local zones & try to open both the versions of Java in the global zone at the same moment?
    if yess ... then kindly provide me the step-by-step procedure to do this ..
    thanks in advance,
    Sam

    If the zones are "full" zones than it would seem to be a snap - but why are your running zones on a VM ?
    I just take the standard build and clone it using VIC, play with the new VM until I have rendered it useless, then wipe it.

  • Remove java in solaris

    Can i remove java from a solaris 9 server. ALL version of java. I dont have any GUI needs, I dont use SMC, I dont have any 3rd party apps using the system java. The only thing it appears to be good for is wasting my time patching java.
    What solaris (load the from the OS cd) requires java or breaks when java is removed?

    Hi did you ever figure out what patches cause this issue? we have the same problem (i.e. no support, same error)
    I am about to start some troubleshooting but would appreciate some pointers...
    Thanks
    AND Support

  • Problem to connect to mdb using java on solaris 10

    hello I'm trying to connect to my mdb using the code below
    String database = "/export/home/test.mdb"; String url = "jdbc:odbc:DRIVER={Microsoft Access Driver(*.mdb)};DBQ="+ database+ ";DriverID=22;READONLY=false"; try           { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn = DriverManager.getConnection(url);           }           catch (Exception e)           { System.out.println(e.getMessage());           }           finally           {               if (conn != null)               {                   try                   {                       conn.close ();                   }                   catch (Exception e) { /* ignore close errors */ }               }           }
    the javac returns no errors, but when I'm trying to run the program "null" is printed ( I think that is the e.getMessage). I supose that conn is null and I don't know why. I'm sure that test.mdb exists and it is located to /export/home. I think the problem is that I haven't install an odbc driver on solaris for mdb I don't know where to find it (if anyone can give me a link !!!), but I'm not so sure if this is the problem.
    help me please
    thanks in advance.

    pkwooster wrote:
    Joe, I know that you are a skeptic, and need proof for everything said. I heard about the demise of Access, or more correctly the database most frequently associated with the Access front end, JET, several years ago from a Microsoft employee. Yet it is still here.
    There is plenty of documentation online about this. Here's just one example: http://www.answers.com/topic/microsoft-jet-database-engine?cat=technology. MS themselves are rather less clear.
    That link would suggest that MS Access 2007 is not in fact SQL Server.
    MS has been trying for at least 5 years to wean its users off Access-JET and onto one flavour or another of SQL/Server. I'm a Microsoft Partner and see their marketing on a regular basis. Access is rarely mentioned and SQL Server is a hot topic. Note that most MS/Office applications, such as Outlook now use SQL/Server.Ok.
    However marketing is different than technology. In terms of that I can only note that I don't see Bob on my desktop.
    And Office 2007 is still using Access (which apparently is not SQL Server according to what you posted.)
    Conversely, for example, Microsoft has specifically announced that FoxPro will no longer be supported.
    Thus I am still looking for something that would suggest that either it is SQL Server right now (2007) or that it shortly will be - like perhaps the beta for the next version is.
    And I can only note that some of the stuff that Access does would be difficult to seamlessly do via SQL Server. The article that you posted suggests that upgrades from MS Access exist but that those can lose functionality that will require manual work to replace. Thus if MS did decide to replace Access in Office with SQL Server they would need to come up with a solution for that or risk people not upgrading.
    I am not claiming that this can't happen but rather that I question whether it is relevant to suggest that it anything of concern in the near future (especially for an app that is targeting it anyways.)

  • Java on Solaris 2.6

    Hi everybody,
    Is just have a simple question, which JVM do you recommend for a Solaris 2.6 OS?
    Do you know if I can install version 1.4.X in this O.S?
    Any comment is welcome.
    Thanks in advance,
    JB

    Hi
    What you really need to do is check the documentation on the download pages to see which versions are compatible with Solaris 2.6.
    You may need to install some patches on Solaris to bring it up to the required level although where I work we currently have version 1.4.0 running on Solaris 2.6 and that did not require too much sorting out so this may be the one for you.
    1.4.1 and above do require some patches to be applied in order to get them to run on 2.6.
    Hope this helps

Maybe you are looking for

  • 2 iPhones - 1 iTunes Account (O2 UK question)

    Hi All Just managed to get hold of a 4, I now plan to give my wife my old 3g. When I activated the 4 it said 'restore phone from backup', which I did hence I have all my contacts, apps etc. If I now get a Sim only contract from O2 and put that new Si

  • Error message: "USB device drawing too much power"; Battery will no longer hold a charge. Help?

    A few months back a jump drive broke while inserted in my Macbook (the computer fell sideways and cracked the jump drive). That particular USB port no longer works and I keep receiving an error message that tells me a USB device is drawing too much p

  • Depreciation Run Error (Message no. AA693)

    Hi, User has posted an entry to transfer an asset from one companyh code to the new company code into last FY 2010 in P13. This new company code do not have any asset prior to this. When perfomring the depreciation run, an error message was encounter

  • How to export all distribution group display names and group notes

    We would like to create a list of distribution groups that includes the "Notes" information and email address.  I have found several option, but none of them reveal the Notes.  Where is the "Notes" information for groups and how can we report on it?

  • R12- system profile values

    Hello I want to know which user got some profile. for example- which users have the Profile Option Name "Session Timeout"? thank you :)