I was successful to setup and run scrap page test scripts from eclipse workbench to connect to jboss/jndi thru usermodulelogin security. i am providing required jaas config and policy files, for which the jsp code that invokes the ejb, sets it up thru application.getRealPath() method, which at runtime does gives the correct filename for secured login. when my code hits to get the remote home, it errors out : top stack:
16:27:48,090 INFO [STDOUT] java.lang.ClassCastException 16:27:48,105 INFO [STDOUT] at org.jboss.util.property.PropertyMap.remove(PropertyMap.java:198) 16:27:48,105 INFO [STDOUT] at org.jnp.interfaces.NamingContext.getEnv(NamingContext.java:1299) 16:27:48,105 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724) ====== it fails in the lookup or list call itself. the requirement is to login into jboss thru jaas using jsp. my web.xml and ejb-jar.xml has the required permissions and role setup, verifed from the test scripts run from eclipse workbench. what could be the issue? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867297#3867297 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867297 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
