Can you check if the following option in your domain.xml is set to true instead of false ? :
<jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>
Setting it to true could result in unpredictable LifeCycle startup sequence and so the AppServer securitylifecycle could have overwritten what was initialized by your lifecycle. If your lifecycle executes later then i would expect things should work ( i never tested though).
Can you attach your LifeCycle and TrustManager so i can debug what is happening.
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]
http://forums.java.net/jive/thread.jspa?messageID=284974