I have the same problem, but do not go over RMI:

  |                                 InitialContext jndi;
  |                                 PortalVisitorStatisticsHome 
portalVisitorStatisticsHome;
  |                                 PortalVisitorStatistics 
portalVisitorStatistics;
  | 
  |                                 jndi = new InitialContext();
  | 
  |                                 portalVisitorStatisticsHome = 
(PortalVisitorStatisticsHome) jndi.lookup("portal-VisitorStatistics");
  | 

When I do hot-redeploy console content is:

  | 2006-12-28 16:08:33,814 INFO  [org.jboss.ejb.EJBDeployer] Undeploying: 
file:/D:/jboss-4.0.2/server/default/deploy/portal.jar
  | 2006-12-28 16:08:33,914 INFO  [org.jboss.ejb.EjbModule] Undeployed 
PortalVisitorStatisticsEJB
  | 2006-12-28 16:08:33,924 INFO  [org.jboss.ejb.EjbModule] Undeployed 
PortalRedirectEJB
  | 2006-12-28 16:08:33,924 INFO  [org.jboss.ejb.EjbModule] Undeployed 
PortalInteractionEJB
  | 2006-12-28 16:08:33,934 INFO  [org.jboss.ejb.EjbModule] Undeployed 
PortalSessionEJB
  | 2006-12-28 16:08:33,944 WARN  [org.jboss.deployment.DeploymentInfo] Could 
not delete file:/D:/jboss-4.0.2/server/default/tmp/deploy/tmp10241portal.jar 
restart will delete it
  | 2006-12-28 16:08:34,415 INFO  [org.jboss.ejb.EjbModule] Deploying 
PortalSessionEJB
  | 2006-12-28 16:08:34,445 INFO  [org.jboss.ejb.EjbModule] Deploying 
PortalInteractionEJB
  | 2006-12-28 16:08:34,495 INFO  [org.jboss.ejb.EjbModule] Deploying 
PortalRedirectEJB
  | 2006-12-28 16:08:34,515 INFO  [org.jboss.ejb.EjbModule] Deploying 
PortalVisitorStatisticsEJB
  | 2006-12-28 16:08:35,076 INFO  [org.jboss.ejb.EJBDeployer] Deployed: 
file:/D:/jboss-4.0.2/server/default/deploy/portal.jar
  | 

And then ClassCastException!

I use JBoss 4.0.2

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996630
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to