A Forum reader recently asked:

“I’m trying to get the User Application installed. I’m stuck at the >”$JAVA_HOME part …”

And here’s the response from David Gersic …


First, do *not* try to do this as root. It won’t work. Create a user “idm” or something like that, log in as that user, and install from there. Trust me on this one …

I’m on my third install of UserApp today. Here’s the quick version of how to do it.

1. As root, log in and open ports 8080 and 63306 on the firewall.

2. In eDirectory, create your UserApp admin user (cn=UserAppAdmin,ou=IDM,o=whatever), and set its password.

3. In eDirectory, create your IDM LDAP proxy user (cn=idm,ou=idm,o=whatever) and set its password as well.

4. Create a user ‘idm’ and set password ‘pword’ on this user. The home directory is assumed to be /home/idm from here on out.

5. Log in as user ‘idm’.

6. Mount the CD and run /media/cdrom/linux/user_application/IdmUserApp.bin to start the installer.

7. Select the “run the jboss and mysql install” option.

8. Set the following values:

Path to jboss and mysql: /home/idm/jboss-mysql
Database name: idmuserappdb
User: root
Password: rootspassword

9. When that’s done, select the UserApp installer.

10. Set these values:

Migrate: No
Path: /home/idm
Database Type: MySQL
Database location:  localhost:3306
Database: idmuserappdb
Database user: root
Database user password: rootspassword
Single Node: Yes
Audit: No
Import Master Key Value: No

11. When UserApp LDAP config runs, set these values:

Ldap Host: ip address of your IDM vault LDAP server
        Port: 389 (change these if necessary to match your LDAP config)
        Secure Port: 636
Ldap Admin: cn=idm,ou=idm,o=whatever
Ldap Admin Password: whatever you selected above
Public / Anonymous: Yes
Secure Admin: Yes
Secure User: Yes
Root DN: OU=Users,o=Whatever
   Provisioning Driver DN: cn=UserApplication,cn=DS1,ou=IDM,o=whatever
   UserApp Admin DN: cn=UserAppAdmin,ou=IDM,o=whatever
   User Container DN: OU=Users,o=Whatever
   Group Container DN: OU=Groups,o=whatever

12. Save all of that, and the installer will completes.

13. Run these commands:

   cd /home/idm/jboss-mysql/jboss/bin
   chmod 764

This prevents an error trying to shut down the UserApp portal, because the shutdown script is not marked as “Executable” for some reason.

You should now have UserApp installed, and you should be able to start it up. If you want it to auto-start, see TID #3620160. There’s a sample startup script you can put in /etc/init.d and use chkconfig -add to run it on startup.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Categories: Uncategorized

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
By: dgersic
Nov 28, 2007
7:59 am
Active Directory Authentication Automation Cloud Computing Cloud Security Configuration Customizing Data Breach DirXML Drivers End User Management Identity Manager Importing-Exporting / ICE/ LDIF Intelligent Workload Management IT Security Knowledge Depot LDAP Monitoring Open Enterprise Server Passwords Reporting Secure Access Supported Troubleshooting Workflow