[jboss-user] [EJB 3.0] - Re: ClassCastException after JNDI lookup

tperrigo do-not-reply at jboss.com
Fri Oct 31 14:41:52 EDT 2008


I've also tried having the ProcessAdminEJB implement the Remote Interface, rather than the business interface, with the same results.  I don't know if this will be of any help, but here is the console output from the server when I deploy the jar file containing the EJB:


  | 10:45:58,444 INFO  [EJBContainer] STARTED EJB: werner.opt.process.admin.ejb.ProcessAdminEJB ejbName: ProcessAdminEJB
  | 10:45:58,448 WARN  [SessionSpecContainer] Populating JBoss-specific annotation metadata manually until done by deployers: jboss.j2ee:ear=opt_process_admin.jar,jar=opt_process_admin.jar,name=ProcessAdminEJB,service=EJB3
  | 10:50:04,217 INFO  [SessionSpecContainer] Stopping jboss.j2ee:ear=opt_process_admin.jar,jar=opt_process_admin.jar,name=ProcessAdminEJB,service=EJB3
  | 10:50:04,218 INFO  [EJBContainer] STOPPED EJB: werner.opt.process.admin.ejb.ProcessAdminEJB ejbName: ProcessAdminEJB
  | 10:50:04,395 WARN  [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean ProcessAdminEJB
  | 10:50:04,435 INFO  [JBossASKernel] Created KernelDeployment for: opt_process_admin.jar
  | 10:50:04,435 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=opt_process_admin.jar,jar=opt_process_admin.jar,name=ProcessAdminEJB,service=EJB3
  | 10:50:04,435 INFO  [JBossASKernel]   with dependencies:
  | 10:50:04,435 INFO  [JBossASKernel]   and demands:
  | 10:50:04,435 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
  | 10:50:04,435 INFO  [JBossASKernel]   and supplies:
  | 10:50:04,435 INFO  [JBossASKernel]      Class:werner.opt.process.admin.ejb.ProcessAdminRemote
  | 10:50:04,435 INFO  [JBossASKernel]      jndi:ProcessAdminEJB/remote
  | 10:50:04,435 INFO  [JBossASKernel]      jndi:ProcessAdminEJB/remote-werner.opt.process.admin.ejb.ProcessAdminRemote
  | 10:50:04,435 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=opt_process_admin.jar,jar=opt_process_admin.jar,name=ProcessAdminEJB,service=EJB3) to KernelDeployment of: opt_process_admin.jar
  | 
  | 

Thanks again for the quick response...please let me know if you think of anything else I could try!

Tim

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

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



More information about the jboss-user mailing list