You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by mahdsip <mi...@abama.es> on 2008/02/21 17:52:00 UTC

Servicemix-web 3.2.1 (WAR) with Tomcat 6.0.14

Hi, I have a problem trying to deploy Servicemix-web 3.2.1 on Apache Tomcat
6.0.14. It sais DefClassNotFound for a class contained in
backport-util-concurrent.jar. If I add this library to the serviceMix war,
it works perfectly. Is it the normal operation? Should be this library by
default this on the distribution or we should add by our shelf?

Thank you very much. 
-- 
View this message in context: http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p15613849.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Servicemix-web 3.2.1 (WAR) with Tomcat 6.0.14

Posted by mahdsip <mi...@abama.es>.
Ok just done.
Kindly (please) excuse the delay in replying. We just got back from
holidays.


gnodet wrote:
> 
> Could you please raise a JIRA and I will fix this issue for 3.2.2 release.
> 
> On Mon, Mar 3, 2008 at 6:28 PM, mahdsip <mi...@abama.es>
> wrote:
>>
>>  C:\WebServers\apache-tomcat-6.0.14\bin>catalina jpda run
>>  Using CATALINA_BASE:   C:\WebServers\apache-tomcat-6.0.14
>>  Using CATALINA_HOME:   C:\WebServers\apache-tomcat-6.0.14
>>  Using CATALINA_TMPDIR: C:\WebServers\apache-tomcat-6.0.14\temp
>>  Using JRE_HOME:        C:\Software\Java\jdk1.5.0_11
>>  Listening for transport dt_socket at address: 5001
>>  03-mar-2008 18:18:44 org.apache.catalina.core.AprLifecycleListener init
>>  INFO: The Apache Tomcat Native library which allows optimal performance
>> in
>>  production environments was not found on the java.library.path:
>> C:\Software
>> 
>> \Java\jdk1.5.0_11\bin;.;C:\Windows\system32;C:\Windows;C:\Software\Java\jdk1.5.0_11\bin;C:\Software\oracle\ora92\bin;C:\Program
>>  Files\Oracle\jre\1.3.1
>>  \bin;C:\Program
>> 
>> Files\Oracle\jre\1.1.8\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
>>  Files\UltraEdit-32;C:\Program Files\Perf
>>  orce;C:\PROGRA~1\ATT\Graphviz\bin;;C:\Program Files\Common
>> Files\Nero\Lib\
>>  03-mar-2008 18:18:45 org.apache.coyote.http11.Http11Protocol init
>>  INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
>>  03-mar-2008 18:18:45 org.apache.catalina.startup.Catalina load
>>  Here is the stack trace:
>>
>>
>>  INFO: Initialization processed in 985 ms
>>  03-mar-2008 18:18:45 org.apache.catalina.core.StandardService start
>>  INFO: Arrancando servicio Catalina
>>  03-mar-2008 18:18:45 org.apache.catalina.core.StandardEngine start
>>  INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
>>  03-mar-2008 18:18:45 org.apache.catalina.startup.HostConfig deployWAR
>>  INFO: Despliegue del archivo apache-servicemix-web-3.2.1.1.war de la
>>  aplicaci¾n web
>>  WARN  - EndpointRegistry               - Disabled endpoint processor
>>  'org.apache.servicemix.jbi.framework.support.WSDL2Processor':
>>  java.lang.NoClassDe
>>  fFoundError: org/apache/woden/WSDLReader
>>  INFO  - JBIContainer                   - ServiceMix 3.2.1 JBI Container
>>  (ServiceMix) is starting
>>  INFO  - JBIContainer                   - For help or more informations
>>  please see: http://incubator.apache.org/servicemix/
>>  INFO  - JBIContainer                   - Activating component for:
>>  [container=ServiceMix,name=#SubscriptionManager#] with service: null
>>  component: org
>>  .apache.servicemix.jbi.nmr.SubscriptionManager@18fb397
>>  INFO  - ComponentMBeanImpl             - Initializing component:
>>  #SubscriptionManager#
>>  INFO  - JBIContainer                   - Activating component for:
>>  [container=ServiceMix,name=servicemix-eip] with service: null component:
>>  org.apache
>>  .servicemix.eip.EIPComponent@b041b0
>>  INFO  - jetty                          - Logging to
>>  org.apache.servicemix.http.jetty.JCLLogger@4d6b1a via
>>  org.apache.servicemix.http.jetty.JCLLogger
>>  INFO  - JBIContainer                   - Activating component for:
>>  [container=ServiceMix,name=servicemix-http] with service: null
>> component:
>>  org.apach
>>  e.servicemix.http.HttpComponent@16528a2
>>  INFO  - JBIContainer                   - Activating component for:
>>  [container=ServiceMix,name=servicemix-lwcontainer] with service: null
>>  component: or
>>  g.apache.servicemix.lwcontainer.LwContainerComponent@101d01
>>  INFO  - JBIContainer                   - Activating component for:
>>  [container=ServiceMix,name=servicemix-saxon] with service: null
>> component:
>>  org.apac
>>  he.servicemix.saxon.SaxonComponent@1b9e7fc
>>  INFO  - DeploymentService              - Restoring service assemblies
>>  WARN  - ClientFactory                  - Cound not start ClientFactory:
>>  javax.naming.NamingException: El contexto es de solo lectura
>>  INFO  - ComponentMBeanImpl             - Setting running state for
>>  Component: servicemix-eip to Started
>>  INFO  - ComponentMBeanImpl             - Initializing component:
>>  servicemix-eip
>>  INFO  - ComponentMBeanImpl             - Setting running state for
>>  Component: servicemix-http to Started
>>  INFO  - ComponentMBeanImpl             - Initializing component:
>>  servicemix-http
>>  INFO  - HttpComponentListener          - Component servicemix-http
>>  configured.
>>  ERROR - ContextLoader                  - Context initialization failed
>>  org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>>  with name 'jbi' defined in ServletContext resource
>> [/WEB-INF/servicemix.x
>>  ml]: Invocation of init method failed; nested exception is
>>  java.lang.NoClassDefFoundError:
>>  edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHa
>>  shMap
>>  Caused by:
>>  java.lang.NoClassDefFoundError:
>>  edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>>         at
>> 
>> org.apache.servicemix.http.ManagedContextManager.init(ManagedContextManager.java:44)
>>         at
>>  org.apache.servicemix.http.HttpComponent.doInit(HttpComponent.java:238)
>>         at
>> 
>> org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:187)
>>         at
>> 
>> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
>>         at
>> 
>> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
>>         at
>> 
>> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.setInitialRunningState(ComponentMBeanImpl.java:366)
>>         at
>> 
>> org.apache.servicemix.jbi.framework.ComponentRegistry.setInitialRunningStateFromStart(ComponentRegistry.java:156)
>>         at
>> 
>> org.apache.servicemix.jbi.framework.ComponentRegistry.start(ComponentRegistry.java:75)
>>         at
>>  org.apache.servicemix.jbi.framework.Registry.start(Registry.java:128)
>>         at
>> 
>> org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:636)
>>         at
>> 
>> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
>>         at
>> 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201
>>  )
>>         at
>> 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>>         at
>> 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>>         at
>> 
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>>         at
>> 
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>>         at
>> 
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>>         at
>> 
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>>         at
>> 
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>>         at
>> 
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>>         at
>> 
>> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
>>         at
>> 
>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
>>         at
>> 
>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>>         at
>> 
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
>>         at
>> 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
>>         at
>> 
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>>         at
>>  org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>>         at
>>  org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>>         at
>>  org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>>         at
>>  org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>>         at
>>  org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>>         at
>>  org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>>         at
>> 
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>>         at
>> 
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>>         at
>>  org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>>         at
>>  org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>>         at
>>  org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>         at
>>  org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>         at
>>  org.apache.catalina.core.StandardService.start(StandardService.java:516)
>>         at
>>  org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>>         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at
>> 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at
>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>>  03-mar-2008 18:18:50 org.apache.catalina.core.StandardContext start
>>  GRAVE: Error listenerStart
>>  03-mar-2008 18:18:50 org.apache.catalina.core.StandardContext start
>>  GRAVE: Fall¾ en arranque del Contexto [/apache-servicemix-web-3.2.1.1]
>>  debido a errores previos
>>
>>  Thank's again.
>>
>>
>>
>>
>>
>>
>>
>>
>>  gnodet wrote:
>>  >
>>  > Could you paste the full stack trace please ?
>>  > If it's really neeed, it should be included, but afaik, 3.2.1 does not
>>  > use backport-util-concurrent
>>  > anymore (or should not).
>>  >
>>  > On Thu, Feb 21, 2008 at 5:52 PM, mahdsip <mi...@abama.es>
>>  > wrote:
>>  >>
>>  >>  Hi, I have a problem trying to deploy Servicemix-web 3.2.1 on Apache
>>  >> Tomcat
>>  >>  6.0.14. It sais DefClassNotFound for a class contained in
>>  >>  backport-util-concurrent.jar. If I add this library to the
>> serviceMix
>>  >> war,
>>  >>  it works perfectly. Is it the normal operation? Should be this
>> library
>>  >> by
>>  >>  default this on the distribution or we should add by our shelf?
>>  >>
>>  >>  Thank you very much.
>>  >>  --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p15613849.html
>>  >>  Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >
>>  >
>>  >
>>  > --
>>  > Cheers,
>>  > Guillaume Nodet
>>  > ------------------------
>>  > Blog: http://gnodet.blogspot.com/
>>  >
>>  >
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p15808963.html
>>
>>
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p16274459.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Servicemix-web 3.2.1 (WAR) with Tomcat 6.0.14

Posted by Guillaume Nodet <gn...@gmail.com>.
Could you please raise a JIRA and I will fix this issue for 3.2.2 release.

On Mon, Mar 3, 2008 at 6:28 PM, mahdsip <mi...@abama.es> wrote:
>
>  C:\WebServers\apache-tomcat-6.0.14\bin>catalina jpda run
>  Using CATALINA_BASE:   C:\WebServers\apache-tomcat-6.0.14
>  Using CATALINA_HOME:   C:\WebServers\apache-tomcat-6.0.14
>  Using CATALINA_TMPDIR: C:\WebServers\apache-tomcat-6.0.14\temp
>  Using JRE_HOME:        C:\Software\Java\jdk1.5.0_11
>  Listening for transport dt_socket at address: 5001
>  03-mar-2008 18:18:44 org.apache.catalina.core.AprLifecycleListener init
>  INFO: The Apache Tomcat Native library which allows optimal performance in
>  production environments was not found on the java.library.path: C:\Software
>  \Java\jdk1.5.0_11\bin;.;C:\Windows\system32;C:\Windows;C:\Software\Java\jdk1.5.0_11\bin;C:\Software\oracle\ora92\bin;C:\Program
>  Files\Oracle\jre\1.3.1
>  \bin;C:\Program
>  Files\Oracle\jre\1.1.8\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
>  Files\UltraEdit-32;C:\Program Files\Perf
>  orce;C:\PROGRA~1\ATT\Graphviz\bin;;C:\Program Files\Common Files\Nero\Lib\
>  03-mar-2008 18:18:45 org.apache.coyote.http11.Http11Protocol init
>  INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
>  03-mar-2008 18:18:45 org.apache.catalina.startup.Catalina load
>  Here is the stack trace:
>
>
>  INFO: Initialization processed in 985 ms
>  03-mar-2008 18:18:45 org.apache.catalina.core.StandardService start
>  INFO: Arrancando servicio Catalina
>  03-mar-2008 18:18:45 org.apache.catalina.core.StandardEngine start
>  INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
>  03-mar-2008 18:18:45 org.apache.catalina.startup.HostConfig deployWAR
>  INFO: Despliegue del archivo apache-servicemix-web-3.2.1.1.war de la
>  aplicaci¾n web
>  WARN  - EndpointRegistry               - Disabled endpoint processor
>  'org.apache.servicemix.jbi.framework.support.WSDL2Processor':
>  java.lang.NoClassDe
>  fFoundError: org/apache/woden/WSDLReader
>  INFO  - JBIContainer                   - ServiceMix 3.2.1 JBI Container
>  (ServiceMix) is starting
>  INFO  - JBIContainer                   - For help or more informations
>  please see: http://incubator.apache.org/servicemix/
>  INFO  - JBIContainer                   - Activating component for:
>  [container=ServiceMix,name=#SubscriptionManager#] with service: null
>  component: org
>  .apache.servicemix.jbi.nmr.SubscriptionManager@18fb397
>  INFO  - ComponentMBeanImpl             - Initializing component:
>  #SubscriptionManager#
>  INFO  - JBIContainer                   - Activating component for:
>  [container=ServiceMix,name=servicemix-eip] with service: null component:
>  org.apache
>  .servicemix.eip.EIPComponent@b041b0
>  INFO  - jetty                          - Logging to
>  org.apache.servicemix.http.jetty.JCLLogger@4d6b1a via
>  org.apache.servicemix.http.jetty.JCLLogger
>  INFO  - JBIContainer                   - Activating component for:
>  [container=ServiceMix,name=servicemix-http] with service: null component:
>  org.apach
>  e.servicemix.http.HttpComponent@16528a2
>  INFO  - JBIContainer                   - Activating component for:
>  [container=ServiceMix,name=servicemix-lwcontainer] with service: null
>  component: or
>  g.apache.servicemix.lwcontainer.LwContainerComponent@101d01
>  INFO  - JBIContainer                   - Activating component for:
>  [container=ServiceMix,name=servicemix-saxon] with service: null component:
>  org.apac
>  he.servicemix.saxon.SaxonComponent@1b9e7fc
>  INFO  - DeploymentService              - Restoring service assemblies
>  WARN  - ClientFactory                  - Cound not start ClientFactory:
>  javax.naming.NamingException: El contexto es de solo lectura
>  INFO  - ComponentMBeanImpl             - Setting running state for
>  Component: servicemix-eip to Started
>  INFO  - ComponentMBeanImpl             - Initializing component:
>  servicemix-eip
>  INFO  - ComponentMBeanImpl             - Setting running state for
>  Component: servicemix-http to Started
>  INFO  - ComponentMBeanImpl             - Initializing component:
>  servicemix-http
>  INFO  - HttpComponentListener          - Component servicemix-http
>  configured.
>  ERROR - ContextLoader                  - Context initialization failed
>  org.springframework.beans.factory.BeanCreationException: Error creating bean
>  with name 'jbi' defined in ServletContext resource [/WEB-INF/servicemix.x
>  ml]: Invocation of init method failed; nested exception is
>  java.lang.NoClassDefFoundError:
>  edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHa
>  shMap
>  Caused by:
>  java.lang.NoClassDefFoundError:
>  edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
>         at
>  org.apache.servicemix.http.ManagedContextManager.init(ManagedContextManager.java:44)
>         at
>  org.apache.servicemix.http.HttpComponent.doInit(HttpComponent.java:238)
>         at
>  org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:187)
>         at
>  org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
>         at
>  org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
>         at
>  org.apache.servicemix.jbi.framework.ComponentMBeanImpl.setInitialRunningState(ComponentMBeanImpl.java:366)
>         at
>  org.apache.servicemix.jbi.framework.ComponentRegistry.setInitialRunningStateFromStart(ComponentRegistry.java:156)
>         at
>  org.apache.servicemix.jbi.framework.ComponentRegistry.start(ComponentRegistry.java:75)
>         at
>  org.apache.servicemix.jbi.framework.Registry.start(Registry.java:128)
>         at
>  org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:636)
>         at
>  org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
>         at
>  org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201
>  )
>         at
>  org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
>         at
>  org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
>         at
>  org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
>         at
>  org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
>         at
>  org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
>         at
>  org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at
>  org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
>         at
>  org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at
>  org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
>         at
>  org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
>         at
>  org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>         at
>  org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
>         at
>  org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
>         at
>  org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at
>  org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at
>  org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>         at
>  org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>         at
>  org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>         at
>  org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>         at
>  org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>         at
>  org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>         at
>  org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>         at
>  org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at
>  org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>         at
>  org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at
>  org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at
>  org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at
>  org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
>  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>  03-mar-2008 18:18:50 org.apache.catalina.core.StandardContext start
>  GRAVE: Error listenerStart
>  03-mar-2008 18:18:50 org.apache.catalina.core.StandardContext start
>  GRAVE: Fall¾ en arranque del Contexto [/apache-servicemix-web-3.2.1.1]
>  debido a errores previos
>
>  Thank's again.
>
>
>
>
>
>
>
>
>  gnodet wrote:
>  >
>  > Could you paste the full stack trace please ?
>  > If it's really neeed, it should be included, but afaik, 3.2.1 does not
>  > use backport-util-concurrent
>  > anymore (or should not).
>  >
>  > On Thu, Feb 21, 2008 at 5:52 PM, mahdsip <mi...@abama.es>
>  > wrote:
>  >>
>  >>  Hi, I have a problem trying to deploy Servicemix-web 3.2.1 on Apache
>  >> Tomcat
>  >>  6.0.14. It sais DefClassNotFound for a class contained in
>  >>  backport-util-concurrent.jar. If I add this library to the serviceMix
>  >> war,
>  >>  it works perfectly. Is it the normal operation? Should be this library
>  >> by
>  >>  default this on the distribution or we should add by our shelf?
>  >>
>  >>  Thank you very much.
>  >>  --
>  >>  View this message in context:
>  >> http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p15613849.html
>  >>  Sent from the ServiceMix - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >
>  >
>  >
>  > --
>  > Cheers,
>  > Guillaume Nodet
>  > ------------------------
>  > Blog: http://gnodet.blogspot.com/
>  >
>  >
>
>  --
>  View this message in context: http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p15808963.html
>
>
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: Servicemix-web 3.2.1 (WAR) with Tomcat 6.0.14

Posted by mahdsip <mi...@abama.es>.
C:\WebServers\apache-tomcat-6.0.14\bin>catalina jpda run
Using CATALINA_BASE:   C:\WebServers\apache-tomcat-6.0.14
Using CATALINA_HOME:   C:\WebServers\apache-tomcat-6.0.14
Using CATALINA_TMPDIR: C:\WebServers\apache-tomcat-6.0.14\temp
Using JRE_HOME:        C:\Software\Java\jdk1.5.0_11
Listening for transport dt_socket at address: 5001
03-mar-2008 18:18:44 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C:\Software
\Java\jdk1.5.0_11\bin;.;C:\Windows\system32;C:\Windows;C:\Software\Java\jdk1.5.0_11\bin;C:\Software\oracle\ora92\bin;C:\Program
Files\Oracle\jre\1.3.1
\bin;C:\Program
Files\Oracle\jre\1.1.8\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
Files\UltraEdit-32;C:\Program Files\Perf
orce;C:\PROGRA~1\ATT\Graphviz\bin;;C:\Program Files\Common Files\Nero\Lib\
03-mar-2008 18:18:45 org.apache.coyote.http11.Http11Protocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
03-mar-2008 18:18:45 org.apache.catalina.startup.Catalina load
Here is the stack trace:


INFO: Initialization processed in 985 ms
03-mar-2008 18:18:45 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
03-mar-2008 18:18:45 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
03-mar-2008 18:18:45 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo apache-servicemix-web-3.2.1.1.war de la
aplicaci¾n web
WARN  - EndpointRegistry               - Disabled endpoint processor
'org.apache.servicemix.jbi.framework.support.WSDL2Processor':
java.lang.NoClassDe
fFoundError: org/apache/woden/WSDLReader
INFO  - JBIContainer                   - ServiceMix 3.2.1 JBI Container
(ServiceMix) is starting
INFO  - JBIContainer                   - For help or more informations
please see: http://incubator.apache.org/servicemix/
INFO  - JBIContainer                   - Activating component for:
[container=ServiceMix,name=#SubscriptionManager#] with service: null
component: org
.apache.servicemix.jbi.nmr.SubscriptionManager@18fb397
INFO  - ComponentMBeanImpl             - Initializing component:
#SubscriptionManager#
INFO  - JBIContainer                   - Activating component for:
[container=ServiceMix,name=servicemix-eip] with service: null component:
org.apache
.servicemix.eip.EIPComponent@b041b0
INFO  - jetty                          - Logging to
org.apache.servicemix.http.jetty.JCLLogger@4d6b1a via
org.apache.servicemix.http.jetty.JCLLogger
INFO  - JBIContainer                   - Activating component for:
[container=ServiceMix,name=servicemix-http] with service: null component:
org.apach
e.servicemix.http.HttpComponent@16528a2
INFO  - JBIContainer                   - Activating component for:
[container=ServiceMix,name=servicemix-lwcontainer] with service: null
component: or
g.apache.servicemix.lwcontainer.LwContainerComponent@101d01
INFO  - JBIContainer                   - Activating component for:
[container=ServiceMix,name=servicemix-saxon] with service: null component:
org.apac
he.servicemix.saxon.SaxonComponent@1b9e7fc
INFO  - DeploymentService              - Restoring service assemblies
WARN  - ClientFactory                  - Cound not start ClientFactory:
javax.naming.NamingException: El contexto es de solo lectura
INFO  - ComponentMBeanImpl             - Setting running state for
Component: servicemix-eip to Started
INFO  - ComponentMBeanImpl             - Initializing component:
servicemix-eip
INFO  - ComponentMBeanImpl             - Setting running state for
Component: servicemix-http to Started
INFO  - ComponentMBeanImpl             - Initializing component:
servicemix-http
INFO  - HttpComponentListener          - Component servicemix-http
configured.
ERROR - ContextLoader                  - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbi' defined in ServletContext resource [/WEB-INF/servicemix.x
ml]: Invocation of init method failed; nested exception is
java.lang.NoClassDefFoundError:
edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHa
shMap
Caused by:
java.lang.NoClassDefFoundError:
edu/emory/mathcs/backport/java/util/concurrent/ConcurrentHashMap
        at
org.apache.servicemix.http.ManagedContextManager.init(ManagedContextManager.java:44)
        at
org.apache.servicemix.http.HttpComponent.doInit(HttpComponent.java:238)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:187)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.setInitialRunningState(ComponentMBeanImpl.java:366)
        at
org.apache.servicemix.jbi.framework.ComponentRegistry.setInitialRunningStateFromStart(ComponentRegistry.java:156)
        at
org.apache.servicemix.jbi.framework.ComponentRegistry.start(ComponentRegistry.java:75)
        at
org.apache.servicemix.jbi.framework.Registry.start(Registry.java:128)
        at
org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:636)
        at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201
)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
        at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
03-mar-2008 18:18:50 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
03-mar-2008 18:18:50 org.apache.catalina.core.StandardContext start
GRAVE: Fall¾ en arranque del Contexto [/apache-servicemix-web-3.2.1.1]
debido a errores previos

Thank's again.






gnodet wrote:
> 
> Could you paste the full stack trace please ?
> If it's really neeed, it should be included, but afaik, 3.2.1 does not
> use backport-util-concurrent
> anymore (or should not).
> 
> On Thu, Feb 21, 2008 at 5:52 PM, mahdsip <mi...@abama.es>
> wrote:
>>
>>  Hi, I have a problem trying to deploy Servicemix-web 3.2.1 on Apache
>> Tomcat
>>  6.0.14. It sais DefClassNotFound for a class contained in
>>  backport-util-concurrent.jar. If I add this library to the serviceMix
>> war,
>>  it works perfectly. Is it the normal operation? Should be this library
>> by
>>  default this on the distribution or we should add by our shelf?
>>
>>  Thank you very much.
>>  --
>>  View this message in context:
>> http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p15613849.html
>>  Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p15808963.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Servicemix-web 3.2.1 (WAR) with Tomcat 6.0.14

Posted by Guillaume Nodet <gn...@gmail.com>.
Could you paste the full stack trace please ?
If it's really neeed, it should be included, but afaik, 3.2.1 does not
use backport-util-concurrent
anymore (or should not).

On Thu, Feb 21, 2008 at 5:52 PM, mahdsip <mi...@abama.es> wrote:
>
>  Hi, I have a problem trying to deploy Servicemix-web 3.2.1 on Apache Tomcat
>  6.0.14. It sais DefClassNotFound for a class contained in
>  backport-util-concurrent.jar. If I add this library to the serviceMix war,
>  it works perfectly. Is it the normal operation? Should be this library by
>  default this on the distribution or we should add by our shelf?
>
>  Thank you very much.
>  --
>  View this message in context: http://www.nabble.com/Servicemix-web-3.2.1-%28WAR%29-with-Tomcat-6.0.14-tp15613849s12049p15613849.html
>  Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/