Running JDeveloper from a shared MW_HOME
We have several users that use the same RHEL5 Linux server with VNC desktops. We have installed JDeveloper 11.1.1.6 and are able to launch it and deploy apps successfully to remote WLS app server instances.
However, some users are accustomed to using the IntegratedWebWebLogicServer app server instance so that can right click->Run files. Unfortunately, we are not able to get this working.
The first problem was that many of the files in the shared JDev install directory (/opt/oracle/middleware/jdeveloper) had overly restrictive permissions on them so that users couldn't run wlst.sh and such. Once I resolved that, any user that tries to configure the integrated server now sees this in their CreateDefaultDomain.log:
-----
wlst > com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: com.oracle.cie.domain.GenerationException: Unable to create applications directory: /opt/oracle/middleware/user_projects/applications/DefaultDomain
-----
So it would appear that something in the CreateDefaultDomain.py script that is being passed to wlst.sh is trying to create the appdir under the shared MW_HOME, and that is not allowed. The DOMAIN_HOME is getting created where I'd expect ($HOME/.jdeveloper/system11.1.1.6.38.61.92/DefaultDomain) but for some reason, it is not doing the same for the appdir.
Is there some way I can get that WLST script to change the default appdir location to something under the user's HOME?
Thanks,
Bill