This is the exact issue i fixed a few hours ago. See http://svn.apache.org/viewvc?view=rev&revision=430410 Are you sure you compile the latest svn head ?
On 8/11/06, Antoni Reus <[EMAIL PROTECTED]> wrote:
with -e: [INFO] [jbi:generate-jbi-service-unit-descriptor] [INFO] Generating jbi.xml [INFO] Created Service Unit Analyzer [EMAIL PROTECTED] 2006-08-11 12:13:33,176 [main ] INFO CollectionFactory - JDK 1.4+ collections available 2006-08-11 12:13:33,186 [main ] INFO CollectionFactory - Commons Collections 3.x available 2006-08-11 12:13:33,235 [main ] INFO XBeanXmlBeanDefinitionReader - Loading XML bean definitions from file [/home/IBIT/areus/java/servicemix/servicemix-3.0-dev /home/IBIT/areus/java/servicemix/servicemix-3.0-dev /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to generate jbi.xml Embedded error: Unable to generate service unit descriptor! home/IBIT/areus/java/servicemix/servicemix-3.0-dev /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml (No such file or directory) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Failed to generate jbi.xml at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to generate jbi.xml at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorMojo.execute (GenerateServiceUnitDescriptorMojo.java:143) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.apache.servicemix.maven.plugin.jbi.JbiPluginException: Unable to generate service unit descriptor! at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorMojo.generateJbiDescriptor (GenerateServiceUnitDescriptorMojo.java:234) at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorMojo.execute (GenerateServiceUnitDescriptorMojo.java:141) ... 18 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [/home/IBIT/areus/java/servicemix/servicemix-3.0-dev /home/IBIT/areus/java/servicemix/servicemix-3.0-dev /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml]; nested exception is java.io.FileNotFoundException: home/IBIT/areus/java/servicemix/servicemix-3.0-dev /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml (No such file or directory) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (XmlBeanDefinitionReader.java:347) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (XmlBeanDefinitionReader.java:315) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions (AbstractBeanDefinitionReader.java:126) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions (AbstractBeanDefinitionReader.java:142) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions (AbstractBeanDefinitionReader.java:168) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions (AbstractXmlApplicationContext.java:113) at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions (FileSystemXmlApplicationContext.java:169) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory (AbstractRefreshableApplicationContext.java:89) at org.springframework.context.support.AbstractApplicationContext.refresh( AbstractApplicationContext.java:278) at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>( FileSystemXmlApplicationContext.java:150) at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>( FileSystemXmlApplicationContext.java:49) at org.apache.servicemix.common.xbean.AbstractXBeanServiceUnitAnalyzer.init( AbstractXBeanServiceUnitAnalyzer.java:78) at org.apache.servicemix.maven.plugin.jbi.GenerateServiceUnitDescriptorMojo.generateJbiDescriptor (GenerateServiceUnitDescriptorMojo.java:221) ... 19 more Caused by: java.io.FileNotFoundException: home/IBIT/areus/java/servicemix/servicemix-3.0-dev /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.springframework.core.io.FileSystemResource.getInputStream( FileSystemResource.java:85) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (XmlBeanDefinitionReader.java:334) ... 31 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 13 seconds [INFO] Finished at: Fri Aug 11 12:13:33 CEST 2006 [INFO] Final Memory: 24M/48M [INFO] ------------------------------------------------------------------------ Guillaume Nodet wrote: > :( > It works fine for me. > Could you try to run with -e at the end ? maven should print any > exception > stack trace. > > > On 8/11/06, Antoni Reus <[EMAIL PROTECTED]> wrote: >> >> I Just tried: >> >> svn update >> mvn -Dmaven.test.skip=true -Dprofile=step1 install >> mvn -Dmaven.test.skip=true -Dprofile=step2 install >> >> same error :-( >> >> >> >> >> Guillaume Nodet wrote: >> > AFAIK, i have fixed that yesterday. Could you try with the svn head ? >> > >> > On 8/11/06, Antoni Reus <[EMAIL PROTECTED]> wrote: >> >> >> >> It seems there is a problem in samples: >> >> >> >> It seems there is a problem with relative/absolute path of file >> >> >> "samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml" >> >> >> >> mvn -Dmaven.test.skip=true -Dprofile=step2 install, fails with: >> >> >> >> >> >> [INFO] >> >> >> >> >> ---------------------------------------------------------------------------- >> >> >> >> >> [INFO] Building ServiceMix :: Samples :: WSDL first :: JSR181 >> >> [INFO] task-segment: [install] >> >> [INFO] >> >> >> >> >> ---------------------------------------------------------------------------- >> >> >> >> >> [INFO] [antrun:run {execution: default}] >> >> [INFO] Executing tasks >> >> 11/08/200It seems there is a problem with relative/absolute path of >> file >> >> >> "samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml"6 >> >> 09:41:37 org.codehaus.xfire.gen.Wsdl11Generator generate >> >> INFO: Generating code for WSDL at >> >> file:/home/IBIT/areus/java/servicemix/servicemix-3.0-dev >> >> >> /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/person.wsdl >> >> with a base URI of >> >> file:/home/IBIT/areus/java/servicemix/servicemix-3.0-dev >> >> >> /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/person.wsdl >> >> org/apache/servicemix/samples/wsdl_first/types/GetPersonRequest.java >> >> org/apache/servicemix/samples/wsdl_first/types/GetPersonResponse.java >> >> org/apache/servicemix/samples/wsdl_first/types/ObjectFactory.java >> >> >> org/apache/servicemix/samples/wsdl_first/types/UnknownPersonFault.java >> >> org/apache/servicemix/samples/wsdl_first/types/package-info.java >> >> 11/08/2006 09:41:37 >> >> org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator generate >> >> INFO: Creating class org.apache.servicemix.samples.wsdl_first.Person >> >> 11/08/2006 09:41:37 >> >> org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator generate >> >> INFO: Creating class >> >> org.apache.servicemix.samples.wsdl_first.PersonServiceImpl >> >> org/apache/servicemix/samples/wsdl_first/Person.java >> >> org/apache/servicemix/samples/wsdl_first/PersonServiceImpl.java >> >> org/apache/servicemix/samples/wsdl_first/PersonServiceService.java >> >> org/apache/servicemix/samples/wsdl_first/UnknownPersonFault.java >> >> [INFO] Executed tasks >> >> [INFO] Registering compile source root >> >> /home/IBIT/areus/java/servicemix/servicemix-3.0-dev >> >> /samples/wsdl-first/wsdl-first-jsr181-su/target/jaxws >> >> [INFO] [resources:resources] >> >> [INFO] Using default encoding to copy filtered resources. >> >> [INFO] [compiler:compile] >> >> Compiling 9 source files to >> >> /home/IBIT/areus/java/servicemix/servicemix-3.0-dev >> >> /samples/wsdl-first/wsdl-first-jsr181-su/target/classes >> >> [INFO] [jbi:generate-jbi-service-unit-descriptor] >> >> [INFO] Generating jbi.xml >> >> [INFO] Created Service Unit Analyzer >> >> >> [EMAIL PROTECTED] >> >> 2006-08-11 09:41:38,733 [main ] INFO >> >> CollectionFactory - JDK 1.4+ collections available >> >> 2006-08-11 09:41:38,743 [main ] INFO >> >> CollectionFactory - Commons Collections 3.x available >> >> 2006-08-11 09:41:38,785 [main ] INFO >> >> XBeanXmlBeanDefinitionReader - Loading XML bean definitions from >> file >> >> [/home/IBIT/areus/java/servicemix/servicemix-3.0-dev >> >> /home/IBIT/areus/java/servicemix/servicemix-3.0-dev >> >> >> /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml] >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [ERROR] BUILD ERROR >> >> [INFO] >> >> >> ------------------------------------------------------------------------ >> >> [INFO] Failed to generate jbi.xml >> >> >> >> Embedded error: Unable to generate service unit descriptor! >> >> home/IBIT/areus/java/servicemix/servicemix-3.0-dev >> >> /samples/wsdl-first/wsdl-first-jsr181-su/src/main/resources/xbean.xml >> >> (No such file or directory) >> >> >> >> >> >> >> >> >> >> Salut. >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> ---------------------------------------- >> >> Antoni Reus Darder >> >> Cap de Projecte >> >> Administraci� Digital, Negoci Electr�nic i Sanitat >> >> >> >> F u n d a c i � I B I T >> >> Illes Balears Innovaci� Tecnol�gica >> >> http://www.ibit.org >> >> Tel. +34 971 17 72 70/71 >> >> Fax. +34 971 17 72 79 >> >> ---------------------------------------- >> >> >> >> >> >> >> > >> > >> >> -- >> ---------------------------------------- >> Antoni Reus Darder >> Cap de Projecte >> Administraci� Digital, Negoci Electr�nic i Sanitat >> >> F u n d a c i � I B I T >> Illes Balears Innovaci� Tecnol�gica >> http://www.ibit.org >> Tel. +34 971 17 72 70/71 >> Fax. +34 971 17 72 79 >> ---------------------------------------- >> >> >> > > -- ---------------------------------------- Antoni Reus Darder Cap de Projecte Administraci� Digital, Negoci Electr�nic i Sanitat F u n d a c i � I B I T Illes Balears Innovaci� Tecnol�gica http://www.ibit.org Tel. +34 971 17 72 70/71 Fax. +34 971 17 72 79 ----------------------------------------
-- Cheers, Guillaume Nodet