Did you rebuild the whole tree ? I've made some changes in servicemix-common to get rid of xbean-server and xbean-kernel which are deprecated and offered really little value for what they were used for (basically just boot a spring application context). Could you try again with a clean build ?
On Thu, Mar 27, 2008 at 12:06 PM, lhein <[EMAIL PROTECTED]> wrote: > > Bruce, > > you are right. The build works fine now...but the SMX is now not working > any > longer. > Starting smx in actual trunk version ends up (in both windows and linux) > with: > > WARN - AutoDeploymentService - Directory: hotdeploy: Automatic > install of > /home/lhe/apache-servicemix-3.3-SNAPSHOT/hotdeploy/servicemix- > bean-3.3-SNAPSHOT-installer.zip > failed > javax.jbi.management.DeploymentException: Failed to update Component: > servicemix-bean > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent( > AutoDeploymentService.java:303) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive( > AutoDeploymentService.java:252) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory > (AutoDeploymentService.java:658) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$2( > AutoDeploymentService.java:634) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run( > AutoDeploymentService.java:622) > at java.util.TimerThread.mainLoop(Timer.java:512) > at java.util.TimerThread.run(Timer.java:462) > Caused by: javax.jbi.management.DeploymentException: > javax.jbi.management.DeploymentException: java.lang.NoClassDefFoundError: > org/apache/xbean/server/repository/Repository > at > org.apache.servicemix.jbi.framework.InstallationService.install( > InstallationService.java:328) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent( > AutoDeploymentService.java:292) > ... 6 more > Caused by: javax.jbi.management.DeploymentException: > java.lang.NoClassDefFoundError: > org/apache/xbean/server/repository/Repository > at > org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent( > InstallerMBeanImpl.java:201) > at > org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install( > InstallerMBeanImpl.java:165) > at > org.apache.servicemix.jbi.framework.InstallationService.install( > InstallationService.java:326) > ... 7 more > Caused by: java.lang.NoClassDefFoundError: > org/apache/xbean/server/repository/Repository > at > org.apache.servicemix.common.DefaultComponent.createServiceUnitManager( > DefaultComponent.java:202) > at > org.apache.servicemix.common.DefaultComponent.<init>(DefaultComponent.java > :57) > at > org.apache.servicemix.bean.BeanComponent.<init>(BeanComponent.java:42) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance( > NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance( > DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > at java.lang.Class.newInstance0(Class.java:350) > at java.lang.Class.newInstance(Class.java:303) > at > org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent( > InstallerMBeanImpl.java:187) > ... 9 more > > No idea whats wrong. > > Regards > Lars > > > > > > > bsnyder wrote: > > > > On Wed, Mar 26, 2008 at 7:28 AM, cmoulliard <[EMAIL PROTECTED]> > wrote: > >> > >> Hi, > >> > >> Just to inform that now this problem is solved but a new one is > appeared > >> in > >> the step2. I don't understand which this error is there because I use > >> JDK > >> 5_0_15 ? > >> > >> > >> [INFO] > >> > ------------------------------------------------------------------------ > >> [ERROR] BUILD FAILURE > >> [INFO] > >> > ------------------------------------------------------------------------ > >> [INFO] Compilation failure > >> > >> > >> D:\Soft\opensource\apache- > servicemix-3.x\deployables\serviceengines\servicemix-bean\src\main\java\org\apache\servicemix\ > >> bean\support\BeanInfo.java:[178,27] cannot find symbol > >> symbol : method prefix() > >> location: interface java.lang.annotation.Annotation > >> > >> > >> D:\Soft\opensource\apache- > servicemix-3.x\deployables\serviceengines\servicemix-bean\src\main\java\org\apache\servicemix\ > >> bean\support\BeanInfo.java:[178,62] cannot find symbol > >> symbol : method uri() > >> location: interface java.lang.annotation.Annotation > >> > >> > >> D:\Soft\opensource\apache- > servicemix-3.x\deployables\serviceengines\servicemix-bean\src\main\java\org\apache\servicemix\ > >> bean\support\BeanInfo.java:[179,16] cannot find symbol > >> symbol : class DefaultNamespaceContext > >> location: class org.apache.servicemix.bean.support.BeanInfo > >> > >> > >> D:\Soft\opensource\apache- > servicemix-3.x\deployables\serviceengines\servicemix-bean\src\main\java\org\apache\servicemix\ > >> bean\support\BeanInfo.java:[179,50] cannot find symbol > >> symbol : class DefaultNamespaceContext > >> location: class org.apache.servicemix.bean.support.BeanInfo > >> > >> > >> D:\Soft\opensource\apache- > servicemix-3.x\deployables\serviceengines\servicemix-bean\src\main\java\org\apache\servicemix\ > >> bean\support\BeanInfo.java:[180,34] cannot find symbol > >> symbol : method prefix() > >> location: interface java.lang.annotation.Annotation > >> > >> > >> D:\Soft\opensource\apache- > servicemix-3.x\deployables\serviceengines\servicemix-bean\src\main\java\org\apache\servicemix\ > >> bean\support\BeanInfo.java:[180,55] cannot find symbol > >> symbol : method uri() > >> location: interface java.lang.annotation.Annotation > >> > >> > >> > >> > >> > >> > >> > >> > >> cmoulliard wrote: > >> > > >> > Hi, > >> > > >> > Apparently, some classes have been removed from svn repository so it > >> is > >> > not possible to build servicemix3 using the command : > >> > > >> > mvn -Dmaven.test.skip=true -Pstep1 install > >> > > >> > Here are the errors reported : > >> > [INFO] Compiling 341 source files to > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\target\classes > >> > [INFO] > >> > > >> > ------------------------------------------------------------------------ > >> > [ERROR] BUILD FAILURE > >> > [INFO] > >> > > >> > ------------------------------------------------------------------------ > >> > [INFO] Compilation failure > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\Componen > >> > tMBeanImpl.java:[46,36] package org.apache.xbean.classloader does > not > >> > exist > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\Installe > >> > rMBeanImpl.java:[37,36] package org.apache.xbean.classloader does > not > >> > exist > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\Installe > >> > rMBeanImpl.java:[38,36] package org.apache.xbean.classloader does > not > >> > exist > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\SharedLi > >> > brary.java:[31,36] package org.apache.xbean.classloader does not > exist > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\SharedLi > >> > brary.java:[32,36] package org.apache.xbean.classloader does not > exist > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\xbean\ClassLoaderXmlPr > >> > eprocessor.java:[36,36] package org.apache.xbean.classloader does > not > >> > exist > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\Componen > >> > tMBeanImpl.java:[105,26] cannot find symbol > >> > symbol : class DestroyableClassLoader > >> > location: class > org.apache.servicemix.jbi.framework.ComponentMBeanImpl > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\Componen > >> > tMBeanImpl.java:[106,14] cannot find symbol > >> > symbol : class DestroyableClassLoader > >> > location: class > org.apache.servicemix.jbi.framework.ComponentMBeanImpl > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\Installe > >> > rMBeanImpl.java:[250,65] cannot find symbol > >> > symbol : class DestroyableClassLoader > >> > location: class > org.apache.servicemix.jbi.framework.InstallerMBeanImpl > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\Installe > >> > rMBeanImpl.java:[251,18] cannot find symbol > >> > symbol : class DestroyableClassLoader > >> > location: class > org.apache.servicemix.jbi.framework.InstallerMBeanImpl > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\Installe > >> > rMBeanImpl.java:[327,29] cannot find symbol > >> > symbol : class JarFileClassLoader > >> > location: class > org.apache.servicemix.jbi.framework.InstallerMBeanImpl > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\SharedLi > >> > brary.java:[48,35] cannot find symbol > >> > symbol : class DestroyableClassLoader > >> > location: class org.apache.servicemix.jbi.framework.SharedLibrary > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\SharedLi > >> > brary.java:[49,14] cannot find symbol > >> > symbol : class DestroyableClassLoader > >> > location: class org.apache.servicemix.jbi.framework.SharedLibrary > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\jbi\framework\SharedLi > >> > brary.java:[81,19] cannot find symbol > >> > symbol : class JarFileClassLoader > >> > location: class org.apache.servicemix.jbi.framework.SharedLibrary > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\xbean\ClassLoaderXmlPr > >> > eprocessor.java:[78,38] cannot find symbol > >> > symbol : class JarFileClassLoader > >> > location: class > org.apache.servicemix.xbean.ClassLoaderXmlPreprocessor > >> > > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\src\main\java\org\apache\servicemix\xbean\ClassLoaderXmlPr > >> > eprocessor.java:[193,30] cannot find symbol > >> > symbol : class JarFileClassLoader > >> > location: class > org.apache.servicemix.xbean.ClassLoaderXmlPreprocessor > >> > > >> > I see also warn message like : > >> > > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.resolver.EndpointResolver: > >> > java.lang.ClassNotFoundException: or > >> > g.apache.servicemix.jbi.resolver.EndpointResolver > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.resolver.EndpointChooser: > >> > java.lang.ClassNotFoundException: org > >> > .apache.servicemix.jbi.resolver.EndpointChooser > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.messaging.PojoMarshaler: > >> > java.lang.ClassNotFoundException: org. > >> > apache.servicemix.jbi.messaging.PojoMarshaler > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.resolver.EndpointChooser: > >> > java.lang.ClassNotFoundException: org > >> > .apache.servicemix.jbi.resolver.EndpointChooser > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.security.acl.impl.AuthorizationEntry: > >> > java.lang.ClassNotFoundEx > >> > ception: > >> org.apache.servicemix.jbi.security.acl.impl.AuthorizationEntry > >> > Warning, could not load class: > >> > org.apache.servicemix.expression.Expression: > >> > java.lang.ClassNotFoundException: org.apache > >> > .servicemix.expression.Expression > >> > Warning, could not load class: > >> > org.apache.servicemix.expression.Expression: > >> > java.lang.ClassNotFoundException: org.apache > >> > .servicemix.expression.Expression > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.jaxp.SourceTransformer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.jaxp.SourceTransformer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.JBIContainer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.container.JBIContainer > >> > Warning, could not load class: > >> org.apache.servicemix.client.ClientFactory: > >> > java.lang.ClassNotFoundException: org.apache. > >> > servicemix.client.ClientFactory > >> > Warning, could not load class: org.apache.servicemix.jbi.nmr.Broker: > >> > java.lang.ClassNotFoundException: org.apache.servic > >> > emix.jbi.nmr.Broker > >> > Warning, could not load class: > >> org.apache.servicemix.jbi.nmr.flow.Flow: > >> > java.lang.ClassNotFoundException: org.apache.ser > >> > vicemix.jbi.nmr.flow.Flow > >> > Warning, could not load class: > >> > org.apache.servicemix.expression.Expression: > >> > java.lang.ClassNotFoundException: org.apache > >> > .servicemix.expression.Expression > >> > Warning, could not load class: > >> > org.apache.servicemix.expression.Expression: > >> > java.lang.ClassNotFoundException: org.apache > >> > .servicemix.expression.Expression > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.jaxp.SourceTransformer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.jaxp.SourceTransformer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.framework.AdminCommandsService: > >> > java.lang.ClassNotFoundExceptio > >> > n: org.apache.servicemix.jbi.framework.AdminCommandsService > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.JBIContainer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.container.JBIContainer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.JBIContainer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.container.JBIContainer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.JBIContainer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.container.JBIContainer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.JBIContainer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.container.JBIContainer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.framework.AdminCommandsService: > >> > java.lang.ClassNotFoundExceptio > >> > n: org.apache.servicemix.jbi.framework.AdminCommandsService > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.JBIContainer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.container.JBIContainer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.framework.AdminCommandsService: > >> > java.lang.ClassNotFoundExceptio > >> > n: org.apache.servicemix.jbi.framework.AdminCommandsService > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.JBIContainer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.container.JBIContainer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.security.auth.AuthenticationService: > >> > java.lang.ClassNotFoundExc > >> > eption: > org.apache.servicemix.jbi.security.auth.AuthenticationService > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.JBIContainer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.container.JBIContainer > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.security.acl.AuthorizationMap: > >> > java.lang.ClassNotFoundException > >> > : org.apache.servicemix.jbi.security.acl.AuthorizationMap > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.nmr.flow.FlowChooser: > >> > java.lang.ClassNotFoundException: org.apa > >> > che.servicemix.jbi.nmr.flow.FlowChooser > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.resolver.EndpointChooser: > >> > java.lang.ClassNotFoundException: org > >> > .apache.servicemix.jbi.resolver.EndpointChooser > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.resolver.EndpointChooser: > >> > java.lang.ClassNotFoundException: org > >> > .apache.servicemix.jbi.resolver.EndpointChooser > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.nmr.SubscriptionManager: > >> > java.lang.ClassNotFoundException: org. > >> > apache.servicemix.jbi.nmr.SubscriptionManager > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.resolver.SubscriptionFilter: > >> > java.lang.ClassNotFoundException: > >> > org.apache.servicemix.jbi.resolver.SubscriptionFilter > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.framework.ComponentNameSpace: > >> > java.lang.ClassNotFoundException: > >> > org.apache.servicemix.jbi.framework.ComponentNameSpace > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.jaxp.SourceTransformer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.jaxp.SourceTransformer > >> > Warning, could not load class: > >> > org.apache.servicemix.expression.MessageVariableResolver: > >> > java.lang.ClassNotFoundExceptio > >> > n: org.apache.servicemix.expression.MessageVariableResolver > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.jaxp.SourceTransformer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.jaxp.SourceTransformer > >> > Warning, could not load class: > >> > org.apache.servicemix.expression.MessageVariableResolver: > >> > java.lang.ClassNotFoundExceptio > >> > n: org.apache.servicemix.expression.MessageVariableResolver > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.jaxp.SourceTransformer: > >> > java.lang.ClassNotFoundException: org.a > >> > pache.servicemix.jbi.jaxp.SourceTransformer > >> > Warning, could not load class: > >> > org.apache.servicemix.expression.MessageVariableResolver: > >> > java.lang.ClassNotFoundExceptio > >> > n: org.apache.servicemix.expression.MessageVariableResolver > >> > [INFO] Generating XSD file: > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\target\xbean\servicemix.xsd > >> > fo > >> > r namespace: http://servicemix.apache.org/config/1.0 > >> > [INFO] Generating WIKI documentation file: > >> > > >> D:\Soft\opensource\apache- > servicemix-3.x\core\servicemix-core\target\xbean\se > >> > rvicemix.xsd.wiki for namespace: > >> http://servicemix.apache.org/config/1.0 > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.SubscriptionSpec: > >> > java.lang.ClassNotFoundException: o > >> > rg.apache.servicemix.jbi.container.SubscriptionSpec > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.ActivationSpec: > >> > java.lang.ClassNotFoundException: org > >> > .apache.servicemix.jbi.container.ActivationSpec > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.DeploySupport: > >> > java.lang.ClassNotFoundException: org. > >> > apache.servicemix.jbi.container.DeploySupport > >> > Warning, could not load class: > >> org.apache.servicemix.jbi.nmr.flow.Flow: > >> > java.lang.ClassNotFoundException: org.apache.ser > >> > vicemix.jbi.nmr.flow.Flow > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.management.BaseSystemService: > >> > java.lang.ClassNotFoundException: > >> > org.apache.servicemix.jbi.management.BaseSystemService > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.security.keystore.KeystoreInstance: > >> > java.lang.ClassNotFoundExce > >> > ption: org.apache.servicemix.jbi.security.keystore.KeystoreInstance > >> > Warning, could not load class: > >> org.apache.servicemix.jbi.nmr.flow.Flow: > >> > java.lang.ClassNotFoundException: org.apache.ser > >> > vicemix.jbi.nmr.flow.Flow > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.container.ActivationSpec: > >> > java.lang.ClassNotFoundException: org > >> > .apache.servicemix.jbi.container.ActivationSpec > >> > Warning, could not load class: > >> > org.apache.servicemix.jbi.management.BaseSystemService: > >> > java.lang.ClassNotFoundException: > >> > org.apache.servicemix.jbi.management.BaseSystemService > >> > [INFO] ...done. > > > > A fix for this has been committed and I've verified that the build > > occurs successfully. > > > > Bruce > > -- > > perl -e 'print > > unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" > > );' > > > > Apache ActiveMQ - http://activemq.org/ > > Apache Camel - http://activemq.org/camel/ > > Apache ServiceMix - http://servicemix.org/ > > Apache Geronimo - http://geronimo.apache.org/ > > > > Blog: http://bruceblog.org/ > > > > > > -- > View this message in context: > http://www.nabble.com/Build-of-servicemix-3-is-impossible-today.-Root-cause-%3D-missing-classes-in-current-svn-repository------tp16299632s12049p16324294.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
