From: flowctrl on
Hello,

All of the documentation for Sun's Java Desktop Configuration Manager
assumes that it is already installed as an application with the Java
Web Console. I'm using Solaris 10 11/06, which came with Web Console
and Desktop Configuration Manager already installed, but not
configured.

When I start the Java Web Console using '/usr/sbin/smcwebserver start',
then login to https://localhost:6789, the only application available is
ZFS Administration.

I ran the configuration script for Java Desktop Configuration Manager,
/usr/bin/apoc-config, and used our local info. Now how do I get it to
show up in the Java Console?

After some poking around I discovered
/usr/share/webconsole/bin/wcadmin, which appears to have the ability to
add applications to the Java Web Console, but I haven't been able to
get apoc to work. I did:

/usr/share/webconsole/bin/wcadmin add -l -a console -n apoc_jars
"/usr/share/lib/apoc/*.jar"
/usr/share/webconsole/bin/wcadmin deploy -a console -x apoc
/usr/share/lib/apoc
/usr/share/webconsole/bin/wcadmin enable -x apoc

.... restarted the smcwebserver, and ran wcadmin list, to get:

Deployed web applications (application name, context name, status):

console ROOT [running]
console apoc [running]
console com_sun_web_ui [running]
console console [running]
console manager [running]
console zfs [running]

Registered jar files (application name, identifier, path):

console apoc_jars /usr/share/lib/apoc/*.jar
console audit_jar /usr/lib/audit/Audit.jar
console console_jars /usr/share/webconsole/lib/*.jar
console jato_jar /usr/share/lib/jato/jato.jar
console javahelp_jar /usr/jdk/packages/javax.help-2.0/lib/*.jar
console shared_jars
/usr/share/webconsole/private/container/shared/lib/*.jar

Registered login modules (application name, service name, identifier):

console ConsoleLogin userlogin
console ConsoleLogin rolelogin

No shared service properties.


It still doesn't appear in the Java Web Console interfaces, and if I
try connecting to https://localhost:6789/apoc as suggested in the
documentation, I get a directory listing of whatever directory I
include after the 'wcadmin deploy' command (I've tried /usr/lib/apoc as
well as the one above). I can't find any documentation for how to link
these two apps together, or how to run the Desktop Configuration
Manager without the Java Web Console.

Any advice would be greatly appreciated!