Friday, October 9, 2009

DSCC console on Tomcat Application Server


My customer in Philippines has their Sun Directory Server installed from ZIP distribution. As such, we can only access Sun Directory Server Control Center via Tomcat Application Server (or Glassfish Application Server).




There are 2 sites which you should look at before you start:

Note the following:

Because, DSEE and DSCC are installed as root, and so is the DSCC Registry, the WAR file should be deployed in an Application Server which as the ability to run commands with the root privileges. Otherwise, DSCC will not be able to access its registry and thus will not start properly.

Step-by-Step:
1. $ /dsee/dsee6/cacao_2/usr/sbin/cacaoadm start
2. $ /dsee/dscc6/bin/dsccsetup initialize
3. $ cp /dsee/var/dscc6/dscc.war /tomcat/webapps
4. $ vi /tomcat/conf/web.xml


5. $ /tomcat/bin/startup.sh



Once you log into DSCC, you need to register your existing directory server.



Note: We are not using default system CACAO. We have our own CACAO running on port 21162.



Note: Key in root user and password. (I was stuck here for quite some time)






Ok. We are done!


PS: DSCC in war is currently supported on Sun Application Server 8.2 and Tomcat 5.5. I tried deploying on Sun Web Server 7.0 U5, but was not successful.

1 comment:

  1. I am struck too..
    Dont have your email to share the screenshots

    R

    ReplyDelete