policy modules ldap vs identity

when i specified identity - it was working but after rebooting -- i get this error:

kermit console login: csadmind is started

Stopping Server [FAILED]

Server already stopped

cshttpd is started

Starting Server [OK]

csstored is started

Calendar service(s) were started

Stopping Multiplexor [FAILED]

Multiplexor already stopped

Starting Multiplexor [OK]

Exception in thread "main" java.lang.ExceptionInInitializerError

at com.iplanet.am.sdk.AMStoreConnection.<init>(AMStoreConnection.java:17

9)

at com.iplanet.im.server.IdentityRealm.<init>(IdentityRealm.java:125)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAcce ssorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC

onstru ctorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:494)

at java.lang.Class.newInstance0(Class.java:350)

at java.lang.Class.newInstance(Class.java:303)

at com.iplanet.im.server.RealmManager.get(RealmManager.java:496)

at com.iplanet.im.server.RealmManager.init(RealmManager.java:475)

at com.iplanet.im.server.NMS.loadConfig(NMS.java:498)

at com.iplanet.im.server.NMS.<init>(NMS.java:372)

at com.iplanet.im.server.NMS.create(NMS.java:216)

at com.iplanet.im.server.NMS.main(NMS.java:835)

Caused by: java.lang.IllegalArgumentException: Invalid parameters

at com.sun.identity.sm.ServiceConfigManager.<init>(ServiceConfigManager.

java:116)

at com.iplanet.am.sdk.AMDirectoryManager.<init>(AMDirectoryManager.java:

245)

at com.iplanet.am.sdk.AMCacheManager.<init>(AMCacheManager.java:101)

at com.iplanet.am.sdk.AMCacheManager.getInstance(AMCacheManager.java:123

)

at com.iplanet.am.sdk.AMDirectoryWrapper.<clinit>(AMDirectoryWrapper.jav

a:91)

... 14 more

[2085 byte] By [starman7] at [2008-1-26]
# 1
From the exception it seems that you have started the im server before webserver.Try Starting webserver first & then start IM-Server.
Amit_Bakhru at 2007-7-5 > top of java,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 2

thanks amit.

one other question, can iim be used on one machine and handle hosted domains - e.g. multiple organizations?

i tried, but was able to authenticate as a user in one org, though i'd logged into the server via im using the url/server address of the newly created org. is there some parameter to set so iim knows about hosted domains? also in a user lookup of a user who existed in both orgs -2 matches were found, but the default org's domain was attached to each of his identifiers - so i could not distinguis between them.

starman7 at 2007-7-5 > top of java,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 3
>> i tried, but was able to authenticate as a user in one orgi meant to say "i tried, but was able to authenticate as a user in the default org"i tried using user@domain.com and just username as the logins.
starman7 at 2007-7-5 > top of java,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 4

Suppose you have one top level org: dc=coke,dc=com

And you have two sub-level domains under the dc=coke,dc=com as:

o=india.com

o=usa.com

* Now if you want the same IM-Server to be able to serve both the domains then you will need to have two seperate im.jnlp files.

* You can find im.jnlp files @ webserver_inst/docs/im/en/im.jnlp.

* Copy im.jnlp file to two files india.jnlp & usa.jnlp

* Now add <argument>domain=india.com</argument> to india.jnlp

& add <argument>domain=usa.com</argument> to usa.jnlp

* Also both the domain should have users with seperate usernames.I mean different uid.

* Now launch the client through javaws using the above jnlp file & login with just the username. I mean not with uid@domain.com.Just enter uid & password.

Hope this will solve your problem.

Amit_Bakhru at 2007-7-5 > top of java,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...