1 Reply Latest reply on Dec 22, 2006 6:52 AM by Tom Fennelly

    Problem using JBoss ESB console

    Enrique García Simón Newbie

      After the post "JBoss ESB console deployment from sources", we finally have found a Tomcat to use (a Jakarta Jetspeed: in http://localhost:8080, testing it with JBoss AS stopped, it appears Apache Tomcat/5.5.12), and the jboss-esb-console.war build deploys ok.

      But using the console I have found a problem. I am trying to define a CSV to XML conversion

      - "Manage Message Exchange Participants" ok
      - "Configure New Message Contract "ok
      - "Configure New Resource" ok
      - "Manage Configurations", ko

      Nothing happens on the navigator, and in catalina.out it appears the following log


      ERROR 15-12 13:42:29,967 (Log4JLogger.java:error:119) -Exception in PhaseListen
      er RENDER_RESPONSE(6) beforePhase.
      javax.faces.el.EvaluationException: Exception while invoking expression #{manage
      Resources.list}
       at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java
      :153)
       at org.jboss.seam.core.Pages.callAction(Pages.java:212)
       at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(Abstract
      SeamPhaseListener.java:127)
       at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSea
      mPhaseListener.java:98)
       at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.ja
      va:50)
       at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.before
      Phase(SeamExtendedManagedPersistencePhaseListener.java:38)
       at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListener
      sBefore(PhaseListenerManager.java:70)
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
      373)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt
      er.java:45)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
      .java:30)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :868)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:663)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
      lowerWorkerThread.java:80)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:684)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
       at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponen
      t(BijectionInterceptor.java:33)
       at sun.reflect.GeneratedMethodAccessor325.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(Outco
      meInterceptor.java:21)
       at sun.reflect.GeneratedMethodAccessor327.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRun
      ningConversation(ConversationInterceptor.java:82)
       at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusiness
      ProcessContext(BusinessProcessInterceptor.java:60)
       at sun.reflect.GeneratedMethodAccessor323.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.soa.esb.admin.console.exchange.MessageExchangeSelectedInter
      ceptor.assertExchangeSelected(MessageExchangeSelectedInterceptor.java:46)
       at sun.reflect.GeneratedMethodAccessor380.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(R
      ollbackInterceptor.java:30)
       at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfN
      ecessary(TransactionInterceptor.java:34)
       at sun.reflect.GeneratedMethodAccessor321.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(Remov
      eInterceptor.java:39)
       at sun.reflect.GeneratedMethodAccessor320.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
       at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java
      :90)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:60)
       at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterce
      ptor.java:73)
       at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:
      45)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(J
      avaBeanInterceptor.java:51)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInt
      erceptor.java:39)
       at org.jboss.soa.esb.admin.console.transform.ManageResources$$EnhancerBy
      CGLIB$$6fb6569f.list(<generated>)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java
      :129)
       ... 28 more
      Caused by: java.lang.NoClassDefFoundError
       at org.milyn.cdr.XMLConfigDigester.digestConfig(XMLConfigDigester.java:5
      0)
       at org.milyn.cdr.SmooksResourceConfigurationStore.registerResources(Smoo
      ksResourceConfigurationStore.java:149)
       at org.milyn.cdr.SmooksResourceConfigurationStore.registerInstalledResou
      rces(SmooksResourceConfigurationStore.java:87)
       at org.milyn.cdr.SmooksResourceConfigurationStore.<init>(SmooksResourceC
      onfigurationStore.java:78)
       at org.milyn.container.standalone.StandaloneContainerContext.<init>(Stan
      daloneContainerContext.java:59)
       at org.milyn.container.standalone.StandaloneContainerContext.<init>(Stan
      daloneContainerContext.java:73)
       at org.milyn.SmooksStandalone.<init>(SmooksStandalone.java:80)
       at org.jboss.soa.esb.admin.console.transform.SmooksUtils.getMessageExcha
      ngeConfigs(SmooksUtils.java:58)
       at org.jboss.soa.esb.admin.console.transform.ManageResources.initialise(
      ManageResources.java:124)
       at org.jboss.soa.esb.admin.console.transform.ManageResources$$EnhancerBy
      CGLIB$$6fb6569f.CGLIB$initialise$2(<generated>)
       at org.jboss.soa.esb.admin.console.transform.ManageResources$$EnhancerBy
      CGLIB$$6fb6569f$$FastClassByCGLIB$$eabf6114.invoke(<generated>)
       at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
       at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInt
      erceptor.java:32)
       at org.jboss.soa.esb.admin.console.transform.ManageResources$$EnhancerBy
      CGLIB$$6fb6569f.initialise(<generated>)
       at org.jboss.soa.esb.admin.console.transform.ManageResources.list(Manage
      Resources.java:76)
       at org.jboss.soa.esb.admin.console.transform.ManageResources$$EnhancerBy
      CGLIB$$6fb6569f.CGLIB$list$0(<generated>)
       at org.jboss.soa.esb.admin.console.transform.ManageResources$$EnhancerBy
      CGLIB$$6fb6569f$$FastClassByCGLIB$$eabf6114.invoke(<generated>)
       at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167)
       at org.jboss.seam.interceptors.JavaBeanInterceptor$1.proceed(JavaBeanInt
      erceptor.java:80)
       at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocat
      ionContext.java:56)
       at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetCompo
      nent(ValidationInterceptor.java:64)
       ... 100 more
      INFO 15-12 13:42:29,976 (Log4JLogger.java:info:94) -killing transaction




      The message is java.lang.NoClassDefFoundError at XMLConfigDigester.java:50, but I have deployed the war

      Looking to the code at http://fisheye.codehaus.org/browse/~raw,r=1.4/milyn/smooks-core/src/main/java/org/milyn/cdr/XMLConfigDigester.java
      I think that the class may be org.w3c.dom.Document or org.milyn.xml.XmlUtil, but I see bot on the war deployed

      Any Idea ?



        • 1. Re: Problem using JBoss ESB console
          Tom Fennelly Master

          Hi Enrique.

          Really sorry I missed this post.

          I made some updates to the console in order to remove the dependencies on the Micro Container and EJB3. This should make it riun on the AS without any trouble - I tested it on 4.0.4 and 4.0.5. Minor down side to these changes however - it only runs on JBoss AS now. We'll add support for other containers later.

          As for the java.lang.NoClassDefFoundError, make sure xerces is in the classpath. This is always (??) part of Tomcat or the AS (in the system cp), so it's strange that you should get this error. Try the updated console on the AS!

          Regards,

          Tom.