0 Replies Latest reply on Jul 2, 2006 9:42 PM by zhangjboss

    problems when upgrade from jboss3.0.8 to jbosss4.0.4

    zhangjboss

      my ejb application "app.ear" is running well in jboss3.0 but throws many exception when deployed in jboss4.0.
      The exception is as following:
      2006-07-03 09:19:35,755 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory]MyPrinciple cannot be Bound, doesn't have local and local home interfaces
      2006-07-03 09:19:35,755 ERROR [STDERR] java.lang.NoSuchMethodException: javax.ejb.EJBHome.getHomeHandle()
      2006-07-03 09:19:35,755 ERROR [STDERR] at java.lang.Class.getMethod(Class.java:986)
      2006-07-03 09:19:35,755 ERROR [STDERR] at org.jboss.proxy.ejb.HomeInterceptor.(HomeInterceptor.java:79)
      2006-07-03 09:19:35,755 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2006-07-03 09:19:35,755 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      2006-07-03 09:19:35,755 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      2006-07-03 09:19:3

      there is none of my code invoke home.getHomeHandle(). In addition, why it tells me "doesn't have local and local home interfaces"? is there some different deployment requirements between jboss3 and jboss4? i'm very confused about this, who can help me out of this?

      thank u very much.