After moving our secondary management site (our team is split up into 2 different locations) to a new building, we decided to clean-up some things. One of those things involves moving the LDAP to a different machine (more or less a new server for the new site, it is independent regarding LDAP/homes/… from the primary site). While I am at it, I take the opportunity to move from DSEE5 to DSEE7 (my previous post about the DSEE6 migration was at the primary site). This time I took the package distribution instead of the zip distribution (the main reason is that I can get patch-listings with an automatic tool, and the secondary management site has no disaster-recovery requirements for the applications… we just will setup a new secondary site somewhere else if necessary).
Here my experiences with the installation instructions of DSEE7.
- The install instructions refer to the web interface for the DSEE7 management, but I have not seen something which tells you first have to setup an application server (this was better in the DSEE6 instructions).
- When using the Glassfish application server which comes with Solaris 10 for the web interface, you will get an exception after deploying the dscc7.war, as it is using an outdated JVM. After some fighting and Googling, I found that I have to change the AS_JAVA value in /usr/appserver/config/asenv.conf to a more recent JVM as it is pointing to the very outdated j2se 1.4.x. I pointed it to /usr/java (which is a symlink to the most recent version installed as a package). Instead of the original exception I got another one now (after a redirection in the web-browser), something that it can not find the AntMain class (Glassfish uses ANT from /usr/sfw, this is the one which comes with Solaris 10 update 9). I tried with Java 5 instead of Java 6, but I get the same error. In the net there are some discussions about such errors (it is even a FAQ at the ANT site), but this Glassfish/DSEE7 thing is a black box for me, so what am I supposed to do here (I do not want to put the system into an unofficial state by installing my own ANT for Glassfish/DSEE7)?
It was not mentioned in the Appendix of the DSEE7 install instructions which explains how to install the .war in Glassfish that you have to change to a more recent JVM, and I still fight with the AntMain problem (hey Oracle, there is room for improvement in the product compatibility testing and documentation verification process).
I will update this posting when I make some advancements. For now I let the web interface in the bad state as it is and concentrate on finishing the LDAP move to the new system (installing an DSEE on a backup system, configuring replication, switching the clients to them). The web interface is independent enough to handle it later (hints welcome, that is the main purpose why I write this posing in the middle of the work).