7 Replies Latest reply on Mar 24, 2009 1:45 PM by Andrew Rubinger

    [FieldBeanProperty] failed to set value Proxy to jboss.j2ee

    Andreas Bauer Newbie

      Hi,

      I got the error below on Jboss 5.0.1 (MacOS X). I searched google and found
      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=145941&postdays=0&postorder=asc&start=20

      But to change the values UseJBossWebloader=true and CallByValue = true, didn't help.

      So does anybody have an hint on that?

      20:20:01,832 ERROR [FieldBeanProperty] failed to set value Proxy to jboss.j2ee:jar=TwitterPoCEJB.jar,name=TweetViewerBean,service=EJB3 implementing [interface org.jboss.ejb3.proxy.intf.EjbProxy, interface org.jboss.ejb3.proxy.intf.StatefulSessionProxy, interface de.brotkasting.buki.cep.beans.TwitterSessionBeanRemote, interface org.jboss.ejb3.proxy.intf.SessionProxy] on field private de.brotkasting.buki.cep.beans.TwitterSessionBean de.brotkasting.buki.cep.servlets.TweetViewerServlet.bean; Reason: ClassLoaders of value and target are not equal
      java.lang.IllegalArgumentException
      at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
      at java.lang.reflect.Field.set(Field.java:656)
      at org.jboss.injection.lang.reflect.FieldBeanProperty.set(FieldBeanProperty.java:74)
      at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:119)
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:380)
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:259)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:613)
      20:20:01,833 INFO [[/TwitterClient]] Marking servlet TweetViewerServlet as unavailable
      20:20:01,834 ERROR [[TweetViewerServlet]] Allocate exception for servlet TweetViewerServlet
      java.lang.IllegalArgumentException: failed to set value Proxy to jboss.j2ee:jar=TwitterPoCEJB.jar,name=TweetViewerBean,service=EJB3 implementing [interface org.jboss.ejb3.proxy.intf.EjbProxy, interface org.jboss.ejb3.proxy.intf.StatefulSessionProxy, interface de.brotkasting.buki.cep.beans.TwitterSessionBeanRemote, interface org.jboss.ejb3.proxy.intf.SessionProxy] on field private de.brotkasting.buki.cep.beans.TwitterSessionBean de.brotkasting.buki.cep.servlets.TweetViewerServlet.bean; Reason: ClassLoaders of value and target are not equal
      at org.jboss.injection.lang.reflect.FieldBeanProperty.set(FieldBeanProperty.java:99)
      at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:119)
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:380)
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:259)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:777)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:613)


      Best regards,

      Andreas