Thank you for your help.  Your are right.  It is permission problem.

I downloaded the codes as root.  I  re-installed it as a user to make it
work.



gnodet wrote:
> 
> This is a file system problem:
> Caused by: java.io.FileNotFoundException:
>> /home/kongdy/apache-servicemix-3.0-incubating/examples/wsdl-first/target/wsdl-first-3.0-incubating-src.tar.gz
>> (No such file or directory)
>>         at java.io.FileOutputStream.open(Native Method)
> 
> Check for permission problems in the directory.
> Does the target dir exists ? and
> target/wsdl-first-3.0-incubating-src.tar.gz ?
> Is there any read only file there ?
> 
> On 10/3/06, dadade <[EMAIL PROTECTED]> wrote:
>>
>> I ran "mvn -e install" and I got the following error:
>>
>>
>> -bash-3.00$ /home/kongdy/maven-2.0.4/bin/mvn -e install
>> + Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO] Reactor build order:
>> [INFO]   ServiceMix :: Samples :: WSDL first
>> [INFO]   ServiceMix :: Samples :: WSDL first :: JSR181
>> [INFO]   ServiceMix :: Samples :: WSDL first :: HTTP
>> [INFO]   ServiceMix :: Samples :: WSDL first :: SA
>> [INFO]
>> -------------------------------------------------------------------------
>> ---
>> [INFO] Building ServiceMix :: Samples :: WSDL first
>> [INFO]    task-segment: [install]
>> [INFO]
>> -------------------------------------------------------------------------
>> ---
>> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
>> updates
>>  from myplugin
>> [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
>> for
>> upda
>> tes from myplugin
>> [INFO] artifact org.apache.maven.plugins:maven-checkstyle-plugin:
>> checking
>> for u
>> pdates from myplugin
>> [INFO] [site:attach-descriptor]
>> [INFO] [assembly:single {execution: src}]
>> [INFO] Building tar :
>> /home/kongdy/apache-servicemix-3.0-incubating/examples/wsd
>> l-first/target/wsdl-first-3.0-incubating-src.tar.gz
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error creating assembly: Problem creating TAR :
>> /home/kongdy/apache-servi
>> cemix-3.0-incubating/examples/wsdl-first/target/wsdl-first-3.0-incubating-src.ta
>> r.gz (No such file or directory)
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Error creating
>> assembly:
>>  Problem creating TAR :
>> /home/kongdy/apache-servicemix-3.0-incubating/examples/wsdl-
>> first/target/wsdl-first-3.0-incubating-src.tar.gz (No such file or
>> directory)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultL
>> ifecycleExecutor.java:559)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecy
>> cle(DefaultLifecycleExecutor.java:475)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLi
>> fecycleExecutor.java:454)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleF
>> ailures(DefaultLifecycleExecutor.java:306)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(D
>> efaultLifecycleExecutor.java:273)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecy
>> cleExecutor.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(DelegatingMethodAccessorI
>> mpl.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: Error creating
>> assembly:
>> Problem creating TAR :
>> /home/kongdy/apache-servicemix-3.0-incubating/examples/wsdl-f
>> irst/target/wsdl-first-3.0-incubating-src.tar.gz (No such file or
>> directory)
>>         at
>> org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createAssembly(Abst
>> ractAssemblyMojo.java:269)
>>         at
>> org.apache.maven.plugin.assembly.AbstractAssemblyMojo.execute(AbstractAss
>> emblyMojo.java:241)
>>         at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMan
>> ager.java:412)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultL
>> ifecycleExecutor.java:534)
>>         ... 16 more
>> Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem
>> creating
>> TAR : /h
>> ome/kongdy/apache-servicemix-3.0-incubating/examples/wsdl-first/target/wsdl-first-3.
>> 0-incubating-src.tar.gz (No such file or directory)
>>         at
>> org.codehaus.plexus.archiver.tar.TarArchiver.createArchive(TarArchiver.ja
>> va:211)
>>         at
>> org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createArchive(Abstr
>> actAssemblyMojo.java:383)
>>         at
>> org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createAssembly(Abst
>> ractAssemblyMojo.java:261)
>>         ... 19 more
>> Caused by: java.io.FileNotFoundException:
>> /home/kongdy/apache-servicemix-3.0-incubat
>> ing/examples/wsdl-first/target/wsdl-first-3.0-incubating-src.tar.gz (No
>> such
>> file or
>>  directory)
>>         at java.io.FileOutputStream.open(Native Method)
>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>>         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>>         at
>> org.codehaus.plexus.archiver.tar.TarArchiver.createArchive(TarArchiver.ja
>> va:180)
>>         ... 21 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 10 seconds
>> [INFO] Finished at: Tue Oct 03 09:44:51 PDT 2006
>> [INFO] Final Memory: 9M/16M
>> [INFO]
>> ------------------------------------------------------------------------
>> -bash-3.00$
>>
>>
>> I don't know what is wrong.
>>
>> Please help.
>>
>>
>>
>> gnodet wrote:
>> >
>> > Try running "mvn -e install"
>> > You should have more informations and be able to find the
>> > root cause.
>> >
>> > On 10/3/06, dadade <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hi,
>> >>
>> >> This time, I re-download ServiceMix 3.0 (binary version).  I tried to
>> >> build
>> >> WSDL-First example and I got the following errors:
>> >>
>> >>
>> >> [INFO] Scanning for projects...
>> >> [INFO] Reactor build order:
>> >> [INFO]   ServiceMix :: Samples :: WSDL first
>> >> [INFO]   ServiceMix :: Samples :: WSDL first :: JSR181
>> >> [INFO]   ServiceMix :: Samples :: WSDL first :: HTTP
>> >> [INFO]   ServiceMix :: Samples :: WSDL first :: SA
>> >> [INFO]
>> >>
>> ----------------------------------------------------------------------------
>> >> [INFO] Building ServiceMix :: Samples :: WSDL first
>> >> [INFO]    task-segment: [install]
>> >> [INFO]
>> >>
>> ----------------------------------------------------------------------------
>> >> [INFO] [site:attach-descriptor]
>> >> [INFO] [assembly:single {execution: src}]
>> >> [INFO] Building tar :
>> >>
>> /home/kongdy/apache-servicemix-3.0-incubating/examples/wsdl-first/target/wsdl-first-3.0-incubating-src.tar.gz
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Error creating assembly: Problem creating TAR :
>> >>
>> /home/kongdy/apache-servicemix-3.0-incubating/examples/wsdl-first/target/wsdl-first-3.0-incubating-src.tar.gz
>> >> (No such file or directory)
>> >>
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] For more information, run Maven with the -e switch
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Total time: 4 seconds
>> >> [INFO] Finished at: Mon Oct 02 18:16:28 PDT 2006
>> >> [INFO] Final Memory: 9M/16M
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >>
>> >> Please Help!
>> >>
>> >> Here is my configuration:
>> >> I modified my .m2/settings.xml to include:
>> >>
>> >> <settings>
>> >>   <profiles>
>> >>     <profile>
>> >>       <id>incubating</id>
>> >>       <repositories>
>> >>         <repository>
>> >>           <id>apache-incubating</id>
>> >>
>> >> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>> >>         </repository>
>> >>       </repositories>
>> >>     </profile>
>> >>   </profiles>
>> >>   <activeProfiles>
>> >>     <activeProfile>incubating</activeProfile>
>> >>   </activeProfiles>
>> >> </settings>
>> >>
>> >> Then, I modified
>> >> /apache-servicemix-3.0-incubating/examples/wsdl-first/pom.xml to
>> include
>> >>
>> >> <!--
>> >>     <repositories>
>> >>       <repository>
>> >>         <id>apache.snapshots</id>
>> >>         <url>http://people.apache.org/maven-snapshot-repository</url>
>> >>       </repository>
>> >>
>> >> </repositories>
>> >> -->
>> >>
>> >> <repositories>
>> >>   <repository>
>> >>     <id>myrepository</id>
>> >>     <name>myreponame</name>
>> >>     <url>http://people.apache.org/repo/m2-incubating-repository</url>
>> >>   </repository>
>> >> </repositories>
>> >>
>> >> <pluginRepositories>
>> >>   <pluginRepository>
>> >>     <id>myplugin</id>
>> >>     <name>mypluginname</name>
>> >>     <url>http://people.apache.org/repo/m2-incubating-repository</url>
>> >>    </pluginRepository>
>> >>  </pluginRepositories>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/WSDL-First-example-tf2373483.html#a6612649
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/WSDL-First-example-tf2373483.html#a6623941
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WSDL-First-example-tf2373483.html#a6627961
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to