1 Reply Latest reply on Jan 4, 2010 10:07 PM by hwa wa

    ClassNotFoundException on Spring class in EJB module when calling from Seam web module

    hwa wa Newbie

      I'm a beginner at all this and I had built a Seam project that has a webapp that uses classes from an EJB module. For some reason, it's able to access the classes in that module but has a problem when one of the classes uses org.springframework.context.support.ClassPathXmlApplicationContext and will report a ClassNotFoundException for that Spring class. Here's what I'm doing:


      My action class (Images.java) in my webapp:


      package com.mydomain.webapp.action;
      
      import com.mydomain.ejb.delegate.Delegate;
      import com.mydomain.ejb.entity.Image;
      
      @Name("images")
      public class Images {
           private List<Image> getImageList() {
                Delegate delegate = new Delegate();
                List<Image> images = delegate.getAllImages();
                
                return images;
           }
      }
      



      The Delegate class below is in another module that I've packaged with my webapp as an ear. The webapp is able to access this class (as well as the Image entity class in the same module) with no problems but will report that it cannot find ClassPathXmlApplicationContext at this point in the code. The ejb module has all the Spring dependencies included in the pom file and works perfectly on its own, but once I call it from the webapp (the ejb module is a dependency of the webapp), I don't know why it can't find it?


      package com.mydomain.ejb.delegate;
      
      import com.mydomain.ejb.entity.Image;
      import com.mydomain.ejb.dao.MyDao;
      import org.springframework.context.support.ClassPathXmlApplicationContext;
      
      public class Delegate {
           private static ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("classpath:spring/serverbean.xml");
           private static MyDao myDao = (MyDao) ctx.getBean("myDao");
      
           public List<Image> getAllImages(){
                List<Image> images = myDao.getAllImages();
                return images;
           }
      }
      



      This is the error when the code is executed from calling the appropriate page in the browser:


      exception
      
      javax.servlet.ServletException: #{images.getImageName}: java.lang.reflect.InvocationTargetException
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
           org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
           org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
           org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
           org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      javax.faces.FacesException: #{images.getImageName}: java.lang.reflect.InvocationTargetException
           com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
           javax.faces.component.UICommand.broadcast(UICommand.java:387)
           org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
           org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
           org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
           org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)
           com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
           com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
           org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
           org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
           org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
           org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      javax.faces.el.EvaluationException: java.lang.reflect.InvocationTargetException
           javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
           com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
           javax.faces.component.UICommand.broadcast(UICommand.java:387)
           org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
           org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
           org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
           org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)
           com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
           com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
           org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
           org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
           org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
           org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      java.lang.reflect.InvocationTargetException
           sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           java.lang.reflect.Method.invoke(Method.java:597)
           org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
           org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
           org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
           org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
           org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
           com.bioimagene.iii.ims.dashboard.action.Browser_$$_javassist_seam_5.loadTree(Browser_$$_javassist_seam_5.java)
           sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           java.lang.reflect.Method.invoke(Method.java:597)
           org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
           org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
           org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
           org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
           org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
           com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
           javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
           com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
           javax.faces.component.UICommand.broadcast(UICommand.java:387)
           org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
           org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
           org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
           org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)
           com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
           com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
           org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
           org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
           org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
           org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      java.lang.NoClassDefFoundError: org/springframework/context/support/ClassPathXmlApplicationContext
           com.mydomain.ejb.delegate.Delegate.<init>(Delegate.java:12)
           com.mydomain.webapp.action.Images.getImageList(Images.java:48)
           com.mydomain.webapp.action.Images.getImageName(Images.java:102)
           sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           java.lang.reflect.Method.invoke(Method.java:597)
           org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
           org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
           org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
           org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
           org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
           com.mydomain.webapp.action.Images_$$_javassist_seam_5.getImageName(Images_$$_javassist_seam_5.java)
           sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           java.lang.reflect.Method.invoke(Method.java:597)
           org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
           org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
           org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
           org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
           org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
           com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
           javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
           com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
           javax.faces.component.UICommand.broadcast(UICommand.java:387)
           org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
           org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
           org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
           org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)
           com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
           com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
           org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
           org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
           org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
           org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      java.lang.ClassNotFoundException: org.springframework.context.support.ClassPathXmlApplicationContext from BaseClassLoader@9bc168{VFSClassLoaderPolicy@1b6c151{name=vfszip:/C:/jboss-5.1.0.GAjdk6/server/default/deploy/myapp.ear/ domain=ClassLoaderDomain@1c6e818{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@15d56d5} roots=[MemoryContextHandler@21872949[path= context=vfsmemory://5c4o1d-buv3k1-g3tcp9sh-1-g3tdx2wz-9t real=vfsmemory://5c4o1d-buv3k1-g3tcp9sh-1-g3tdx2wz-9t], DelegatingHandler@29861695[path=lib/jboss-el-1.0_02.CR4.jar context=file:/C:/jboss-5.1.0.GAjdk6/server/default/tmp/5c4o1d-buv3k1-g3tcp9sh-1-g3tdwwsh-9s/myapp.ear real=file:/C:/jboss-5.1.0.GAjdk6/server/default/tmp/5c4o1d-buv3k1-g3tcp9sh-1-g3tdwwsh-9s/myapp.ear/lib/jboss-el-1.0_02.CR4.jar], DelegatingHandler@11884431[path= context=file:/C:/jboss-5.1.0.GAjdk6/server/default/tmp/5c4o1d-buv3k1-g3tcp9sh-1-g3tdwwsh-9s/myapp.ear real=vfszip:/C:/jboss-5.1.0.GAjdk6/server/default/tmp/5c4o1d-buv3k1-g3tcp9sh-1-g3tdwwsh-9s/myapp.ear], DelegatingHandler@25657110[path=ejb.jar context=file:/C:/jboss-5.1.0.GAjdk6/server/default/tmp/5c4o1d-buv3k1-g3tcp9sh-1-g3tdwwsh-9s/myapp.ear real=file:/C:/jboss-5.1.0.GAjdk6/server/default/tmp/5c4o1d-buv3k1-g3tcp9sh-1-g3tdwwsh-9s/myapp.ear/ejb.jar], DelegatingHandler@11048378[path= context=file:/C:/jboss-5.1.0.GAjdk6/server/default/deployers/seam.deployer/lib-int/jboss-seam-int-jbossas.jar real=vfszip:/C:/jboss-5.1.0.GAjdk6/server/default/deployers/seam.deployer/lib-int/jboss-seam-int-jbossas.jar], DelegatingHandler@33430532[path=jboss-seam-2.2.0.GA.jar context=file:/C:/jboss-5.1.0.GAjdk6/server/default/tmp/5c4o1d-buv3k1-g3tcp9sh-1-g3tdwwsh-9s/myapp.ear real=file:/C:/jboss-5.1.0.GAjdk6/server/default/tmp/5c4o1d-buv3k1-g3tcp9sh-1-g3tdwwsh-9s/myapp.ear/jboss-seam-2.2.0.GA.jar]]  delegates=null exported=[...(list of all jars included in ear)...] <IMPORT-ALL>NON_EMPTY}}
           org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
           java.lang.ClassLoader.loadClass(ClassLoader.java:252)
           java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
           com.mydomain.ejb.delegate.Delegate.<init>(Delegate.java:12)
           com.mydomain.webapp.action.Images.getImageList(Images.java:48)
           com.mydomain.webapp.action.Images.getImageName(Images.java:102)
           sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           java.lang.reflect.Method.invoke(Method.java:597)
           org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
           org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
           org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
           org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
           org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
           org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
           org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
           com.bioimagene.iii.ims.dashboard.action.Browser_$$_javassist_seam_5.loadTree(Browser_$$_javassist_seam_5.java)
           sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           java.lang.reflect.Method.invoke(Method.java:597)
           org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
           org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
           org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
           org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
           org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
           com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
           javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
           com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
           javax.faces.component.UICommand.broadcast(UICommand.java:387)
           org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
           org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
           org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
           org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)
           com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
           com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
           com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
           org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
           org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
           org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
           org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
           org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      



      Any help or thoughts would be greatly appreciated!