[jboss-user] [JBoss Portal] - Re: ClassCastException: org.jboss.portal.cms.impl.jcr.JCRCom

PeterJ do-not-reply at jboss.com
Fri Sep 15 11:35:24 EDT 2006


Try this:

Object obj = CMSService.getCommandFactory();
System.out.println(""cmd factory is a " + obj.getClass());

Then you will know what to cast it to.  Or we can discuss why the object rerturned by getCommandFactory is what it is.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971953#3971953

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971953



More information about the jboss-user mailing list